
Extract script from rematch notes
bloerwald opened this issue · 0 comments
Xufu now exports scripts in team notes, e.g.
Steinsammlerin:6Q6M:21202CP:201039U:1000R4:N:\n-----BEGIN PET BATTLE SCRIPT-----\nuse(Clobber:350) [enemy(#3).active]\nuse(Whirlpool:513)\nuse(Clobber:350) [round=2]\nuse(Fish Slap:1737)\nuse(Illuminate:460)\nuse(Feedback:484)\nuse(Water Jet:118)\nstandby\nchange(next)\n-----END PET BATTLE SCRIPT-----
Steinsammlerin:6Q6M:21202CP:201039U:1000R4:N:Strategie eingefügt von DragonsAfterDark\nThe third pet is probably overkill, but the enemies do use their moves randomly. If you get a couple of unlucky crits from the bigger hit abilities you might need the Water Spirit to clean up.Updated 2 August 24: Added a standby for Rupture's stun; updated moves for pet 1; swapped the Bound Stream for the Sophic Amalgamation\n\nRunde 1: Strudel\nRunde 2: Verprügeln\nRunde 3: Fischklatscher\nRunde 4: Fischklatscher\nEin gegnerisches Haustier wird aktiv\nRunde 1: Strudel\nRunde 2: Fischklatscher\nRunde 3: Fischklatscher\nRunde 4: Fischklatscher\nEin gegnerisches Haustier wird aktiv\nRunde 1: Verprügeln\nRunde 2: Strudel\nRunde 3+: Fischklatscher until dead\nAktiviere Weises Amalgam\nRunde 1: Erleuchten\nRunde 2+: Rückkopplung\nAktiviere Pandarischer Wassergeist\nRunde 1+: Wasserjet\n\n-----BEGIN PET BATTLE SCRIPT-----\nuse(Clobber:350) [enemy(#3).active]\nuse(Whirlpool:513)\nuse(Clobber:350) [round=2]\nuse(Fish Slap:1737)\nuse(Illuminate:460)\nuse(Feedback:484)\nuse(Water Jet:118)\nstandby\nchange(next)\n-----END PET BATTLE SCRIPT-----
- detect markers
- add script on our side
- remove script from note
- delete note if now empty
- Bonus points: hook directly before export and quickly add script into node and remove again right after export is done