aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/ghost_marowak_anim.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-08-31 10:58:41 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-08-31 10:58:41 -0400
commit8ce20e5c31ed2255e708e6a38c7b75d3d8bee48c (patch)
tree8c4770326f0b1b347a84f7adf4e7d3f447a51992 /engine/battle/ghost_marowak_anim.asm
parentUse constants to delineate map types, and factor out more data (diff)
downloadpokeyellow-8ce20e5c31ed2255e708e6a38c7b75d3d8bee48c.tar.gz
pokeyellow-8ce20e5c31ed2255e708e6a38c7b75d3d8bee48c.tar.xz
pokeyellow-8ce20e5c31ed2255e708e6a38c7b75d3d8bee48c.zip
Define a constant for the ghost Marowak (hard-coded throughout the engine, like the starters)
Diffstat (limited to 'engine/battle/ghost_marowak_anim.asm')
-rw-r--r--engine/battle/ghost_marowak_anim.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/ghost_marowak_anim.asm b/engine/battle/ghost_marowak_anim.asm
index 7405c40b..975bb937 100644
--- a/engine/battle/ghost_marowak_anim.asm
+++ b/engine/battle/ghost_marowak_anim.asm
@@ -11,7 +11,7 @@ MarowakAnim:
xor a
ldh [hAutoBGTransferEnabled], a ; disable BG transfer so we don't see the Marowak too soon
; replace ghost pic with Marowak in BG
- ld a, MAROWAK
+ ld a, GHOST_MON
ld [wChangeMonPicEnemyTurnSpecies], a
ld a, $1
ldh [hWhoseTurn], a