Small d_a_mg_rod fixes (#2874)

This commit is contained in:
Max Roncace
2025-11-26 23:01:55 -05:00
committed by GitHub
parent 3080360a2a
commit 90133fb1cb
5 changed files with 12 additions and 14 deletions
+2 -2
View File
@@ -1910,7 +1910,7 @@ inline void dComIfGs_onLightDropGetFlag(u8 i_nowLevel) {
g_dComIfG_gameInfo.info.getPlayer().getLightDrop().onLightDropGetFlag(i_nowLevel);
}
inline void dComIfGs_setTmpReg(const u16 i_reg, u8 i_no) {
inline void dComIfGs_setTmpReg(u16 i_reg, u8 i_no) {
g_dComIfG_gameInfo.info.getTmp().setEventReg(i_reg, i_no);
}
@@ -1922,7 +1922,7 @@ inline u8 dComIfGs_getEventReg(u16 reg) {
return g_dComIfG_gameInfo.info.getEvent().getEventReg(reg);
}
inline void dComIfGs_setEventReg(const u16 reg, u8 value) {
inline void dComIfGs_setEventReg(u16 reg, u8 value) {
g_dComIfG_gameInfo.info.getEvent().setEventReg(reg, value);
}
+1 -1
View File
@@ -20,7 +20,7 @@ struct dEvDb_reg_c {
/* 0x00 */ char* mFlagName;
/* 0x04 */ char* mFlagDescription;
/* 0x08 */ char* mFlagAuthor;
/* 0x0C */ const u16 mFlagValue;
/* 0x0C */ u16 mFlagValue;
/* 0x10 */ char* mArea; // Area in the game where flag is used
/* 0x14 */ u8 mRootReg;
/* 0x15 */ u8 field_0x15;
+1 -1
View File
@@ -661,7 +661,7 @@ public:
void onEventBit(const u16 i_no);
void offEventBit(const u16 i_no);
int isEventBit(const u16 i_no) const;
void setEventReg(const u16 i_reg, u8 i_no);
void setEventReg(u16 i_reg, u8 i_no);
u8 getEventReg(u16 i_reg) const;
void* getPEventBit() { return (void*)mEvent; }