Changes between Version 9 and Version 10 of WikiStart


Ignore:
Timestamp:
Jul 20, 2023, 10:11:58 PM (11 months ago)
Author:
pulkomandy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v9 v10  
    145145}
    146146}}}
     147
     148=== Easy access to the conditions in the game
     149
     150CONDGALE
     151
     152* Room 0, Chunk 0: {{{0E 00 8F 0E 95 01 01 95 02 01 87 01 0A 00 93 01 00}}}
     153* Room 0, Chunk 1: {{{09 01 00 00 97 91 09 97 FC}}}
     154
     155CONDULTI
     156
     157* Room 0, Chunk 0: {{{0D 64 00  96 00}}}
     158* Room 0, Chunk 1: {{{0D D0 00  80 FF 01}}}
     159* Room 0, Chunk 2: {{{0D D1 00  91 01 00}}}
     160* Room 0, Chunk 3: {{{0D 68 05  85 05 00 89 01 02 00 FD}}}
     161* Room 0, Chunk 4: {{{0D 68 05  7F 0A 01 0B 00 87 01 0A 00 FD}}}
     162* Room 0, Chunk 5: {{{0D 68 05  91 07 00}}}
     163* Room 0, Chumk 6: {{{0D 69 02  91 08 00}}}
     164
     165From this we can already see a pattern emerge:
     166
     1670D is followed by an action ID. For example, 68 is Manger, 69 is Lire, 64 is OK. The next byte would be the object to which the action is associated, with 00 being no object (global buttons D0 for Inventaire and D1 for Santé) and 01 and above being indices in the objects table defined in INIT objects chunk (05 is Pain au chocolat, 02 is Plan, so this all checks out).
     168
     169We can also see that 91 seems to be followed by a 16-bit value (1, 7 and 8 in these examples)?
    147170
    148171== INIT file