Give names to some Grand Prix related variables (#67)

* Give names to some Grand Prix related variables

Namely variables related to points and standings

Also added some observational comments to a function
or two

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>

* Add defines for character IDs

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
This commit is contained in:
Tyler McGavran
2021-11-26 19:22:39 -05:00
committed by GitHub
parent 3e0bed79d3
commit 7387724509
21 changed files with 273 additions and 219 deletions
+15
View File
@@ -55,4 +55,19 @@
#define SPECIAL_CUP 3
#define BATTLE_CUP 4
/**
* Character IDs
* Note that these are not the same as the values
* found in gCharacterSelections as those are more
* akin to indexes than IDs
**/
#define MARIO 0
#define LUIGI 1
#define YOSHI 2
#define TOAD 3
#define DK 4
#define WARIO 5
#define PEACH 6
#define BOWSER 7
#endif // DEFINES_H
+1 -1
View File
@@ -33,7 +33,7 @@ extern s16 D_80165572;
extern s16 D_80165580;
extern s16 D_80165582;
extern s8 D_800E86A8[4];
extern s8 D_8018D9D0[4];
extern s8 gGPOverallRanks[8];
extern s16 D_80165270[8];
extern Player* D_800DC4DC;
extern Player* D_800DC4E0;