kep-hack/scripts/CelesteHill.asm
Martha Schilling baa94d76ae Functioning Galarian Moltres
- Moltres now functions correctly, seeing you like a normal trainer would.

- Slightly tidied up Brunswick Trail and Celeste Hill Outside's maps

- Celeste Hill Outside and Cave now play Digda01 as a music track
2023-07-04 12:59:54 +01:00

42 lines
922 B
NASM

CelesteHill_Script:
call EnableAutoTextBoxDrawing
ld hl, CelesteHillTrainerHeaders
ld de, CelesteHill_ScriptPointers
ld a, [wCelesteHillCurScript]
call ExecuteCurMapScriptInTable
ld [wCelesteHillCurScript], a
ret
CelesteHill_ScriptPointers:
dw CheckFightingMapTrainers
dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
CelesteHillTrainerHeaders:
def_trainers
GalarianMoltresTrainerHeader:
trainer EVENT_BEAT_GALARIAN_MOLTRES, 3, GalarianMoltresBattleText, GalarianMoltresBattleText, GalarianMoltresBattleText
db -1 ; end
CelesteHill_TextPointers:
dw GalarianMoltresText
dw CelesteHillSign
GalarianMoltresText:
text_asm
ld hl, GalarianMoltresTrainerHeader
call TalkToTrainer
jp TextScriptEnd
GalarianMoltresBattleText:
text_far _BirdBattleText
text_asm
ld a, MOLTRES_G
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd
CelesteHillSign:
text_far _CelesteHillSign
text_end