aboutsummaryrefslogtreecommitdiff
path: root/map
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-11-01 22:07:56 +0900
committerAstatin <[email protected]>2024-11-01 22:07:56 +0900
commit17a186217dbf12e344e90537d50f713e3c5a6416 (patch)
tree99b0c5080738ff52fdcd531e1cfae491585b4127 /map
parent3a68266a7c97a1dff3938eb9d96e41657a230424 (diff)
Fix windows display and stairs on sameboy
Diffstat (limited to 'map')
-rw-r--r--map/objects.gbasm5
1 files changed, 4 insertions, 1 deletions
diff --git a/map/objects.gbasm b/map/objects.gbasm
index f3ef48f..e3410d4 100644
--- a/map/objects.gbasm
+++ b/map/objects.gbasm
@@ -52,6 +52,9 @@ Spawn_stairs:
RET
Stairs_action:
+ DI
+ LD A, $00
+ LD $reg_interrupt_flags, A
Stairs_action.Wait_VBlank:
LD A, $reg_lcd_status
AND $03
@@ -170,7 +173,7 @@ Load_Objects:
Object_Interactions_Check:
LD A, $mem_moving_animation_step
- CP $0d
+ CP $00
JR NZ, =Object_Interactions_Check.End
LD A, $mem_map_loading_flags
BIT 1, A