summaryrefslogtreecommitdiff
path: root/scripts/unknowndungeon3.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2019-01-13 22:38:16 -0600
committerGitHub <noreply@github.com>2019-01-13 22:38:16 -0600
commit725b86ebbec23bd1f53fd60bf0201c904fee951d (patch)
treea37f4d33c5b77635c7ff72b91a73fcd90c4af915 /scripts/unknowndungeon3.asm
parent108245cb21abb3abac051b7db84ed6c694192a61 (diff)
parentc7796024590fec48ac79756793c1a6e3b54daf8f (diff)
Merge pull request #196 from Rangi42/polishedmaps
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/unknowndungeon3.asm')
-rwxr-xr-xscripts/unknowndungeon3.asm43
1 files changed, 0 insertions, 43 deletions
diff --git a/scripts/unknowndungeon3.asm b/scripts/unknowndungeon3.asm
deleted file mode 100755
index 78b1ab80..00000000
--- a/scripts/unknowndungeon3.asm
+++ /dev/null
@@ -1,43 +0,0 @@
-UnknownDungeon3Script:
- call EnableAutoTextBoxDrawing
- ld hl, MewtwoTrainerHeader
- 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
-
-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