aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/print_safari_steps.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2016-03-17 18:00:47 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2016-03-17 18:00:54 -0400
commitb6d2115df4b4f9d86be898292fca473222941f1d (patch)
tree530796fd3f2b356d6af8442d6f6b1352b08012e1 /engine/overworld/print_safari_steps.asm
parentSplit bank1 up. (diff)
downloadpokeyellow-b6d2115df4b4f9d86be898292fca473222941f1d.tar.gz
pokeyellow-b6d2115df4b4f9d86be898292fca473222941f1d.tar.xz
pokeyellow-b6d2115df4b4f9d86be898292fca473222941f1d.zip
Split bank3 up.
Diffstat (limited to 'engine/overworld/print_safari_steps.asm')
-rw-r--r--engine/overworld/print_safari_steps.asm36
1 files changed, 36 insertions, 0 deletions
diff --git a/engine/overworld/print_safari_steps.asm b/engine/overworld/print_safari_steps.asm
new file mode 100644
index 00000000..3f2ada03
--- /dev/null
+++ b/engine/overworld/print_safari_steps.asm
@@ -0,0 +1,36 @@
+PrintSafariZoneSteps: ; c27b (3:427b)
+ ld a, [wCurMap]
+ cp SAFARI_ZONE_EAST
+ ret c
+ cp UNKNOWN_DUNGEON_2
+ ret nc
+ coord hl, 0, 0
+ lb bc, 3, 7
+ call TextBoxBorder
+ coord hl, 1, 1
+ ld de, wSafariSteps
+ lb bc, 2, 3
+ call PrintNumber
+ coord hl, 4, 1
+ ld de, SafariSteps
+ call PlaceString
+ coord hl, 1, 3
+ ld de, SafariBallText
+ call PlaceString
+ ld a, [wNumSafariBalls]
+ cp 10
+ jr nc, .numSafariBallsTwoDigits
+ coord hl, 5, 3
+ ld a, " "
+ ld [hl], a
+.numSafariBallsTwoDigits
+ coord hl, 6, 3
+ ld de, wNumSafariBalls
+ lb bc, 1, 2
+ jp PrintNumber
+
+SafariSteps: ; c2c4 (3:42c4)
+ db "/500@"
+
+SafariBallText: ; c5c9 (3:42c9)
+ db "BALL×× @" \ No newline at end of file