summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-06-22 10:20:18 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-06-22 10:20:18 -0400
commitd0b87558f5a0910135c999dad498818eb00b554f (patch)
treea06eb19464aef19c3b1ecb940c28379ba621d1d3 /main.asm
parent0ef3ebcd141148c5c30879c57677c0971f48a9fe (diff)
engine/items.asm
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm22
1 files changed, 3 insertions, 19 deletions
diff --git a/main.asm b/main.asm
index 02574238..d01f7def 100644
--- a/main.asm
+++ b/main.asm
@@ -405,18 +405,10 @@ FlagPredef:
INCLUDE "engine/health.asm"
INCLUDE "event/overworld.asm"
+INCLUDE "engine/items.asm"
-ReceiveItem_::
IF DEF(GOLD)
- dr $d1e2, $d21a
-TossItem_::
- dr $d21a, $d251
-CheckItem_::
- dr $d251, $d414
-GetTMHMNumber::
- dr $d414, $d434
-CheckTossableItem_::
- dr $d434, $d62d
+ dr $d4a4, $d62d
AnimateHPBar_:
dr $d62d, $d892
@@ -463,15 +455,7 @@ Functionf900:
ENDC
IF DEF(SILVER)
- dr $d1e0, $d218
-TossItem_::
- dr $d218, $d24f
-CheckItem_::
- dr $d24f, $d412
-GetTMHMNumber::
- dr $d412, $d432
-CheckTossableItem_::
- dr $d432, $d62b
+ dr $d4a2, $d62b
AnimateHPBar_:
dr $d62b, $d890