News:

The forum has been updated to SMF (2.1.3)!
Please be patient as we work to polish up the place and update features as we can.

Main Menu

OOB Tile replacement - Air's Rock

Started by Daddy Poi's Oily Gorillas, 28, August, 2017, 06:25:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daddy Poi's Oily Gorillas

Similar to Tret (http://forum.goldensunhacking.net/index.php?topic=2836.0), GS2 also has some stuff that'll replace the tile at the player's coordinates. When out of bounds, this could edit other things. (It might get complicated, though.)

I haven't yet found a successfully exploitation result yet... (My assumption is it might only be good for TAS if there is something?)

There's one big thing to note, though... if you get off the tile that gets edited, it gets changed back to what it was.

Tiles are stored/grabbed from here:
02019118 = Approximate section for tiles grabbed.
02019124 = The tile gets stored here so it can change to whatever's here when you get off the tile.

Event ids to look at:
0x50 = 0000019C, 000001A8
0x51 = 0000019C, 000001A? ; ???
0x52 = 0000019C, 000001A? ; ???
0x53 = 0000019C, 000001A? ; ???

0x5A is also another, but it wasn't listed in the Retreat Map's event list. (Map 85 was what I was looking at.)


Tiles that are edited:...
Look at the pointer at 020301A4.
[020301A4]+0x8000 for the first tile to be changed.
[020301A4]+0x8200 for the second tile to be changed.

If OOB to the north -=0x200
If OOB to the west -=0x4
Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)

Plexa

1) If there were a way to find a credits warp, of course its in Airs Rock.

2) This is unrelated to the sprite table being filled up after a retreat warp, correct?

Daddy Poi's Oily Gorillas

#2
Well, of course! Before this topic, I kinda was messing with Walk-through-walls feature... and noticed something strange about how tiles are set... when getting off tiles/going to another unreachable location... so then that's when I looked into what was going on...
That of course, was originally in a room Retreat doesn't work, so I looked at a Retreat map a bit later to notice this thing...

---
Correct, I think... as I don't think this has anything to do with sprites.... just tilemap/map code?
Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)