shithub: pokered

ref: 22859c4bb70dba17994c9b47b07f657ea082875d
dir: /engine/overworld/daycare_exp.asm/

View raw version
IncrementDayCareMonExp:
	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