P3D-Legacy/P3D/Content/Data/Scripts/saffron/rotom/main.dat

40 lines
2.6 KiB
Plaintext

version=2
:if:<pokemon.number(0)>=479
:if:<pokemon.additionaldata(0)>=<storage.get(str,rotomname)>
@text.show(Oh, <pokemon.displayname(0)>~appears as if it wants to~revert to its original form.*Would you like to recall~it from the motor?)
@options.show(Recall,Cancel)
:when:Recall
@script.start(saffron\rotom\recall)
:end
:when:Cancel
:end
:endwhen
:else
@text.show(It is a <storage.get(str,devicename)>.*It has an odd-shaped~motor on it.*Oh?*<pokemon.displayname(0)> appears~as if it wants to go~into the motor.*Allow it to enter the motor?)
:if:<pokemon.additionaldata(0)>=
@options.show(Yes,No)
:when:Yes
@script.start(saffron\rotom\entermotor)
:end
:when:No
@text.show(<pokemon.displayname(0)> reluctantly~gave up on entering~the <storage.get(str,devicename)>'s motor...)
:end
:endwhen
:else
@options.show(Yes,Recall,No)
:when:Yes
@script.start(saffron\rotom\entermotor)
:end
:when:Recall
@script.start(saffron\rotom\recall)
:end
:when:No
@text.show(<pokemon.displayname(0)> reluctantly~gave up on entering~the <storage.get(str,devicename)>'s motor...)
:end
:endwhen
:endif
:endif
:else
@text.show(It is a <storage.get(str,devicename)>.*It has an odd-shaped~motor on it.)
:endif
:end