aboutsummaryrefslogtreecommitdiff
path: root/gui.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-11-07 17:22:34 +0900
committerAstatin <[email protected]>2024-11-07 17:22:34 +0900
commitc7be90f10a2b8bca27edab06c0bc8e164d4a7d9a (patch)
tree5a2175b943b288072496404341f6f8a2d342b769 /gui.gbasm
parent6c8f7c72cb96ce59ffcda5279225381ecb394b4f (diff)
Fix out of VBlank VRAM update + add pause actions toggle on OpenDialogue
Diffstat (limited to 'gui.gbasm')
-rw-r--r--gui.gbasm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gui.gbasm b/gui.gbasm
new file mode 100644
index 0000000..cb0f50a
--- /dev/null
+++ b/gui.gbasm
@@ -0,0 +1,18 @@
+Copy_Dialogue_Buffer:
+ LD A, $mem_display_flag
+ BIT 0, A
+ RET Z
+ LD HL, $9dc1
+ LD DE, $dialogue_first_line
+ LD BC, $12
+ CALL =memcpy
+
+ LD HL, $9de1
+ LD DE, $dialogue_second_line
+ LD BC, $12
+ CALL =memcpy
+
+ LD HL, $9e01
+ LD DE, $dialogue_third_line
+ LD BC, $12
+ JP =memcpy