Files
psopeeps-newserv/system/client-functions/VIPCard.3SE0.patch.s
T
2024-02-29 09:54:38 -08:00

20 lines
555 B
ArmAsm

# This patch is only for PSO Episode 3 USA, which means it requires the
# EnableEpisode3SendFunctionCall option to be enabled in config.json. If that
# option is disabled, the Patches menu won't appear for the client. If this
# patch is run on a different client version, it will do nothing.
.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, 0xBD18
mtctr r0
bctr