diff options
| author | Pokeglitch <pokeglitchx@gmail.com> | 2018-06-15 20:22:20 -0400 |
|---|---|---|
| committer | Pokeglitch <pokeglitchx@gmail.com> | 2018-06-15 20:22:20 -0400 |
| commit | 85130570ed91771d0999f068e8d4e6824613ce19 (patch) | |
| tree | 68c314cfbfb9595d26267cab2d9f36d2ef2fa1fa /constants | |
| parent | 5b559fd49b42e0c959f5a6373640b0734e3fd602 (diff) | |
Disassembled Fly and Dig
Diffstat (limited to 'constants')
| -rw-r--r-- | constants/map_data_constants.asm | 2 | ||||
| -rwxr-xr-x | constants/script_constants.asm | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/constants/map_data_constants.asm b/constants/map_data_constants.asm index ac9908a..e711e1d 100644 --- a/constants/map_data_constants.asm +++ b/constants/map_data_constants.asm @@ -12,5 +12,7 @@ const_value = -1 const SPAWN_N_A +NUM_SPAWNS EQU 18 + ; size of each spawn point data SPAWN_POINT_SIZE EQU 4
\ No newline at end of file diff --git a/constants/script_constants.asm b/constants/script_constants.asm index 3aa19b5..57dfbdf 100755 --- a/constants/script_constants.asm +++ b/constants/script_constants.asm @@ -7,9 +7,10 @@ const SCRIPT_ID_03 ; 03
; Flags
-SCRIPT_FINISHED EQU 7
+SCRIPT_FINISHED_FLAG EQU 7
; Masks/Return Values
-SCRIPT_FINISHED_MASK = 1 << SCRIPT_FINISHED
-SCRIPT_SUCCESS EQU SCRIPT_FINISHED_MASK | $f
-SCRIPT_FAIL EQU SCRIPT_FINISHED_MASK | 0
\ No newline at end of file +SCRIPT_FINISHED_MASK EQU 1 << SCRIPT_FINISHED_FLAG
+SCRIPT_SUCCESS EQU $f
+SCRIPT_FAIL EQU 0
+SCRIPT_FINISHED EQU $FF
\ No newline at end of file |
