1
0
Fork 0
supSMS-MiscCode/README.md

98 lines
4.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# supSMS misc. code (archived)
Please refer to [supSMS-GeckoCode](https://github.com/sup39/supSMS-GeckoCode) for the latest codes.
---
## List of codes
||NTSC-J 1.0|NTSC-J 1.1|NTSC-U|PAL|
|-|:-:|:-:|:-:|:-:|
|[Pattern Selector](#pattern-selector)|◎|◎|[](https://twitter.com/torcnein/status/1518614922850148353)||
|[Instant Level Select](#instant-level-select)|◎||||
|[Instant Restart](#instant-restart)|◎|◎|[](https://twitter.com/torcnein/status/1518614922850148353)||
|[Fast Forward](#fast-forward)|◎|◎|||
|[Skip Stage Intro](#skip-stage-intro)|◎|◎|||
|[Mirror Mode](#mirror-mode)|◎|◎|[Source](https://discord.com/channels/83214196182880256/273126568795176960/960281550275104768)||
|[Spawn Yoshi](#spawn-yoshi)|◎||||
|[Load flags for Any%](#load-flags-for-any)|◎||||
◎: tested by sup39
: tested by others
: untested
## Usage
### 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**
### 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.
### Instant Restart
- press `Y + D-Pad Up` to restart without pausing + exit area
You can change the `0808` in the 3rd line to the [button input value](https://app.sms.sup39.dev/code/button-calculator/) you want.
### Fast Forward
- 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.
### Skip Stage Intro
- 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.
Note: **You may need to disable it manually when you are in secret stage and Bowser fight.**
### 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).
The function `TBathWaterFlatRenderer::render` is missing in NTSC-J 1.1 and PAL, and therefore the related codes are removed in these two versions.
### 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
### Load Flags for Any%
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)
## QFT Freeze Extra
### Ex
- Legde grab
- Pick up/Throw/Put object
### Ex2
- Wall kick
- Rope jump (including 大車輪)
- Bounce (e.g. on umbrella, Amenbo)