papermario/src/state_world.c

29 lines
531 B
C
Raw Normal View History

#include "functions.h"
#include "npc.h"
void state_world_draw_aux_ui(void);
2020-07-15 08:24:54 +02:00
void state_init_world(void) {
game_mode_set_fpDrawAuxUI(0, state_world_draw_aux_ui);
2020-07-15 08:24:54 +02:00
}
void state_step_world(void) {
update_encounters();
update_npcs();
2020-09-24 05:16:13 +02:00
update_player();
2020-07-15 08:24:54 +02:00
update_item_entities();
2021-02-06 16:20:35 +01:00
update_effects();
2020-07-15 08:24:54 +02:00
func_80116674();
update_cameras();
}
void state_drawUI_world(void) {
2020-09-24 05:16:13 +02:00
draw_status_ui();
2021-02-06 16:20:35 +01:00
draw_encounter_ui();
2020-07-15 08:24:54 +02:00
func_8013A6E8();
}
void state_world_draw_aux_ui(void) {
2021-02-06 16:20:35 +01:00
draw_first_strike_ui();
2020-07-15 08:24:54 +02:00
}