Browse Source

fix old names

SBird1337 7 years ago
parent
commit
426b0745c5

+ 4
- 4
src/overworld/tileset_animation/main_animator.c View File

38
 }
38
 }
39
 
39
 
40
 void main_animator_init(void) {
40
 void main_animator_init(void) {
41
-    blockset_one_current_tile = 0;
42
-    blockset_one_max_tile = 0x280;
41
+    blockset_one_current_frame = 0;
42
+    blockset_one_max_frame = 0x280;
43
     blockset_one_animator = main_animator;
43
     blockset_one_animator = main_animator;
44
 }
44
 }
45
 
45
 
46
 void main_second_animator_init(void) {
46
 void main_second_animator_init(void) {
47
-    blockset_two_current_tile = 0;
48
-    blockset_two_max_tile = 0x100;
47
+    blockset_two_current_frame = 0;
48
+    blockset_two_max_frame = 0x100;
49
     blockset_two_animator = main_second_animator;
49
     blockset_two_animator = main_second_animator;
50
 }
50
 }

+ 2
- 2
src/overworld/tileset_animation/text_animator.c View File

101
 }
101
 }
102
 
102
 
103
 void anim_init_text(void) {
103
 void anim_init_text(void) {
104
-    blockset_one_current_tile = 0;
105
-    blockset_one_max_tile = 0x280;
104
+    blockset_one_current_frame = 0;
105
+    blockset_one_max_frame = 0x280;
106
     blockset_one_animator = NULL;
106
     blockset_one_animator = NULL;
107
     u16 text = var_load(TEXT_ANIMATION_VAR);
107
     u16 text = var_load(TEXT_ANIMATION_VAR);
108
     if (text != 0) {
108
     if (text != 0) {