mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
Rename map files, labels, and constants to be consistent and work with Polished Map
This commit is contained in:
parent
90430e6dee
commit
c779602459
1398 changed files with 6631 additions and 6166 deletions
43
scripts/CeruleanCaveB1F.asm
Executable file
43
scripts/CeruleanCaveB1F.asm
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
CeruleanCaveB1F_Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, MewtwoTrainerHeader
|
||||
ld de, CeruleanCaveB1F_ScriptPointers
|
||||
ld a, [wCeruleanCaveB1FCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
ld [wCeruleanCaveB1FCurScript], a
|
||||
ret
|
||||
|
||||
CeruleanCaveB1F_ScriptPointers
|
||||
dw CheckFightingMapTrainers
|
||||
dw DisplayEnemyTrainerTextAndStartBattle
|
||||
dw EndTrainerBattle
|
||||
|
||||
CeruleanCaveB1F_TextPointers:
|
||||
dw MewtwoText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
|
||||
MewtwoTrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_MEWTWO
|
||||
db ($0 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_MEWTWO
|
||||
dw MewtwoBattleText ; TextBeforeBattle
|
||||
dw MewtwoBattleText ; TextAfterBattle
|
||||
dw MewtwoBattleText ; TextEndBattle
|
||||
dw MewtwoBattleText ; TextEndBattle
|
||||
|
||||
db $ff
|
||||
|
||||
MewtwoText:
|
||||
TX_ASM
|
||||
ld hl, MewtwoTrainerHeader
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
MewtwoBattleText:
|
||||
TX_FAR _MewtwoBattleText
|
||||
TX_ASM
|
||||
ld a, MEWTWO
|
||||
call PlayCry
|
||||
call WaitForSoundToFinish
|
||||
jp TextScriptEnd
|
||||
Loading…
Add table
Add a link
Reference in a new issue