diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-15 21:22:26 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-15 21:22:26 -0500 |
commit | e44640b0088dad5856d7a6f60ad930779931b251 (patch) | |
tree | e7da6729222fc77db713a401df6fe962e32b00af /constants | |
parent | 01bd8ac94cc11c086167a2a2d8e7b335f033deca (diff) |
Move more main.asm code into individual files
Diffstat (limited to 'constants')
-rwxr-xr-x | constants/battle_tower_constants.asm | 4 | ||||
-rw-r--r-- | constants/misc_constants.asm | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/constants/battle_tower_constants.asm b/constants/battle_tower_constants.asm index 0436e4e22..74df3a36a 100755 --- a/constants/battle_tower_constants.asm +++ b/constants/battle_tower_constants.asm @@ -20,8 +20,8 @@ const BATTLETOWERACTION_11 ; store 0 in 5:aa8d const BATTLETOWERACTION_12 ; store 1 in 5:aa8d const BATTLETOWERACTION_13 ; check 5:aa8d - const BATTLETOWERACTION_14 ; if save file is yours: bit 0, [s1_be4f] - const BATTLETOWERACTION_15 ; set 0, [s1_be4f] + const BATTLETOWERACTION_14 ; if save file is yours: bit 0, [sBattleTowerSaveFileFlags] + const BATTLETOWERACTION_15 ; set 0, [sBattleTowerSaveFileFlags] const BATTLETOWERACTION_16 ; update time in SRAM bank 5 const BATTLETOWERACTION_17 ; check time in SRAM bank 5 const BATTLETOWERACTION_LEVEL_CHECK diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 7510fdf50..cbdbf3f98 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -65,6 +65,11 @@ HMENURETURN_SCRIPT EQU %10000000 HMENURETURN_ASM EQU %11111111 +; save file corruption check values +SAVE_CHECK_VALUE_1 EQU 99 +SAVE_CHECK_VALUE_2 EQU 127 + + ; time of day boundaries MORN_HOUR EQU 4 ; 4 AM DAY_HOUR EQU 10 ; 10 AM |