From 8fafca714c07500d1d87bba224f12cf9cc2c8789 Mon Sep 17 00:00:00 2001 From: Sylvie <35663410+Rangi42@users.noreply.github.com> Date: Tue, 16 Jul 2024 13:02:54 -0400 Subject: Identify various flag labels and bit constants (#454) --- scripts/BillsHouse.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/BillsHouse.asm') diff --git a/scripts/BillsHouse.asm b/scripts/BillsHouse.asm index b6257d4f..cf87ea64 100644 --- a/scripts/BillsHouse.asm +++ b/scripts/BillsHouse.asm @@ -46,8 +46,8 @@ BillsHousePokemonWalkToMachineScript: db -1 ; end BillsHousePokemonEntersMachineScript: - ld a, [wd730] - bit 0, a + ld a, [wStatusFlags5] + bit BIT_SCRIPTED_NPC_MOVEMENT, a ret nz ld a, HS_BILL_POKEMON ld [wMissableObjectIndex], a @@ -97,8 +97,8 @@ BillExitMachineMovement: db -1 ; end BillsHouseCleanupScript: - ld a, [wd730] - bit 0, a + ld a, [wStatusFlags5] + bit BIT_SCRIPTED_NPC_MOVEMENT, a ret nz xor a ld [wJoyIgnore], a -- cgit v1.3.1-sl0p