implemented toggelable cancellation / multi-evo

This commit is contained in:
AgustinGDLV committed 2022-05-08 20:55:29 -07:00
1 parent 8a0a2a5a39
commit 54163240d8
5 files changed
+37 -15

No files matched your search

+7 -4
View File
@@ -1940,11 +1940,14 @@
special CreateEventLegalEnemyMon
.endm
@ Attempts to trigger a special evolution method.
@ 'evoMethod' is the evolution you want to trigger.
@ Attempts to trigger a special evolution method in the overworld.
@ There may be other conditions required which are coded for in GetEvolutionTargetSpecies.
@ EX: tryspecialevo EVO_WATER_SCROLL will trigger an evolution for Kubfu.
.macro tryspecialevo evoMethod:req
@ EX: tryspecialevo EVO_WATER_SCROLL, FALSE, FALSE triggers Kubfu's EVO_WATER_SCROLL evolution
@ method, cannot be cancelled in the evolution scene, and will only evolve one Kubfu if there
@ are multiple in the player's party.
.macro tryspecialevo evoMethod:req, canStopEvo=TRUE, tryMultiple=TRUE
setvar VAR_0x8000, \evoMethod
setvar VAR_0x8001, \canStopEvo
setvar VAR_0x8002, \tryMultiple
special TrySpecialOverworldEvo
.endm