port vip card patch to all ep3 versions

This commit is contained in:
Martin Michelsen
2024-02-29 09:54:38 -08:00
parent 913f7d04f7
commit a00c25ee17
6 changed files with 46 additions and 8 deletions
@@ -0,0 +1,18 @@
# This patch can't be used currently because the EU version of Episode 3 doesn't
# natively support B2, and there is no buffer-overflow exploit (yet) to address
# this.
.meta name="Get VIP card"
.meta description="Gives you a VIP card"
entry_ptr:
reloc0:
.offsetof start
start:
# Call seq_var_set(7000) - this gives the local player a VIP card
li r3, 7000
lis r0, 0x8010
ori r0, r0, 0xC1A4
mtctr r0
bctr