diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-16 17:00:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 17:00:57 -0400 |
commit | d44c7c305c3f94b59e3e2c008408779836a0020a (patch) | |
tree | 2cdc51be4a22992701038b959d6c964e9ee8fc58 /scripts/Route24.asm | |
parent | b9a113a9f4712771e37313a4c8a76f7ef23cebb2 (diff) | |
parent | 7306c1dc2dca5666a5276a6758d1a64e1ddeae20 (diff) |
Merge pull request #277 from Rangi42/master
Miscellaneous constant and label updates
Diffstat (limited to 'scripts/Route24.asm')
-rwxr-xr-x | scripts/Route24.asm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/Route24.asm b/scripts/Route24.asm index 28151393..aed112ac 100755 --- a/scripts/Route24.asm +++ b/scripts/Route24.asm @@ -45,7 +45,8 @@ Route24Script0: ret CoordsData_5140e: - db $0F,$0A,$FF + dbmapcoord 10, 15 + db -1 ; end Route24Script4: ld a, [wSimulatedJoypadStatesIndex] @@ -103,12 +104,12 @@ Route24Text1: text_asm ResetEvent EVENT_NUGGET_REWARD_AVAILABLE CheckEvent EVENT_GOT_NUGGET - jr nz, .asm_514f9 + jr nz, .got_item ld hl, Route24Text_51510 call PrintText lb bc, NUGGET, 1 call GiveItem - jr nc, .BagFull + jr nc, .bag_full SetEvent EVENT_GOT_NUGGET ld hl, Route24Text_5151a call PrintText @@ -130,11 +131,11 @@ Route24Text1: ld [wRoute24CurScript], a ld [wCurMapScript], a jp TextScriptEnd -.asm_514f9 +.got_item ld hl, Route24Text_51530 call PrintText jp TextScriptEnd -.BagFull +.bag_full ld hl, Route24Text_51521 call PrintText SetEvent EVENT_NUGGET_REWARD_AVAILABLE |