2018-10-07 18:13:26 +02:00
|
|
|
[XCX_UPGRADENOLIMIT_EU]
|
|
|
|
moduleMatches = 0xF882D5CF ; 1.0.1E
|
|
|
|
|
2018-11-03 18:22:34 +01:00
|
|
|
codeCaveSize = 0x1C
|
2018-10-07 18:13:26 +02:00
|
|
|
|
2018-11-03 18:22:34 +01:00
|
|
|
0x00000000 = .byte $checkSelectItem
|
|
|
|
0x00000001 = .byte $checkStrengthen
|
|
|
|
_selectItem = 0x00000000
|
|
|
|
_strengthen = 0x00000001
|
|
|
|
|
|
|
|
_checkSelectItem = 0x00000004
|
|
|
|
0x00000004 = lis r4, _selectItem@h
|
|
|
|
0x00000008 = lbz r3, _selectItem@l(r4)
|
|
|
|
0x0000000C = blr
|
|
|
|
|
|
|
|
_checkStrengthen = 0x00000010
|
|
|
|
0x00000010 = lis r3, _strengthen@h
|
|
|
|
0x00000014 = lbz r3, _strengthen@l(r3)
|
|
|
|
0x00000018 = blr
|
2018-10-07 18:13:26 +02:00
|
|
|
|
|
|
|
; ----------------------------------------------------------------------------
|
|
|
|
; WHO : menu::MenuArmsCompanyAffixSelectItem::CheckAffixStrengthen
|
|
|
|
; WHAT : Unlimited upgrades (equipment selection menu)
|
|
|
|
|
2018-10-12 23:30:02 +02:00
|
|
|
0x02A6DCA8 = li r3, 0 ; Ignore upgrades counter
|
2018-11-03 18:22:34 +01:00
|
|
|
0x02A6DFFC = bla _checkSelectItem
|
|
|
|
|
|
|
|
; ----------------------------------------------------------------------------
|
|
|
|
; WHO : menu::MenuArmsCompanyAffixStrengthen::CheckAffixStrengthen
|
|
|
|
; WHAT : Unlimited upgrades (affix selection menu)
|
|
|
|
|
|
|
|
0x02A72134 = li r10, 99 ; Ignore upgrades counter
|
|
|
|
0x02A723B4 = bla _checkStrengthen
|
2018-10-07 18:13:26 +02:00
|
|
|
|
|
|
|
;#####################################################################################
|
|
|
|
[XCX_UPGRADENOLIMIT_US]
|
|
|
|
moduleMatches = 0x30B6E091 ; 1.0.2U
|
|
|
|
|
2018-11-03 18:22:34 +01:00
|
|
|
codeCaveSize = 0x1C
|
|
|
|
|
|
|
|
0x00000000 = .byte $checkSelectItem
|
|
|
|
0x00000001 = .byte $checkStrengthen
|
|
|
|
_selectItem = 0x00000000
|
|
|
|
_strengthen = 0x00000001
|
|
|
|
|
|
|
|
_checkSelectItem = 0x00000004
|
|
|
|
0x00000004 = lis r4, _selectItem@h
|
|
|
|
0x00000008 = lbz r3, _selectItem@l(r4)
|
|
|
|
0x0000000C = blr
|
|
|
|
|
|
|
|
_checkStrengthen = 0x00000010
|
|
|
|
0x00000010 = lis r3, _strengthen@h
|
|
|
|
0x00000014 = lbz r3, _strengthen@l(r3)
|
|
|
|
0x00000018 = blr
|
|
|
|
|
2018-10-12 23:30:02 +02:00
|
|
|
0x02A6DC98 = li r3, 0 ; Ignore upgrades counter
|
2018-11-03 18:22:34 +01:00
|
|
|
0x02A6DFEC = bla _checkSelectItem
|
|
|
|
|
|
|
|
0x02A72124 = li r10, 99 ; Ignore upgrades counter
|
|
|
|
0x02A723A4 = bla _checkStrengthen
|