mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 06:38:40 +13:00
Groundwork for Galarcuno in Garnet Cavern
This sets up most of the content necessary for Galarian Articuno's event. In SwSh, it has 2 copies, so I'm doing that here too. Right now, the fight doesn't work properly and the copies don't hide properly. Otherwise, it's roughly how we want it to be.
This commit is contained in:
parent
f1c8a3bdbb
commit
8979403c5d
6 changed files with 76 additions and 8 deletions
|
|
@ -14,8 +14,10 @@ GarnetCavernB1F_ScriptPointers:
|
|||
|
||||
GarnetCavernB1F_TextPointers:
|
||||
dw ArticunoGText
|
||||
;dw PickUpItemText soon
|
||||
;dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw ArticunoGCopy1
|
||||
dw ArticunoGCopy2
|
||||
|
||||
GarnetCavernB1FTrainerHeaders:
|
||||
def_trainers
|
||||
|
|
@ -24,16 +26,74 @@ ArticunoGTrainerHeader:
|
|||
db -1 ; end
|
||||
|
||||
ArticunoGText:
|
||||
ld a, HS_ARTICUNO_G_COPY_1
|
||||
ld [wMissableObjectIndex], a
|
||||
predef HideObject
|
||||
ld a, HS_ARTICUNO_G_COPY_2
|
||||
ld [wMissableObjectIndex], a
|
||||
predef HideObject
|
||||
text_asm
|
||||
ld hl, ArticunoGTrainerHeader
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
ArticunoGBattleText:
|
||||
text_far _ArticunoGBattleText
|
||||
text_far _BirdBattleText
|
||||
text_asm
|
||||
ld a, ARTICUNO_G
|
||||
call PlayCry
|
||||
call WaitForSoundToFinish
|
||||
jp TextScriptEnd
|
||||
|
||||
ArticunoGCopy1:
|
||||
text_far _BirdBattleText
|
||||
text_asm
|
||||
ld a, ARTICUNO_G
|
||||
call PlayCry
|
||||
call WaitForSoundToFinish
|
||||
|
||||
ld a, $ff
|
||||
ld [wJoyIgnore], a
|
||||
call GBFadeOutToBlack
|
||||
ld a, SFX_TELEPORT_ENTER_1
|
||||
call PlaySound
|
||||
ld a, HS_ARTICUNO_G_COPY_1
|
||||
ld [wMissableObjectIndex], a
|
||||
predef HideObject
|
||||
call UpdateSprites
|
||||
call Delay3
|
||||
call GBFadeInFromBlack
|
||||
ld a, 0
|
||||
ld [wJoyIgnore], a
|
||||
ld hl, ArticunoGCopyText
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
ArticunoGCopy2:
|
||||
text_far _BirdBattleText
|
||||
text_asm
|
||||
ld a, ARTICUNO_G
|
||||
call PlayCry
|
||||
call WaitForSoundToFinish
|
||||
|
||||
ld a, $ff
|
||||
ld [wJoyIgnore], a
|
||||
call GBFadeOutToBlack
|
||||
ld a, SFX_TELEPORT_ENTER_1
|
||||
call PlaySound
|
||||
ld a, HS_ARTICUNO_G_COPY_2
|
||||
ld [wMissableObjectIndex], a
|
||||
predef HideObject
|
||||
call UpdateSprites
|
||||
call Delay3
|
||||
call GBFadeInFromBlack
|
||||
ld a, 0
|
||||
ld [wJoyIgnore], a
|
||||
ld hl, ArticunoGCopyText
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
ArticunoGCopyText:
|
||||
text "It was a copy!"
|
||||
done
|
||||
text_end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue