Acmlm's Board - I2 Archive - Pokémon hacking - Multi problems
User | Post |
Totakeke
Posts: 11/73 |
I AM using #raw. That portion of the script is outdated and doesn't work.
It looks like multi needs another option after the Cancel option. After using #raw 1C and compiling, I reload the script in the rom and I see this in it's place:
multi 2 2 1C 0 21
With 21 being some option that isn't addressed in commands.html. |
Baro
Posts: 259/366 |
Originally posted by Totakeke [edit] I used #raw 6F [...] 6F 2 2 1C 0 'Menu for choosing Pokemon [...] What am I doing wrong?
The mistake is you're saying you're using #raw, but you aren't. #raw 6f 2 2 1c 0 'should work, if it doesn't, try the 0x thingy |
Totakeke
Posts: 10/73 |
[edit] I used #raw 6F instead of just plain ol' 6F, so now it works. So far..
I'm also having problems with multi.
I'm trying to get a menu to come up with 3 Pokemon (the option set 1C).
This is a portion of the script: '----------------------- #include std.rbh #org 0x9F9F90 setflag 0x800 setflag 0x801 setflag 0x802 message 0x16D25B boxset 0x6 6F 2 2 1C 0 'Menu for choosing Pokemon if 0x0 call 0x73F3F0 if 0x1 call 0x73F6C0 if 0x2 call 0x73F990 end
Well, see the 6F command (multi)? After I compile the script, that line completely disappears. It doesn't matter whether I use "multi", "choice" (which I saw being used in commands.html), or "6F". Those commands completely disappear when I load the rom.
What am I doing wrong? |
Kyoufu Kawa
Posts: 1154/2481 |
Here's the data you need. |
Baro
Posts: 254/366 |
So, I'll have to just try them and see what happens with each list... How namy lists are there in the game? can I create my own lists? -I wanted to make a list with the 3 jotho starters, and I don't think there is a list for that... |
Kyoufu Kawa
Posts: 1153/2481 |
bLeft and bTop are the top-left coordinates of the window. bList refers to the list of available choices.
The example uses #13, which gives Littleroot, Slateport and Lilycove. Other indices have different choices. |
Baro
Posts: 252/366 |
no, it's only one problem. I'm wondering how does the "multi" tag from rubikon work:
Commands.html multi (6F) multi bLeft bTop bList bCancel Puts up a list of choices for the player to make. Available choices depend on the value of bList. bCancel determines wether the player can press the B button to select the last item, if yes the last item should be "Cancel". As always, the player's choice is stored in LASTRESULT.
Example: message 0x604020 '"What city do you like best?" choice 2 2 13 0 'items available are littleroot, slateport and lilycove compare LASTRESULT 1 if 0 0x600030 'goto littleroot handler if 1 0x600050 'goto slateport handler 'lilycove handler starts right here, no "if LASTRESULT 3" needed.
I dunno what are bLeft bTop and bList. How can I put a list of 3 POK |
|