diff options
Diffstat (limited to 'home/items.asm')
-rwxr-xr-x | home/items.asm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/home/items.asm b/home/items.asm index 5df4d13..c31d3b0 100755 --- a/home/items.asm +++ b/home/items.asm @@ -1,8 +1,9 @@ INCLUDE "constants.asm" + SECTION "home/items.asm@TossItem", ROM0 -TossItem: ; 00:3243 +TossItem: ldh a, [hROMBank] push af ld a, BANK(_TossItem) @@ -18,7 +19,7 @@ TossItem: ; 00:3243 call Bankswitch ret -ReceiveItem:: ; 3259 +ReceiveItem:: ; function to add an item (in varying quantities) to the player's bag or PC box ; INPUT: ; HL = address of inventory (either wNumBagItems or wNumBoxItems) @@ -41,6 +42,7 @@ ReceiveItem:: ; 3259 pop bc ret + SECTION "home/items.asm@GiveItem", ROM0 GiveItem:: @@ -58,4 +60,4 @@ GiveItem:: call GetItemName call CopyStringToStringBuffer2 scf - ret
\ No newline at end of file + ret |