Skip to content

Commit

Permalink
mp8 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RainbowTabitha committed Jun 13, 2024
1 parent 50d1e75 commit 970812e
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 155 deletions.
249 changes: 132 additions & 117 deletions codes/marioParty8.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ def getBlueSpaceCodeEight(amount, amountDec):
2045F82C 38A00003
0445F82C 38A0{amount}
E0000000 80008000
2045F8{W} 38C00003
0445F8{W} 38C0{amount}
2045F830 38C00003
0445F830 38C0{amount}
E0000000 80008000
20482{W}8 38A00003
04482{W}8 38A0{amount}
20482308 38A00003
04482308 38A0{amount}
E0000000 80008000
204940AC 38C00003
044940AC 38C0{amount}
Expand Down Expand Up @@ -142,7 +142,7 @@ def getStarSpaceCodeEight(amount, negAmount, amountDec):
203C5380 38600014
043C5380 3860{amount}
E0000000 80008000
203F2DB8 2C0{W}00A
203F2DB8 2C03000A
043F2DB8 2C03{amount}
E0000000 80008000
203F2EC4 38A0FFF6
Expand All @@ -154,14 +154,14 @@ def getStarSpaceCodeEight(amount, negAmount, amountDec):
203D1470 38C0FFEC
043D1470 38C0{negAmount}
E0000000 80008000
203D1368 2C0{W}014
203D1368 2C030014
043D1368 2C03{amount}
E0000000 80008000
48000000 8000{W}C8
48000000 800030C8
DE000000 80008180
{W}01{W}78 9421F8B0
D201{W}78 00000009
808{W}00C 80840070
30013078 9421F8B0
D2013078 00000009
8083000C 80840070
38A00067 3CC08023
1C840118 7CC62214
38C682F8 A8E60026
Expand Down Expand Up @@ -202,11 +202,11 @@ def getBitsizeCode8(value, amountDec):
20552460 38C00003
04552460 38C0{value}
E0000000 80008000
205{W}070 38A00003
045{W}070 38A0{value}
20530070 38A00003
04530070 38A0{value}
E0000000 80008000
205{W}074 38C00003
045{W}074 38C0{value}
20530074 38C00003
04530074 38C0{value}
E0000000 80008000
2052DA34 38A00003
0452DA34 38A0{value}
Expand All @@ -217,16 +217,16 @@ def getBitsizeCode8(value, amountDec):
20532E2C 38A00003
04532E2C 38A0{value}
E0000000 80008000
20532E{W} 38C00003
04532E{W} 38C0{value}
20532E30 38C00003
04532E30 38C0{value}
E0000000 80008000
'''

def hotelMaxInvest(value, valueDec):
return f'''
MP8 - Invest Up To {valueDec} in Hotels
203CB9{W} 2C000064
043CB9{W} 2C00{value}
203CB930 2C000064
043CB930 2C00{value}
043CB950 2C00{value}
043CBBE4 2C00{value}
043CBD6C 2C00{value}
Expand Down Expand Up @@ -298,111 +298,126 @@ def getVampireCode8(value, amountDec):
3880{value} 909F052C
60000000 00000000
E0000000 80008000
'''
'''

def getCandyCodeDK(oneW, twoP, twoW, threeP, threeW, fourP, fourW, fiveP, fiveW, sixP, sixW, sevenP, sevenW, eightP, eightW, nineP, nineW, tenP, tenW, elevenP, elevenW, twelveP, twelveW, thirteenP, thirteenW, fourteenP, fourteenW):
return f'''
42000000 90000000
202CD222 00000010
42000000 90000000
20725868 0000000F
04725868 0000{twoP}
E2000001 80008000
20721068 0000000F
04721068 0000{twoP}
E2000001 80008000
20725268 0000000A
04725268 0000{threeP}
E2000001 80008000
20725328 0000000F
04725268 0000{threeP}
E2000001 80008000
20722868 0000000A
04722868 0000{fourP}
E2000001 80008000
20722928 00000014
04722928 0000{fourP}
E2000001 80008000
20722268 0000000F
04722268 0000{fiveP}
E2000001 80008000
20722268 0000000F
04722268 0000{fiveP}
E2000001 80008000
20722328 00000014
04722328 0000{sixP}
E2000001 80008000
20724C68 0000000A
04724C68 0000{sixP}
E2000001 80008000
20721C68 00000005
04721C68 0000{sevenP}
E2000001 80008000
20721D28 0000000F
04721D28 0000{sevenP}
E2000001 80008000
20722F28 00000000
04722F28 0000{eightP}
E2000001 80008000
20722E68 00000000
04722E68 0000{eightP}
E2000001 80008000
20724128 0000000F
04724128 0000{nineP}
E2000001 80008000
20724068 0000000A
04724068 0000{nineP}
E2000001 80008000
20721728 00000000
04721728 0000{tenP}
E2000001 80008000
20721668 00000000
04721668 0000{tenP}
E2000001 80008000
20724668 00000005
04724668 0000{elevenP}
E2000001 80008000
20724728 0000000F
04724728 0000{elevenP}
E2000001 80008000
20723B28 00000000
04723B28 0000{thirteenP}
E2000001 80008000
20723A68 00000000
04723A68 0000{thriteenP}
20723528 00000005
04723528 0000{fourteenP}
E2000001 80008000
20723468 00000005
04723468 0000{fourteenP}
04725868 000000{twoP}
04721068 000000{twoP}
04725268 000000{threeP}
04725328 000000{threeP}
04722868 000000{fourP}
04722928 000000{fourP}
04722268 000000{fiveP}
04722268 000000{fiveP}
04722328 000000{sixP}
04724C68 000000{sixP}
04721C68 000000{sevenP}
04721D28 000000{sevenP}
04722F28 000000{eightP}
04722E68 000000{eightP}
04724128 000000{nineP}
04724068 000000{nineP}
04721728 000000{tenP}
04721668 000000{tenP}
04724668 000000{elevenP}
04724728 000000{elevenP}
04723B28 000000{thirteenP}
04723A68 000000{thirteenP}
04723528 000000{fourteenP}
04723468 000000{fourteenP}
04721128 000000{twelveP}
048E6FAD 000000{twelveP}
E2000001 80008000
42000000 90000000
20711FF4 0000001E
C2711FE4 0000001A
0000{oneW} 0000{oneW}
00000000 00000001
0000{twoW} 0000{twoW}
00000000 00000002
0000{threeW} 0000{threeW}
00000000 00000007
0000{sevenW} 0000{sevenW}
00000000 00000008
0000{eightW} 0000{eightW}
00000000 0000000A
0000{tenW} 0000{tenW}
00000000 0000000C
0000{elevenW} 0000{elevenW}
00000000 0000000F
0000{fourteenW} 0000{fourteenW}
00000000 00000006
0000{sixW} 0000{sixW}
00000000 00000004
0000{fourW} 0000{fourW}
00000000 00000005
0000{fiveW} 0000{fiveW}
00000000 00000008
0000{eightW} 0000{eightW}
00000000 0000000E
0000{thirteenW} 0000{thirteenW}
00000000 0000000D
60000000 00000000
04711FF4 000000{twoW}
04711FF8 000000{twoW}
04712004 000000{threeW}
04712008 000000{threeW}
04712014 000000{sevenW}
04712018 000000{sevenW}
04712024 000000{nineW}
04712028 000000{nineW}
04712034 000000{tenW}
04712038 000000{tenW}
04712044 000000{elevenW}
04712048 000000{elevenW}
04712054 000000{fourteenW}
04712058 000000{fourteenW}
04712064 000000{sixW}
04712068 000000{sixW}
04712074 000000{fourW}
04712078 000000{fourW}
04712084 000000{fiveW}
04712088 000000{fiveW}
04712094 000000{eightW}
04712098 000000{eightW}
047120A4 000000{thirteenW}
047120A8 000000{thirteenW}
047120B4 000000{twelveW}
047120B8 000000{twelveW}
E2000001 80008000
42000000 90000000
20720704 0000000A
04720704 000000{oneW}
04720708 000000{oneW}
0472070C 000000{oneW}
04720710 000000{oneW}
0472071C 000000{twoW}
04720720 000000{twoW}
04720724 000000{twoW}
04720728 000000{twoW}
04720734 000000{threeW}
04720738 000000{threeW}
0472073C 000000{threeW}
04720740 000000{threeW}
0472074C 000000{sevenW}
04720750 000000{sevenW}
04720754 000000{sevenW}
04720758 000000{sevenW}
04720764 000000{nineW}
04720768 000000{nineW}
0472076C 000000{nineW}
04720770 000000{nineW}
0472077C 000000{tenW}
04720780 000000{tenW}
04720784 000000{tenW}
04720788 000000{tenW}
04720794 000000{elevenW}
04720798 000000{elevenW}
0472079C 000000{elevenW}
047207A0 000000{elevenW}
047207AC 000000{fourteenW}
047207B0 000000{fourteenW}
047207B4 000000{fourteenW}
047207B8 000000{fourteenW}
047207C4 000000{sixW}
047207C8 000000{sixW}
047207CC 000000{sixW}
047207D0 000000{sixW}
047207DC 000000{fourW}
047207E0 000000{fourW}
047207E4 000000{fourW}
047207E8 000000{fourW}
047207F4 000000{fiveW}
047207F8 000000{fiveW}
047207FC 000000{fiveW}
04720800 000000{fiveW}
0472080C 000000{eightW}
04720810 000000{eightW}
04720814 000000{eightW}
04720818 000000{eightW}
04720824 000000{thirteenW}
04720828 000000{thirteenW}
0472082C 000000{thirteenW}
04720830 000000{thirteenW}
0472083C 000000{twelveW}
04720840 000000{twelveW}
04720844 000000{twelveW}
04720848 000000{twelveW}
E2000001 80008000
'''
Loading

0 comments on commit 970812e

Please sign in to comment.