mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Define a constant for the ghost Marowak (hard-coded throughout the engine, like the starters)
This commit is contained in:
parent
bfd9f617c9
commit
8ce20e5c31
8 changed files with 14 additions and 9 deletions
|
|
@ -33,7 +33,7 @@ PrintBeginningBattleText:
|
|||
call IsItemInBag
|
||||
ld a, [wEnemyMonSpecies2]
|
||||
ld [wcf91], a
|
||||
cp MAROWAK
|
||||
cp GHOST_MON
|
||||
jr z, .isMarowak
|
||||
ld a, b
|
||||
and a
|
||||
|
|
|
|||
|
|
@ -6784,7 +6784,7 @@ InitWildBattle:
|
|||
call LoadEnemyMonData
|
||||
call DoBattleTransitionAndInitBattleVariables
|
||||
ld a, [wCurOpponent]
|
||||
cp MAROWAK
|
||||
cp GHOST_MON
|
||||
jr z, .isGhost
|
||||
call IsGhostBattle
|
||||
jr nz, .isNoGhost
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue