Script Help Thread (DO NOT REQUEST SCRIPTS) Page 379

Started by HackMew December 20th, 2008 5:10 AM
  • 625717 views
  • 9682 replies
Male
Netherlands
Seen February 5th, 2015
Posted March 14th, 2014
9 posts
9.2 Years

...also, are you sure that it's [setflag 1201], not [setflag 0x1201]?
Lol, setflag 1201. Dont know if I actually put that in the script but that flag is working anyway. I fixed it that the sprites will disappear the moment you reenter the map after being warped.
Male
Seen January 21st, 2015
Posted May 25th, 2014
21 posts
9.3 Years
What version of XSE do you have? I have seen this issue with v1.0.0. You need the latest from Gamer2020's tools thread. Also, that var is a terrible option in my opinion. var 0x4000 is very unreliable due to being a temporary var.
I downloaded the newest XSE and compiled it again and now it worked. Thanks! :)
Also, which var would you suggest if 0x4000 is unstable?
To see a preview of my hack, click here: http://neoastralcomet.deviantart.com/art/Pokemon-Fairy-Blue-First-Screenshots-452441269

Hacks I'm working on:

Hacks I support:


Male
Netherlands
Seen February 5th, 2015
Posted March 14th, 2014
9 posts
9.2 Years
XSE gives me a error on line 9. Error code: Type mismatch no #define. But i have no clue what i'm doing wrong.
Spoiler:
#dynamic 0x801105

#org @start
checkflag 0x202
if 0x1 goto @done1
checkflag 0x201
if 0x0 goto @done2
msgbox @ask1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @talk1 0x6
release
end

#org @take
hidesprite 0x5
setflag 0x1203
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x202
msgbox @ask2 0x5
compare LASTRESULT 0x1
if 0x1 call @name
release
end

#org @done1
msgbox @done 0x6
release
end

#org @done2
msgbox @before 0x6
release
end

#org @done
= You already have chosen a pokemon\nfrom the table.

#org @before
= Lovely pokebal but not yours\nbetter not take it or it would be\lstealing!

#org @ask1
= Do you want the fire type pokemon\nCHARMANDER?

#org @ask2
= Do you want to give your\nCHARMANDER a nickname?

#org @talk1
= Take the time to make a choice!

karatekid552

What happens if I push it?....

Male
Do you really want to know? Really?
Seen January 12th, 2015
Posted December 14th, 2014
1,771 posts
10.5 Years
XSE gives me a error on line 9. Error code: Type mismatch no #define. But i have no clue what i'm doing wrong.
Spoiler:
#dynamic 0x801105
#Define LASTRESULT 0x800D

#org @start
checkflag 0x202
if 0x1 goto @done1
checkflag 0x201
if 0x0 goto @done2
msgbox @ask1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @talk1 0x6
release
end

#org @take
hidesprite 0x5
setflag 0x1203
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x202
msgbox @ask2 0x5
compare LASTRESULT 0x1
if 0x1 call @name
release
end

#org @done1
msgbox @done 0x6
release
end

#org @done2
msgbox @before 0x6
release
end

#org @done
= You already have chosen a pokemon\nfrom the table.

#org @before
= Lovely pokebal but not yours\nbetter not take it or it would be\lstealing!

#org @ask1
= Do you want the fire type pokemon\nCHARMANDER?

#org @ask2
= Do you want to give your\nCHARMANDER a nickname?

#org @talk1
= Take the time to make a choice!

LASTRESULT is not defined, which means you are missing the key std.rbc file that comes with XSE. You can manually define it like I did in your spoiler above.

Paired with Simba

Joexv

ManMadeOfGouda
joexv.github.io

Age 25
Male
Oregon
Seen January 26th, 2023
Posted April 8th, 2022
1,035 posts
10.6 Years
OK so im having a few issues with some scripts. First off everytime i fight this trainer it causes it to be a double battle
Spoiler:
'---------------
#org 0x801352
trainerbattle 0x0 0x4B 0x0 0x880136A 0x8801396
msgbox 0x88013AE MSG_NORMAL '"Just dont tell the cheif."
end


'---------
' Strings
'---------
#org 0x80136A
= Hey! You're not suppossed to be\nout here!

#org 0x801396
= I guess I was wrong..

#org 0x8013AE
= Just dont tell the cheif.
He is checked as a trainer in a-map, he only has one pokemon and it is not set as a double battler in a-trainer. This also happens to 2 others who have almost the exact same script.

Also im having a level script issue.
Spoiler:
'---------------
#org 0x801A8F
setvar 0x4095 0x1
spriteinvisible 0x1 0x43 0x0
setflag 0x1017
release
end
The flag in a-map is set to 4095, and the value to 4000. it is using the [2] script type. The issue with this is that it wont hide the sprite on the previous map. yea does have his person id set to 1017 too.
Thanks!
New living flesh vessel who dis?

ShyRayq

Unprofessional Unprofessional

Male
Seen 4 Days Ago
Posted March 2nd, 2023
1,855 posts
15.7 Years
OK so im having a few issues with some scripts. First off everytime i fight this trainer it causes it to be a double battle
Spoiler:
'---------------
#org 0x801352
trainerbattle 0x0 0x4B 0x0 0x880136A 0x8801396
msgbox 0x88013AE MSG_NORMAL '"Just dont tell the cheif."
end


'---------
' Strings
'---------
#org 0x80136A
= Hey! You're not suppossed to be\nout here!

#org 0x801396
= I guess I was wrong..

#org 0x8013AE
= Just dont tell the cheif.
He is checked as a trainer in a-map, he only has one pokemon and it is not set as a double battler in a-trainer. This also happens to 2 others who have almost the exact same script.

Also im having a level script issue.
Spoiler:
'---------------
#org 0x801A8F
setvar 0x4095 0x1
spriteinvisible 0x1 0x43 0x0
setflag 0x1017
release
end
The flag in a-map is set to 4095, and the value to 4000. it is using the [2] script type. The issue with this is that it wont hide the sprite on the previous map. yea does have his person id set to 1017 too.
Thanks!
Okay, to the trainerbattle script, I've had this a couple times, and I think its because the original slot there belonged to a Double Trainer battle and its hardcoded that way or something, so just change the slot a few times and it should work. Also its "Chief" not "Cheif"

For the level script, you have a few issues.
1. The value should be 0. In order for it to be 4000, you'd have to put setvar 0x4095 0x4001 somewhere in your script. The value is the value you set your var as - 1.
2. Don't use setflag 0x1017. I'm guessing you're using Fire Red, and that flag is unsafe. Check in the tutorial section for KarateKid's Vars, and Flags tutorial for a list of all the safe flags.
3. Also, that command "SpriteInvisible". I've never seen it before, so I'm not sure if it actually works. To be safe, I'd just move the sprite somewhere off screen and do a setflag then, but just test it first.
3DS Friend Code: 5069-3944-3902
IGN: Peter; (X, Y, OR, AS, S, M, US, UM)
Friend Safari: (Fighting) Throh, Meditite, Breloom
Living Pokedex Complete: Y, C, R, LG, E, D, Pl, HG, B, B2, X, Y, OR, AS, M, UM, LGP, Sw, LA
Big thanks especially to DestinedJagold, Xerneas_X, Elements1, ~RNC~ and ThePoke Man

PM me if you want to trade, or add my FC.

Joexv

ManMadeOfGouda
joexv.github.io

Age 25
Male
Oregon
Seen January 26th, 2023
Posted April 8th, 2022
1,035 posts
10.6 Years
Okay, to the trainerbattle script, I've had this a couple times, and I think its because the original slot there belonged to a Double Trainer battle and its hardcoded that way or something, so just change the slot a few times and it should work. Also its "Chief" not "Cheif"

For the level script, you have a few issues.
1. The value should be 0. In order for it to be 4000, you'd have to put setvar 0x4095 0x4001 somewhere in your script. The value is the value you set your var as - 1.
2. Don't use setflag 0x1017. I'm guessing you're using Fire Red, and that flag is unsafe. Check in the tutorial section for KarateKid's Vars, and Flags tutorial for a list of all the safe flags.
3. Also, that command "SpriteInvisible". I've never seen it before, so I'm not sure if it actually works. To be safe, I'd just move the sprite somewhere off screen and do a setflag then, but just test it first.
With the trainers i just went back to remake them like you suggested and it turns out i was stupid and checked the double battle on accident.XD

1Ok ill change the value, idk why but i had it somewhere else so i figured thats what i needed to use again.
2alright i switch flags. I forgot that the was a list of that kind of thing.
3Spriteinvisible is a command that can hide a sprite thats not on the same map.
so it would be used spriteinvisible 0x(person event #) 0x(map bank) 0x(map number)
its super helpful.
New living flesh vessel who dis?
Earth
Seen January 3rd, 2016
Posted February 16th, 2015
35 posts
9.2 Years
#dynamic 0x800311

#org 0x2403DD
checkflag 0x1215
if 0x1 goto @done
if 0x0 goto @battle
lock
faceplayer
callstd 0x6
cry 0xFC 0x6
release
end

#org @battle
wildbattle 0xFC 0xA 0x6E
fadescreen 0x0
setflag 0x200
release
end

#org @done
hidesprite LASTTALKED
release
end

I have this set-up(im kinda new at scripting...) ._. it does the battle with the pokemon but after the battle, the pokemon is still there. help? I want the pokemon sprite to disappear after the battle.[/B][/SIZE][/COLOR][/FONT]

destinedjagold

You can contact me in PC's discord server...

Age 32
Male
Seen 3 Days Ago
Posted March 24th, 2023
8,579 posts
16 Years
#dynamic 0x800311

#org 0x2403DD
checkflag 0x1215
if 0x1 goto @done
if 0x0 goto @battle
lock
faceplayer
callstd 0x6
cry 0xFC 0x6
release
end

#org @battle
wildbattle 0xFC 0xA 0x6E
fadescreen 0x0
setflag 0x200
release
end

#org @done
hidesprite LASTTALKED
release
end

I have this set-up(im kinda new at scripting...) ._. it does the battle with the pokemon but after the battle, the pokemon is still there. help? I want the pokemon sprite to disappear after the battle.[/B][/SIZE][/COLOR][/FONT]
Write the flag on the PKMN NPC's Person ID.
Spoiler:

wheat32

smittywheat

Age 26
Male
USA, Pennsyvania
Seen March 17th, 2014
Posted March 13th, 2014
11 posts
9.2 Years
I'm very new to ROM hacking, and I've searched nearly everywhere to find something that could help me with this. This may be very n00by to a lot of you, but it's new to me. I'm receiving an error when I try to debug my script. The error is as follows: Error 13 "Type Mismatch" on Line 6. Missing dynamic label.
Here is the script:
Spoiler:
#dynamic 0x801500
#org @momTalk
checkflag 0x100
if 0x0 goto @give
msgbox @2 0x2
applymovement 0x01 @move
end

#org @give
msgbox @1 0x2
setflag 0x100
applymovement 0x01 @move
end

#org @1
= You woke up late again\n\v\h01.\lYou're 15 now, you still don't\lhave a job, or have a\lPokémon from Professor\lMalton, and all you do is sleep.\lGo do something before I get\leven more mad at you.

#org @2
= Go do something \v\h01.\nDon't make me anymore mad than I\lalready am.

#org move
#raw 0x2
#raw 0xFE

Any help would be appreciated! :)

Joexv

ManMadeOfGouda
joexv.github.io

Age 25
Male
Oregon
Seen January 26th, 2023
Posted April 8th, 2022
1,035 posts
10.6 Years

It is there in my script. I must've forgot to add that when I pasted it. I've edited my post to include it.
Ok i figured it out. In your script
this
#org move
#raw 0x2
#raw 0xFE
Should be this
#org @move
#raw 0x2
#raw 0xFE
You forgot the @ right before move.
hope that helps.
New living flesh vessel who dis?

wheat32

smittywheat

Age 26
Male
USA, Pennsyvania
Seen March 17th, 2014
Posted March 13th, 2014
11 posts
9.2 Years
Ok i figured it out. In your script
this
#org move
#raw 0x2
#raw 0xFE
Should be this
#org @move
#raw 0x2
#raw 0xFE
You forgot the @ right before move.
hope that helps.
Thank you so much! :) I'm not sure how I overlooked that, but thank you for fixing it!

Joexv

ManMadeOfGouda
joexv.github.io

Age 25
Male
Oregon
Seen January 26th, 2023
Posted April 8th, 2022
1,035 posts
10.6 Years
Back again with a question! I'm using eXtreme Script Editor, and I want to know if it's possible to use msgbox @x 0x5 to give options other than yes/no, and if there can be more than two options.
Thanks in advance!
No you use a script like this:
Spoiler:

#dynamic 0x800000
#org
lock
faceplayer
msgbox @talk 0x6
Multichoice 0x0 0x0 0x? 0x?
release
end

the first ? is the multichoise option you want, so 1 = Eevee/Flareon/Jolteon/Vaporeon/Quit (in fire red)
the second ? is 0x0: press B and it closes the menu.
0x1: If you press B the menu does not close.
heres a list of fire red multichoise options
Spoiler:
0 = Yes/No
1 = Eevee/Flareon/Jolteon/Vaporeon/Quit
2 = Normal/Black/Pink/Sepia
3 = Hall of Fame/Quit
4 = Eggs/Quit
5 = Victories/Quit
6 = Hall of Fame/Eggs/Quit
7 = Hall of Fame/Victories/Quit
8 = Eggs/Victories/Quit
9 = Hall of Fame/Eggs/Victories/Quit
A = Exit
D = Bicycle $1000000/No thanks.
E = Abra 200 coins/Clefairy 500 coins/Dratini 2100 coins/Scyther 5500 coins/Porygon 9,999 coins/No thanks.
F = SLP/PSN/PAR/BRN/FRZ/Exit
10 = Yes/No/Info
11 = Single Battle/Double Battle/Multi Battle/Info/Exit
12 = Yes/No/Info
13 = Make a Challenge/Info/Exit
14 = Rooftop/B1F/Exit
15 = Helix Fossil/Exit
16 = Dome Fossil/Exit
17 = Old Amber/Exit
18 = Helix Fossil/Old Amber/Exit
19 = Dome Fossil/Old Amber/Exit
1A = Fresh Water $200/Soda Pop $300/Lemonade $350
1B = 50 coins $1000/500coins $10000/Exit
1C = Excellent/Not so bad.
1D = Right/Left
1 = TM25 5500 5500 coins/TM14 coins/TM38 5500 coins/TM23 4500 coins/TM26 6500 coins / No. thanks.
1F = 5F/4F/3F/2F/1F/Exit
20 = Fresh Water/Exit
21 = Soda Pop/Exit
22 = Fresh Water/Soda Pop/Exit
23 = Lemonade/Exit
24 = Fresh Water/Lemonade/Exit
25 = Soda Pop/Lemonade/Exit
26 = Fresh Water/Lemonade/Exit
27 = Trade Center/Coliseum/Exit
28 = Game Link Cable/Wireless/Exit
29 = Smoke Ball 800 coins/Miracle Seed 1000 coins/Charcoal 1000 coins/Mystic Water 1000 coins/Yellow Flute 1600 coins/No thanks.
2A = B1F/B2F/B4F/Exit
2B = Linked Game Play/Direct Corner/Union Room/Quit
2C = Two Island/Three Island/Exit
2D = One Island/Three Island/Exit
2E = One Island/Two Island/Exit
2F = Trade Center/Coliseum/Berry Crush/Exit
30 = Empty/Empty/Exit
31 = Pokémon Jump/Dodrio Berry-picking/Exit
32 = Trade Center/Coliseum/Exit
33 = 2 Tiny Mushrooms/1 Big Mushroom
34 = Trade Center/Coliseum/Empty/Berry Crush/Exit
35 = Trade Center/Coliseum/Empty/Exit
36 = Sevii Islands/Navel Rock/Exit
37 = Sevii Islands/Birth Island/Exit
38 = Sevii Islands/Navel Rock/Birth Island/Exit
39 = One Island/Two Island/Three Island/Exit
3A = Vermillion/Two Island/Three Island/Exit
3B = Vermillion/One Island/Three Island/Exit
3C = Vermillion/One Island/Two Island/Exit
3D = Vermillion/Exit
3E = Empty/Empty/Exit
3F = Join Group/Become Leader/Exit
40 = Single/Double/Knockout/Mixed/Exit


and heres ruby
Spoiler:
0 = Petalburg/Slateport
2 = Enter/Info/Cancel
3 = What's contest/Types of Contest/Ranks/Cancel
4 = Cool/Beauty/Cute/Smart/Tough/Cancel
5 = Decoration/Pack-up/Cancel
6 = Decoration/Pack-up/Registry/Cancel
7 = Register/Registry/Information/Cancel
C = Mach/Acro
D = PSN/PAR/SLP/BRN/FRZ/Cancel
E = Dewford/Cancel
10 = Saw it/Not yet
11 = Yes/No/Info
12 = Single/Double/Multi/Cancel
13 = Littleroot/Slateport/Lilycove
14 = Yes/No/Info
17 = Make Challenge/Obtain Info/Cancel
18 = LV50/LV100/CANCEL
19 = Zigzagoon/Poocheyena/Nincada
1A = Nincada / crowded / Roselia
1B = Shroomish/Nincada/Surskit
1C = Treecko/Torchic/Mudkip
1D = Seedot/Shroomish/Spinda
1E = Shroomish/Zigzagoon/Wurmple
1F = PokeBall/Super Potion/Same Price
20 = £135/£155/£175
21 = Cost More/Cost Less/Same Price
22 = Male/Female/Neither
23 = males/females/same number
24 = Male/Female/Depends
25 = 6/8/10
26 = 1/2/3
27 = 6/7/8
2A = FRESHWATER/SODAPOP/LEMONADE/CANCEL
2B = How To Ride/How To Turn/Sandy Slopes/CANCEL
2C = WHEELIES/BUNNY-HOPS/JUMPING/CANCEL
2D = SATISFIED/DISSATISFIED
2E = DEEPSEATOOTH/DEEPSEASCALE
2F = BLUE FLUTE/YELLOW FLUTE/RED FLUTE/WHITE FLUTE/BLACK FLUTE/GLASS CHAIR/GLASS DESK/CANCEL
30 = TREECKODOLL/TORCHICDOLL/MUDKIPDOLL/CANCEL
31 = 50COINS/500COINS/CANCEL
32 = EXCELLENT / NOTSOHOT
34 = LILYCOVE/BATTLETOWER
35 = SLATEPORT/LILYCOVE
36 = RIGHT/LEFT
37 = TM32/TM29/TM35/TM24/TM13/CANCEL
38 = SLATEPORT/BATTLETOWER
39 = 1F/2F/3F/4F/5F
3A = REDSHARD/CANCEL
3B = YELLOWSHARD/CANCEL
3C = REDSHARD/YELLOWSHARD/CANCEL
3D = BLUESHARD/CANCEL
3E = REDSHARD/BLUESHARD/CANCEL
3F = YELLOWSHARD/BLUESHARD/CANCEL
40 = REDSHARD/YELLOWSHARD/BLUESHARD/CANCEL
41 = GREENSHARD/CANCEL
42 = REDSHARD/GREENSHARD/CANCEL
43 = YELLOWSHARD/GREEMSHARD/CANCEL
44 = REDSHARD/YELLOWSHARD/GREENSHARD/CANCEL
45 = BLUESHARD/GREENSHARD/CANCEL
46 = REDSHARD/BLUESHARD/GREENSHARD/CANCEL
47 = YELLOWSHARD/GREENSHARD/BLUESHARD/CANCEL
48 = REDSHARD/YELLOWSHARD/BLUESHARD/GREENSHARD/CANCEL


and then emerald
Spoiler:
00 = YES/NO
01 = EEVEE/FLAREON/JOLTEON/VAPOREON/Quit looking.
02 = NORMAL/BLACK/PINK/SEPIA
03 = HALL OF FAME/VICTORIES
04 = EGGS/HALL OF FAME
05 = VICTORIES/QUIT
06 = HALL OF FAME/VICTORIES/QUIT
07 = HALL OF FAME/VICTORIES/QUIT
08 = EGGS/HALL OF FAME/VICTORIES
09 = HALL OF FAME/VICTORIES/QUIT/PSN
0A = EXIT
0B = EXIT
0C = EXIT
0D = BICYCLE $1,000,000/NO THANKS
0E = ABRA 180 COINS/CLEFAIRY 500 COINS/DRATINI 2,800 COINS/SCYTHER 5,500 COINS/PORYGON 9,999 COINS/NO THANKS
0F = SLP/BRN/FRZ/TOXIC/OK/QUIT
10 = YES/NO/EXIT
11 = SINGLE BATTLE/DOUBLE BATTLE/MULTI BATTLE/Make a challenge./INFO
12 = YES/NO/EXIT
13 = Make a challenge./INFO/FRESH WATER $200
14 = ROOFTOP/Now on:/LINKED GAME PLAY
15 = HELIX FOSSIL/DOME FOSSIL
16 = DOME FOSSIL/OLD AMBER
17 = OLD AMBER/TRADE CENTER
18 = HELIX FOSSIL/DOME FOSSIL/OLD AMBER
19 = DOME FOSSIL/OLD AMBER/TRADE CENTER
1A = FRESH WATER $200/SODA POP $300/LEMONADE $350
1B = 50 COINS $1,000/500 COINS $10,000/Excellent
1C = Excellent/Not so bad
1D = Right/Left
1 = TM13 COINS/TM23 $ 3,500 $ 4,000 $ 4,000 COINS/TM24 COINS/TM30 $ 4,500 $ 4,000 COINS/TM35 COINS/1F
1F = 5F/COOL/BEAUTY/CUTE/SMART/TOUGH
20 = FRESH WATER/SODA POP
21 = SODA POP/LEMONADE
22 = FRESH WATER/SODA POP/LEMONADE
23 = LEMONADE/COINS
24 = FRESH WATER/SODA POP/LEMONADE
25 = SODA POP/LEMONADE/COINS
26 = FRESH WATER/SODA POP/LEMONADE/COINS
27 = TRADE CENTER/COLOSSEUM/Game Link cable
28 = Game Link cable/Wireless/ITEMS POCKET
29 = SMOKE BALLcÛÍcÉ 800 COINS///BECOME LEADER/JOIN GROUP/SINGLE
2A = B1F/B2F/B3F/B4F
2B = LINKED GAME PLAY/DIRECT CORNER/UNION ROOM/ENERGYPOWDERcÛh74cÉ 50
2C = TWO ISLAND/THREE ISLAND/FOUR ISLAND
2D = ONE ISLAND/TWO ISLAND/THREE ISLAND
2E = ONE ISLAND/TWO ISLAND/THREE ISLAND
2F = TRADE CENTER/COLOSSEUM/Game Link cable/Wireless
30 = Empty/Empty/EXIT
31 = POKéMON JUMP/DODRIO BERRY-PICKING/2 TINYMUSHROOMS
32 = TRADE CENTER/COLOSSEUM/Game Link cable
33 = 2 TINYMUSHROOMS/1 BIG MUSHROOM
34 = TRADE CENTER/COLOSSEUM/Game Link cable/Wireless/ITEMS POCKET
35 = TRADE CENTER/COLOSSEUM/Game Link cable/Wireless
36 = SEVII ISLANDS/NAVEL ROCK/BIRTH ISLAND
37 = SEVII ISLANDS/NAVEL ROCK/BIRTH ISLAND
38 = SEVII ISLANDS/NAVEL ROCK/BIRTH ISLAND/MIRACLE SEEDcÛh50cÉ 1,000 COINS
39 = ONE ISLAND/TWO ISLAND/THREE ISLAND/FOUR ISLAND
3A = VERMILION/COLOSSEUM/BERRY CRUSH/
3B = VERMILION/COLOSSEUM/BERRY CRUSH/
3C = VERMILION/COLOSSEUM/BERRY CRUSH/
3D = VERMILION/COLOSSEUM
3E = Empty/BECOME LEADER/JOIN GROUP
3F = JOIN GROUP/SINGLE/DOUBLE
40 = SINGLE/DOUBLE/KNOCKOUT/MIXED/EXIT

theres a multichoise editor in the toolbox section if you want to edit these.
New living flesh vessel who dis?

wheat32

smittywheat

Age 26
Male
USA, Pennsyvania
Seen March 17th, 2014
Posted March 13th, 2014
11 posts
9.2 Years
No you use a script like this:
Spoiler:

#dynamic 0x800000
#org
lock
faceplayer
msgbox @talk 0x6
Multichoice 0x0 0x0 0x? 0x?
release
end

the first ? is the multichoise option you want, so 1 = Eevee/Flareon/Jolteon/Vaporeon/Quit (in fire red)
the second ? is 0x0: press B and it closes the menu.
0x1: If you press B the menu does not close.
heres a list of fire red multichoise options
Spoiler:
0 = Yes/No
1 = Eevee/Flareon/Jolteon/Vaporeon/Quit
2 = Normal/Black/Pink/Sepia
3 = Hall of Fame/Quit
4 = Eggs/Quit
5 = Victories/Quit
6 = Hall of Fame/Eggs/Quit
7 = Hall of Fame/Victories/Quit
8 = Eggs/Victories/Quit
9 = Hall of Fame/Eggs/Victories/Quit
A = Exit
D = Bicycle $1000000/No thanks.
E = Abra 200 coins/Clefairy 500 coins/Dratini 2100 coins/Scyther 5500 coins/Porygon 9,999 coins/No thanks.
F = SLP/PSN/PAR/BRN/FRZ/Exit
10 = Yes/No/Info
11 = Single Battle/Double Battle/Multi Battle/Info/Exit
12 = Yes/No/Info
13 = Make a Challenge/Info/Exit
14 = Rooftop/B1F/Exit
15 = Helix Fossil/Exit
16 = Dome Fossil/Exit
17 = Old Amber/Exit
18 = Helix Fossil/Old Amber/Exit
19 = Dome Fossil/Old Amber/Exit
1A = Fresh Water $200/Soda Pop $300/Lemonade $350
1B = 50 coins $1000/500coins $10000/Exit
1C = Excellent/Not so bad.
1D = Right/Left
1 = TM25 5500 5500 coins/TM14 coins/TM38 5500 coins/TM23 4500 coins/TM26 6500 coins / No. thanks.
1F = 5F/4F/3F/2F/1F/Exit
20 = Fresh Water/Exit
21 = Soda Pop/Exit
22 = Fresh Water/Soda Pop/Exit
23 = Lemonade/Exit
24 = Fresh Water/Lemonade/Exit
25 = Soda Pop/Lemonade/Exit
26 = Fresh Water/Lemonade/Exit
27 = Trade Center/Coliseum/Exit
28 = Game Link Cable/Wireless/Exit
29 = Smoke Ball 800 coins/Miracle Seed 1000 coins/Charcoal 1000 coins/Mystic Water 1000 coins/Yellow Flute 1600 coins/No thanks.
2A = B1F/B2F/B4F/Exit
2B = Linked Game Play/Direct Corner/Union Room/Quit
2C = Two Island/Three Island/Exit
2D = One Island/Three Island/Exit
2E = One Island/Two Island/Exit
2F = Trade Center/Coliseum/Berry Crush/Exit
30 = Empty/Empty/Exit
31 = Pokémon Jump/Dodrio Berry-picking/Exit
32 = Trade Center/Coliseum/Exit
33 = 2 Tiny Mushrooms/1 Big Mushroom
34 = Trade Center/Coliseum/Empty/Berry Crush/Exit
35 = Trade Center/Coliseum/Empty/Exit
36 = Sevii Islands/Navel Rock/Exit
37 = Sevii Islands/Birth Island/Exit
38 = Sevii Islands/Navel Rock/Birth Island/Exit
39 = One Island/Two Island/Three Island/Exit
3A = Vermillion/Two Island/Three Island/Exit
3B = Vermillion/One Island/Three Island/Exit
3C = Vermillion/One Island/Two Island/Exit
3D = Vermillion/Exit
3E = Empty/Empty/Exit
3F = Join Group/Become Leader/Exit
40 = Single/Double/Knockout/Mixed/Exit


and heres ruby
Spoiler:
0 = Petalburg/Slateport
2 = Enter/Info/Cancel
3 = What's contest/Types of Contest/Ranks/Cancel
4 = Cool/Beauty/Cute/Smart/Tough/Cancel
5 = Decoration/Pack-up/Cancel
6 = Decoration/Pack-up/Registry/Cancel
7 = Register/Registry/Information/Cancel
C = Mach/Acro
D = PSN/PAR/SLP/BRN/FRZ/Cancel
E = Dewford/Cancel
10 = Saw it/Not yet
11 = Yes/No/Info
12 = Single/Double/Multi/Cancel
13 = Littleroot/Slateport/Lilycove
14 = Yes/No/Info
17 = Make Challenge/Obtain Info/Cancel
18 = LV50/LV100/CANCEL
19 = Zigzagoon/Poocheyena/Nincada
1A = Nincada / crowded / Roselia
1B = Shroomish/Nincada/Surskit
1C = Treecko/Torchic/Mudkip
1D = Seedot/Shroomish/Spinda
1E = Shroomish/Zigzagoon/Wurmple
1F = PokeBall/Super Potion/Same Price
20 = £135/£155/£175
21 = Cost More/Cost Less/Same Price
22 = Male/Female/Neither
23 = males/females/same number
24 = Male/Female/Depends
25 = 6/8/10
26 = 1/2/3
27 = 6/7/8
2A = FRESHWATER/SODAPOP/LEMONADE/CANCEL
2B = How To Ride/How To Turn/Sandy Slopes/CANCEL
2C = WHEELIES/BUNNY-HOPS/JUMPING/CANCEL
2D = SATISFIED/DISSATISFIED
2E = DEEPSEATOOTH/DEEPSEASCALE
2F = BLUE FLUTE/YELLOW FLUTE/RED FLUTE/WHITE FLUTE/BLACK FLUTE/GLASS CHAIR/GLASS DESK/CANCEL
30 = TREECKODOLL/TORCHICDOLL/MUDKIPDOLL/CANCEL
31 = 50COINS/500COINS/CANCEL
32 = EXCELLENT / NOTSOHOT
34 = LILYCOVE/BATTLETOWER
35 = SLATEPORT/LILYCOVE
36 = RIGHT/LEFT
37 = TM32/TM29/TM35/TM24/TM13/CANCEL
38 = SLATEPORT/BATTLETOWER
39 = 1F/2F/3F/4F/5F
3A = REDSHARD/CANCEL
3B = YELLOWSHARD/CANCEL
3C = REDSHARD/YELLOWSHARD/CANCEL
3D = BLUESHARD/CANCEL
3E = REDSHARD/BLUESHARD/CANCEL
3F = YELLOWSHARD/BLUESHARD/CANCEL
40 = REDSHARD/YELLOWSHARD/BLUESHARD/CANCEL
41 = GREENSHARD/CANCEL
42 = REDSHARD/GREENSHARD/CANCEL
43 = YELLOWSHARD/GREEMSHARD/CANCEL
44 = REDSHARD/YELLOWSHARD/GREENSHARD/CANCEL
45 = BLUESHARD/GREENSHARD/CANCEL
46 = REDSHARD/BLUESHARD/GREENSHARD/CANCEL
47 = YELLOWSHARD/GREENSHARD/BLUESHARD/CANCEL
48 = REDSHARD/YELLOWSHARD/BLUESHARD/GREENSHARD/CANCEL


and then emerald
Spoiler:
00 = YES/NO
01 = EEVEE/FLAREON/JOLTEON/VAPOREON/Quit looking.
02 = NORMAL/BLACK/PINK/SEPIA
03 = HALL OF FAME/VICTORIES
04 = EGGS/HALL OF FAME
05 = VICTORIES/QUIT
06 = HALL OF FAME/VICTORIES/QUIT
07 = HALL OF FAME/VICTORIES/QUIT
08 = EGGS/HALL OF FAME/VICTORIES
09 = HALL OF FAME/VICTORIES/QUIT/PSN
0A = EXIT
0B = EXIT
0C = EXIT
0D = BICYCLE $1,000,000/NO THANKS
0E = ABRA 180 COINS/CLEFAIRY 500 COINS/DRATINI 2,800 COINS/SCYTHER 5,500 COINS/PORYGON 9,999 COINS/NO THANKS
0F = SLP/BRN/FRZ/TOXIC/OK/QUIT
10 = YES/NO/EXIT
11 = SINGLE BATTLE/DOUBLE BATTLE/MULTI BATTLE/Make a challenge./INFO
12 = YES/NO/EXIT
13 = Make a challenge./INFO/FRESH WATER $200
14 = ROOFTOP/Now on:/LINKED GAME PLAY
15 = HELIX FOSSIL/DOME FOSSIL
16 = DOME FOSSIL/OLD AMBER
17 = OLD AMBER/TRADE CENTER
18 = HELIX FOSSIL/DOME FOSSIL/OLD AMBER
19 = DOME FOSSIL/OLD AMBER/TRADE CENTER
1A = FRESH WATER $200/SODA POP $300/LEMONADE $350
1B = 50 COINS $1,000/500 COINS $10,000/Excellent
1C = Excellent/Not so bad
1D = Right/Left
1 = TM13 COINS/TM23 $ 3,500 $ 4,000 $ 4,000 COINS/TM24 COINS/TM30 $ 4,500 $ 4,000 COINS/TM35 COINS/1F
1F = 5F/COOL/BEAUTY/CUTE/SMART/TOUGH
20 = FRESH WATER/SODA POP
21 = SODA POP/LEMONADE
22 = FRESH WATER/SODA POP/LEMONADE
23 = LEMONADE/COINS
24 = FRESH WATER/SODA POP/LEMONADE
25 = SODA POP/LEMONADE/COINS
26 = FRESH WATER/SODA POP/LEMONADE/COINS
27 = TRADE CENTER/COLOSSEUM/Game Link cable
28 = Game Link cable/Wireless/ITEMS POCKET
29 = SMOKE BALLcÛÍcÉ 800 COINS///BECOME LEADER/JOIN GROUP/SINGLE
2A = B1F/B2F/B3F/B4F
2B = LINKED GAME PLAY/DIRECT CORNER/UNION ROOM/ENERGYPOWDERcÛh74cÉ 50
2C = TWO ISLAND/THREE ISLAND/FOUR ISLAND
2D = ONE ISLAND/TWO ISLAND/THREE ISLAND
2E = ONE ISLAND/TWO ISLAND/THREE ISLAND
2F = TRADE CENTER/COLOSSEUM/Game Link cable/Wireless
30 = Empty/Empty/EXIT
31 = POKéMON JUMP/DODRIO BERRY-PICKING/2 TINYMUSHROOMS
32 = TRADE CENTER/COLOSSEUM/Game Link cable
33 = 2 TINYMUSHROOMS/1 BIG MUSHROOM
34 = TRADE CENTER/COLOSSEUM/Game Link cable/Wireless/ITEMS POCKET
35 = TRADE CENTER/COLOSSEUM/Game Link cable/Wireless
36 = SEVII ISLANDS/NAVEL ROCK/BIRTH ISLAND
37 = SEVII ISLANDS/NAVEL ROCK/BIRTH ISLAND
38 = SEVII ISLANDS/NAVEL ROCK/BIRTH ISLAND/MIRACLE SEEDcÛh50cÉ 1,000 COINS
39 = ONE ISLAND/TWO ISLAND/THREE ISLAND/FOUR ISLAND
3A = VERMILION/COLOSSEUM/BERRY CRUSH/
3B = VERMILION/COLOSSEUM/BERRY CRUSH/
3C = VERMILION/COLOSSEUM/BERRY CRUSH/
3D = VERMILION/COLOSSEUM
3E = Empty/BECOME LEADER/JOIN GROUP
3F = JOIN GROUP/SINGLE/DOUBLE
40 = SINGLE/DOUBLE/KNOCKOUT/MIXED/EXIT

theres a multichoise editor in the toolbox section if you want to edit these.
I am using Firered, but is there a way to make them display custom messages instead of the preset ones?

Joexv

ManMadeOfGouda
joexv.github.io

Age 25
Male
Oregon
Seen January 26th, 2023
Posted April 8th, 2022
1,035 posts
10.6 Years


I am using Firered, but is there a way to make them display custom messages instead of the preset ones?
http://www.pokecommunity.com/showthread.php?t=243328 theres a tutorial there too.
i forgot that the donwload link on there is dead so i uploaded mine. https://www.mediafire.com/?d9azy863msmd7tk
New living flesh vessel who dis?

wheat32

smittywheat

Age 26
Male
USA, Pennsyvania
Seen March 17th, 2014
Posted March 13th, 2014
11 posts
9.2 Years
theres a tutorial there too.
i forgot that the donwload link on there is dead so i uploaded mine.
Ah! Thank you so much again! While I'm in the business of asking questions, I am trying to use hidesprite in one of my scripts, where I step on the script to make the sprite disappear, but it isn't working. This is the script:
Spoiler:
#dynamic 0x802900
#org @start
checkgender
compare 0x800D 0x0
if 0x1 goto @showLilly
compare 0x800D 0x1
if 0x1 goto @showBlake
end

#org @showLilly
setflag 0x102
hidesprite 0x103
end

#org @showBlake
setflag 0x103
hidesprite 0x102
end

There is a script on the map with the offset: $802900
However, when I step on the script in-game, it just freezes my character. Do you know how I could fix this?
Also, I had to remove the link in your quote so I would be able to post this.
EDIT: I am also not sure if the sprite disappears due to not being able to see it when my character freezes.

Joexv

ManMadeOfGouda
joexv.github.io

Age 25
Male
Oregon
Seen January 26th, 2023
Posted April 8th, 2022
1,035 posts
10.6 Years

Ah! Thank you so much again! While I'm in the business of asking questions, I am trying to use hidesprite in one of my scripts, where I step on the script to make the sprite disappear, but it isn't working. This is the script:
Spoiler:
#dynamic 0x802900
#org @start
checkgender
compare 0x800D 0x0
if 0x1 goto @showLilly
compare 0x800D 0x1
if 0x1 goto @showBlake
end

#org @showLilly
setflag 0x102
hidesprite 0x103
end

#org @showBlake
setflag 0x103
hidesprite 0x102
end

There is a script on the map with the offset: #dynamic 0x802900
However, when I step on the script in-game, it just freezes my character. Do you know how I could fix this?
Also, I had to remove the link in your quote so I would be able to post this.
Spoiler:
#dynamic 0x802900
#org @start
lock
setvar 0x5000 0x1
checkgender
compare 0x800D 0x0
if 0x1 goto @showLilly
compare 0x800D 0x1
if 0x1 goto @showBlake
end

#org @showLilly
hidesprite 0x3
setflag 0x102
release
end

#org @showBlake
hidesprite 0x2
setflag 0x103
release
end

try that and set the var number in a-map to 5000. And then set the person id to 102 or 103(the flag number that you set in the script). Test that out and report the results cause i feal like i forgot something. oh and one last thing the hidesprite script is used like this hidesprite 0x(person number) not hidesprite 0x(flag number)
New living flesh vessel who dis?

wheat32

smittywheat

Age 26
Male
USA, Pennsyvania
Seen March 17th, 2014
Posted March 13th, 2014
11 posts
9.2 Years
Spoiler:
#dynamic 0x802900
#org @start
lock
setvar 0x5000 0x1
checkgender
compare 0x800D 0x0
if 0x1 goto @showLilly
compare 0x800D 0x1
if 0x1 goto @showBlake
end

#org @showLilly
hidesprite 0x3
setflag 0x102
release
end

#org @showBlake
hidesprite 0x2
setflag 0x103
release
end

try that and set the var number in a-map to 5000. And then set the person id to 102 or 103(the flag number that you set in the script). Test that out and report the results cause i feal like i forgot something. oh and one last thing the hidesprite script is used like this hidesprite 0x(person number) not hidesprite 0x(flag number)
I've done that and my character still freezes on the script tile.
Age 26
Male
Seen July 6th, 2019
Posted October 26th, 2016
252 posts
10.1 Years

Ah! Thank you so much again! While I'm in the business of asking questions, I am trying to use hidesprite in one of my scripts, where I step on the script to make the sprite disappear, but it isn't working. This is the script:
Spoiler:
#dynamic 0x802900
#org @start
checkgender
compare 0x800D 0x0
if 0x1 goto @showLilly
compare 0x800D 0x1
if 0x1 goto @showBlake
end

#org @showLilly
setflag 0x102
hidesprite 0x103
end

#org @showBlake
setflag 0x103
hidesprite 0x102
end

There is a script on the map with the offset: $802900
However, when I step on the script in-game, it just freezes my character. Do you know how I could fix this?
Also, I had to remove the link in your quote so I would be able to post this.
EDIT: I am also not sure if the sprite disappears due to not being able to see it when my character freezes.
This is how I did it:
#dynamic 0x800000
#org @start
lock
checkgender
compare 0x800D 0x0
if 0x1 call @showLilly
compare 0x800D 0x1
if 0x1 call @showBlake
setvar 0x4090 0x1
release
end

#org @showLilly
hidesprite 0x4
setflag 0x221
return

#org @showBlake
hidesprite 0x5
setflag 0x220
return
Nothing is set in stone, of course, and you can choose to do it in a different way than I did. I personally prefer the call command, because I can follow the logic better, but you can alter the script to use goto. I'm assuming that you want to hide different sprites depending on your gender? As for the flags, a lot of the flags in the 100's area are used to control the visibility of items on the ground, so it should be safe to use if the flag isn't used/you delete the flag. I just used flag 220 and 221 though because they're safe to use, no biggie.

EDIT: Look at this for reference in the future: http://www.pokecommunity.com/showthread.php?t=302347

wheat32

smittywheat

Age 26
Male
USA, Pennsyvania
Seen March 17th, 2014
Posted March 13th, 2014
11 posts
9.2 Years
This is how I did it:

Nothing is set in stone, of course, and you can choose to do it in a different way than I did. I personally prefer the call command, because I can follow the logic better, but you can alter the script to use goto. I'm assuming that you want to hide different sprites depending on your gender? As for the flags, a lot of the flags in the 100's area are used to control the visibility of items on the ground, so it should be safe to use if the flag isn't used/you delete the flag. I just used flag 220 and 221 though because they're safe to use, no biggie.

EDIT: Look at this for reference in the future:
I read the thread you linked and even used the script you provided, while my character no longer freezes, the sprites still remain unhidden after stepping on the script trigger. The script I am using:
Spoiler:
#org @start
lock
setvar 0x4090 0x1
checkgender
compare 0x800D 0x0
if 0x1 call @showLilly
compare 0x800D 0x1
if 0x1 call @showBlake
release
end

#org @showLilly
hidesprite 0x3
setflag 0x221
return

#org @showBlake
hidesprite 0x6
setflag 0x220
return

And here are three screen shots of what the two sprites and the script trigger look like in A-Map:
http ://imgur.com /RXCJH2v
http ://imgur.com /cp9QD24
http ://imgur.com /2be2yc2
I couldn't post these pictures regularly due to not having posted 15 times, so just remove the two spaces in those links. There is a space after "http" and after ".com".
Any help is appreciated. Thanks.
Also: I had to remove a link quoted above so I could post this.
Male
Seen October 21st, 2015
Posted May 10th, 2015
4 posts
10.2 Years
Hi. I'm having some issues with what should be a very simple thing. If someone could help me, I'd be forever grateful.

Anyway, what I am trying to do, it put a Cut Tree in on Route 21 in Fire Red. I've moved the fence from the top of the route to just above the grass, and taken out one square of it and added a cut tree event, calling the exact same script as the two in Viridian City, (and all the others throughout the game, I'm guessing). So, when I enter Route 21, the tree is there, right where it should be, however, when I interact with it, it loads up a battle. Anyone got any idea as to why this is happening? Here is the script that it calls.

Spoiler:
'---------------
#org 0x1BDF13
special 0x187
compare 0x800D 0x2
if 0x1 goto 0x81A7AE0
lockall
checkflag 0x821
if 0x0 goto 0x81BDF87
checkattack 0xF
compare 0x800D 0x6
if 0x1 goto 0x81BDF87
setanimation 0x0 0x800D
bufferpartypokemon 0x0 0x800D
bufferattack 0x1 0xF
msgbox 0x81BDF94 0x5 '"This tree looks like it can be Cut..."
compare 0x800D 0x0
if 0x1 goto 0x81BDF91
msgbox 0x81BDFD7 0x4 '"[buffer1] used [buffer2]!"
closeonkeypress
doanimation 0x2
waitstate
goto 0x81BDF76

'---------------
#org 0x1A7AE0
release
end

'---------------
#org 0x1BDF87
msgbox 0x81BDFE3 0x3 '"This tree looks like it can be Cut..."
releaseall
end

'---------------
#org 0x1BDF91
closeonkeypress
releaseall
end

'---------------
#org 0x1BDF76
applymovement 0x800F 0x81BDF85
waitmovement 0x0
hidesprite 0x800F
releaseall
end


'---------
' Strings
'---------
#org 0x1BDF94
= This tree looks like it can be Cut\ndown!\pWould you like to Cut it?

#org 0x1BDFD7
= [buffer1] used [buffer2]!

#org 0x1BDFE3
= This tree looks like it can be Cut\ndown!


'-----------
' Movements
'-----------
#org 0x1BDF85
#raw 0x69 'mov69
#raw 0xFE 'End of Movements
Age 26
Male
Seen July 6th, 2019
Posted October 26th, 2016
252 posts
10.1 Years

I read the thread you linked and even used the script you provided, while my character no longer freezes, the sprites still remain unhidden after stepping on the script trigger. The script I am using:
Spoiler:
#org @start
lock
setvar 0x4090 0x1
checkgender
compare 0x800D 0x0
if 0x1 call @showLilly
compare 0x800D 0x1
if 0x1 call @showBlake
release
end

#org @showLilly
hidesprite 0x3
setflag 0x221
return

#org @showBlake
hidesprite 0x6
setflag 0x220
return

And here are three screen shots of what the two sprites and the script trigger look like in A-Map:
http ://imgur.com /RXCJH2v
http ://imgur.com /cp9QD24
http ://imgur.com /2be2yc2
I couldn't post these pictures regularly due to not having posted 15 times, so just remove the two spaces in those links. There is a space after "http" and after ".com".
Any help is appreciated. Thanks.
Also: I had to remove a link quoted above so I could post this.
Ok I think you're confused with the difference between the person event number and the person ID. The whole purpose of the setflag command right there is to make sure the sprite stays hidden. 220 and 221, therefore, should be the Person ID. Similarly, with hidesprite, you should be using the Person event number in that case. So in your case, it would be 0x3 and 0x6.
EDIT: make sure your var value for your script box is 0 btw. The reason why I set the var value to 1 in the script was to make sure the script wouldn't happen again. Basically, the script will trigger only when the var value is equal to 0. If you set it to 1 in Advance Map, the script won't trigger.

wheat32

smittywheat

Age 26
Male
USA, Pennsyvania
Seen March 17th, 2014
Posted March 13th, 2014
11 posts
9.2 Years
Ok I think you're confused with the difference between the person event number and the person ID. The whole purpose of the setflag command right there is to make sure the sprite stays hidden. 220 and 221, therefore, should be the Person ID. Similarly, with hidesprite, you should be using the Person event number in that case. So in your case, it would be 0x3 and 0x6.
EDIT: make sure your var value for your script box is 0 btw. The reason why I set the var value to 1 in the script was to make sure the script wouldn't happen again. Basically, the script will trigger only when the var value is equal to 0. If you set it to 1 in Advance Map, the script won't trigger.
The whole hidesprite thing was very confusing to me. Thank you so much for clarifying it for me!