aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Route25.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2026-01-17 22:38:33 -0600
committerdannye <33dannye@gmail.com>2026-01-17 22:38:33 -0600
commitbc2354dd6626ce28bb9561547ed2107cfa56c18e (patch)
tree5902d4c3389253c76b7c3351e0d7dfecb551c28d /scripts/Route25.asm
parentIdentify characters in `_OakSpeechText2B` and `Printer_GetMonStats.IDNo` (#144) (diff)
parentUse macros for `WildMonEncounterSlotChances` (#562) (diff)
downloadpokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.tar.gz
pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.tar.xz
pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'scripts/Route25.asm')
-rw-r--r--scripts/Route25.asm20
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/Route25.asm b/scripts/Route25.asm
index 8cb59c30..23faa396 100644
--- a/scripts/Route25.asm
+++ b/scripts/Route25.asm
@@ -5,10 +5,10 @@ Route25_Script:
ld a, [wRoute25CurScript]
call ExecuteCurMapScriptInTable
ld [wRoute25CurScript], a
- call Route25ShowHideBillScript
+ call Route25ToggleBillsScript
ret
-Route25ShowHideBillScript:
+Route25ToggleBillsScript:
ld hl, wd492
res 2, [hl]
res 3, [hl]
@@ -25,22 +25,22 @@ Route25ShowHideBillScript:
CheckEventReuseHL EVENT_MET_BILL_2
jr nz, .met_bill
ResetEventReuseHL EVENT_BILL_SAID_USE_CELL_SEPARATOR
- ld a, HS_BILL_POKEMON
- ld [wMissableObjectIndex], a
+ ld a, TOGGLE_BILL_POKEMON
+ ld [wToggleableObjectIndex], a
predef ShowObject
jr .done
.met_bill
CheckEventAfterBranchReuseHL EVENT_GOT_SS_TICKET, EVENT_MET_BILL_2
jr z, .done
SetEventReuseHL EVENT_LEFT_BILLS_HOUSE_AFTER_HELPING
- ld a, HS_NUGGET_BRIDGE_GUY
- ld [wMissableObjectIndex], a
+ ld a, TOGGLE_NUGGET_BRIDGE_GUY
+ ld [wToggleableObjectIndex], a
predef HideObject
- ld a, HS_BILL_1
- ld [wMissableObjectIndex], a
+ ld a, TOGGLE_BILL_1
+ ld [wToggleableObjectIndex], a
predef HideObject
- ld a, HS_BILL_2
- ld [wMissableObjectIndex], a
+ ld a, TOGGLE_BILL_2
+ ld [wToggleableObjectIndex], a
predef ShowObject
.done
ret