Skip to content

Tutorial: Hotspot Editor

tolmar edited this page Feb 13, 2021 · 3 revisions

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

How hotspots work

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.

Hotspot scripting

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.

Hotspot control codes

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

List of the game's hotspots

  1. Mu Training
  2. UNUSED (Near Star Master at Mu Training)
  3. Take the Runaway Tour Bus from Twoson to Threed
  4. Take the Runaway Tour Bus from Fourside to Threed ("heh, there's no reason to wait")
  5. Tony goes to the Boarding School gate to boost Jeff
  6. Desert traffic jam ends
  7. Enables hotspot #8 when triggered
  8. Phase Distorter v3 appears in Cave of the Present
  9. Dungeon Man gets caught in palm trees
  10. Paula gets kidnapped in the Fourside Department Store. Enables hotspot #12
  11. Enables hotspot #10 when triggered
  12. "Ness, Customer Ness, please hurry to Paula...". Enables hotspot #13
  13. "Ness, Customer Ness..."
  14. Pokey appears at Devil's Machine
  15. Buzz Buzz rises from the Meteorite
  16. Star Master takes Poo away at the Pyramid
  17. 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.
  18. UNUSED In front of Paula's house
  19. UNUSED In front of Paula's house
  20. Ness escorts Paula home
  21. UNUSED Twoson PSI Teleport landing strip
  22. Ness takes Paula to his house
  23. UNUSED Onett PSI Teleport landing strip
  24. Giant Step sanctuary melody
  25. Lilliput Steps sanctuary melody
  26. Rainy Circle sanctuary melody
  27. Milky Well sanctuary melody
  28. Magnet Hill sanctuary melody
  29. Pink Cloud sanctuary melody
  30. Lumine Hall sanctuary melody
  31. Fire Spring sanctuary melody
  32. Moonside Invisible Man dialogue 1. Enables hotspot #33
  33. Moonside Invisible Man dialogue 2. Enables hotspot #34
  34. Moonside Invisible Man dialogue 3. Enables hotspots #35 and #36
  35. Moonside Invisible Man dialogue 4. Enables hotspot #37
  36. Moonside Invisible Man dialogue 5. Enables hotspot #38
  37. Moonside Invisible Man dialogue 6
  38. Moonside Invisible Man dialogue 6 (same dialogue as hotspot #37)
  39. Lake Tess stops being windy
  40. Trying to enter the Dinosaur Museum without paying
  41. Star Master teaches Starstorm Omega
  42. Buzz Buzz's final words
  43. Starman Junior appears
  44. UNUSED Tiny spot in the sea in the Magicant spiral
  45. UNUSED In front of Giant Step's actual hotspot
  46. UNUSED In front of Lilliput Steps's actual hotspot
  47. UNUSED As you approach Carpainter
  48. Bubble Monkey chews gum and Tessie emerges
  49. Cultural Museum guy gives you the Hieroglyph Copy
  50. Trying to enter the Cultural Museum without paying
  51. Apple Kid calls about inventing a Phase Distorter
  52. Orange Kid calls about changing boiled eggs into raw eggs
  53. UNUSED Overlapping Tony's phone call door in Summers
  54. Apple Kid calls about the delivery of the Zombie Paper
  55. UNUSED Top left corner of the map
Clone this wiki locally