Frequently Asked Questions: Difference between revisions

Update unused and replaceable move list
Make list of editable moves collapsible
Line 120: Line 120:
The move list cannot be expanded at the moment, but there's some unused move slots that can be replaced without any side effects. They are the following:
The move list cannot be expanded at the moment, but there's some unused move slots that can be replaced without any side effects. They are the following:


<div class="mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.6;">List of unused moves (click the button to the right to expand)</div>
<div class="mw-collapsible-content">
* 361: Excavate (same effect as Rock Smash)
* 361: Excavate (same effect as Rock Smash)
* 362: Spin Slash (same effect as Cut)
* 362: Spin Slash (same effect as Cut)
Line 139: Line 142:
* 557: generic move sound effect ('''maybe''' safe to edit, not confirmed)
* 557: generic move sound effect ('''maybe''' safe to edit, not confirmed)
* 558: generic move sound effect ('''maybe''' safe to edit, not confirmed)
* 558: generic move sound effect ('''maybe''' safe to edit, not confirmed)
</div>
</div>


There's also a set of moves used for special purposes, which you can replace if you're certain their effect will never be called in your hack (for example, if you remove the Secret Bazaar, you can replace moves 421-423). These moves are the following:
There's also a set of moves used for special purposes, which you can replace if you're certain their effect will never be called in your hack (for example, if you remove the Secret Bazaar, you can replace moves 421-423). These moves are the following:


<div class="mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.6;">List of special moves (click the button to the right to expand)</div>
<div class="mw-collapsible-content">
* 357: Bide second half
* 357: Bide second half
** Displays a different message ID when used. This should be changed if the move is repurposed.
** Displays a different message ID when used. This should be changed if the move is repurposed.
Line 212: Line 220:
* 555: Skull Bash second half
* 555: Skull Bash second half
* 556: Ghost-type Curse animation
* 556: Ghost-type Curse animation
</div>
</div>
If you need even more slots, you can also replace existing regular moves with entirely new ones. If you choose to do so, keep in mind that some moves have hardcoded checks that will cause problems if you replace them, so you should probably shouldn't touch those. Here's the list of moves with known hardcoded behavior:
If you need even more slots, you can also replace existing regular moves with entirely new ones. If you choose to do so, keep in mind that some moves have hardcoded checks that will cause problems if you replace them, so you should probably shouldn't touch those. Here's the list of moves with known hardcoded behavior:


<div class="mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.6;">List of moves with hardcoded effects (click the button to the right to expand)</div>
<div class="mw-collapsible-content">
* 031: Weather Ball (has a special type check in <code>GetMoveTypeForMonster</code>)
* 031: Weather Ball (has a special type check in <code>GetMoveTypeForMonster</code>)
* 064: Thunder (has a special accuracy check in <code>MoveHitCheck</code>)
* 064: Thunder (has a special accuracy check in <code>MoveHitCheck</code>)
Line 224: Line 238:
* 471: Natural Gift (has a special check in <code>GetMoveTypeForMonster</code>)
* 471: Natural Gift (has a special check in <code>GetMoveTypeForMonster</code>)
* 526: Lunar Dance (has a hardcoded effect to set the user to 1 HP after using the move)
* 526: Lunar Dance (has a hardcoded effect to set the user to 1 HP after using the move)
</div>
</div>


=== How can I edit the way an item / move effect works? ===
=== How can I edit the way an item / move effect works? ===