match ev_cherry_manager.c (#272)

* match ev_cherry_manager.c

* remove extra include

* update cherry manager definitions
This commit is contained in:
Rainchus
2024-03-03 09:49:31 -06:00
committed by GitHub
parent 1fe19d9ad9
commit b16da413bf
4 changed files with 46 additions and 0 deletions
+3
View File
@@ -634,6 +634,9 @@ m_random_field_ovl.c:
.rodata: [0x80648ED0, 0x80648ED8]
.data: [0x8069E918, 0x8069F070]
.bss: [0x813010D0, 0x813013E0]
ev_cherry_manager.c:
.text: [0x8050B3D0, 0x8050B404]
.data: [0x8069F070, 0x8069F098]
ac_fuusen.c:
.text: [0x8050DAC4, 0x8050F06C]
.rodata: [0x80648FE8, 0x80649098]
+4
View File
@@ -10,6 +10,10 @@ extern "C" {
extern ACTOR_PROFILE Ev_Cherry_Manager_Profile;
typedef struct cherry_manager_s {
ACTOR actor_class;
} CHERRY_MANAGER_EVENT_ACTOR;
#ifdef __cplusplus
}
#endif
+1
View File
@@ -567,6 +567,7 @@ typedef struct event_common_save_data {
u8 dozaemon_completed; // used to signal when you've received an item from gulliver
} mEv_save_common_data_c;
extern void mEv_clear_status(int event, s16 status);
extern int mEv_CheckFirstJob();
extern int mEv_CheckFirstIntro();
extern int mEv_CheckArbeit();
+38
View File
@@ -0,0 +1,38 @@
#include "m_event.h"
#include "ev_cherry_manager.h"
void eChryMgr_move(ACTOR* actor, GAME* game);
void eChryMgr_draw(ACTOR* actor, GAME* game);
void eChryMgr_ct(ACTOR* actor, GAME* game);
void eChryMgr_dt(ACTOR* actor, GAME* game);
ACTOR_PROFILE Ev_Cherry_Manager_Profile = {
mAc_PROFILE_EV_CHERRY_MANAGER,
ACTOR_PART_CONTROL,
ACTOR_STATE_CAN_MOVE_IN_DEMO_SCENES,
EMPTY_NO,
ACTOR_OBJ_BANK_KEEP,
sizeof(CHERRY_MANAGER_EVENT_ACTOR),
&eChryMgr_ct,
&eChryMgr_dt,
&eChryMgr_move,
&eChryMgr_draw,
NULL,
};
void eChryMgr_move(ACTOR* actor, GAME* game) {
}
void eChryMgr_draw(ACTOR* actor, GAME* game) {
}
void eChryMgr_ct(ACTOR* actor, GAME* game) {
}
void eChryMgr_dt(ACTOR* actor, GAME* game) {
mEv_clear_status(mEv_EVENT_CHERRY_BLOSSOM_FESTIVAL, mEv_STATUS_ACTIVE);
}