summaryrefslogtreecommitdiff
path: root/constants/misc_constants.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-01-25 17:00:31 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-01-25 17:00:31 -0500
commit0380c2a493ccc85cd3a6ab3430fb6bed87cf49eb (patch)
tree72b04048a04832230429f5d41e34424bc3ea999a /constants/misc_constants.asm
parent518dd46ca16c79736511289069d2525635ed52e4 (diff)
Move some more constants out of misc_constants.asm
Diffstat (limited to 'constants/misc_constants.asm')
-rw-r--r--constants/misc_constants.asm46
1 files changed, 17 insertions, 29 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index 9af003e5a..a6c0b0888 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -11,11 +11,6 @@ RESET_FLAG EQU 0
SET_FLAG EQU 1
CHECK_FLAG EQU 2
-; GetHPPal return values (see home.asm)
-HP_GREEN EQU 0
-HP_YELLOW EQU 1
-HP_RED EQU 2
-
; G/S version ID: 0 = Gold, 1 = Silver (used by checkver)
GS_VERSION EQU 0
@@ -27,17 +22,6 @@ SAVE_CHECK_VALUE_2 EQU 127
HMENURETURN_SCRIPT EQU %10000000
HMENURETURN_ASM EQU %11111111
-; DoPlayerMovement.DoStep arguments (see engine/player_movement.asm)
- const_def
- const STEP_SLOW ; 0
- const STEP_WALK ; 1
- const STEP_BIKE ; 2
- const STEP_LEDGE ; 3
- const STEP_ICE ; 4
- const STEP_TURN ; 5
- const STEP_BACK_LEDGE ; 6
- const STEP_WALK_IN_PLACE ; 7
-
; time of day boundaries
MORN_HOUR EQU 4 ; 4 AM
DAY_HOUR EQU 10 ; 10 AM
@@ -45,23 +29,29 @@ NITE_HOUR EQU 18 ; 6 PM
NOON_HOUR EQU 12 ; 12 PM
MAX_HOUR EQU 24 ; 12 AM
-; boxes
-MONS_PER_BOX EQU 20
-NUM_BOXES EQU 14
-
-; hall of fame
-HOF_MON_LENGTH = 1 + 2 + 2 + 1 + (MON_NAME_LENGTH +- 1) ; species, id, dvs, level, nick
-HOF_LENGTH = 1 + HOF_MON_LENGTH * PARTY_LENGTH + 1 ; win count, party, terminator
-NUM_HOF_TEAMS = 30
-
-MAX_LINK_RECORD EQU 9999
-
; significant money values
START_MONEY EQU 3000
MOM_MONEY EQU 2300
MAX_MONEY EQU 999999
MAX_COINS EQU 9999
+MAX_LINK_RECORD EQU 9999
+
+MAX_DAY_CARE_EXP EQU $500000
+
+
+; DoPlayerMovement.DoStep arguments (see engine/player_movement.asm)
+ const_def
+ const STEP_SLOW ; 0
+ const STEP_WALK ; 1
+ const STEP_BIKE ; 2
+ const STEP_LEDGE ; 3
+ const STEP_ICE ; 4
+ const STEP_TURN ; 5
+ const STEP_BACK_LEDGE ; 6
+ const STEP_WALK_IN_PLACE ; 7
+
+
; ChangeHappiness arguments (see data/happiness_changes.asm)
const_value = 1
const HAPPINESS_GAINLEVEL ; 01
@@ -84,8 +74,6 @@ const_value = 1
const HAPPINESS_GROOMING ; 12
const HAPPINESS_GAINLEVELATHOME ; 13
-; day-care
-MAX_DAY_CARE_EXP EQU $500000
; bug-catching contest
BUG_CONTEST_MINUTES EQU 20