2022-04-25 19:25:58 +09:00
# supSMS misc. code
## List of codes
||NTSC-J 1.0|NTSC-J 1.1|NTSC-U|PAL|
|-|:-:|:-:|:-:|:-:|
2022-04-26 01:21:27 +09:00
|[Pattern Selector](#pattern-selector)|◎|◎|[〇 ](https://twitter.com/torcnein/status/1518614922850148353)|? |
2022-08-31 21:12:06 +09:00
|[Instant Level Select](#instant-level-select)|◎||||
2022-04-26 01:21:27 +09:00
|[Instant Restart](#instant-restart)|◎|◎|[〇 ](https://twitter.com/torcnein/status/1518614922850148353)|? |
2022-04-25 20:36:39 +09:00
|[Fast Forward](#fast-forward)|◎|◎|? |? |
|[Skip Stage Intro](#skip-stage-intro)|◎|◎|? |? |
2022-04-29 00:11:41 +09:00
|[Mirror Mode](#mirror-mode)|◎|◎|[Source](https://discord.com/channels/83214196182880256/273126568795176960/960281550275104768)|? |
2022-08-31 21:12:06 +09:00
|[Spawn Yoshi](#spawn-yoshi)|◎||||
|[Load flags for Any%](#load-flags-for-any)|◎||||
2022-04-25 19:25:58 +09:00
◎: tested by sup39
2022-04-29 00:12:08 +09:00
〇 : tested by others
2022-04-25 19:25:58 +09:00
? : untested
## Usage
2022-04-25 20:36:39 +09:00
### Pattern Selector
- [Usage ](https://gct.zint.ch/code-reference/#pattern-selector )
- [Source code ](https://github.com/sup39/SMS-PatternSelector )
Note: **you need to enable `drawText` as well**
2022-08-31 21:12:06 +09:00
### Instant Level Select
- Press `B + D-Pad Up` to **restart the current area**
- The **respawn position** will be the same. It can be used to practice Honey Skip or stage movement in Delfino Plaza
- Press `{button of Level Select} + B + D-Pad Up` to activate Level Select immediately
- For `Z + B + D-Pad Up` , the current area will be restarted, but the **respawn position will be reset** . It is like B+DPad_Up, but the respawn position will be the default position instead of the previous one
- For `Y + B + D-Pad Up` , it will restart from the **previous selected area** . For example, if you select SB4 with this code, and enter hotel/casino then press Y+B+DPad_Up, it will restart from SB4 beach (instead of hotel/casino if you use B+DPad_Up or Z+B+DPad_Up)
- NOTE: **Z menu will be disabled**
- Press `R + D-Pad Left/Right` to enable/disable **Area Lock**
- With Area Lock, warps will restart the current area instead of sending Mario to other areas, which can be used to practice specific area (e.g. outside of BH2 wildmill, secret stage entering)
- Restarting acts like B+DPad_Up, and therefore can be used to practice Honey Skip, etc.
2022-04-25 20:36:39 +09:00
### Instant Restart
2022-04-25 19:25:58 +09:00
- press `Y + D-Pad Up` to restart without pausing + exit area
2022-08-31 21:12:06 +09:00
You can change the `0808` in the 3rd line to the [button input value ](https://app.sms.sup39.dev/code/button-calculator/ ) you want.
2022-04-25 19:25:58 +09:00
2022-04-25 20:36:39 +09:00
### Fast Forward
2022-04-25 19:25:58 +09:00
- press `B + D-Pad Down` to fast forward 4x
- press `B + D-Pad Up` to fast forward 8x (Note: this may cause lag)
This code handles QFT (but not SGT) properly.
2022-04-26 01:21:27 +09:00
### Skip Stage Intro
2022-04-25 19:25:58 +09:00
- press `R + D-Pad Up` to enable
- press `R + D-Pad Down` to disable
This code do not skip any frames but *fast forward* them.
Therefore, objects will still move as regular in the intro cutscenes,
but without being rendered on the screen.
This code also handles QFT (but not SGT) properly just like the [Fast forward ](#fast-forward ) code.
2022-04-25 20:36:39 +09:00
Note: **You may need to disable it manually when you are in secret stage and Bowser fight.**
2022-04-26 03:32:41 +09:00
### Mirror Mode
Ported from JoshuaMK's
[Mirror Mode (NTSC-U) ](https://discord.com/channels/83214196182880256/273126568795176960/960281550275104768 )
by [mapping memory among versions ](https://github.com/sup39/supSMS-Utils/blob/main/GeckoConverter/convert.ipynb ).
2022-04-26 03:38:32 +09:00
The function `TBathWaterFlatRenderer::render` is missing in NTSC-J 1.1 and PAL, and therefore the related codes are removed in these two versions.
2022-08-28 21:54:44 +09:00
### Spawn Yoshi
Press `Y +` the following button to spawn Yoshi with specific color and make Mario ride on Yoshi
- `D-Pad Left` : Orange
- `D-Pad Right` : Purple
- `D-Pad Down` : Pink
- `D-Pad Up` : Green
2022-08-31 19:59:04 +09:00
2022-08-31 21:12:06 +09:00
### Load Flags for Any%
2022-08-31 19:59:04 +09:00
Press `L + R +` C stick with the following direction `+ D-Pad Left` to load a preset file (flags) for Any% and spawn Mario in plaza
C Stick|State
:-:|--
↑|post-BH5 (pre-GB-unlock)
↗|post-GB7
→|post-PV7 (pre-PP-unlock)
↘|post-PP7
↓|post-RH7
↙|post-BH7 (pre-Yoshi-unlock)
←|post-SB7
↖|post-NB7 (pre-CM-unlock)
2022-11-02 18:29:58 +09:00
## QFT Freeze Extra
- Legde grab
- Pick up/Throw/Put object