summaryrefslogtreecommitdiff
path: root/scripts/Route22.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/Route22.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/Route22.asm')
-rwxr-xr-xscripts/Route22.asm42
1 files changed, 21 insertions, 21 deletions
diff --git a/scripts/Route22.asm b/scripts/Route22.asm
index 8fde2d42..b6970ef0 100755
--- a/scripts/Route22.asm
+++ b/scripts/Route22.asm
@@ -149,7 +149,7 @@ Route22Script2:
ld a, [wIsInBattle]
cp $ff
jp z, Route22Script_50ece
- ld a, [wSpriteStateData1 + 9]
+ ld a, [wSpritePlayerStateData1FacingDirection]
and a ; cp SPRITE_FACING_DOWN
jr nz, .notDown
ld a, SPRITE_FACING_UP
@@ -383,7 +383,7 @@ Route22_TextPointers:
dw Route22FrontGateText
Route22Text1:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_ROUTE22_RIVAL_1ST_BATTLE
jr z, .asm_5118b
ld hl, Route22RivalAfterBattleText1
@@ -396,7 +396,7 @@ Route22Text1:
jp TextScriptEnd
Route22Text2:
- TX_ASM
+ text_asm
CheckEvent EVENT_BEAT_ROUTE22_RIVAL_2ND_BATTLE
jr z, .asm_511a4
ld hl, Route22RivalAfterBattleText2
@@ -409,37 +409,37 @@ Route22Text2:
jp TextScriptEnd
Route22RivalBeforeBattleText1:
- TX_FAR _Route22RivalBeforeBattleText1
- db "@"
+ text_far _Route22RivalBeforeBattleText1
+ text_end
Route22RivalAfterBattleText1:
- TX_FAR _Route22RivalAfterBattleText1
- db "@"
+ text_far _Route22RivalAfterBattleText1
+ text_end
Route22RivalDefeatedText1:
- TX_FAR _Route22RivalDefeatedText1
- db "@"
+ text_far _Route22RivalDefeatedText1
+ text_end
Route22Text_511bc:
- TX_FAR _Route22Text_511bc
- db "@"
+ text_far _Route22Text_511bc
+ text_end
Route22RivalBeforeBattleText2:
- TX_FAR _Route22RivalBeforeBattleText2
- db "@"
+ text_far _Route22RivalBeforeBattleText2
+ text_end
Route22RivalAfterBattleText2:
- TX_FAR _Route22RivalAfterBattleText2
- db "@"
+ text_far _Route22RivalAfterBattleText2
+ text_end
Route22RivalDefeatedText2:
- TX_FAR _Route22RivalDefeatedText2
- db "@"
+ text_far _Route22RivalDefeatedText2
+ text_end
Route22Text_511d0:
- TX_FAR _Route22Text_511d0
- db "@"
+ text_far _Route22Text_511d0
+ text_end
Route22FrontGateText:
- TX_FAR _Route22FrontGateText
- db "@"
+ text_far _Route22FrontGateText
+ text_end