From c5b2436daadbae47d6251052d62436afbaa91158 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Sun, 18 Nov 2018 19:24:53 -0500 Subject: Rename spritestatedata structs. --- 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 02183977..3e13ba51 100755 --- a/scripts/billshouse.asm +++ b/scripts/billshouse.asm @@ -57,7 +57,7 @@ BillsHouseScript1: BillsHouseScript2: ld a, $ff ld [wJoyIgnore], a - ld a, [wPlayerFacingDirection] + ld a, [wSpritePlayerStateData1FacingDirection] and a ; cp SPRITE_FACING_DOWN ld de, MovementData_1e79c jr nz, .notDown @@ -99,7 +99,7 @@ BillsHouseScript3: call CheckPikachuFollowingPlayer jr z, .asm_1e13e ld hl, PikachuMovementData_1e14d - ld a, [wPlayerFacingDirection] + ld a, [wSpritePlayerStateData1FacingDirection] and a ; cp SPRITE_FACING_DOWN jr nz, .asm_1e133 ld hl, PikachuMovementData_1e152 @@ -211,7 +211,7 @@ BillsHouseScript7: xor a ld [wPlayerMovingDirection], a ld a, SPRITE_FACING_UP - ld [wPlayerFacingDirection], a + ld [wSpritePlayerStateData1FacingDirection], a ld a, $FF ^ (A_BUTTON | B_BUTTON) ld [wJoyIgnore], a ld de, RLE_1e219 @@ -235,7 +235,7 @@ BillsHouseScript8: xor a ld [wPlayerMovingDirection], a ld a, SPRITE_FACING_UP - ld [wPlayerFacingDirection], a + ld [wSpritePlayerStateData1FacingDirection], a ld a, $2 ld [H_SPRITEINDEX], a ld a, SPRITE_FACING_DOWN -- cgit v1.3.1-sl0p