Info dump about event pointers:
ewram
--- Layer2
4b6c 4byte What should happen with the event.
1 when event active
0 when not active
11 when timer
3 when searching for next valid event
5 waiting for a brother to reach a certain position
4b68 4byte timer
4acc 4byte pointer to the event
--- Layer1
4ac4 4byte active?
4ac0 4byte timer
4a24 4byte pointer to the event
---
#### JP:
todo:
- dragohoho
- get hammers
- get run away icon (battle)
- larry
2:0822de50 Panty Mario runs out the house
2:0820aec5 cruiser takes off
2:0820bf52 taking photo mario (too glitchy)
2:0820cc74 tutorial battle (goombas) #1 (pointless. Koopa tutor gone)
2:0820d51a tutorial battle (goombas #2 (pointless ". Game freezes after.)
2:0822edcf rope game
2:0822f963 tolstar (spawn where you came from after battle, may try to run dialogue. May crash in some rooms?)
2:08230339 stardust field bros jump tutorial (fadein)
2:0823397f orb game (broken. crashes emu)
2:08233c60 hohooros
1:dragohoho todo
1:hammers get todo
2:08234b4c fly onto the mountain / bowsers castle
2:0826246b cartgame
2:0820da50 hammer tutorial battle (pointless. Must have hammers otherwise softlocks.)
2:0823AA52 Bean Bean town Clothes shop (Buy)
2:0823AA8B Bean Bean town Clothes shop (Sell)
2:0823a9Ac Bean Bean town Item shop (Buy)
2:0823a9d8 Bean Bean town Item shop (Sell)
2:0823b1de Coffee screen
2:0823f7b5 enter sewers
1:0823fce4 queen bean (spawns you where you were after, glitchy and may crash.)
2:0823e59c badge tutorial (freezes after)
1:08235a9f popple and rookie battle (chuckola. freezes after)
1:08239192 chuckolator fight (strange clip after, but otherwise ok. You are where you were after.)
2:08237227 barrel swim to castle and cure queen bean lol (after chuckola)
1:08243695 fade into university cackletta cutscene (when you open the gate. You spawn before the gate after.)
1:08244fee cackletta fight (1st) (you are where you were after. Messes up the room and may freeze depending on your position in the room.)
1:08244ffb win
2:08246535 popple and rookie fight (university) (you are where you were after. glitches the room but seems ok)
2:08246815 starbean flies out of university cutscene. you are at oasis after. functional
1:0825c7eb university (starbean flies out)
fade into stardust field cutscene cackletta becomes bowletta:
does not seem to work. Maybe depending on if you had watched it already
2:0826616c (fade into)
1:0825cfdd (blue text)
Prince Peasly did not appear after travelling to main land (after watching bowletta cutscene).
2:0824787b mom piranha fight (you are where you were after. functional)
2:082472bb peach arrives in plane
the throne room door may be closed depending how far you are in the game.
2:08225a6b fade into beginning of peach escort (does not trigger the peach escort)
2:0826398e enter yellow pipe towards peach prison chamber (upper exit is where you were.. may be glitchy)
---
2:5ec00548 <-- Peach Speech Glitch in VBA v24 svn391 but what really happens does not depend on the event pointer alone.
2:5ec01283 <-- Peach Speech Glitch in VBA v24 svn391 map screen right before clicking into the credits
2:5ec012bd (0) <-- fade
in VBA, a glitch event occurs immediately
in VBA-Next, the event pointer is incremented until an event pointer that the game deems valid is set.
---
1:08226a2a trunkle fight (you are where you were after. May glitch up the room or crash depending on your position)
1:08226e39 lift to fungitown
2:082239c1 fungitown item shop (Buy)
2:08223a00 fungitown item shop (Sell)
2:08224c32 fungitown clothes shop (Buy)
2:08224c71 fungitown clothes shop (Sell)
2:082238f8 yellow pipe into fungitown
2:0822482a fungitown minigame
2:08224815 (11) fade
you are where you were after.
if it is the first time playing and you win, may cause glitchy behavior.
2:08224aa6 fade into mario is sick cutscene
2:08221463 fungitown room (peach kidnap cutscene)
2:08223b2d mario room (where he is sick)
1:08224705 return to castle after fungitown (after peach kidnap)
2:08248d82 barreling game. (spawns you in the ship)
2:082492d5 ship going off shore (spawns you in the sea)
2:0821c0ef fade into lagoons hand tutorial
untested what happens if already watched
1:0821ec4e hermie 3 fight (freezes after)
1:0821ee8f starbean piece get (May glitch up or freeze.)
1:082125e5 fade from designer to caged starbean piece
(needs to set position after fading back:
mario luigi
x 33000 27000
y 74000 74000 )
2:08215263 piranha bean fight. may glitch up or softlock after. you are where you were after.
2:0824a0b7 popple fight (alone). freezes.
2:0824c8c4 jojora and girlfriend fight. you are where you were. softlocked but fine otherwise?
2:0824dc23 fade into luigi cruiser
2:0824eb4c fade into luigi parachute. softlocks if you are controlling both bros. otherwise functional
2:082279d6 popple and birdo fight. freezes after
2:08211a55 enter bean bean town from the right
1:0823a517 trigger endgame (town broken down by bullet bills)
1:0823ef33 bowsers castle shoots bullet bills cutscene. spawns you in the castle, functional
1:0825ccf9 entering bowsers castle. functional
2:0824f426 leave bowsers castle. functional
2:0824f55f watch koopalings getting released. spawns you in bowsers castle at the start (in wall but easy to get out)
2:0824fc0b iggy fight (may or may not crash)
2:0824fd68 spawn in front of iggy's room. may only work as both bros.
2:08250218 morton fight (may or may not crash)
2:08250372 spawn in front of morton room. may only work as both bros.
2:08251226 lemmy fight
2:0825134f spawn in front of lemmy room
2:082525ca ludwig fight
2:082526e0 spawn in front of ludwig room
2:0825356f spawn in front of roy room
2:082536bb roy fight
2:082542dd wendy fight
2:082543cc spawn in front of wendy room
2:08254f8f spawn in front of larry
2:08255423 fawful fight (bowsers castle)
2:08255fce bowletta fight (you go to cackletta soul after. you are where you were after cackletta soul. glitchy after.)
1:082563c5 fade into ending (bowsers castle crumbling)
1:0825d3b1 fade into plane cutscene (ending)
1:0825d496 fade into staff credits
2:0825d4ba save game anywhere
2:0825c874 fadeout
2:08235071 make mario be full of water
2:08259403 enter green pipe map screen
(needs to set the index to a previously visited green pipe
needs to do so about a second later.)
Trigger a battle anywhere:
Frame n: 2:FFFFFFFF(1)
Frame n+1: 2:FFFFFFFF(3) 00000019
During the star animation, a valid event pointer for the battle
should be set. This works only for boss battles and some event
battles, since all other normal battles seem treated differently.
#### US:
to prevent crash after battle, use 2:08274bad
disable other layer.
2:08245870 Panty mario running out the house
1:08245f73 peach castle bomb voice boom
2:08222942 cruiser takes off
2:08223674 inventory tutorial (crashes after)
1:08224694 battle tutorial (cruiser #1). may crash
1:08224f23 battle tutorial (crusier #2). may crash
2:0822732c fade into on top of cruiser
1:08227c7c fawful fight (cruiser)
1:082463d9 arriving in stardust fields
2:082467c7 rope game
2:08247d28 stardust fields tutorial
2:08248a29 return from stardust fields tutorial
2:08247357 tolstar
2:0824b625 hohooros
1:0824a797 dragohoho
2:08279498 cart game
2:08279b52 losing cart game
2:08228989 enter bean town from left
2:08252b46 coffee screen
2:082570f2 enter sewers
1:08257621 queenbean
2:082524bd bean item shop Buy (cant move)
2:082524e9 bean item shop Sell
2:082523ba bean cloth shop Buy (cant move)
2:082523f3 bean cloth shop Sell
1:0824d44a popple and rookie (chuckola)
2:08250b03 chuckolator
2:0824ebd2 barrel swim back to castle
1:08255d41 queenbean gets cured
1:0825c8fb cackletta (university)
2:0825de3a popple and rookie (university)
2:0825e11a starbean flies out of the house
2:08232ae2 make luigi into surfboard (not reliable at all)
2:082296ea yellow pipe into sea (from main land)
2:0824ca2b makes mario full of water
2:0825f180 mom piranha
2:0825ebc0 peach arrives in plane
2:0823d4df peach escort start (does not trigger the escort unless peach is ready for the escort)
2:0827a9bb enter yellow pipe to peach prison (upper exit is where you came from)
1:0823e49e trunkle
1:0823e8ad lift to fungitown
2:0823b46f fungitown item shop Buy (cant move)
2:0823b4ae fungitown itemshop Sell
2:0823c6ae fungitown cloth shop Buy (cant move)
2:0823c6ed fungitown cloth shop Sell
2:0823b3a6 yellow pipe into fungitown
2:0823c2b0 fungitown minigame
you are where you were after.
if it is the first time playing and you win, may cause glitchy behavior.
2:0823c52b fade to mario is sick room (cutscene)
2:08238f2f bridge towards fungitown hospital
2:0823b5db enter mario is sick room
1:0823c19d to castle (cutscene after peach kidnapped)
2:08260674 barreling game
2:08231844 yellow pipe from sea to lagoons
2:08233bbb hands tutorial (lagoons)
1:0823671a hermie 3
2:08270aeb green pipe screen (may be glitchy)
2:08274b9e save anywhere
#### EU:
- not tested. May be the same as US or with an offset.
1:234567 means layer
1. So the active?-address of layer
1 has to be 01 to start the event. And the event pointer address has to be the value. Then the event starts on the spot. Make sure that the active?-address for the other layer is not active.
notes:
- When an event is "active" and you are on the pause screen or in battle, it will not run until you unpause or finish the battle (win the battle).
- When jumping to a boss battle, you are technically still in the room where you were. After the boss battle, you will be in that same room and the game may try to run a post-battle event which may glitch up if not in the room you're supposed to be. To fix this, make the event pointer address be certain value. This value is 0825d4c9 in JP (savescreen but does nothing when applied like this) so you effectively cancel all subsequent events.
- I found European text relating to minigames in the Japanese and US version. (worthy of noting on tcrf?)
- You can see the luigi changing from his peach outfit animation by moving his position. You can not normally see this animation otherwise (worthy of noting on tcrf?)
- Iggy: You can clip into the wall and skip his spinning around and you losing your controls. Is a timesaver in speedruns, in case nobody knew.
- Lemmy: He seems to be always fail first time you pound him or his clones. The 2nd time is RNG. 3rd and other times I didn't test but is probably RNG too.
- Roy: You can skip him jumping away and touch him, but you will fight Morton instead of him. After beating him, you will be in the center of the room and softlocked.