Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Pokémon hacking.
Acmlm's Board - I2 Archive - Pokémon hacking - Multi problems | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Baro

Hoarder
Level: 30

Posts: 252/366
EXP: 153824
For next: 12045

Since: 07-07-04
From: Portonovo, Spain

Since last post: 1 day
Last activity: 15 hours
Posted on 02-09-05 10:13 PM Link | Quote
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
Kyoufu Kawa
I'm not bad. I'm just drawn that way.
Level: 70

Posts: 1153/2481
EXP: 3008456
For next: 7355

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 02-09-05 10:29 PM Link | Quote
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

Hoarder
Level: 30

Posts: 254/366
EXP: 153824
For next: 12045

Since: 07-07-04
From: Portonovo, Spain

Since last post: 1 day
Last activity: 15 hours
Posted on 02-09-05 10:35 PM Link | Quote
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
I'm not bad. I'm just drawn that way.
Level: 70

Posts: 1154/2481
EXP: 3008456
For next: 7355

Since: 03-19-04
From: Catgirl Central

Since last post: 14 hours
Last activity: 13 hours
Posted on 02-10-05 06:25 PM Link | Quote
Here's the data you need.
Totakeke

Red Tektite
Level: 13

Posts: 10/73
EXP: 10241
For next: 26

Since: 02-05-05
From: California

Since last post: 6 days
Last activity: 2 hours
Posted on 02-15-05 07:40 AM Link | Quote
[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?


(edited by Totakeke on 02-15-05 03:55 AM)
Baro

Hoarder
Level: 30

Posts: 259/366
EXP: 153824
For next: 12045

Since: 07-07-04
From: Portonovo, Spain

Since last post: 1 day
Last activity: 15 hours
Posted on 02-16-05 09:52 PM Link | Quote
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

Red Tektite
Level: 13

Posts: 11/73
EXP: 10241
For next: 26

Since: 02-05-05
From: California

Since last post: 6 days
Last activity: 2 hours
Posted on 02-16-05 11:32 PM Link | Quote
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.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Pokémon hacking - Multi problems | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.005 seconds.