Talk:Save data structure (Generation I): Difference between revisions

Continued discusson on rebattle trainers
(→‎Rebattle Trainers: Update to my last comment)
(Continued discusson on rebattle trainers)
Line 36: Line 36:


:::Update. The Veridian forest trainer flags are found in offset 0x2A9F, which is an offset of AC more than the first value in the constants file. This suggests the starting point for the flags is 0x29F3 and the ending is 0x2B32, higher than my original estimate. I'm not sure what data is held below that down to 0x29C0, but zeroing that part out didn't seem to damage my save file in any noticeable way for the few minutes I tested it. If there are no objections I will add to the article where the event flags start, what their size is, and a brief textual section on what that means for the reader. [[User:Oaoutpost0|Oaoutpost0]] ([[User talk:Oaoutpost0|talk]]) 23:06, 13 February 2018 (UTC)
:::Update. The Veridian forest trainer flags are found in offset 0x2A9F, which is an offset of AC more than the first value in the constants file. This suggests the starting point for the flags is 0x29F3 and the ending is 0x2B32, higher than my original estimate. I'm not sure what data is held below that down to 0x29C0, but zeroing that part out didn't seem to damage my save file in any noticeable way for the few minutes I tested it. If there are no objections I will add to the article where the event flags start, what their size is, and a brief textual section on what that means for the reader. [[User:Oaoutpost0|Oaoutpost0]] ([[User talk:Oaoutpost0|talk]]) 23:06, 13 February 2018 (UTC)
:::Update 2. I must be bad at math or the offsets in the assembly file don't correspond to offsets in the save file. I think the event flags start immediately or soon after the casino coins and go at least through the end of the offset described earlier. I know this because the flag to check if you have the town map comes before offset 0x29F3 (I copied over a bunch of values from a prefight save state that I had made so I don't know which one exactly it corresponds to). [[User:Oaoutpost0|Oaoutpost0]] ([[User talk:Oaoutpost0|talk]]) 03:29, 14 February 2018 (UTC)
5

edits