-
Notifications
You must be signed in to change notification settings - Fork 37
Tutorial: Hotspot Editor
someone write this page already lmao
okay fine I'm writing it but I don't know how the editor works so somebody still needs to write that part
Hotspots are rectangles on the map that the game can use to trigger events. There can only be two hotspots active at a time (there are two slots they can be in), but they can be any size (there's a huge one in Threed). When you activate a hotspot, you choose a slot for it, and a script that activates when the player steps in it. If the player is already in the hotspot when you activate it, it instead activates when they leave.
Because only two hotspots can be active at a time, something needs to actually set up the hotspot. For example, during the Dalaam sequence, talking to Poo's master activates the Mu Training hotspot. If you glitch or cheat your way over there ahead of time, nothing would happen.
To activate a hotspot in CCScript, use hotspot_on. The arguments are hotspot_on(slot, hotspot, label)
.
hotspot_on(1, 54, ExampleText)
ExampleText:
window_open(1)
"@Remember that time the Mach Pizza guy delivered zombie paper?" next
"@That was pretty funny." wait
window_closeall eob
This will display the above text when the player walks across Threed. Unless something else uses hotspot slot 1 first, then it'll be cancelled.
The control code version of the above script is:
[1F 66 SS HH TT TT TT TT]
- SS - The slot number, either 0 or 1
- HH - The hotspot number (in hex, of course)
- TT - The pointer to the text to activate when entering. This is Little Endian, AKA backwards.
For example, [1F 66 01 04 4F 9B C8 00]
uses slot 1 and hotspot 4, and when triggered loads text at l_0xc89b4f
- Mu Training
- UNUSED (Near Star Master at Mu Training)
- Take the Runaway Tour Bus from Twoson to Threed
- Take the Runaway Tour Bus from Fourside to Threed ("heh, there's no reason to wait")
- Tony goes to the Boarding School gate to boost Jeff
- Desert traffic jam ends
- Enables hotspot #8 when triggered
- Phase Distorter v3 appears in Cave of the Present
- Dungeon Man gets caught in palm trees
- Paula gets kidnapped in the Fourside Department Store. Enables hotspot #12
- Enables hotspot #10 when triggered
- "Ness, Customer Ness, please hurry to Paula...". Enables hotspot #13
- "Ness, Customer Ness..."
- Pokey appears at Devil's Machine
- Buzz Buzz rises from the Meteorite
- Star Master takes Poo away at the Pyramid
- UNUSED Photograph with Frank, never set up and actually unlocks photo from the "Onett scam house." Although unused in the actual game, it can be activated by selecting event #46 in the debug menu.
- UNUSED In front of Paula's house
- UNUSED In front of Paula's house
- Ness escorts Paula home
- UNUSED Twoson PSI Teleport landing strip
- Ness takes Paula to his house
- UNUSED Onett PSI Teleport landing strip
- Giant Step sanctuary melody
- Lilliput Steps sanctuary melody
- Rainy Circle sanctuary melody
- Milky Well sanctuary melody
- Magnet Hill sanctuary melody
- Pink Cloud sanctuary melody
- Lumine Hall sanctuary melody
- Fire Spring sanctuary melody
- Moonside Invisible Man dialogue 1. Enables hotspot #33
- Moonside Invisible Man dialogue 2. Enables hotspot #34
- Moonside Invisible Man dialogue 3. Enables hotspots #35 and #36
- Moonside Invisible Man dialogue 4. Enables hotspot #37
- Moonside Invisible Man dialogue 5. Enables hotspot #38
- Moonside Invisible Man dialogue 6
- Moonside Invisible Man dialogue 6 (same dialogue as hotspot #37)
- Lake Tess stops being windy
- Trying to enter the Dinosaur Museum without paying
- Star Master teaches Starstorm Omega
- Buzz Buzz's final words
- Starman Junior appears
- UNUSED Tiny spot in the sea in the Magicant spiral
- UNUSED In front of Giant Step's actual hotspot
- UNUSED In front of Lilliput Steps's actual hotspot
- UNUSED As you approach Carpainter
- Bubble Monkey chews gum and Tessie emerges
- Cultural Museum guy gives you the Hieroglyph Copy
- Trying to enter the Cultural Museum without paying
- Apple Kid calls about inventing a Phase Distorter
- Orange Kid calls about changing boiled eggs into raw eggs
- UNUSED Overlapping Tony's phone call door in Summers
- Apple Kid calls about the delivery of the Zombie Paper
- UNUSED Top left corner of the map
- Overworld Sprites
- Battle Backgrounds
- Battle Sprites
- Title Screen
- Window Graphics
- Logos
- Fonts
- Animations
- Swirls
- EB Project Editor
- Tile Data
- Tile Editor
- Collision Data
- Adding Map Palettes
- Map Editor
- Doors
- Warp Styles
- Enemy Placement
- Hotspots