Initial work on mknjd

This commit is contained in:
Dylan Ascencio
2023-09-24 21:52:35 -04:00
parent 2ebd610b0a
commit 9b32cb16eb
3 changed files with 142 additions and 122 deletions
+6
View File
@@ -196,6 +196,8 @@ public:
mItemLifeCount += num;
}
u8 getSelectItem(int i_itemIdx) { return mEquippedItems[i_itemIdx]; }
u8 checkMesgCancelButton() { return field_0x4949; }
void setPlayerStatus(int param_0, int i, u32 flag) { mPlayerStatus[param_0][i] |= flag; }
@@ -1080,6 +1082,10 @@ inline void dComIfGp_setItemMagicCount(s16 magic) {
g_dComIfG_gameInfo.play.setItemMagicCount(magic);
}
inline u8 dComIfGp_getSelectItem(int i_itemIdx) {
return g_dComIfG_gameInfo.play.getSelectItem(i_itemIdx);
}
inline u8 dComIfGp_checkMesgCancelButton() {
return g_dComIfG_gameInfo.play.checkMesgCancelButton();
}
+1 -1
View File
@@ -19,7 +19,7 @@ typedef struct base_process_class {
/* 0x0A */ s8 mUnk0;
/* 0x0B */ u8 mPauseFlag;
/* 0x0C */ s8 mInitState;
/* 0x0D */ u8 mUnk2;
/* 0x0D */ s8 mUnk2;
/* 0x0E */ s16 mProfName;
/* 0x10 */ process_profile_definition* mpProf;
/* 0x14 */ struct create_request* mpCtRq;