mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
Adding Cinnabar Volcano, editing a few encounters
This commit is contained in:
parent
0b65243c75
commit
4eaae2ab9d
35 changed files with 215 additions and 120 deletions
36
scripts/CinnabarVolcano.asm
Normal file
36
scripts/CinnabarVolcano.asm
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
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 _MoltresBattleText
|
||||
text_asm
|
||||
ld a, MOLTRES
|
||||
call PlayCry
|
||||
call WaitForSoundToFinish
|
||||
jp TextScriptEnd
|
||||
Loading…
Add table
Add a link
Reference in a new issue