Dun Darach
Routines
Prev:
ADE1
Up:
Map
Next:
ADFB
ADEA: BCD Subtracts DE from (HL)
Used by the routines at
Exit_CheckShelves
,
8AC4
and
Hero_Drop
.
Input
Points
to HL BCD number.
DE
BCD number to subtract.
Output
BCD_SubDE
ADEA
LD (
BCD_diff.
),DE
ADEE
LD DE,
BCD_diff.
ADF1
JR
BCD_Subtract
_adf3
ADF3
DEFB $00,$00,$00,$00,$02,$00,$00,$00
Prev:
ADE1
Up:
Map
Next:
ADFB