mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 02:13:23 +12:00

- 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
42 lines
922 B
NASM
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
|
|
|