summaryrefslogtreecommitdiff
path: root/scripts/Route22Gate.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-05 19:58:21 -0400
committerGitHub <noreply@github.com>2020-07-05 19:58:21 -0400
commitc57c93d2b2fb06cadafefda37c0974ba1ec9e6c0 (patch)
tree531d6b30d5a606ae963024825ed6e614843000a6 /scripts/Route22Gate.asm
parent2718c36065e7eb201a149938bcdd51987c4e56b6 (diff)
parent5fe8aab3445cb76d8e1c4be954c0392f40798950 (diff)
Merge pull request #259 from Rangi42/master
Port pokecrystal's formatting of text commands and special characters
Diffstat (limited to 'scripts/Route22Gate.asm')
-rwxr-xr-xscripts/Route22Gate.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/Route22Gate.asm b/scripts/Route22Gate.asm
index 86b1220d..e2311b95 100755
--- a/scripts/Route22Gate.asm
+++ b/scripts/Route22Gate.asm
@@ -37,7 +37,7 @@ Route22GateScript_1e6ba:
ld [wSimulatedJoypadStatesIndex], a
ld a, D_DOWN
ld [wSimulatedJoypadStatesEnd], a
- ld [wSpriteStateData1 + 9], a
+ ld [wSpritePlayerStateData1FacingDirection], a
ld [wJoyIgnore], a
jp StartSimulatingJoypadStates
@@ -57,7 +57,7 @@ Route22Gate_TextPointers:
dw Route22GateText1
Route22GateText1:
- TX_ASM
+ text_asm
ld a, [wObtainedBadges]
bit 0, a
jr nz, .asm_1e6f6
@@ -75,8 +75,8 @@ Route22GateText1:
jp TextScriptEnd
Route22GateText_1e704:
- TX_FAR _Route22GateText_1e704
- TX_ASM
+ text_far _Route22GateText_1e704
+ text_asm
ld a, SFX_DENIED
call PlaySoundWaitForCurrent
call WaitForSoundToFinish
@@ -84,10 +84,10 @@ Route22GateText_1e704:
ret
Route22GateText_1e715:
- TX_FAR _Route22GateText_1e715
- db "@"
+ text_far _Route22GateText_1e715
+ text_end
Route22GateText_1e71a:
- TX_FAR _Route22GateText_1e71a
- TX_SFX_ITEM_1
- db "@"
+ text_far _Route22GateText_1e71a
+ sound_get_item_1
+ text_end