aboutsummaryrefslogtreecommitdiffstats
path: root/SL0P.md
blob: 6d02fe032fd782c2344c9048babfa007957da008 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# POKéMON SL0P EDITION

A cheeky romhack of Pokémon Yellow, built on the [pret/pokeyellow](https://github.com/pret/pokeyellow)
disassembly. All the mods live in a handful of files and are toggled/used
entirely in-game — no external cheat device.

## Features

### ⚡ Fastboot
If a save exists, the game skips the GameFreak intro, the title screen, and the
CONTINUE menu, and drops you straight into your save. (New game still shows the
normal flow.)
- `home/init.asm` / `engine/movie/intro.asm` — skip the intro
- `engine/movie/title.asm` — skip the title
- `engine/menus/main_menu.asm` — autoload + splash

### 🎬 Custom intro splash
A brief **POKéMON / SL0P / EDITION** graphic (a real 2bpp image, not text) is
shown for ~2s on boot.
- `engine/slop_intro.asm` + `gfx/slop/intro.png` (built with a custom rgbgfx
  Makefile rule → deduped tiles + tilemap)

### 🎛️ SL0P MENU — press **SELECT** in the overworld
A table-driven cheat menu. Cursor + A to pick, B to back out / close.

| Entry | Effect |
|-------|--------|
| **WARP** | submenu: fly-warp to any of 13 destinations (all towns + Route 4/10) |
| **HEAL** | full HP + clear status for the whole party |
| **MONEY** | ¥999,999 |
| **COINS** | 9,999 game-corner coins |
| **BADGES** | all 8 gym badges |
| **DEX** | mark every Pokémon owned + seen |
| **MAXTEAM** | whole party → Lv100, perfect DVs, maxed EVs, 999 stats/HP |
| **TEACH** | give every party member Hyper Beam / Earthquake / Ice Beam / Thunderbolt |
| **HMS** | give all five HMs (Cut/Fly/Surf/Strength/Flash) |
| **ITEMS** | submenu: give ×99 of balls, Rare Candy, Full Restore, Max Revive, Max Elixer, PP Up, and all five evolution stones |
| **NOWILD** | toggle wild encounters off (shows `ON`) |
| **REPEL** | refill repel steps |
| **EXPLORE** | toggle noclip free-roam: disables collision so you (and Pikachu) walk through walls/NPCs/ledges and cross map connection seams seamlessly across the whole overworld. Pick it again to turn off. |

Everything is in `engine/slop_menu.asm`. Adding a new entry = add a name to
`SlopMenuText`, a `dw Handler` to `SlopMenuHandlers`, and bump `SLOP_MENU_COUNT`.
Handlers return carry set (a warp/exit was started) or clear (back to the menu),
and can be submenus or one-shot actions.

Persistent toggle flags: `wUnusedFlag` (NOWILD) and `wSlopNoclip` (EXPLORE, the
repurposed unused `wUnusedObtainedBadges` at D356).

**EXPLORE / noclip** hooks the home `CollisionCheckOnLand` (5-byte early-out when
`wSlopNoclip` is set; ROM0 room was reclaimed by deleting the unreferenced
`Func_0db5` dead farcall in `LoadMapHeader`). The engine's own player-walk +
connection-crossing code then carries you seamlessly across the world -- see
`tools/render_overworld.py` for the ground-truth map that proved connections join
maps along shared edges with an offset. (The player is left visible on purpose:
hiding it orphaned the Pikachu follower into a lone wandering sprite.)

## Build

```sh
make            # -> pokeyellow.gbc  (rgbds 1.0.1)
```

The build is reproducible; the intro graphic regenerates from `gfx/slop/intro.png`.