Skip to content

Commit

Permalink
more consistent name
Browse files Browse the repository at this point in the history
  • Loading branch information
z64a committed May 30, 2024
1 parent 5522044 commit 9cb3217
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/game_modes.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void set_game_mode(s32 modeID) {
CurGameMode.init();
}

void init_game_mode(void) {
void clear_game_mode(void) {
CurGameMode.flags = MODE_FLAG_NONE;
}

Expand Down
2 changes: 1 addition & 1 deletion src/game_modes.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void set_game_mode(s32 mode);
s32 get_game_mode(void);
void set_game_mode_render_frontUI(void (*fn)(void));

void init_game_mode(void);
void clear_game_mode(void);
void step_game_mode(void);
void render_game_mode_backUI(void);
void render_game_mode_frontUI(void);
Expand Down
2 changes: 1 addition & 1 deletion src/main_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void load_engine_data(void) {
reset_background_settings();
clear_character_set();
clear_printers();
init_game_mode();
clear_game_mode();
clear_npcs();
hud_element_clear_cache();
clear_trigger_data();
Expand Down
2 changes: 1 addition & 1 deletion ver/jp/symbol_addrs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ spr_render_init = 0x801115B0;
update_entities = 0x801148E0;
render_entities = 0x801150C4;
clear_entity_data = 0x80115EC8;
init_game_mode = 0x80117DA8;
clear_game_mode = 0x80117DA8;
step_game_mode = 0x80118088;
render_game_mode_backUI = 0x80118168;
render_game_mode_frontUI = 0x801181D4;
Expand Down
2 changes: 1 addition & 1 deletion ver/us/symbol_addrs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3945,7 +3945,7 @@ set_npc_shadow_scale = 0x80112900; // type:func rom:0xA9000
set_peach_shadow_scale = 0x801129D4; // type:func rom:0xA90D4
is_block_on_ground = 0x80112B20; // type:func rom:0xA9220
game_mode_nop = 0x80112B90; // type:func rom:0xA9290
init_game_mode = 0x80112B98; // type:func rom:0xA9298
clear_game_mode = 0x80112B98; // type:func rom:0xA9298
set_next_game_mode = 0x80112BBC; // type:func rom:0xA92BC
set_game_mode_slot = 0x80112CA8; // type:func rom:0xA93A8
set_game_mode_render_frontUI = 0x80112D84; // type:func rom:0xA9484
Expand Down

0 comments on commit 9cb3217

Please sign in to comment.