x10power / ffmq_pack_x10power

Tracker for FFMQ Randomizer
0 stars 1 forks source link

[Auto-tracking] Add Location tracking #19

Open miketrethewey opened 1 year ago

miketrethewey commented 1 year ago
miketrethewey commented 1 year ago

@Poolsharky

miketrethewey commented 1 year ago

From wildham:

alright, the chests/boxes are at fixed array of flags at $0ec8, almost all 256 are used; the npcs/vendors have specific gameflags ($0eA8) assigned to them, i'd have to look it specifically which is which battlefields might be a bit more dicey, the game just care that you reached 0 battle count, but i don't think it takes any note beyond that npcs use gameflags, start at 0x0EA8, but it's case by case if the bit is flipped on or off on item given, so you have to be careful with that https://github.com/wildham0/FFMQRando/blob/820586ac0e1d4f8fb1685891e881da795485c512/FFMQRLib/Enums.cs#L80 chests also use a flags array starting at 0x0EC8, when the bit is flipped on when the chest has been opened there's no specific list since chest ids have been rolled in the room.yaml logic file https://github.com/wildham0/FFMQRando/blob/dev/FFMQRLib/datafiles/rooms.yaml battlefields just use give their item when 0 battle are lefts, start at 0x0FD4

From Giga:

the location where the game stores battles remaining in each battlefield is also known, I've just gotta look it up again the pro action replay codes are $7E0FD4-$7E0FE7

miketrethewey commented 2 months ago

Todo