mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 06:38:40 +13:00
Add table assertion to TrainerDataPointers (#403)
* Add table assertion to `TrainerDataPointers` * Add table assertion to `TrainerNamePointers`
This commit is contained in:
parent
53805947c3
commit
20ebfd079f
2 changed files with 4 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
TrainerDataPointers:
|
||||
table_width 2, TrainerDataPointers
|
||||
dw YoungsterData
|
||||
dw BugCatcherData
|
||||
dw LassData
|
||||
|
|
@ -46,6 +47,7 @@ TrainerDataPointers:
|
|||
dw ChannelerData
|
||||
dw AgathaData
|
||||
dw LanceData
|
||||
assert_table_length NUM_TRAINERS
|
||||
|
||||
; if first byte != $FF, then
|
||||
; first byte is level (of all pokemon on this team)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue