/Circa
a face in the clouds.
- 881
- Posts
- 17
- Years
- Melbourne, Victoria
- Seen Jul 22, 2023
Need some help. You see when you are getting a pokemon, and oak tells you to get it, you can leave without getting it, anyone know how I can stop this from happening?
Code:#org $start compare 0x4055 0x2 if 0x1 call $hey release end #org $hey showmsgstatic $yo $yo 1 = OAK: Hey, Where are you going! boxset 6 applymovement 0xFF $come $come 1 ; 0x11 0xFE pausemove 0 end
That's what I got so far...
Well. I can see what you're talking about, i'm not perfect at these scripts but this should give you an idea -
* Just change the flag if you've used it.
* Add in the movements.
* Add in Oaks Event Number.
* Add in the getting pokemon event number.
Code:
#org $begin
checkflag 0x00
if b_false goto $come
[B]checkflag 0x200[/B]
if b_true goto $finished
applymovement 0x0 $oakcome
pausemove 0
message $stop
boxset 0x6
applymovement 0x00 $oakbring
pausemove 0
applymovement 0xFF $comewith
pausemove 0
[B]setflag 0x200[/B]
release
end
#org $stop
= Hey!\nWhere are you going!
#org $oakcome
#raw 0xFE 'Add in oaks coming movements.
#org $oakbring
#raw 0xFE 'Add in oaks taking movements.
#org $comewith
#raw 0xFE 'Add in the followme movements.
#org $finished
release
end
Dunno if it will work, but it's worth a try.