# Original patch by Soly, in Blue Burst Patch Project # https://github.com/Solybum/Blue-Burst-Patch-Project # Xbox port by fuzziqersoftware .versions 4OED 4OEU 4OJB 4OJD 4OJU 4OPD 4OPU .meta name="No rare selling" .meta description="Stops you from\naccidentally\nselling rares\nto shops" entry_ptr: reloc0: .offsetof start start: .include WriteCodeBlocksXB # See comments in the 59NL version of this patch for details on how it works. .data .data 0x00000004 .data 0x00000000 .data .data 0x00000004 .data 0x00000000 .data .data 0x00000005 .binary E98E0C0000 .data .deltaof tool_check_start, tool_check_end tool_check_start: xor edi, edi test byte [eax + 0x10], 0x80 cmovz edi, [eax + 0x0C] .binary E995F3FFFF tool_check_end: .data 0x00000000 .data 0x00000000