OBD:DPge: Difference between revisions

19 bytes added ,  30 November 2025
corrected whoopsie from 2007; this is a 32-bit pointer
m (missed this one)
(corrected whoopsie from 2007; this is a 32-bit pointer)
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtr| 0x00 | res_id   |FF0000| 01 71 10 00 | 4209 | 04209-lev_01_pg_01.DPge }}
{{OBDtr| 0x00 | res_id   |FF0000| 01 71 10 00 | 4209 | 04209-lev_01_pg_01.DPge }}
{{OBDtr| 0x04 | lev_id   |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x04 | lev_id   |FFFF00| 01 00 00 00 | 0    | level 0 }}
{{OBDtr| 0x08 | int16   |FFC8C8| 01 00      | 1    | level 1 }}
{{OBDtr| 0x08 | int16     |FFC8C8| 01 00      | 1    | level number }}
{{OBDtr| 0x0A | int16   |FFFFC8| 01 00      | 1    | page 1 }}
{{OBDtr| 0x0A | int16     |FFFFC8| 01 00      | 1    | page number }}
{{OBDtr| 0x0C | int8    |C8FFC8| 00          | 0    | 0 - normal page, 1 - learned move page }}
{{OBDtr| 0x0C | bool      |C8FFC8| 00          | 0    | 0 - normal page, 1 - learned move page }}
{{OBDtr| 0x0D | char[3] |C8FFC8| DE AD DE    | dead | unused }}
{{OBDtr| 0x0D | char[3]   |C8FFC8| DE AD DE    | dead | padding }}
{{OBDtr| 0x10 | int32[12]|C8FFC8| 00 00 00 ...| 0    | action icons; always zero }}
{{OBDtr| 0x10 | uint32[12]|C8FFC8| 00 00 00 00 | 0    | action icons; always zero }}
{{OBDtr| 0x40 | int16    |C8FFFF| 01 6B 10 00 | 4203 | link to 04203-.[[OBD:IGPG|IGPG]] }}
{{OBDtr| 0x40 | link      |C8FFFF| 01 6B 10 00 | 4203 | link to 04203-.[[OBD:IGPG|IGPG]] }}
|}
|}


Line 22: Line 22:


;Action icons
;Action icons
:While this field is unused in all existing DPges, Oni still uses the data if it is provided. The purpose is to provide visual instructions for performing a move (assuming this is a move page). Until reaching 12 actions or an int32 that is zero, Oni will walk through these values and display icons left-to-right in the sub-text area of the diary page for the following actions. The TXMPs for each action are determined by [[OBD:KeyI|KeyI]].
:While this field is unused in all existing DPges, Oni still uses the data if it is provided. The purpose is to provide visual instructions for performing a move (assuming this is a move page). Until reaching 12 actions or a uint32 that is zero, Oni will walk through these values and display icons left-to-right in the sub-text area of the diary page for the following actions. The TXMPs for each action are determined by [[OBD:KeyI|KeyI]].
::''Modifiers'' (add this bit on top of an action):
::''Modifiers'' (add this bit on top of an action):
::Hold this key = 0x1000
::Hold this key = 0x1000