Bladeren bron

fix old names

SBird1337 7 jaren geleden
bovenliggende
commit
426b0745c5

+ 4
- 4
src/overworld/tileset_animation/main_animator.c Bestand weergeven

@@ -38,13 +38,13 @@ void main_second_animator(u16 current_frame) {
38 38
 }
39 39
 
40 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 43
     blockset_one_animator = main_animator;
44 44
 }
45 45
 
46 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 49
     blockset_two_animator = main_second_animator;
50 50
 }

+ 2
- 2
src/overworld/tileset_animation/text_animator.c Bestand weergeven

@@ -101,8 +101,8 @@ void text_animator(u16 current_frame) {
101 101
 }
102 102
 
103 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 106
     blockset_one_animator = NULL;
107 107
     u16 text = var_load(TEXT_ANIMATION_VAR);
108 108
     if (text != 0) {