version=2 #0 = status Condition - skip if all status or faint #1 = partial recovery - skip if fully healed #2 = single battle #3 = full recovery - Skip if fully healed #4 = Wild Pokemon #5 = Hard Battle+heal - not hinted if no healing needed #6 = no event #7 = Double Battle - skip if only one mon #8 = Lucy :if:=true @register.change(pikehintspot,3) @register.change(pikehint,4) @register.change(pikehinted,8) @player.move(0) @text.show(I am sorry to say...*A terrifying event,~yes, a horrible one,~is about to befall you...*I urge you to pay the utmost~care and prepare for~the worst...) :else @register.change(pikehintspot,) @register.change(pikehint,) :select: :when:0 :if: = none = none = none :if:=true @register.change(pikehinted,0) :else @register.change(pikehinted,) :endif :else @register.change(pikehinted,1) :endif :when:1 :if:=true @register.change(pikehinted,2) :else @register.change(pikehinted,) :endif :when:2 :if:=true @register.change(pikehinted,4) :else @register.change(pikehinted,) :endif :when:3 :if:=1 @register.change(pikehinted,6) :else :if:=0 @register.change(pikehinted,7) :else @register.change(pikehinted,6) :endif :endif :when:4 @register.change(pikehinted,8) :endwhen @storage.set(integer,potentialrooms,0) @storage.set(integer,roomcounter,0) :while:<8 :select: :when:0 :if:=0 :if: = none = none = none @storage.set(integer,potroom,0) @storage.update(integer,potentialrooms,+,1) :endif :endif :when:1 :if:=0 :if:=false @storage.set(integer,potroom,1) @storage.update(integer,potentialrooms,+,1) :endif :endif :when:2 :if:=1 @storage.set(integer,potroom,2) @storage.update(integer,potentialrooms,+,1) :endif :when:3 :if:=1 :if:=false @storage.set(integer,potroom,3) @storage.update(integer,potentialrooms,+,1) :endif :endif :when:4 :if:=2 @storage.set(integer,potroom,4) @storage.update(integer,potentialrooms,+,1) :endif :when:5 :if:=2 @storage.set(integer,potroom,5) @storage.update(integer,potentialrooms,+,1) :endif :when:6 :if:=3 @storage.set(integer,potroom,6) @storage.update(integer,potentialrooms,+,1) :endif :when:7 :if:=3 :if:=1 @storage.set(integer,potroom,7) @storage.update(integer,potentialrooms,+,1) :endif :endif :endwhen @storage.update(integer,roomcounter,+,1) :endwhile :endif @storage.set(integer,roomsset,0) :while:<3 :if:=true @register.change(pikeroom,8) :else :if: = @register.change(pikeroom,) :else @register.change(pikeroom,-1)>)>)>) :endif :endif @storage.update(integer,roomsset,+,1) :endwhile