summaryrefslogtreecommitdiff
path: root/scripts/unknowndungeon3.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-05-20 20:17:30 -0500
committerGitHub <noreply@github.com>2020-05-20 20:17:30 -0500
commit500d99c258145d233af8d14cdb5c6e0200dfc1d8 (patch)
tree7dbe7b152dde8a6e9b56664b5b8cdfc0d6be1253 /scripts/unknowndungeon3.asm
parentb8954732a3eaa3a784a6e3eaaa68977a9ccd9816 (diff)
parent33456b8fb28ef547a54d04d22baa2313b72fdb1d (diff)
Merge pull request #50 from dannye/master
merge pokered
Diffstat (limited to 'scripts/unknowndungeon3.asm')
-rwxr-xr-xscripts/unknowndungeon3.asm46
1 files changed, 0 insertions, 46 deletions
diff --git a/scripts/unknowndungeon3.asm b/scripts/unknowndungeon3.asm
deleted file mode 100755
index 46a1cafd..00000000
--- a/scripts/unknowndungeon3.asm
+++ /dev/null
@@ -1,46 +0,0 @@
-UnknownDungeon3Script:
- call EnableAutoTextBoxDrawing
- ld hl, UnknownDungeon3TrainerHeaders
- ld de, .ScriptPointers
- ld a, [wUnknownDungeon3CurScript]
- call ExecuteCurMapScriptInTable
- ld [wUnknownDungeon3CurScript], a
- ret
-
-.ScriptPointers:
- dw CheckFightingMapTrainers
- dw DisplayEnemyTrainerTextAndStartBattle
- dw EndTrainerBattle
-
-UnknownDungeon3TextPointers:
- dw MewtwoText
- dw PickUpItemText
- dw PickUpItemText
- dw PickUpItemText
- dw PickUpItemText
-
-UnknownDungeon3TrainerHeaders:
-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