aboutsummaryrefslogtreecommitdiff
path: root/entity/bunny.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-10-22 18:01:00 +0900
committerAstatin <[email protected]>2024-10-22 18:01:00 +0900
commit5513939c6077032f625c2de98f395026caf063b1 (patch)
tree8f247591201ab9804c31990674cb444cf87ec089 /entity/bunny.gbasm
parentf5183a78e20deaa9a294250873f3b5ee5cedafa3 (diff)
Add white window at the top for future health bar
Diffstat (limited to 'entity/bunny.gbasm')
-rw-r--r--entity/bunny.gbasm8
1 files changed, 4 insertions, 4 deletions
diff --git a/entity/bunny.gbasm b/entity/bunny.gbasm
index fa44530..f775aa0 100644
--- a/entity/bunny.gbasm
+++ b/entity/bunny.gbasm
@@ -61,16 +61,16 @@ Move_Bunny:
LD A, $mem_bunny_direction
LD D, A
- LD A, $reg_viewport_x
+ LD A, $mem_prepared_viewport_x
LD B, A
- LD A, $reg_viewport_y
+ LD A, $mem_prepared_viewport_y
LD C, A
LD A, $01
.ADD_A_TO_DIRECTION_BC
LD A, B
- LD $reg_viewport_x, A
+ LD $mem_prepared_viewport_x, A
LD A, C
- LD $reg_viewport_y, A
+ LD $mem_prepared_viewport_y, A
Scroll_viewport.end:
End_movement: