diff options
author | SatoMew <SatoMew@users.noreply.github.com> | 2020-09-22 18:38:29 +0100 |
---|---|---|
committer | SatoMew <SatoMew@users.noreply.github.com> | 2020-09-22 18:38:29 +0100 |
commit | 2ff7b40d8294d386332b7895a5afec0269b153fd (patch) | |
tree | e1daa833faa51a6cc50e1807da3045eccd56900e | |
parent | 174ef99e0e0caf5e8af2825d0034c9f7b72784f8 (diff) |
Replace ghost Marowak's ambiguous constant
-rw-r--r-- | constants/pokemon_constants.asm | 2 | ||||
-rw-r--r-- | engine/battle/common_text.asm | 2 | ||||
-rwxr-xr-x | engine/battle/core.asm | 2 | ||||
-rw-r--r-- | engine/battle/ghost_marowak_anim.asm | 2 | ||||
-rwxr-xr-x | engine/items/item_effects.asm | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/constants/pokemon_constants.asm b/constants/pokemon_constants.asm index 7312dbf1..fd7e9f6d 100644 --- a/constants/pokemon_constants.asm +++ b/constants/pokemon_constants.asm @@ -206,4 +206,4 @@ STARTER2 EQU SQUIRTLE STARTER3 EQU BULBASAUR ; ghost in Pokémon Tower -GHOST_MON EQU MAROWAK +RESTLESS_SOUL EQU MAROWAK diff --git a/engine/battle/common_text.asm b/engine/battle/common_text.asm index 8c9e6afa..0e270424 100644 --- a/engine/battle/common_text.asm +++ b/engine/battle/common_text.asm @@ -33,7 +33,7 @@ PrintBeginningBattleText: call IsItemInBag ld a, [wEnemyMonSpecies2] ld [wcf91], a - cp GHOST_MON + cp RESTLESS_SOUL jr z, .isMarowak ld a, b and a diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 8289ecc9..4628e86a 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6784,7 +6784,7 @@ InitWildBattle: call LoadEnemyMonData call DoBattleTransitionAndInitBattleVariables ld a, [wCurOpponent] - cp GHOST_MON + cp RESTLESS_SOUL jr z, .isGhost call IsGhostBattle jr nz, .isNoGhost diff --git a/engine/battle/ghost_marowak_anim.asm b/engine/battle/ghost_marowak_anim.asm index 975bb937..6760c3d5 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, GHOST_MON + ld a, RESTLESS_SOUL ld [wChangeMonPicEnemyTurnSpecies], a ld a, $1 ldh [hWhoseTurn], a diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index 244474ef..d4164332 100755 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -170,7 +170,7 @@ ItemUseBall: cp POKEMON_TOWER_6F jr nz, .loop ld a, [wEnemyMonSpecies2] - cp GHOST_MON + cp RESTLESS_SOUL ld b, $10 ; can't be caught value jp z, .setAnimData |