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

m
→‎More fields?: maybe confusing
m (→‎More fields?: maybe confusing)
Line 19: Line 19:
:: While some bytes might be unlabelled or cryptic, a lot of them can be added. Yes I did change it to 11. While the UI lets you only type 7(+end byte), the save code explicitly copies 11 bytes: https://github.com/iimarckus/pokered/blob/master/engine/save.asm#L56-L58 [[User:Pepijndevos|Pepijndevos]] ([[User talk:Pepijndevos|talk]]) 07:35, 7 April 2015 (UTC)
:: While some bytes might be unlabelled or cryptic, a lot of them can be added. Yes I did change it to 11. While the UI lets you only type 7(+end byte), the save code explicitly copies 11 bytes: https://github.com/iimarckus/pokered/blob/master/engine/save.asm#L56-L58 [[User:Pepijndevos|Pepijndevos]] ([[User talk:Pepijndevos|talk]]) 07:35, 7 April 2015 (UTC)
:: The 8-11 bytes might actually be of interest in performing the [[Old man glitch]] [[User:Pepijndevos|Pepijndevos]] ([[User talk:Pepijndevos|talk]]) 08:57, 7 April 2015 (UTC)
:: The 8-11 bytes might actually be of interest in performing the [[Old man glitch]] [[User:Pepijndevos|Pepijndevos]] ([[User talk:Pepijndevos|talk]]) 08:57, 7 April 2015 (UTC)
:::I later noticed that things like Pokemon names/nicknames have a max length of 10, so I could suppose that's the basis of all user-input names. I've just noticed in the first link you gave the code "ds 11" after "PlayerName" and "RivalName", and the rival name field has the same discrepancy player name did, so I'll change it to 11 as well. [[User:Tiddlywinks|Tiddlywinks]] ([[User talk:Tiddlywinks|talk]]) 12:30, 7 April 2015 (UTC)
:::I later noticed that things like Pokemon names/nicknames have a max length of 10, so I could suppose that's the basis of all user-input names. I've just noticed, in the first link you gave, the code "ds 11" after "PlayerName" and "RivalName", and the rival name field has the same discrepancy player name did, so I'll change it to 11 as well. [[User:Tiddlywinks|Tiddlywinks]] ([[User talk:Tiddlywinks|talk]]) 12:30, 7 April 2015 (UTC)