port AllCards to all Ep3 versions

This commit is contained in:
Martin Michelsen
2024-08-10 18:04:29 -07:00
parent 170111422b
commit f8f194e19b
6 changed files with 98 additions and 116 deletions
@@ -0,0 +1,17 @@
# This patch gives you the maximum number of each card. It only works if used
# in-game, which means it must be used by running `$patch AllCards`.
.meta hide_from_patches_menu
.meta name="Get all cards"
.meta description="This patch gives you\nthe maximum number\nof each card."
entry_ptr:
reloc0:
.offsetof start
start:
.include AllCards
.data 0x802A25A4 # get_player_data_segment
.data 0x802A1FB4 # decrypt_ep3_player_data_segment
.data 0x802A21A4 # Ep3PlayerDataSegment_on_card_obtained
.data 0x802A2004 # encrypt_ep3_player_data_segment