P3D-Legacy/P3D/Content/Data/Scripts/route39/barn_miltank.dat

43 lines
1.9 KiB
Plaintext

version=2
:if:<register.registered(miltank_healed)>=True
@Pokemon.Cry(241)
@Text.show(Miltank: MOO!)
:end
:endif
@Pokemon.Cry(241)
@Text.show(Miltank: ...Moo...*Its cry is weak...*Give an Oran Berry to~Miltank?)
@Options.show(Yes,No)
:when:Yes
:if:<inventory.countitem(2006)>=0
@Text.show(<player.name> has no~Oran Berries...)
:end
:endif
@Item.remove(2006,1)
:if:<register.registered(barn_miltank_1)>=False
@Text.show(Miltank became a~little healthier!)
@Register.register(barn_miltank_1)
:end
:endif
:if:<register.registered(barn_miltank_2)>=False
@Text.show(Miltank became a~quite healthy!)
@Register.register(barn_miltank_2)
:end
:endif
:if:<register.registered(miltank_healed)>=False
@Text.show(Miltank became~totally healthy!)
@Register.register(miltank_healed)
:end
:endif
:when:No
@Text.show(<player.name> wouldn't~give an Oran Berry.*Miltank looks sad.)
:endwhen
:end