aboutsummaryrefslogtreecommitdiff
path: root/map
diff options
context:
space:
mode:
Diffstat (limited to 'map')
-rw-r--r--map/generation.gbasm5
-rw-r--r--map/objects.gbasm1
2 files changed, 6 insertions, 0 deletions
diff --git a/map/generation.gbasm b/map/generation.gbasm
index 4f5296a..7604651 100644
--- a/map/generation.gbasm
+++ b/map/generation.gbasm
@@ -330,3 +330,8 @@ Dungeon_Generation:
Dungeon_Generation.Head_explosion_loop.end:
RET
+
+Reset_Map:
+ LD HL, $c6ff
+ LD BC, $0281
+ JP =bzero
diff --git a/map/objects.gbasm b/map/objects.gbasm
index 22a65ee..2e36b12 100644
--- a/map/objects.gbasm
+++ b/map/objects.gbasm
@@ -62,6 +62,7 @@ Stairs_action:
XOR A
LD $reg_lcd_controller, A
+ CALL =Reset_Map
JP =New_Dungeon
Display_Object: