diff options
author | Pokeglitch <pokeglitchx@gmail.com> | 2018-06-15 11:37:36 -0400 |
---|---|---|
committer | Pokeglitch <pokeglitchx@gmail.com> | 2018-06-15 11:37:36 -0400 |
commit | d0ef40a60044d4dc69656de670c74b46973aaff7 (patch) | |
tree | 59b941cf183c5840887d87acab7418e74af5c9a6 /constants | |
parent | 3c8aef07353f90298aab7f40a92903b050d36a1b (diff) |
Added constants
Diffstat (limited to 'constants')
-rw-r--r-- | constants/map_data_constants.asm | 5 | ||||
-rwxr-xr-x | constants/script_constants.asm | 15 |
2 files changed, 19 insertions, 1 deletions
diff --git a/constants/map_data_constants.asm b/constants/map_data_constants.asm index ee9823e..ac9908a 100644 --- a/constants/map_data_constants.asm +++ b/constants/map_data_constants.asm @@ -10,4 +10,7 @@ ; SpawnPoints indexes (see data/maps/spawn_points.asm) const_value = -1 - const SPAWN_N_A
\ No newline at end of file + const SPAWN_N_A + +; 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 new file mode 100755 index 0000000..1736d36 --- /dev/null +++ b/constants/script_constants.asm @@ -0,0 +1,15 @@ +
+; Teleport Scripts
+ const_def
+ const SCRIPT_TRY_TELEPORT ; 00
+ const SCRIPT_DO_TELEPORT ; 01
+ const SCRIPT_FAIL_TELEPORT ; 02
+ const SCRIPT_CHECK_SPAWN_TELEPORT ; 03
+
+; Flags
+SCRIPT_FINISHED_FLAG EQU 7
+
+; Masks/Return Values
+SCRIPT_SUCCESS EQU $f
+SCRIPT_FAIL EQU 0
+SCRIPT_FINISHED EQU 1 << SCRIPT_FINISHED_FLAG
\ No newline at end of file |