Codes

From Sunshine Wiki
Jump to navigation Jump to search

codes

Reenable SPCPrint[edit | edit source]

Reenable the debug SPC function print(). Prints to the Dolphin emulator logger

Code Source: Yoshi2

Gecko

JPN 1.0 USA
C20DD0A4 00000008
9421FFB0 7C0802A6
90010054 7C0902A6
90010000 3C008008
6000EF64 7C0903A6
4E800421 80010000
7C0903A6 80010054
7C0803A6 38210050
4E800020 00000000
C203DB3C 00000008
9421FFB0 7C0802A6
90010054 7C0902A6
90010000 3C008034
60004644 7C0903A6
4E800421 80010000
7C0903A6 80010054
7C0803A6 38210050
4E800020 60000000

Modify Yoshi Colors[edit | edit source]

Change the preset colors of Yoshi.

Line1 = No Juice (Green Yoshi)

Line2 = Orange Yoshi

Line3 = Purple Yoshi

Line4 = Pink Yoshi

Code Source: Yoshi2

Gecko

USA
0439F934 RRGGBBFF
0439F938 RRGGBBFF
0439F93C RRGGBBFF
0439F940 RRGGBBFF

Modify Yoshi Juice HUD Colors[edit | edit source]

Change the preset colors of Yoshi's Juice indicators.

Line1 = Orange Yoshi

Line2 = Purple Yoshi

Line3 = Pink Yoshi

Code Source: Yoshi2

Gecko

USA
041440fc 3ca0RRGG
04144100 60a5BBAA
04144134 3ca0RRGG
04144138 60a5BBAA
0414416c 3ca0RRGG
04144170 60a5BBAA

Modify Liquid Colors[edit | edit source]

Change the preset colors of liquids

Line1 = FLUDD Water/No juice Yoshi

Line2 = Orange Yoshi

Line3 = Purple Yoshi

Line4 = Pink Yoshi

Code Source: Yoshi2

Gecko

USA
043DD898 RRGGBBAA
043DD89C RRGGBBAA
043DD8A0 RRGGBBAA
043DD8A0 RRGGBBAA

Disable Casual Camera Rotation[edit | edit source]

Make Mario's movement independent from the camera

Code Source: Yoshi2

Gecko

USA
04251DD4 38000000
04029038 4E800020

Remove FLUDD Dialogue[edit | edit source]

Code Source: JoshuaMK

Gecko

USA
0414A2B8 60000000

Force HinoKuri2 State[edit | edit source]

Force HinoKuri2's level. X = Level

Code Source: Yoshi2

Gecko

USA
0405d5dc 3880000X

Disable Blue Coin Save Prompt[edit | edit source]

Code Source: Noki Doki

Gecko

USA
0429A73C 60000000

Modify Noki Bay Shine Requirement[edit | edit source]

XX = number of Shine Sprites in hexidecimal

Code Source: Yoshi2

Gecko

USA
042b79e0 2c0300XX

Red Coins Count As 2 Coins[edit | edit source]

Similar to Super Mario 64, a red coin will be worth 2 normal coins

Code Source: Noki Doki

Gecko

USA
061BE4DC 0000001C
7FC3F378 7FE4FB78
480007A5 7FC3F378
7FE4FB78 48000799
4800001C 00000000

Make Blooper Surfboards Global[edit | edit source]

The objects SurfGesoRed, SurfGesoYellow, & SurfGesoGreen have hardcoded initialization. This code removes that so it reads for the model in mapobj, making these objects possible to use anywhere.

Code Source: Yoshi2

Gecko

USA
061b74f8 00000028
60000000 60000000
60000000 60000000
60000000 60000000
387E0780 4810BA9D
28030000 418200A4