summaryrefslogtreecommitdiff
path: root/scripts/route11gateupstairs.asm
diff options
context:
space:
mode:
authorU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-07-03 14:38:12 -0500
committerU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-07-03 14:38:12 -0500
commitf4a31b3e0b7ca89e14c4e3836f3d3ad15f38e5ce (patch)
treec5eb931244f739bd3a88d488586923b2a0762b74 /scripts/route11gateupstairs.asm
parentcd649184f556db777d592671a7274bfa4a8423d7 (diff)
Rename/organize part 2 of 4
rename functions, clean up address/wram comments, other misc only broken up so that all changes are viewable on github
Diffstat (limited to 'scripts/route11gateupstairs.asm')
-rwxr-xr-xscripts/route11gateupstairs.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/route11gateupstairs.asm b/scripts/route11gateupstairs.asm
index d8740986..4fac2144 100755
--- a/scripts/route11gateupstairs.asm
+++ b/scripts/route11gateupstairs.asm
@@ -12,14 +12,14 @@ Route11GateUpstairsText1: ; 4945f (12:545f)
xor a
ld [wWhichTrade], a
predef DoInGameTradeDialogue
-asm_49469: ; 49469 (12:5469)
+Route11GateUpstairsScriptEnd: ; 49469 (12:5469)
jp TextScriptEnd
Route11GateUpstairsText2: ; 4946c (12:546c)
db $8
ld a, [wd7d6]
add a
- jr c, .asm_4949b ; 0x49471 $28
+ jr c, .asm_4949b
ld a, 30 ; pokemon needed
ld [$ffdb], a
ld a, ITEMFINDER ; oak's aide reward
@@ -34,14 +34,14 @@ Route11GateUpstairsText2: ; 4946c (12:546c)
predef OaksAideScript ; call oak's aide script
ld a, [$ffdb]
dec a
- jr nz, .asm_494a1 ; 0x49494 $b
+ jr nz, .asm_494a1
ld hl, wd7d6
set 7, [hl]
.asm_4949b
ld hl, Route11GateUpstairsText_494a3
call PrintText
.asm_494a1
- jr asm_49469 ; 0x494a1 $c6
+ jr Route11GateUpstairsScriptEnd
Route11GateUpstairsText_494a3: ; 494a3 (12:54a3)
TX_FAR _Route11GateUpstairsText_494a3
@@ -71,7 +71,7 @@ BinocularsNoSnorlaxText:
Route11GateUpstairsText4: ; 494ce (12:54ce)
db $8
- ld hl, Route11GateUpstairsText_494d5 ; $54d5
+ ld hl, Route11GateUpstairsText_494d5
jp Route12GateUpstairsScript_495c9
Route11GateUpstairsText_494d5: ; 494d5 (12:54d5)