New Horizons:Game Memory

Object Position


With ModelResLoader as our base (155AF3DC674), the object's position lives base-15C, or 155AF3DC518.



Object Scale


With ModelResLoader as our base, (155AF3DC674), the object’s scale is base+1ABC, or 155AF3DE130.

StructureParams
Something about the Structure/Filters (there are several in memory) have a pointer to the different StructureParams





States
As NPCs / Villagers move around, their internal state includes the action/animation they are currently performing. cSitOnGround, cWalk, cWait, etc.



StaticParam.pack
Includes all the static parameters in the game in byml format for NpcRoom, Gfx, NpcHouse, Layout, Insect, Seafood, Structure, Fish, Gizmo, ModelBlindLight, Camera, Actor, Weather, Item, Creature, UI, Fg, Npc, Ftr, MuseumStampRackItem, Net, Others.

mMoveSpeedMax.f32
Description: Controls the max run speed for the player

Pattern: 20 00 00 00 40 00 00 00 50 6C 61 79 65 72 41 63 74 6F 72 00 00 00 00 00

Offset: 768

Type: float





mJumpValleyMaxDist_Water.f32
Description: Controls the max distance between a valley for a player to jump over water

Pattern: 20 00 00 00 40 00 00 00 50 6C 61 79 65 72 41 63 74 6F 72 00 00 00 00 00

Set base to “PlayerActor”

Offset: + 0xD88 - 0x20

Type: float