blob: 621815b0d3ca3f29a65970b67452e6a39e353c61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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:
trainer EVENT_BEAT_MEWTWO, 0, MewtwoBattleText, MewtwoBattleText, MewtwoBattleText
db -1 ; end
MewtwoText:
text_asm
ld hl, MewtwoTrainerHeader
call TalkToTrainer
jp TextScriptEnd
MewtwoBattleText:
text_far _MewtwoBattleText
text_asm
ld a, MEWTWO
call PlayCry
call WaitForSoundToFinish
jp TextScriptEnd
|