mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-23 10:09:18 +01:00
17 lines
588 B
Plaintext
17 lines
588 B
Plaintext
|
[XCX_NOITEMSELL]
|
||
|
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
|
||
|
|
||
|
; ----------------------------------------------------------------------------
|
||
|
; WHO : addItem__Q2_3cfs9CfItemBoxSFQ3_2fw9CItemType4TypeUiRQ2_3cfs12CfItemHandle
|
||
|
; WHAT : instead of selling item, return 0 (no systemlog)
|
||
|
|
||
|
0x02365A94 = li r31, 0 ; sellItem
|
||
|
|
||
|
; ----------------------------------------------------------------------------
|
||
|
; WHO : cfs::CfPopManagerItem::updateTouchItem((void))
|
||
|
; WHAT : exit code if addItem returns 0 (blue gem not collected and no sound)
|
||
|
|
||
|
_exit = 0x0238A1BC
|
||
|
0x02389EF8 = beq _exit
|
||
|
|