Skip to content

Instantly share code, notes, and snippets.

@TheLeftExit
Created July 31, 2019 23:14
Show Gist options
  • Save TheLeftExit/badc97d98a7011d6203e75230706a68b to your computer and use it in GitHub Desktop.
Save TheLeftExit/badc97d98a7011d6203e75230706a68b to your computer and use it in GitHub Desktop.
Growtopia RAM address/offset collection
Format: tab-delimited list of (name, offsets[]).
First offset is relative to main module's base address.
Some values are written as just a single offset from another one.
Name list:
pX Player's X coordinate (float), in pixels, relative to left edge of the world.
pY Player's Y coordinate (float), in pixels, relative to top edge of the world.
pD Player's direction (byte); 0 for right, 1 for left.
FG Foreground block located at [0,0] (int16).
BG Background block located at [0,0] (int16).
bX Offset of block [1,0] from [0,0].
bY Offset of block [0,1] from [0,0].
2.995
=====
pX 0x40E730 0xB10 0x188 0x8
pY 0x40E730 0xB10 0x188 0xC
pD 0x40E730 0xB10 0x188 0x131
FG 0x40E730 0xB10 0x130 0x28 0x4
BG 0x40E730 0xB10 0x130 0x28 0x6
bX 0x80
bY 0x3200
2.994
=====
pX 0x40A730 0xB10 0x180 0x8
pY 0x40A730 0xB10 0x180 0xC
pD 0x40A730 0xB10 0x180 0x131
FG 0x40A730 0xB10 0x130 0x8 0x28 0x4
BG 0x40A730 0xB10 0x130 0x8 0x28 0x6
bX 0x80
bY 0x3200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment