Frequently Asked Questions: Difference between revisions

Add Healing Wish to the list of moves with hardcoded behavior
m minor typo fix
Line 209: Line 209:
Yes! This can be done by adding a single line of code to the game. Add this line to the script you'd like to enable evolution in:
Yes! This can be done by adding a single line of code to the game. Add this line to the script you'd like to enable evolution in:
<syntaxhighlight>dungeon_mode(177) = DMODE_OPEN_AND_REQUEST;</syntaxhighlight>
<syntaxhighlight>dungeon_mode(177) = DMODE_OPEN_AND_REQUEST;</syntaxhighlight>
Refer to the [[List of Script Locations]] if you're looking for a particular scene in the game, and can't find the script. If you want to enable it at the very start of the game, you can add it to m01a0101.ssb. Note that this does not remove the evolution restriction from the hero/partner! This is a separate flag, which can be set with an additional line, alongside the prior ones:
Refer to the [[List of Script Locations]] if you're looking for a particular scene in the game, and can't find the script. If you want to enable it at the very start of the game, you can add it to m01a0101.ssb. Note that this does not remove the evolution restriction from the hero/partner! This is a separate flag, which can be set with an additional line, alongside the prior one:
<syntaxhighlight>$PERFORMANCE_PROGRESS_LIST[10] = 1;</syntaxhighlight>
<syntaxhighlight>$PERFORMANCE_PROGRESS_LIST[10] = 1;</syntaxhighlight>
These lines must be placed within <code>def 0 {</code>.
These lines must be placed within <code>def 0 {</code>.