Groundwork for James Bottle Caps

Currently, he doesn't deduct a Bottle Cap and he only fills out Attack and Defence. DVs are stored as a 16-bit address, so I need to find a way to make `a` work with it...
This commit is contained in:
Llinos Evans 2023-05-11 08:43:19 +01:00
parent 76fc5f737e
commit 9bc7505195
12 changed files with 148 additions and 47 deletions

View file

@ -67,8 +67,8 @@ DEF SLP_MASK EQU %111 ; 0-7 turns
DEF MAX_STAT_VALUE EQU 999
; trainer dvs, these should be set to 15.
DEF ATKDEFDV_TRAINER EQU $FF
DEF SPDSPCDV_TRAINER EQU $FF
DEF ATKDEFDV_TRAINER EQU $F
DEF SPDSPCDV_TRAINER EQU $F
; wPlayerBattleStatus1 or wEnemyBattleStatus1 bit flags
const_def

View file

@ -85,7 +85,7 @@ DEF SAFARI_ROCK EQU $16 ; overload
const LIFT_KEY ; $4A
const EXP_ALL ; $4B
const CANDY_JAR ; $4C - was old rod
const GOOD_ROD ; $4D - replaceable
const BOTTLE_CAP ; $4D - was good rod
const SUPER_ROD ; $4E
const PP_UP ; $4F
const ETHER ; $50