kep-hack/scripts/CinnabarVolcano.asm
Llinos Evans 5279e8a06e Establish Brunswick Grotto
The warp at the moment is an absolute travesty, something on that tileset needs to change. Either that or we figure out something else.

Everything in the Grotto is done, except for making Galarian Zapdos disappear after being defeated. At least, to my knowledge...

Pokemon Tower 3F is dead until future notice - Martha said she wanted to compress the Diglett's Cave maps, though.
2023-06-17 07:56:30 +01:00

37 lines
802 B
NASM

CinnabarVolcano_Script:
call EnableAutoTextBoxDrawing
ld hl, CinnabarVolcanoTrainerHeaders
ld de, CinnabarVolcano_ScriptPointers
ld a, [wCinnabarVolcanoCurScript]
call ExecuteCurMapScriptInTable
ld [wCinnabarVolcanoCurScript], a
ret
CinnabarVolcano_ScriptPointers:
dw CheckFightingMapTrainers
dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
CinnabarVolcano_TextPointers:
dw MoltresText
CinnabarVolcanoTrainerHeaders:
def_trainers
MoltresTrainerHeader:
trainer EVENT_BEAT_MOLTRES, 0, MoltresBattleText, MoltresBattleText, MoltresBattleText
db -1 ; end
MoltresText:
text_asm
ld hl, MoltresTrainerHeader
call TalkToTrainer
jp TextScriptEnd
MoltresBattleText:
text_far _BirdBattleText
text_asm
ld a, MOLTRES
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd