summaryrefslogtreecommitdiff
path: root/engine/overworld/daycare_exp.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld/daycare_exp.asm')
-rw-r--r--engine/overworld/daycare_exp.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/engine/overworld/daycare_exp.asm b/engine/overworld/daycare_exp.asm
new file mode 100644
index 00000000..a7c7bd91
--- /dev/null
+++ b/engine/overworld/daycare_exp.asm
@@ -0,0 +1,18 @@
+IncrementDayCareMonExp: ; c684 (3:4684)
+ ld a, [wDayCareInUse]
+ and a
+ ret z
+ ld hl, wDayCareMonExp + 2
+ inc [hl]
+ ret nz
+ dec hl
+ inc [hl]
+ ret nz
+ dec hl
+ inc [hl]
+ ld a, [hl]
+ cp $50
+ ret c
+ ld a, $50
+ ld [hl], a
+ ret \ No newline at end of file