diff options
| author | YamaArashi <shadow962@live.com> | 2016-09-17 17:37:32 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2016-09-17 17:37:32 -0700 |
| commit | 6f1ac06e03cd046f61fb2370ff7379a29932bbb1 (patch) | |
| tree | e67b9ff28af5ade3175a7df976b459cfb0d5d5ac /engine/print_waiting_text.asm | |
| parent | name text destination pointer variable (diff) | |
| download | pokeyellow-6f1ac06e03cd046f61fb2370ff7379a29932bbb1.tar.gz pokeyellow-6f1ac06e03cd046f61fb2370ff7379a29932bbb1.tar.xz pokeyellow-6f1ac06e03cd046f61fb2370ff7379a29932bbb1.zip | |
pull some bank 1 code out of main.asm
Diffstat (limited to 'engine/print_waiting_text.asm')
| -rw-r--r-- | engine/print_waiting_text.asm | 20 |
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...!@" |
