- 5
- Posts
- 6
- Years
- Seen Sep 5, 2017
When I compiled my script for a squirtle starter it said Error 9 on line 55 Subscript out of range, even though I had only 34 lines. I am using wine, because I have a mac, and it has been working perfectly up until now. I have looked into it, and I did check the settings.ini and it said =0, here is the script:
#dynamic 0x800000
#org @start
lock
checkflag 0x200
if 0x1 goto @done
msgbox @t1 0x5
compare 0x800D 0x1
if 0x1 goto @yes
compare 0x800D 0x1
if 0x0 goto @no
release
end
#org @yes
givepokemon 0x7 0x5 0x0 0x0 0x0 0x0
setflag 0x200
release
end
#org @no
= [blue_fr]Okay, Just click the\nnext pokeball to check out\lthat pokemon.
release
end
#org @done
msgbox @t2 0x6
#org @t2
= [black_fr]You can?t take another!
release
end
#org @t1
= [black_fr]Choose [blue_fr]Squirtle[black_fr]?
release
end
If you know anything please tell me, thank you :)
Spoiler:
#dynamic 0x800000
#org @start
lock
checkflag 0x200
if 0x1 goto @done
msgbox @t1 0x5
compare 0x800D 0x1
if 0x1 goto @yes
compare 0x800D 0x1
if 0x0 goto @no
release
end
#org @yes
givepokemon 0x7 0x5 0x0 0x0 0x0 0x0
setflag 0x200
release
end
#org @no
= [blue_fr]Okay, Just click the\nnext pokeball to check out\lthat pokemon.
release
end
#org @done
msgbox @t2 0x6
#org @t2
= [black_fr]You can?t take another!
release
end
#org @t1
= [black_fr]Choose [blue_fr]Squirtle[black_fr]?
release
end
If you know anything please tell me, thank you :)
Last edited: