fix rupees
This commit is contained in:
@@ -37,7 +37,28 @@ TransferItemReceiptToBuffer_using_GraphicsID:
|
|||||||
REP #$30
|
REP #$30
|
||||||
BRA ++
|
BRA ++
|
||||||
|
|
||||||
;---------------------------------------------------------------------------------------------------
|
;===================================================================================================
|
||||||
|
|
||||||
|
TransferRupeesProperly:
|
||||||
|
PHP
|
||||||
|
PHB
|
||||||
|
|
||||||
|
REP #$31
|
||||||
|
PHX
|
||||||
|
PHY
|
||||||
|
|
||||||
|
AND.w #$00FF
|
||||||
|
SBC.w #$0023
|
||||||
|
|
||||||
|
XBA
|
||||||
|
LSR
|
||||||
|
LSR
|
||||||
|
LSR
|
||||||
|
ADC.w #BigDecompressionBuffer+$800
|
||||||
|
|
||||||
|
BRA TransferItemReceiptToBuffer_using_ExplicitBufferAddress
|
||||||
|
|
||||||
|
;===================================================================================================
|
||||||
|
|
||||||
TransferItemReceiptToBuffer_using_ReceiptID:
|
TransferItemReceiptToBuffer_using_ReceiptID:
|
||||||
PHP
|
PHP
|
||||||
@@ -51,14 +72,14 @@ TransferItemReceiptToBuffer_using_ReceiptID:
|
|||||||
ASL
|
ASL
|
||||||
TAX
|
TAX
|
||||||
LDA.l ItemReceiptGraphicsOffsets,X
|
LDA.l ItemReceiptGraphicsOffsets,X
|
||||||
BMI .wram_buffer
|
BMI TransferItemReceiptToBuffer_using_ExplicitBufferAddress
|
||||||
|
|
||||||
.rom_address
|
.rom_address
|
||||||
ADC.w #ItemReceiptGraphicsROM
|
ADC.w #ItemReceiptGraphicsROM
|
||||||
PHK
|
PHK
|
||||||
BRA .continue
|
BRA .continue
|
||||||
|
|
||||||
.wram_buffer
|
#TransferItemReceiptToBuffer_using_ExplicitBufferAddress:
|
||||||
PEA.w $7F7F
|
PEA.w $7F7F
|
||||||
PLB
|
PLB
|
||||||
|
|
||||||
|
|||||||
@@ -2504,6 +2504,10 @@ org $098BD2 : JSL TransferItemReceiptToBuffer_using_GraphicsID
|
|||||||
; misc
|
; misc
|
||||||
org $09878C : JSL TransferItemReceiptToBuffer_using_GraphicsID
|
org $09878C : JSL TransferItemReceiptToBuffer_using_GraphicsID
|
||||||
|
|
||||||
|
; rupees
|
||||||
|
org $08C6A0 : JSL TransferRupeesProperly
|
||||||
|
|
||||||
|
|
||||||
; pond items
|
; pond items
|
||||||
org $098A4D : JSL TransferItemReceiptToBuffer_using_GraphicsID
|
org $098A4D : JSL TransferItemReceiptToBuffer_using_GraphicsID
|
||||||
org $098AEE : JSL TransferItemReceiptToBuffer_using_GraphicsID
|
org $098AEE : JSL TransferItemReceiptToBuffer_using_GraphicsID
|
||||||
|
|||||||
Reference in New Issue
Block a user