mirror of
https://github.com/zeldaret/tp
synced 2026-06-03 10:31:57 -04:00
Small d_a_mg_rod fixes (#2874)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user