Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Game Hacks, Trainers, Cheats

Moderator: Ralf@gc-forever

Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Tue May 26, 2020 1:05 am

Kaos622 wrote:
Mon May 25, 2020 10:57 pm
Nephlymio wrote:
Mon May 25, 2020 7:18 am
Try this when replacing Debug badge only, there was different values and it seems to bug everything... had to debug the debug badge...

020F8306 00000129
040F830B 00000014 (New line)
020F830E 00000C01
000F8313 000000xx
020F8316 00000C01
000F7F4B 000000yy
040F7F50 60000000
0211391A 00000C01

The problem with FP drain P is that it uses a ''mario'' badge and mario doesn't like it lol
The second problem is that the badge must be a passive, not one that gives an ability like Super Charge P
We'll have to replace a Partner badge to make this work (sadly) because I don't know what is telling the game that the badge applies to mario or partner.

So I'll make it replace Pity Flower P because it's the only badge I see that can be sacrificed... for now...

020F80DE 0000012A
020F80E6 00000C01
000F80EB 00000002 FP regain
020F80EE 00000C01
000F8103 00000001 ATK Lost
040F80F0 60000000
0211391A 00000C01 (duplicate line)

tested and should work. I'll do some research from here to see if I can get the codes to work with lesser lines and lesser sacrifices...

Mind you, you can't run these codes without their partner counterparts. Because I changed the reference for HP and FP regain, the other badge will not work properly if you don't put the codes.

So always use HP drain with HP drain P codes together, and FP drain and FP drain P together (and this is why I replaced pity flower P for now... cuz you need to replace something for both to work)
FP drain code doesn't work for me, and i think it has to do with that new line you added to it which causing a crash. Funny when I remove that line and use the code, the -1 atk works but no fp shows up. The fp drain p code works but prefer if the code swapped another badge instead of pity flower p. Since debug badge causing you issues as it is, probably best replace that badge with another as well. Think you can try using power rush and power rush p badges instead? I never use those badges anyway with how broken they can be.
Mine doesn't crash but when I put them all on, they enter in conflict for fp drains... I have yet no solution for those. They work when used seperately, but in group they seem to overlap somehow. I tried replacing the 60000000 by 38000000 but to no avail. If we don't modify that line, the code stops when 1 badge has been found in the list meaning the second change won't occur. I think keeping to Ralf's code to multiply the effect (-2,+2) or just cancelling the line to negate atk power downsides are your way to go for now.

For your crash thing : You may have too many gecko codes active. Dolphin can only support 230 ish lines of codes unless you change the memory positions of gecko codes for dolphin (I don't use gecko codes mostly because of that)

Sorry :S, I tried
Ralf@gc-forever
Posts: 2865
Joined: Sun Mar 16, 2014 9:31 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Ralf@gc-forever » Thu May 28, 2020 7:17 am

Code: Select all


Shell Shield HP Modifier [Ralf]
0239BC28 0000ssss
0241A072 0000tttt
0241A076 0000uuuu
0241A07A 0000vvvv
0241A07E 0000wwww
0241A082 0000xxxx
0241A086 0000yyyy
0241A08A 0000zzzz

ssss = Max    HP (0001 .. 7FFF, Default: 0008)
tttt = Zone 1 HP (0001 .. 7FFF, Default: 0002)
uuuu = Zone 2 HP (0001 .. 7FFF, Default: 0004)
vvvv = Zone 3 HP (0001 .. 7FFF, Default: 0006)
wwww = Zone 4 HP (0001 .. 7FFF, Default: 0008)
xxxx = Zone 5 HP (0001 .. 7FFF, Default: 0006)
yyyy = Zone 6 HP (0001 .. 7FFF, Default: 0004)
zzzz = Zone 7 HP (0001 .. 7FFF, Default: 0002)

Improved Shell Shield HP (40 HP Max) [Ralf]
0239BC28 00000028
0241A072 0000000A
0241A076 00000014
0241A07A 0000001E
0241A07E 00000028
0241A082 0000001E
0241A086 00000014
0241A08A 0000000A

Spin Jump FP Cost Modifier [DarkRosalina & Ralf]
00353979 000000xx
00353A39 000000xx

xx = FP Cost (00 .. 63, Default: 2 FP)

Spring Jump FP Cost Modifier [DarkRosalina & Ralf]
00353AF9 000000xx
00353BB9 000000xx

xx = FP Cost (00 .. 63, Default: 4 FP)

Fire Drive FP Cost Modifier [DarkRosalina & Ralf]
00354E79 000000xx
00354F39 000000xx

xx = FP Cost (00 .. 63, Default: 5 FP)

Gulp FP Cost Modifier [DarkRosalina & Ralf]
0037CB35 000000xx
0037CBF5 000000xx
0037CCB5 000000xx
0037CD75 000000xx

xx = FP Cost (00 .. 63, Default: 4 FP)

Love Slap FP Cost Modifier [DarkRosalina & Ralf]
00381C41 000000xx
00381D01 000000xx
00381DC1 000000xx

xx = FP Cost (00 .. 63, Default: 0 FP)

Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Thu May 28, 2020 10:47 am

Ralf@gc-forever wrote:
Thu May 28, 2020 7:17 am

Code: Select all


Shell Shield HP Modifier [Ralf]
0239BC28 0000ssss
0241A072 0000tttt
0241A076 0000uuuu
0241A07A 0000vvvv
0241A07E 0000wwww
0241A082 0000xxxx
0241A086 0000yyyy
0241A08A 0000zzzz

ssss = Max    HP (0001 .. 7FFF, Default: 0008)
tttt = Zone 1 HP (0001 .. 7FFF, Default: 0002)
uuuu = Zone 2 HP (0001 .. 7FFF, Default: 0004)
vvvv = Zone 3 HP (0001 .. 7FFF, Default: 0006)
wwww = Zone 4 HP (0001 .. 7FFF, Default: 0008)
xxxx = Zone 5 HP (0001 .. 7FFF, Default: 0006)
yyyy = Zone 6 HP (0001 .. 7FFF, Default: 0004)
zzzz = Zone 7 HP (0001 .. 7FFF, Default: 0002)

Improved Shell Shield HP (40 HP Max) [Ralf]
0239BC28 00000028
0241A072 0000000A
0241A076 00000014
0241A07A 0000001E
0241A07E 00000028
0241A082 0000001E
0241A086 00000014
0241A08A 0000000A

Spin Jump FP Cost Modifier [DarkRosalina & Ralf]
00353979 000000xx
00353A39 000000xx

xx = FP Cost (00 .. 63, Default: 2 FP)

Spring Jump FP Cost Modifier [DarkRosalina & Ralf]
00353AF9 000000xx
00353BB9 000000xx

xx = FP Cost (00 .. 63, Default: 4 FP)

Fire Drive FP Cost Modifier [DarkRosalina & Ralf]
00354E79 000000xx
00354F39 000000xx

xx = FP Cost (00 .. 63, Default: 5 FP)

Gulp FP Cost Modifier [DarkRosalina & Ralf]
0037CB35 000000xx
0037CBF5 000000xx
0037CCB5 000000xx
0037CD75 000000xx

xx = FP Cost (00 .. 63, Default: 4 FP)

Love Slap FP Cost Modifier [DarkRosalina & Ralf]
00381C41 000000xx
00381D01 000000xx
00381DC1 000000xx

xx = FP Cost (00 .. 63, Default: 0 FP)

The Shell Shield Codes are cool!! , but the FP cost have been found by DarkRosalina in nov 2019 within this forum. (page 9-10 ish)
(I don't mean to be rude...I just want everyone who worked for a code to get their credits)
Ralf@gc-forever
Posts: 2865
Joined: Sun Mar 16, 2014 9:31 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Ralf@gc-forever » Fri May 29, 2020 10:11 am

@Nephlymio: Ops, I've checked only the PAL thread for the FP codes and forgot to check also the the NTSC-U counterpart. BTW, some of DarkRosalina's FP codes are incomplete.

Code: Select all


Mario, Partner & Enemies: Number Of Actions Modifier [Ralf]
04129338 386000xx

xx = Actions per Round (01 .. 63, Default: 01)

Mario: Number Of Actions Modifier [Ralf]
C2129338 00000003
38600001 801E0008
2C0000DE 40820008
386000xx 00000000

xx = Actions per Round (01 .. 63, Default: 01)

Partner: Number Of Actions Modifier [Ralf]
C212933C 00000004
801E0008 2C0000E0
41800010 2C0000E7
40800008 386000xx
38000000 00000000

xx = Actions per Round (01 .. 63, Default: 01)

Enemies: Number Of Actions Modifier [Ralf]
C2129340 00000005
80BE0008 2C0500DE
41820018 2C0500E0
4180000C 2C0500E7
41800008 386000xx
808400AC 00000000

xx = Actions per Round (01 .. 63, Default: 01)

Mario, Partner & Enemies: Double Action [Ralf]
04129338 38600002

Mario, Partner & Enemies: Triple Action [Ralf]
04129338 38600003

Mario: Double Action [Ralf]
C2129338 00000003
38600001 801E0008
2C0000DE 40820008
38600002 00000000

Mario: Triple Action [Ralf]
C2129338 00000003
38600001 801E0008
2C0000DE 40820008
38600003 00000000

Partner: Double Action [Ralf]
C212933C 00000004
801E0008 2C0000E0
41800010 2C0000E7
40800008 38600002
38000000 00000000

Partner: Triple Action [Ralf]
C212933C 00000004
801E0008 2C0000E0
41800010 2C0000E7
40800008 38600003
38000000 00000000

Enemies: Double Action [Ralf]
C2129340 00000005
80BE0008 2C0500DE
41820018 2C0500E0
4180000C 2C0500E7
41800008 38600002
808400AC 00000000

Enemies: Triple Action [Ralf]
C2129340 00000005
80BE0008 2C0500DE
41820018 2C0500E0
4180000C 2C0500E7
41800008 38600003
808400AC 00000000

Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Fri May 29, 2020 5:01 pm

Ralf@gc-forever wrote:
Fri May 29, 2020 10:11 am
@Nephlymio: Ops, I've checked only the PAL thread for the FP codes and forgot to check also the the NTSC-U counterpart. BTW, some of DarkRosalina's FP codes are incomplete.
No biggie for FP, it's cool now that it is complete and ''no'' I didn't check every single FP cost, I assumed it was the same.

Lol those extra actions code... I wonder how you create those C2 codes cuz I think we hack the game completely differently.

Like your Shell Shield code, it doesn't match a code in the ISO in terms of hex except for the Shell shield Max HP and I've been trying to find its Hex counterpart to no avail.
The code works marvel, but doesn't translate to Hex using xxxxxxxx + 0001D300. I guess the game loads values to those adresses at a certain time and temporarily.
I've searched the ISO but, couldn't find anything ''suspicious'' of being the shell shield HP. Any clues?
Yamakazi
Posts: 3
Joined: Sat May 30, 2020 8:43 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Yamakazi » Sat May 30, 2020 8:49 am

Is there any codes to adjust the value of Bonetail's healing properties? I wanted to change it from 20 heart point recovery to 420 heart point recovery. :twisted:
His HP is 1000.
Ralf@gc-forever
Posts: 2865
Joined: Sun Mar 16, 2014 9:31 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Ralf@gc-forever » Sun May 31, 2020 8:15 am

@Nephlymio: The shell shield HP values are global r13 variables and part of the main dol file. The first half-word is the zone threshold and the second half-word is the HP value:

Code: Select all

8041A070: 00140002 00230004 002D0006 00370008
8041A080: 00410006 00500004 00640002 00000000

Code: Select all


Goombella: Replace Attacks With Koops's Attacks [Ralf]
04393B74 801890A0
06417F30 00000010
8038F55C 8038F61C
8038F6DC 8038F79C

Goombella: Replace Attacks With Flurrie's Attacks [Ralf]
04393B74 8017FC68
06417F30 00000010
80378DA0 80378E60
80378F20 80378FE0

Goombella: Replace Attacks With Yoshi's Attacks [Ralf]
04393B74 80180F34
06417F30 00000010
8037CA64 8037CB24
8037CEE4 8037CFA4

Goombella: Replace Attacks With Vivian's Attacks [Ralf]
04393B74 8018303C
06417F30 00000010
8038BEE0 8038BFA0
8038C060 8038C120

Goombella: Replace Attacks With Bobbery's Attacks [Ralf]
04393B74 80182600
06417F30 00000010
80387C20 80387CE0
80387DA0 80387E60

Goombella: Replace Attacks With Ms. Mowz's Attacks [Ralf]
04393B74 80181DB0
06417F30 00000010
80381B70 80381F30
80381E70 80381FF0

Koops: Replace Attacks With Goombella's Attacks [Ralf]
0438EEAC 80189634
06417F40 00000010
80393EA8 80393F68
80394028 803940E8

Koops: Replace Attacks With Flurrie's Attacks [Ralf]
0438EEAC 8017FC68
06417F40 00000010
80378DA0 80378E60
80378F20 80378FE0

Koops: Replace Attacks With Yoshi's Attacks [Ralf]
0438EEAC 80180F34
06417F40 00000010
8037CA64 8037CB24
8037CEE4 8037CFA4

Koops: Replace Attacks With Vivian's Attacks [Ralf]
0438EEAC 8018303C
06417F40 00000010
8038BEE0 8038BFA0
8038C060 8038C120

Koops: Replace Attacks With Bobbery's Attacks [Ralf]
0438EEAC 80182600
06417F40 00000010
80387C20 80387CE0
80387DA0 80387E60

Koops: Replace Attacks With Ms. Mowz's Attacks [Ralf]
0438EEAC 80181DB0
06417F40 00000010
80381B70 80381F30
80381E70 80381FF0

Flurrie: Replace Attacks With Goombella's Attacks [Ralf]
0437917C 80189634
06417F50 00000010
80393EA8 80393F68
80394028 803940E8

Flurrie: Replace Attacks With Koops's Attacks [Ralf]
0437917C 801890A0
06417F50 00000010
8038F55C 8038F61C
8038F6DC 8038F79C

Flurrie: Replace Attacks With Yoshi's Attacks [Ralf]
0437917C 80180F34
06417F50 00000010
8037CA64 8037CB24
8037CEE4 8037CFA4

Flurrie: Replace Attacks With Vivian's Attacks [Ralf]
0437917C 8018303C
06417F50 00000010
8038BEE0 8038BFA0
8038C060 8038C120

Flurrie: Replace Attacks With Bobbery's Attacks [Ralf]
0437917C 80182600
06417F50 00000010
80387C20 80387CE0
80387DA0 80387E60

Flurrie: Replace Attacks With Ms. Mowz's Attacks [Ralf]
0437917C 80181DB0
06417F50 00000010
80381B70 80381F30
80381E70 80381FF0

Yoshi: Replace Attacks With Goombella's Attacks [Ralf]
0437C55C 80189634
06417F60 00000010
80393EA8 80393F68
80394028 803940E8

Yoshi: Replace Attacks With Koops's Attacks [Ralf]
0437C55C 801890A0
06417F60 00000010
8038F55C 8038F61C
8038F6DC 8038F79C

Yoshi: Replace Attacks With Flurrie's Attacks [Ralf]
0437C55C 8017FC68
06417F60 00000010
80378DA0 80378E60
80378F20 80378FE0

Yoshi: Replace Attacks With Vivian's Attacks [Ralf]
0437C55C 8018303C
06417F60 00000010
8038BEE0 8038BFA0
8038C060 8038C120

Yoshi: Replace Attacks With Bobbery's Attacks [Ralf]
0437C55C 80182600
06417F60 00000010
80387C20 80387CE0
80387DA0 80387E60

Yoshi: Replace Attacks With Ms. Mowz's Attacks [Ralf]
0437C55C 80181DB0
06417F60 00000010
80381B70 80381F30
80381E70 80381FF0

Vivian: Replace Attacks With Goombella's Attacks [Ralf]
0438B7CC 80189634
06417F70 00000010
80393EA8 80393F68
80394028 803940E8

Vivian: Replace Attacks With Koops's Attacks [Ralf]
0438B7CC 801890A0
06417F70 00000010
8038F55C 8038F61C
8038F6DC 8038F79C

Vivian: Replace Attacks With Flurrie's Attacks [Ralf]
0438B7CC 8017FC68
06417F70 00000010
80378DA0 80378E60
80378F20 80378FE0

Vivian: Replace Attacks With Yoshi's Attacks [Ralf]
0438B7CC 80180F34
06417F70 00000010
8037CA64 8037CB24
8037CEE4 8037CFA4

Vivian: Replace Attacks With Bobbery's Attacks [Ralf]
0438B7CC 80182600
06417F70 00000010
80387C20 80387CE0
80387DA0 80387E60

Vivian: Replace Attacks With Ms. Mowz's Attacks [Ralf]
0438B7CC 80181DB0
06417F70 00000010
80381B70 80381F30
80381E70 80381FF0

Bobbery: Replace Attacks With Goombella's Attacks [Ralf]
0438778C 80189634
06424880 00000010
80393EA8 80393F68
80394028 803940E8

Bobbery: Replace Attacks With Koops's Attacks [Ralf]
0438778C 801890A0
06424880 00000010
8038F55C 8038F61C
8038F6DC 8038F79C

Bobbery: Replace Attacks With Flurrie's Attacks [Ralf]
0438778C 8017FC68
06424880 00000010
80378DA0 80378E60
80378F20 80378FE0

Bobbery: Replace Attacks With Yoshi's Attacks [Ralf]
0438778C 80180F34
06424880 00000010
8037CA64 8037CB24
8037CEE4 8037CFA4

Bobbery: Replace Attacks With Vivian's Attacks [Ralf]
0438778C 8018303C
06424880 00000010
8038BEE0 8038BFA0
8038C060 8038C120

Bobbery: Replace Attacks With Ms. Mowz's Attacks [Ralf]
0438778C 80181DB0
06424880 00000010
80381B70 80381F30
80381E70 80381FF0

Ms. Mowz: Replace Attacks With Goombella's Attacks [Ralf]
04381764 80189634
06417F90 00000010
80393EA8 80393F68
80394028 803940E8

Ms. Mowz: Replace Attacks With Koops's Attacks [Ralf]
04381764 801890A0
06417F90 00000010
8038F55C 8038F61C
8038F6DC 8038F79C

Ms. Mowz: Replace Attacks With Flurrie's Attacks [Ralf]
04381764 8017FC68
06417F90 00000010
80378DA0 80378E60
80378F20 80378FE0

Ms. Mowz: Replace Attacks With Yoshi's Attacks [Ralf]
04381764 80180F34
06417F90 00000010
8037CA64 8037CB24
8037CEE4 8037CFA4

Ms. Mowz: Replace Attacks With Vivian's Attacks [Ralf]
04381764 8018303C
06417F90 00000010
8038BEE0 8038BFA0
8038C060 8038C120

Ms. Mowz: Replace Attacks With Bobbery's Attacks [Ralf]
04381764 80182600
06417F90 00000010
80387C20 80387CE0
80387DA0 80387E60

Note: Some of the "Replace Attacks With ..." codes may crash the game.

Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Sun May 31, 2020 8:56 am

Ralf@gc-forever wrote:
Sun May 31, 2020 8:15 am
@Nephlymio: The shell shield HP values are global r13 variables and part of the main dol file. The first half-word is the zone threshold and the second half-word is the HP value:

Code: Select all

8041A070: 00140002 00230004 002D0006 00370008
8041A080: 00410006 00500004 00640002 00000000
Gotcha! Found them at HEX 003E77BO
Took me like 30 seconds from the moment I read 00140002 lol
I was searching for 0002 0004 0006 ... :P no doubt I couldn't find them and omg! what the hell are they doing so far from the Shell Shield code...
User avatar
SSB_Reed
Posts: 20
Joined: Mon Nov 04, 2019 1:08 pm
Contact:

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by SSB_Reed » Sun May 31, 2020 10:43 pm

Is there a way to change the fright mask rate?
Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Mon Jun 01, 2020 1:59 am

SSB_Reed wrote:
Sun May 31, 2020 10:43 pm
Is there a way to change the fright mask rate?
0036A72C 000000xx (Default 64 = 100%)

Note : Most enemies have a table of effectiveness of statuses applied to them. So that value isn't absolute.
NomGeneric
Posts: 12
Joined: Mon Dec 04, 2017 12:52 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by NomGeneric » Mon Jun 01, 2020 6:10 am

Yamakazi wrote:
Sat May 30, 2020 8:49 am
Is there any codes to adjust the value of Bonetail's healing properties? I wanted to change it from 20 heart point recovery to 420 heart point recovery. :twisted:
His HP is 1000.
If you are familiar with hex editing , Try going to this offset 466F906B
you should see 00 14 (20 HP Heal)
put 01 A4 instead !
If it doesn't work, then the max hp he could recover would be FF (255) in that case just edit the 14 to FF or FA (250) ! :p


***Oh and also,I believe the HP heart animation that appear when He Heals himself will still show 20. make sure to tattle it to see if the 420 worked.
and if you want to fix that, I think the value would be just after 466F906B I'm not exactly sure I would have to test it but
I know these values for Hooktail! I remember working on that issue

4658E797 HP Heal (0A)
4658E7F7 HP show IN Heart animation
(If im not mistaken, my notes are all messy lol)
Yamakazi
Posts: 3
Joined: Sat May 30, 2020 8:43 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Yamakazi » Mon Jun 01, 2020 12:26 pm

NomGeneric wrote:
Mon Jun 01, 2020 6:10 am
Yamakazi wrote:
Sat May 30, 2020 8:49 am
Is there any codes to adjust the value of Bonetail's healing properties? I wanted to change it from 20 heart point recovery to 420 heart point recovery. :twisted:
His HP is 1000.
If you are familiar with hex editing , Try going to this offset 466F906B
you should see 00 14 (20 HP Heal)
put 01 A4 instead !
If it doesn't work, then the max hp he could recover would be FF (255) in that case just edit the 14 to FF or FA (250) ! :p


***Oh and also,I believe the HP heart animation that appear when He Heals himself will still show 20. make sure to tattle it to see if the 420 worked.
and if you want to fix that, I think the value would be just after 466F906B I'm not exactly sure I would have to test it but
I know these values for Hooktail! I remember working on that issue

4658E797 HP Heal (0A)
4658E7F7 HP show IN Heart animation
(If im not mistaken, my notes are all messy lol)
I don't know how to write code or find offsets , I'm just asking for someone to do the work and give me the AR/Gecko Code LOL but thanks for information.
User avatar
SSB_Reed
Posts: 20
Joined: Mon Nov 04, 2019 1:08 pm
Contact:

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by SSB_Reed » Tue Jun 02, 2020 9:44 pm

Nephlymio wrote:
Mon Jun 01, 2020 1:59 am
SSB_Reed wrote:
Sun May 31, 2020 10:43 pm
Is there a way to change the fright mask rate?
0036A72C 000000xx (Default 64 = 100%)

Note : Most enemies have a table of effectiveness of statuses applied to them. So that value isn't absolute.
Works really well! Is there one for gale force too? That'd be cool
Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Wed Jun 03, 2020 4:08 am

SSB_Reed wrote:
Tue Jun 02, 2020 9:44 pm
Works really well! Is there one for gale force too? That'd be cool
Flurrie Galeforce %
00378F05 000000xx

I'm posting the codes cuz you ask them, but I think most of these have been done before, simply read the full tread about status effects and you'll find pretty much everything you need to work something out about status effects for specific skills...
User avatar
Inf-ToonLink
Posts: 40
Joined: Thu Aug 15, 2019 8:01 pm

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Inf-ToonLink » Wed Jun 03, 2020 6:44 am

Nephlymio wrote:
Wed Jun 03, 2020 4:08 am
SSB_Reed wrote:
Tue Jun 02, 2020 9:44 pm
Works really well! Is there one for gale force too? That'd be cool
Flurrie Galeforce %
00378F05 000000xx

I'm posting the codes cuz you ask them, but I think most of these have been done before, simply read the full tread about status effects and you'll find pretty much everything you need to work something out about status effects for specific skills...
hey man do you know if it possible to give a % for danger/peril activation state based on the max HP?

example
20% of your max HP(10) = danger state activates on 2HP
10% of your max HP(10) = peril state activates on 1HP

20% of your max HP(50) = danger state activates on 10HP
10% of your max HP(50) = peril state activates on 5HP
Last edited by Inf-ToonLink on Wed Jun 03, 2020 7:49 pm, edited 1 time in total.
Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Wed Jun 03, 2020 11:16 am

Inf-ToonLink wrote:
Wed Jun 03, 2020 6:44 am
Nephlymio wrote:
Wed Jun 03, 2020 4:08 am
SSB_Reed wrote:
Tue Jun 02, 2020 9:44 pm
Works really well! Is there one for gale force too? That'd be cool
Flurrie Galeforce %
00378F05 000000xx

I'm posting the codes cuz you ask them, but I think most of these have been done before, simply read the full tread about status effects and you'll find pretty much everything you need to work something out about status effects for specific skills...
hey man do you know if it possible to give a % for danger/peril activation state based on the max HP?

example
20% of your max HP(10) = danger state activates on 2HP
10% of your max HP(10) = peril state activayes on 1HP

20% of your max HP(50) = danger state activates on 10HP
10% of your max HP(50) = peril state activayes on 5HP
I'd like a code that does that too, but the only things I see that makes sense when I look at the code are 05 01 01 which are the values Ralf found before regarding Thresholds. :S
beside those values are a bunch of pointers to the global variables which to me leads to 0s ... a lot of 0s
Hex wise, I don't see how the code calculates danger and peril yet.
Ralf@gc-forever
Posts: 2865
Joined: Sun Mar 16, 2014 9:31 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Ralf@gc-forever » Fri Jun 05, 2020 9:06 am

Code: Select all


Mario: Danger/Peril State Display Fix [Ralf]
C2118074 00000003
80DF0010 88A6000C
8886000D 7C032800
60000000 00000000
0411807C 7C032000
04118080 4181005C

Partner: Danger/Peril State Display Fix [Ralf]
C2117E90 00000003
80DF0010 88A6000C
8886000D 7C032800
60000000 00000000
04117E98 7C032000
04117E9C 4181005C

Danger State: 5% Max HP Activation Threshold [Ralf]
C2126E84 00000004
A8BE0108 1CA5000A
38A50064 380000C8
7C0503D6 9803000C
60000000 00000000

Danger State: 10% Max HP Activation Threshold [Ralf]
C2126E84 00000004
A8BE0108 1CA5000A
38A50032 38000064
7C0503D6 9803000C
60000000 00000000

Danger State: 20% Max HP Activation Threshold [Ralf]
C2126E84 00000004
A8BE0108 1CA5000A
38A50019 38000032
7C0503D6 9803000C
60000000 00000000

Peril State: 5% Max HP Activation Threshold [Ralf]
C2126E20 00000004
A8BE0108 1CA5000A
38A50064 380000C8
7C0503D6 9803000D
60000000 00000000

Peril State: 10% Max HP Activation Threshold [Ralf]
C2126E20 00000004
A8BE0108 1CA5000A
38A50032 38000064
7C0503D6 9803000D
60000000 00000000

Peril State: 20% Max HP Activation Threshold [Ralf]
C2126E20 00000004
A8BE0108 1CA5000A
38A50019 38000032
7C0503D6 9803000D
60000000 00000000

Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Fri Jun 05, 2020 11:53 pm

Ralf@gc-forever wrote:
Fri Jun 05, 2020 9:06 am

Code: Select all


Mario: Danger/Peril State Display Fix [Ralf]
C2118074 00000003
80DF0010 88A6000C
8886000D 7C032800
60000000 00000000
0411807C 7C032000
04118080 4181005C

Partner: Danger/Peril State Display Fix [Ralf]
C2117E90 00000003
80DF0010 88A6000C
8886000D 7C032800
60000000 00000000
04117E98 7C032000
04117E9C 4181005C

Danger State: 5% Max HP Activation Threshold [Ralf]
C2126E84 00000004
A8BE0108 1CA5000A
38A50064 380000C8
7C0503D6 9803000C
60000000 00000000

Danger State: 10% Max HP Activation Threshold [Ralf]
C2126E84 00000004
A8BE0108 1CA5000A
38A50032 38000064
7C0503D6 9803000C
60000000 00000000

Danger State: 20% Max HP Activation Threshold [Ralf]
C2126E84 00000004
A8BE0108 1CA5000A
38A50019 38000032
7C0503D6 9803000C
60000000 00000000

Peril State: 5% Max HP Activation Threshold [Ralf]
C2126E20 00000004
A8BE0108 1CA5000A
38A50064 380000C8
7C0503D6 9803000D
60000000 00000000

Peril State: 10% Max HP Activation Threshold [Ralf]
C2126E20 00000004
A8BE0108 1CA5000A
38A50032 38000064
7C0503D6 9803000D
60000000 00000000

Peril State: 20% Max HP Activation Threshold [Ralf]
C2126E20 00000004
A8BE0108 1CA5000A
38A50019 38000032
7C0503D6 9803000D
60000000 00000000

Wow! thanks for this sweat little piece of code!
I managed to create a pointer on the iso that leads to your code and works marvel!

haaaaaa yesssss! :P
User avatar
Inf-ToonLink
Posts: 40
Joined: Thu Aug 15, 2019 8:01 pm

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Inf-ToonLink » Sat Jun 06, 2020 8:00 am

i left this code here hope you like it :D

Code: Select all

charged zap tap
040f7f00 38040001
040f7f04 98030129
040f7f08 980302f7
also this ideas for the following badges would be great: note (dont know if it possible)

status tutor(timing tutor) - give to mario/partner random positive status effect if all stylish moves of the attack are done on the turn.

slow training(slow go) - permanent slow status on battle but doubles star points gained.

heart blessing (heart finder) - starts battle with HP reg (this can be applied to happy heart but it would be op)

flower blessing (flower finder) - starts battle with FP reg (this can be applied to happy flower but it would be op)

transparent show(super appeal/super appeal p) - makes mario/partner transparent doing appeal at the cost of 3FP

Auto-command(simplifier) - automatic do all attacks at the cost of -1 to attack (all attacks except power bounce and stylish)
i think this one can be done mixing the debug badge with simplifier but dissabling power bounce on the automatic effect (more than 9999 jumps if power bounce is used with debug badge equiped lol).

power sign(unsimplifier) - raises your current attack power by 50% and makes more difficult to perfom action command and dissable item menu.

note 2: seriously i dont know if this is possible to do but if someone make this possible would be awesome!
User avatar
Zephiles
Posts: 25
Joined: Sat Jun 27, 2015 8:39 pm
Contact:

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Zephiles » Sun Jun 07, 2020 6:44 am

Yamakazi wrote:
Mon Jun 01, 2020 12:26 pm
NomGeneric wrote:
Mon Jun 01, 2020 6:10 am
Yamakazi wrote:
Sat May 30, 2020 8:49 am
Is there any codes to adjust the value of Bonetail's healing properties? I wanted to change it from 20 heart point recovery to 420 heart point recovery. :twisted:
His HP is 1000.
If you are familiar with hex editing , Try going to this offset 466F906B
you should see 00 14 (20 HP Heal)
put 01 A4 instead !
If it doesn't work, then the max hp he could recover would be FF (255) in that case just edit the 14 to FF or FA (250) ! :p


***Oh and also,I believe the HP heart animation that appear when He Heals himself will still show 20. make sure to tattle it to see if the 420 worked.
and if you want to fix that, I think the value would be just after 466F906B I'm not exactly sure I would have to test it but
I know these values for Hooktail! I remember working on that issue

4658E797 HP Heal (0A)
4658E7F7 HP show IN Heart animation
(If im not mistaken, my notes are all messy lol)
I don't know how to write code or find offsets , I'm just asking for someone to do the work and give me the AR/Gecko Code LOL but thanks for information.

Code: Select all

$Bonetail HP Recovery Modifier [Zephiles]
C0000000 0000000C
9421FFF0 BFC10008
83ED8270 2C1F0003
40A20040 83ED8274
2C1F0003 40820034
83CD90B0 83DE015C
2C1E0000 41820024
83FE0000 2C1F000E
40A20018 3FDE0002
3BE00xxx 93FE0B48
3BE000zz 93FE0BAC
BBC10008 38210010
4E800020 00000000

xxx = Actual HP Restored
zz = Displayed HP Restored
To clarify, the Actual HP Restored value ends up getting used as a signed halfword (2 bytes), and the Displayed HP Restored value ends up getting used as a signed byte. Furthermore, if the Displayed HP Restored value ends up being negative (which it would be if you set it to 420, as 420 converted to a signed byte is -92), then the game simply wont display the number.

And for a bit more clarification on the functions/scripts that use the values, the Actual HP Restored value gets passed into the function btlevtcmd_RecoverHp, and the Displayed HP Restored value gets passed into the function evt_eff. The actual script that these functions are called in is recover_event, and is part of unit_boss_zonbaba.o. This script is inside of jon.rel, starts at 0x20A7C, and its length in bytes is 0x160.
TTYD Speedrunner
Mario121123
Posts: 2
Joined: Mon Aug 14, 2017 3:41 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Mario121123 » Mon Jun 08, 2020 5:43 am

Is it possible to make it so Super/Ultra Hammer can hurt Iron Clefts? If so, could someone make a code for it?
User avatar
Zephiles
Posts: 25
Joined: Sat Jun 27, 2015 8:39 pm
Contact:

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Zephiles » Mon Jun 08, 2020 6:48 pm

This was a request that I got recently, and I figured I would post it publically.

Code: Select all

$Automash Through Text (Hold Y) [Zephiles]
04080FCC 4BF84061
04080FF0 4BF8403D
04084268 4BF80DC5
0600502C 00000020
3C60803D A063A398
70630800 2C030800
38600200 4D820020
38600000 48000F38
Last edited by Zephiles on Tue Jun 09, 2020 2:53 am, edited 2 times in total.
TTYD Speedrunner
User avatar
GeCiBot
Posts: 10
Joined: Fri May 15, 2020 5:24 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by GeCiBot » Tue Jun 09, 2020 1:04 am

I'm about to dive into this game for the first time (very late to the paper party =P) Are there any quality of life codes that I should be aware from this thread that i should be adding to my first play-through?

Thanks!
Nephlymio
Posts: 36
Joined: Wed Apr 22, 2020 7:02 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Nephlymio » Tue Jun 09, 2020 1:12 am

GeCiBot wrote:
Tue Jun 09, 2020 1:04 am
I'm about to dive into this game for the first time (very late to the paper party =P) Are there any quality of life codes that I should be aware from this thread that i should be adding to my first play-through?

Thanks!
Look for Increased enemy HP and Atk global modifiers ( around page 2-3) (x2 and x1.5 respectively) if you want a better feeling of an rpg game.
Otherwise, the game is a little easy and very easy to break as well...
But for a first go, I wouldn't change much... It is a Mario game afterall and I don't think they are meant to be so hard.
Yamakazi
Posts: 3
Joined: Sat May 30, 2020 8:43 am

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/NTSC-U)

Post by Yamakazi » Tue Jun 09, 2020 6:39 pm

can someone make a code that takes you directly to level 99 on the pit of 100 trials
Post Reply