diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-07 16:57:51 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-07 16:57:51 -0400 |
| commit | 51ac538c25f8c0a6d88101569a17f02d09855d31 (patch) | |
| tree | 511154a1efc0ece4114d690eb30f3f8d7a882504 /home/text_script.asm | |
| parent | Use 'tile' and 'tiles' macros (diff) | |
| download | pokeyellow-51ac538c25f8c0a6d88101569a17f02d09855d31.tar.gz pokeyellow-51ac538c25f8c0a6d88101569a17f02d09855d31.tar.xz pokeyellow-51ac538c25f8c0a6d88101569a17f02d09855d31.zip | |
Identify SPRITESTATEDATA2_ORIGFACINGDIRECTION
Diffstat (limited to 'home/text_script.asm')
| -rw-r--r-- | home/text_script.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/text_script.asm b/home/text_script.asm index 1baa3d64..b9c3c8e4 100644 --- a/home/text_script.asm +++ b/home/text_script.asm @@ -111,13 +111,13 @@ CloseTextDisplay:: xor a ldh [hAutoBGTransferEnabled], a ; disable continuous WRAM to VRAM transfer each V-blank ; loop to make sprites face the directions they originally faced before the dialogue - ld hl, wSprite01StateData2 + 9 ; should be wSprite01StateData1FacingDirection? + ld hl, wSprite01StateData2OrigFacingDirection ld c, $0f ld de, $10 .restoreSpriteFacingDirectionLoop - ld a, [hl] + ld a, [hl] ; x#SPRITESTATEDATA2_ORIGFACINGDIRECTION dec h - ld [hl], a + ld [hl], a ; [x#SPRITESTATEDATA1_FACINGDIRECTION] inc h add hl, de dec c |
