Script XSE: Error 9 on line 55 Subscript out of range
Binary ROM HackingNeed a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.
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:
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
I made some comments that might help you fix your problem.
Spoiler:
#dynamic 0x800000
#org @start
lock
checkflag 0x200
if 0x1 goto @done
msgbox @t1 0x5
compare 0x800D 0x1
if 0x1 goto @yes
compare 0x800D 0x0
if 0x1 goto @no //This should point to another snippet of code, not message data
release
end