mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-12-20 01:31:31 +13:00
Merge pull request #294 from SatoMew/master
Give a better label to ghost Marowak's constant
This commit is contained in:
commit
3e830f98d8
|
|
@ -206,4 +206,4 @@ STARTER2 EQU SQUIRTLE
|
||||||
STARTER3 EQU BULBASAUR
|
STARTER3 EQU BULBASAUR
|
||||||
|
|
||||||
; ghost in Pokémon Tower
|
; ghost in Pokémon Tower
|
||||||
GHOST_MON EQU MAROWAK
|
RESTLESS_SOUL EQU MAROWAK
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ PrintBeginningBattleText:
|
||||||
call IsItemInBag
|
call IsItemInBag
|
||||||
ld a, [wEnemyMonSpecies2]
|
ld a, [wEnemyMonSpecies2]
|
||||||
ld [wcf91], a
|
ld [wcf91], a
|
||||||
cp GHOST_MON
|
cp RESTLESS_SOUL
|
||||||
jr z, .isMarowak
|
jr z, .isMarowak
|
||||||
ld a, b
|
ld a, b
|
||||||
and a
|
and a
|
||||||
|
|
|
||||||
|
|
@ -6784,7 +6784,7 @@ InitWildBattle:
|
||||||
call LoadEnemyMonData
|
call LoadEnemyMonData
|
||||||
call DoBattleTransitionAndInitBattleVariables
|
call DoBattleTransitionAndInitBattleVariables
|
||||||
ld a, [wCurOpponent]
|
ld a, [wCurOpponent]
|
||||||
cp GHOST_MON
|
cp RESTLESS_SOUL
|
||||||
jr z, .isGhost
|
jr z, .isGhost
|
||||||
call IsGhostBattle
|
call IsGhostBattle
|
||||||
jr nz, .isNoGhost
|
jr nz, .isNoGhost
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ MarowakAnim:
|
||||||
xor a
|
xor a
|
||||||
ldh [hAutoBGTransferEnabled], a ; disable BG transfer so we don't see the Marowak too soon
|
ldh [hAutoBGTransferEnabled], a ; disable BG transfer so we don't see the Marowak too soon
|
||||||
; replace ghost pic with Marowak in BG
|
; replace ghost pic with Marowak in BG
|
||||||
ld a, GHOST_MON
|
ld a, RESTLESS_SOUL
|
||||||
ld [wChangeMonPicEnemyTurnSpecies], a
|
ld [wChangeMonPicEnemyTurnSpecies], a
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ldh [hWhoseTurn], a
|
ldh [hWhoseTurn], a
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,7 @@ ItemUseBall:
|
||||||
cp POKEMON_TOWER_6F
|
cp POKEMON_TOWER_6F
|
||||||
jr nz, .loop
|
jr nz, .loop
|
||||||
ld a, [wEnemyMonSpecies2]
|
ld a, [wEnemyMonSpecies2]
|
||||||
cp GHOST_MON
|
cp RESTLESS_SOUL
|
||||||
ld b, $10 ; can't be caught value
|
ld b, $10 ; can't be caught value
|
||||||
jp z, .setAnimData
|
jp z, .setAnimData
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ PokemonTower6Script0:
|
||||||
ld a, $6
|
ld a, $6
|
||||||
ldh [hSpriteIndexOrTextID], a
|
ldh [hSpriteIndexOrTextID], a
|
||||||
call DisplayTextID
|
call DisplayTextID
|
||||||
ld a, MAROWAK
|
ld a, RESTLESS_SOUL
|
||||||
ld [wCurOpponent], a
|
ld [wCurOpponent], a
|
||||||
ld a, 30
|
ld a, 30
|
||||||
ld [wCurEnemyLVL], a
|
ld [wCurEnemyLVL], a
|
||||||
|
|
@ -134,7 +134,7 @@ PokemonTower6Text7:
|
||||||
text_asm
|
text_asm
|
||||||
ld hl, PokemonTower2Text_60c1f
|
ld hl, PokemonTower2Text_60c1f
|
||||||
call PrintText
|
call PrintText
|
||||||
ld a, MAROWAK
|
ld a, RESTLESS_SOUL
|
||||||
call PlayCry
|
call PlayCry
|
||||||
call WaitForSoundToFinish
|
call WaitForSoundToFinish
|
||||||
ld c, 30
|
ld c, 30
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue