summaryrefslogtreecommitdiff
path: root/engine/routines/leveluphappinessmod.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/routines/leveluphappinessmod.asm')
-rw-r--r--engine/routines/leveluphappinessmod.asm20
1 files changed, 0 insertions, 20 deletions
diff --git a/engine/routines/leveluphappinessmod.asm b/engine/routines/leveluphappinessmod.asm
deleted file mode 100644
index 8c6dd92fe..000000000
--- a/engine/routines/leveluphappinessmod.asm
+++ /dev/null
@@ -1,20 +0,0 @@
-LevelUpHappinessMod: ; 2709e
- ld a, [wCurPartyMon]
- ld hl, wPartyMon1CaughtLocation
- call GetPartyLocation
- ld a, [hl]
- and $7f
- ld d, a
- ld a, [wMapGroup]
- ld b, a
- ld a, [wMapNumber]
- ld c, a
- call GetWorldMapLocation
- cp d
- ld c, HAPPINESS_GAINLEVEL
- jr nz, .ok
- ld c, HAPPINESS_GAINLEVELATHOME
-
-.ok
- callfar ChangeHappiness
- ret