summaryrefslogtreecommitdiff
path: root/engine/items
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-08-19 13:09:16 -0400
committerGitHub <noreply@github.com>2018-08-19 13:09:16 -0400
commitedb624c20ceb50eef9d73a5df0ac041cc156dd32 (patch)
tree44e584f918b28e4be2fd58798dd43e34cf0001dd /engine/items
parent094fe56cb67e2363afb12016ca4b9ddedc333065 (diff)
parent0e0f43747db3b55f21218d8ead5a9364564b8a96 (diff)
Merge pull request #550 from mid-kid/master
Misc things
Diffstat (limited to 'engine/items')
-rw-r--r--engine/items/item_effects.asm2
-rw-r--r--engine/items/mart.asm4
-rw-r--r--engine/items/tmhm.asm15
3 files changed, 3 insertions, 18 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index ee5c4d254..e751b42e6 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -2159,7 +2159,7 @@ XItemEffect:
ld [hBattleTurn], a
ld [wAttackMissed], a
ld [wEffectFailed], a
- farcall CheckIfStatCanBeRaised
+ farcall RaiseStat
call WaitSFX
farcall BattleCommand_StatUpMessage
diff --git a/engine/items/mart.asm b/engine/items/mart.asm
index 7e185662b..8afae541a 100644
--- a/engine/items/mart.asm
+++ b/engine/items/mart.asm
@@ -54,8 +54,8 @@ BargainShop:
ld a, [hli]
or [hl]
jr z, .skip_set
- ld hl, wDailyFlags
- set DAILYFLAGS_GOLDENROD_UNDERGROUND_BARGAIN_F, [hl]
+ ld hl, wDailyFlags1
+ set DAILYFLAGS1_GOLDENROD_UNDERGROUND_BARGAIN_F, [hl]
.skip_set
ld hl, Text_BargainShop_ComeAgain
diff --git a/engine/items/tmhm.asm b/engine/items/tmhm.asm
index 38ffa865e..14e481248 100644
--- a/engine/items/tmhm.asm
+++ b/engine/items/tmhm.asm
@@ -557,18 +557,3 @@ CountTMsHMs:
ld a, b
ld [wTempTMHM], a
ret
-
-PrintMoveDesc:
- push hl
- ld hl, MoveDescriptions
- ld a, [wCurSpecies]
- dec a
- ld c, a
- ld b, 0
- add hl, bc
- add hl, bc
- ld a, [hli]
- ld e, a
- ld d, [hl]
- pop hl
- jp PlaceString