Decompile cheatGetByCompletedStageIndex

This commit is contained in:
Ryan Dwyer
2019-12-26 12:43:57 +10:00
parent 68b975bba7
commit f79b18b538
5 changed files with 19 additions and 31 deletions
+5
View File
@@ -139,6 +139,11 @@
#define CHEAT_AR53 40
#define CHEAT_RCP45 41
#define CHEATMETHOD_TIMED 0
#define CHEATMETHOD_TRANSFERPAK 2
#define CHEATMETHOD_COMPLETE 4
#define CHEATMETHOD_FIRINGRANGE 8
#define CHR_P1P2_OPPOSITE 0xf1
#define CHR_P1P2 0xf2
#define CHR_ANY 0xf3 // Only supported by if_chr_activated_object command
+1 -1
View File
@@ -12,7 +12,7 @@ u32 func0f107510(void);
u32 func0f10793c(void);
u32 func0f107a78(void);
u32 func0f107eb8(void);
u32 func0f107f18(void);
s32 cheatGetByCompletedStageIndex(s32 stage_index);
s32 cheatGetTime(s32 cheat_id);
char *cheatGetName(s32 cheat_id);
s32 menudialog00107990(u32, u32, u32 *);
-5
View File
@@ -2603,11 +2603,6 @@ struct cutscenegroup {
u16 namefileid;
};
#define CHEATMETHOD_TIMED 0
#define CHEATMETHOD_TRANSFERPAK 2
#define CHEATMETHOD_COMPLETE 4
#define CHEATMETHOD_FIRINGRANGE 8
struct cheatspec {
u16 nametextid;
u16 time;