Added tmp and itmp storage
authorLukas Krickl <lukas@krickl.dev>
Sat, 5 Oct 2024 18:30:21 +0000 (20:30 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sat, 5 Oct 2024 18:30:21 +0000 (20:30 +0200)
src/wram.s

index cb3d59639fa331651ac91b6f4e15106b9e41c628..8ca371e4b40432e6f09c22d48cd7a9df940c40ac 100644 (file)
@@ -83,3 +83,10 @@ curr_room: .adv 2
 
 ui_flags: .adv 1
 draw_flags: .adv 1
+
+  ; tmp can be used by routines as
+  ; they see fit
+tmp: .adv 16
+  ; itmp is the same as tmp but 
+  ; for use during an interrupt
+itmp: .adv 16