Files
pokeemerald/include
LOuroboros eb7ddeb66c Updated the way in which ScriptGiveMonParameterized and ScrCmd_givemon chooe a default ability (#4192)
* Updated the way in which ScrCmd_givemon and ScriptGiveMon assign a default ability
When an abilityNum is not assigned in a call to givemon performed inside of an overworld script, ScriptGiveMonParameterized will make sure to generate an abilityNum of 0 or 1 in the same way vanilla does it; by defaulting to 0, and then tweaking it based on the least relevant bit of the Pokémon's personality.
ScriptGiveMon will set the default ability of a Pokémon in the same way now too, because even though it was rewritten in #3924, it should ideally produce a Pokémon in a similar way than vanilla does it.

* Removed pointless abilityNum setup in ScriptGiveMonParameterized
2024-02-15 08:01:34 +01:00
..
2024-01-29 08:51:32 -03:00
2023-08-07 10:29:02 +02:00
2024-01-29 08:51:32 -03:00
2023-12-20 15:26:28 +01:00
2024-01-04 13:30:42 +01:00
2023-11-21 19:18:18 +01:00
2024-01-16 00:45:13 +01:00
2024-01-29 08:51:32 -03:00
2024-01-04 16:04:00 +00:00
2024-01-29 08:51:32 -03:00
2023-08-10 20:11:07 -04:00
2023-10-02 17:28:37 -03:00
2023-08-10 20:11:07 -04:00
2024-01-04 16:07:12 +00:00
2023-03-08 12:00:30 -05:00
2024-01-04 16:12:39 +00:00
2024-02-10 18:14:36 +01:00
2024-02-10 18:08:09 +01:00
2023-02-09 23:12:29 +01:00
2023-12-03 13:17:34 +01:00
2024-01-09 18:47:23 +01:00
2023-07-24 19:42:56 +01:00
2024-02-10 18:14:36 +01:00
2023-01-07 11:39:56 -03:00
2023-12-12 23:20:22 +01:00
2023-12-20 15:26:28 +01:00
2023-11-24 15:57:08 +01:00
2024-02-10 18:14:36 +01:00
2023-01-17 21:49:06 +01:00
2023-08-10 20:11:07 -04:00
2023-09-20 19:04:50 -03:00
2023-02-11 22:36:42 -03:00