diff options
| author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-11-18 19:24:53 -0500 |
|---|---|---|
| committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-11-18 19:24:53 -0500 |
| commit | c5b2436daadbae47d6251052d62436afbaa91158 (patch) | |
| tree | 5671f8d0e7368b736c8e85bdae277bf9eee09b40 /scripts/billshouse.asm | |
| parent | Update Discord link. (diff) | |
| download | pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.tar.gz pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.tar.xz pokeyellow-c5b2436daadbae47d6251052d62436afbaa91158.zip | |
Rename spritestatedata structs.
Diffstat (limited to 'scripts/billshouse.asm')
| -rwxr-xr-x | scripts/billshouse.asm | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
