summaryrefslogtreecommitdiff
path: root/engine/print_waiting_text.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-09-17 17:37:32 -0700
committerYamaArashi <shadow962@live.com>2016-09-17 17:37:32 -0700
commit6f1ac06e03cd046f61fb2370ff7379a29932bbb1 (patch)
treee67b9ff28af5ade3175a7df976b459cfb0d5d5ac /engine/print_waiting_text.asm
parent46a94c63fc287e7290502776d02648476bc44171 (diff)
pull some bank 1 code out of main.asm
Diffstat (limited to 'engine/print_waiting_text.asm')
-rw-r--r--engine/print_waiting_text.asm20
1 files changed, 20 insertions, 0 deletions
diff --git a/engine/print_waiting_text.asm b/engine/print_waiting_text.asm
new file mode 100644
index 00000000..7a95da2a
--- /dev/null
+++ b/engine/print_waiting_text.asm
@@ -0,0 +1,20 @@
+PrintWaitingText:
+ coord hl, 3, 10
+ ld b, $1
+ ld c, $b
+ ld a, [wIsInBattle]
+ and a
+ jr z, .asm_4c17
+ call TextBoxBorder
+ jr .asm_4c1a
+.asm_4c17
+ call CableClub_TextBoxBorder
+.asm_4c1a
+ coord hl, 4, 11
+ ld de, WaitingText
+ call PlaceString
+ ld c, 50
+ jp DelayFrames
+
+WaitingText:
+ db "Waiting...!@"