summaryrefslogtreecommitdiff
path: root/include/sf64level.h
diff options
context:
space:
mode:
authorpetrie911 <69443847+petrie911@users.noreply.github.com>2024-05-25 12:17:03 -0500
committerGitHub <noreply@github.com>2024-05-25 12:17:03 -0500
commit0f6d7cca339705baa473b709be30e08ed85a67a6 (patch)
treeab0d5b4d19d3a46b2a0316f40f4cab194438813c /include/sf64level.h
parent03ce166cca2b9d71b13b9af40cf6875698d36136 (diff)
Player and Vs docs, some improvement to ve1 boss (#259)
* playerstuff * stuff * small fixes * Torch * torch update again
Diffstat (limited to 'include/sf64level.h')
-rw-r--r--include/sf64level.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/sf64level.h b/include/sf64level.h
index c644f77a..186f0676 100644
--- a/include/sf64level.h
+++ b/include/sf64level.h
@@ -135,6 +135,33 @@ typedef enum VsStage {
/* 2 */ VS_STAGE_SECTOR_Z,
} VsStage;
+typedef enum VsMatchType {
+ /* 0 */ VS_MATCH_POINTS,
+ /* 1 */ VS_MATCH_BATTLE,
+ /* 2 */ VS_MATCH_TIME,
+} VsMatchType;
+
+#define VS_TIME_UP(countdown) (((countdown)[0] == 0) && ((countdown)[1] == 0) && ((countdown)[2] == 0))
+
+typedef enum VsState {
+ /* 0 */ VS_STATE_0,
+ /* 1 */ VS_STATE_1,
+ /* 2 */ VS_STATE_2,
+ /* 3 */ VS_STATE_3,
+ /* 4 */ VS_STATE_4,
+ /* 5 */ VS_STATE_5,
+ /* 6 */ VS_STATE_6,
+ /* 7 */ VS_STATE_7,
+ /* 8 */ VS_STATE_8,
+ /* 9 */ VS_STATE_9,
+ /* 10 */ VS_STATE_10,
+ /* 11 */ VS_STATE_11,
+ /* 12 */ VS_STATE_12,
+ /* 13 */ VS_STATE_13,
+ /* 14 */ VS_STATE_14,
+ /* 20 */ VS_STATE_20 = 20,
+} VsState;
+
typedef enum GroundSurface {
/* 0 */ SURFACE_GRASS,
/* 1 */ SURFACE_ROCK,