The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Multichoice box error

Notices
For all updates, view the main page.

Binary ROM Hacking Need 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.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old February 9th, 2016 (1:45 PM).
Shogun's Avatar
Shogun Shogun is offline
I'll be back
 
Join Date: Dec 2013
Location: France
Gender: Male
Posts: 527
Hey everybody!
I've made a script for a multichoice box but it says I 've made an error at line 12. Why?
Spoiler:

'---------------
#org 0xB11000
#dynamic 0xB11000
#org @start
lock
faceplayer
msgbox @welcome 0x6
closeonkeypress
multichoice 0x0 0x0 0x41 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0xZZZZ >>> here
compare 0x8000 0x1
if 0x1 goto 0xYYYY
compare 0x8000 0x2
if 0x1 goto 0xXXXX
compare 0x8000 0x3
if 0x1 goto 0xWWWW
compare 0x8000 0x4
if 0x1 goto 0xVVVV
compare 0x8000 0x5
if 0x1 goto 0xUUUU
compare 0x8000 0x6
if 0x1 goto 0xTTTT
compare 0x8000 0x7F
if 0x1 goto 0xSSSS
release
end

#org @ZZZZ
warp 0x2A 0x2C 0xFF 0x1C 0x0B
goto @start
end

#org @YYYY
warp 0x2A 0x42 0xFF 0x2F 0x0D
goto @start
end

#org @XXXX
warp 0x2A 0x4A 0xFF 0x0B 0x1A
goto @start
end

#org @WWWW
warp 0x2A 0x48 0xFF 0x35 0x28
goto @start
end

#org @VVVV
warp 0x29 0x49 0xFF 0x12 0x05
goto @start
end

#org @UUUU
warp 0x2A 0x44 0xFF 0x1C 0x29
goto @start
end

#org @TTTT
warp 0x2A 0x38 0xFF 0x13 0x14
goto @start
end

#org @SSSS
goto @start
end

#org @welcome
= Welcome to the "Johto Subway\nStation"! Please, choose your\ldestination.


Thanks.

edit : I'm stupid : problem solved.
__________________

Donate for Cloud White games Here >>>https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YJU6WGVDJ2SNL
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old February 11th, 2016 (7:43 AM).
Blah's Avatar
Blah Blah is offline
Free supporter
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Posts: 1,924
should be goto @ZZZZ not 0xZZZZ
__________________
...
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:08 AM.