mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
match ev_cherry_manager.c (#272)
* match ev_cherry_manager.c * remove extra include * update cherry manager definitions
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user