Skip to content

Instantly share code, notes, and snippets.

@logicplace
Created February 2, 2021 22:42
Show Gist options
  • Save logicplace/335e4248c509583b4e4a8cdc613c0f18 to your computer and use it in GitHub Desktop.
Save logicplace/335e4248c509583b4e4a8cdc613c0f18 to your computer and use it in GitHub Desktop.
How party growth tables would be done for Tashi
static Party {
members: [
'Arnath', 'Lilith', 'Lichel', 'Cline', 'Isaiah', 'Abel',
'Nana', 'Slay', 'Kamil', 'Cynak', 'Zafan', 'Brigit',
'Satan', 'Slime', 'Nightmare', 'Kirikaze', 'White Tiger', 'Nebulous',
'Swordman'
]
list TablePoiners {
base: $01d47a
type: number { size: 4, endian: big }
length: @parent.members.length
}
data GrowthTables {
# Creates one set of growth tables for each member
base: @parent.TablePoiners.each
# Creates one growth table for each level
xlevel: [@{LevelTable}, 53]
}
data LevelTable {
endian: big
xstamina: [number, 1]
xmind: [number, 1]
xvitality: [number, 1]
xspeed: [number, 1]
xhp: [number, 2]
xmp: [number, 2]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment