Added items, equipment, and tracking/indicators Added playername changes Removed some defines
16 lines
542 B
NASM
16 lines
542 B
NASM
;================================================================================
|
|
; Randomize Half Magic Bat
|
|
;--------------------------------------------------------------------------------
|
|
GetMagicBatItem:
|
|
JSL.l ItemSet_MagicBat
|
|
%GetPossiblyEncryptedItem(MagicBatItem, SpriteItemValues)
|
|
CMP.b #$FF : BEQ .normalLogic
|
|
TAY
|
|
STZ $02E9 ; 0 = Receiving item from an NPC or message
|
|
JML.l Link_ReceiveItem
|
|
.normalLogic
|
|
LDA HalfMagic
|
|
STA MagicConsumption
|
|
RTL
|
|
;--------------------------------------------------------------------------------
|