- Joined
- Apr 18, 2007
- Messages
- 12
I was wondering if this trigger could be reduced down a bit.
-
FireStone
-
Events
- Unit - A unit Acquires an item
-
Conditions
- (Item-type of (Item being manipulated)) Equal to Fire Stone
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- 133-Eevee 0098 <gen> Equal to (Triggering unit)
-
Then - Actions
- Set Items[0] = (Item carried by (Triggering unit) in slot 1)
- Set Items[1] = (Item carried by (Triggering unit) in slot 2)
- Set Items[2] = (Item carried by (Triggering unit) in slot 3)
- Set Items[3] = (Item carried by (Triggering unit) in slot 4)
- Set Items[4] = (Item carried by (Triggering unit) in slot 5)
- Set Items[5] = (Item carried by (Triggering unit) in slot 6)
- Unit - Remove (Triggering unit) from the game
- Set Temp_Point = (Position of (Triggering unit))
- Unit - Create 1 136-Flareon for (Owner of (Triggering unit)) at Temp_Point facing (Facing of (Triggering unit)) degrees
- Custom script: call RemoveLocation (udg_Temp_Point)
- Hero - Set (Last created unit) Hero-level to (Hero level of (Triggering unit)), Show level-up graphics
- Hero - Give Items[0] to (Last created unit)
- Hero - Give Items[1] to (Last created unit)
- Hero - Give Items[2] to (Last created unit)
- Hero - Give Items[3] to (Last created unit)
- Hero - Give Items[4] to (Last created unit)
- Hero - Give Items[5] to (Last created unit)
- Item - Remove (Item being manipulated)
- Game - Display to (Owner of (Triggering unit)), at offset (0.00, 0.00) for 10.00 seconds the text: Congratulations, Yo...
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- 037-Vulpix 0029 <gen> Equal to (Triggering unit)
-
Then - Actions
- Set Items[0] = (Item carried by (Triggering unit) in slot 1)
- Set Items[1] = (Item carried by (Triggering unit) in slot 2)
- Set Items[2] = (Item carried by (Triggering unit) in slot 3)
- Set Items[3] = (Item carried by (Triggering unit) in slot 4)
- Set Items[4] = (Item carried by (Triggering unit) in slot 5)
- Set Items[5] = (Item carried by (Triggering unit) in slot 6)
- Unit - Remove (Triggering unit) from the game
- Set Temp_Point = (Position of (Triggering unit))
- Unit - Create 1 038-Ninetails for (Owner of (Triggering unit)) at Temp_Point facing (Facing of (Triggering unit)) degrees
- Custom script: call RemoveLocation (udg_Temp_Point)
- Hero - Set (Last created unit) Hero-level to (Hero level of (Triggering unit)), Show level-up graphics
- Hero - Give Items[0] to (Last created unit)
- Hero - Give Items[1] to (Last created unit)
- Hero - Give Items[2] to (Last created unit)
- Hero - Give Items[3] to (Last created unit)
- Hero - Give Items[4] to (Last created unit)
- Hero - Give Items[5] to (Last created unit)
- Item - Remove (Item being manipulated)
- Game - Display to (Owner of (Triggering unit)), at offset (0.00, 0.00) for 10.00 seconds the text: Congratulations, Yo...
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- 058-Growlithe 0140 <gen> Equal to (Triggering unit)
-
Then - Actions
- Set Items[0] = (Item carried by (Triggering unit) in slot 1)
- Set Items[1] = (Item carried by (Triggering unit) in slot 2)
- Set Items[2] = (Item carried by (Triggering unit) in slot 3)
- Set Items[3] = (Item carried by (Triggering unit) in slot 4)
- Set Items[4] = (Item carried by (Triggering unit) in slot 5)
- Set Items[5] = (Item carried by (Triggering unit) in slot 6)
- Unit - Remove (Triggering unit) from the game
- Set Temp_Point = (Position of (Triggering unit))
- Unit - Create 1 059-Arcanine for (Owner of (Triggering unit)) at Temp_Point facing (Facing of (Triggering unit)) degrees
- Custom script: call RemoveLocation (udg_Temp_Point)
- Hero - Set (Last created unit) Hero-level to (Hero level of (Triggering unit)), Show level-up graphics
- Hero - Give Items[0] to (Last created unit)
- Hero - Give Items[1] to (Last created unit)
- Hero - Give Items[2] to (Last created unit)
- Hero - Give Items[3] to (Last created unit)
- Hero - Give Items[4] to (Last created unit)
- Hero - Give Items[5] to (Last created unit)
- Item - Remove (Item being manipulated)
- Game - Display to (Owner of (Triggering unit)), at offset (0.00, 0.00) for 10.00 seconds the text: Congratulations, Yo...
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events