222
edits
(add battle style) |
|||
Line 85: | Line 85: | ||
To access the Mind rating for any particular move, take the corresponding index in this array. | To access the Mind rating for any particular move, take the corresponding index in this array. | ||
== Battle Style Moves == | |||
In determining a trainer's battle style, seven lists of moves are kept by the game, and from these, one of nine battle styles is determined. The trainer's Pokémon's moves are matched up against these seven lists, and a list is considered "satisfied" if the trainer has enough moves from that list (this is three moves for the first four lists and two moves for the last three). The game then determines the battle style based on how many of the lists are satisfied (either none, 1-2, or at least 3; the middle one of which will also state the last list that was satisfied, for a total of 9 styles). | |||
The master list of moves used in determining battle style is stored as an array of 7 pointers to lists of 16-bit unsigned integers, referring to the corresponding indices in the master move list (see [[List of moves]]). All seven lists have no fixed length, and are terminated with 0x0000. | |||
{| class="wikitable" | |||
! Address !! Battle Style | |||
|- | |||
| 0x08611FC8 || "... one based on total preparation" | |||
|- | |||
| 0x08611FCC || "... slow and steady" | |||
|- | |||
| 0x08611FD0 || "... one of endurance" | |||
|- | |||
| 0x08611FD4 || "... high risk, high return" | |||
|- | |||
| 0x08611FD8 || "... weakening the foe to start" | |||
|- | |||
| 0x08611FDC || "... impossible to predict" | |||
|- | |||
| 0x08611FE0 || "... depend on the battle's flow" | |||
|} | |||
The lists of moves appear immediately before the seven pointers themselves in the game ROM. | |||
[[Category:Structures]] | [[Category:Structures]] |
edits