cemu_graphic_packs/Mods/XenobladeX_mod_CollectiblesIgnore100th/patches.txt

17 lines
588 B
Plaintext
Raw Normal View History

[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