summaryrefslogtreecommitdiff
path: root/scripts/route5gate.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/route5gate.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/route5gate.asm')
-rwxr-xr-xscripts/route5gate.asm117
1 files changed, 0 insertions, 117 deletions
diff --git a/scripts/route5gate.asm b/scripts/route5gate.asm
deleted file mode 100755
index 6072f943..00000000
--- a/scripts/route5gate.asm
+++ /dev/null
@@ -1,117 +0,0 @@
-Route5GateScript:
- call EnableAutoTextBoxDrawing
- ld a, [wRoute5GateCurScript]
- ld hl, Route5GateScriptPointers
- jp CallFunctionInTable
-
-Route5GateScriptPointers:
- dw Route5GateScript0
- dw Route5GateScript1
-
-Route5GateScript_1df43:
- ld a, D_UP
- ld [wSimulatedJoypadStatesEnd], a
- ld a, $1
- ld [wSimulatedJoypadStatesIndex], a
- jp StartSimulatingJoypadStates
-
-Route5GateScript0:
- ld a, [wd728]
- bit 6, a
- ret nz
- ld hl, CoordsData_1df8f
- call ArePlayerCoordsInArray
- ret nc
- ld a, PLAYER_DIR_LEFT
- ld [wPlayerMovingDirection], a
- xor a
- ld [hJoyHeld], a
- callba RemoveGuardDrink
- ld a, [$ffdb]
- and a
- jr nz, .asm_1df82
- ld a, $2
- ld [hSpriteIndexOrTextID], a
- call DisplayTextID
- call Route5GateScript_1df43
- ld a, $1
- ld [wRoute5GateCurScript], a
- ret
-.asm_1df82
- ld a, $3
- ld [hSpriteIndexOrTextID], a
- call DisplayTextID
- ld hl, wd728
- set 6, [hl]
- ret
-
-CoordsData_1df8f:
- db 3,3
- db 3,4
- db $ff
-
-Route5GateScript1:
- ld a, [wSimulatedJoypadStatesIndex]
- and a
- ret nz
- call Delay3
- xor a
- ld [wJoyIgnore], a
- ld [wRoute5GateCurScript], a
- ret
-
-Route5GateTextPointers:
- dw Route5GateText1
- dw Route5GateText2
- dw Route5GateText3
-
-Route8GateText1:
-Route7GateText1:
-Route6GateText1:
-Route5GateText1:
- TX_ASM
- ld a, [wd728]
- bit 6, a
- jr nz, .asm_88856
- callba RemoveGuardDrink
- ld a, [$ffdb]
- and a
- jr nz, .asm_768a2
- ld hl, Route5GateText2
- call PrintText
- call Route5GateScript_1df43
- ld a, $1
- ld [wRoute5GateCurScript], a
- jp TextScriptEnd
-.asm_768a2
- ld hl, Route5GateText3
- call PrintText
- ld hl, wd728
- set 6, [hl]
- jp TextScriptEnd
-.asm_88856
- ld hl, SaffronGateText_1dff6
- call PrintText
- jp TextScriptEnd
-
-Route8GateText2:
-Route7GateText2:
-Route6GateText2:
-Route5GateText2:
- TX_FAR _SaffronGateText_1dfe7
- db "@"
-
-Route8GateText3:
-Route7GateText3:
-Route6GateText3:
-Route5GateText3:
- TX_FAR _SaffronGateText_8aaa9
- TX_SFX_KEY_ITEM
- TX_FAR _SaffronGateText_1dff1
- db "@"
-
-SaffronGateText_1dff6:
- TX_FAR _SaffronGateText_1dff6
- db "@"
-
-