aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/CeruleanCaveB1F.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /scripts/CeruleanCaveB1F.asm
parentMerge pull request #55 from Deokishisu/patch-1 (diff)
downloadpokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.tar.gz
pokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.tar.xz
pokeyellow-5647ca687b92954dcf37a6ea6bfbc9a341c32de4.zip
Sync with pokered
Diffstat (limited to 'scripts/CeruleanCaveB1F.asm')
-rwxr-xr-xscripts/CeruleanCaveB1F.asm17
1 files changed, 5 insertions, 12 deletions
diff --git a/scripts/CeruleanCaveB1F.asm b/scripts/CeruleanCaveB1F.asm
index b98ca4ba..a94a7fe3 100755
--- a/scripts/CeruleanCaveB1F.asm
+++ b/scripts/CeruleanCaveB1F.asm
@@ -20,25 +20,18 @@ CeruleanCaveB1F_TextPointers:
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
+ trainer EVENT_BEAT_MEWTWO, 0, MewtwoBattleText, MewtwoBattleText, MewtwoBattleText
+ db -1 ; end
MewtwoText:
- TX_ASM
+ text_asm
ld hl, MewtwoTrainerHeader
call TalkToTrainer
jp TextScriptEnd
MewtwoBattleText:
- TX_FAR _MewtwoBattleText
- TX_ASM
+ text_far _MewtwoBattleText
+ text_asm
ld a, MEWTWO
call PlayCry
call WaitForSoundToFinish