aboutsummaryrefslogtreecommitdiff
path: root/init.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-02-06 17:46:09 +0900
committerAstatin <[email protected]>2025-02-06 17:46:09 +0900
commitca26030e800318d48aec501e6f470eea8d4299c0 (patch)
tree6689870d29be11acd2b003059c01a199de68e88c /init.gbasm
parent3b67c86b61b5d8640860dd5e8b016790ee4814c3 (diff)
Add energy points to the gui
Diffstat (limited to 'init.gbasm')
-rw-r--r--init.gbasm11
1 files changed, 10 insertions, 1 deletions
diff --git a/init.gbasm b/init.gbasm
index 283217b..798a545 100644
--- a/init.gbasm
+++ b/init.gbasm
@@ -65,7 +65,11 @@ Empty_VRAM: ; (Clear screen)
LD $reg_obj1_palette, A
Initialize_Window_GUI:
- LD HL, $9c20
+ LD A, $48
+ LD $reg_window_y, A
+ LD A, $6f
+ LD $reg_window_x, A
+ LD HL, $9d80
.top_bar_loop:
LD A, $10
LD (HL+), A
@@ -80,6 +84,11 @@ Initialize_Window_GUI:
LD DE, =Dialogue_Box_Tilemap_data
CALL =memcpy
+ LD HL, $9c00
+ LD BC, $0080
+ LD DE, =Cost_Window_Tilemap_data
+ CALL =memcpy
+
Copy_OAM_DMA_Transfer_Routine_To_HRAM:
LD HL, $OAM_DMA_Transfer_routine
LD DE, =OAM_DMA_Transfer_routine_src