Razer Rage
Beginning Hacker
- 126
- Posts
- 17
- Years
- Seen Jul 1, 2012
Is it possible to add custom multi-choice menus with XSE, and if not, then with ASM? And, of course, if so, how would one go about doing that? :P
Is it possible to add custom multi-choice menus with XSE, and if not, then with ASM? And, of course, if so, how would one go about doing that? :P
The only way you can customize them is to edit them manually with A-Text or with a Hex Editor.
And here I was thinking it was something complex. :P That should meet my needs, I think. But that leads to two new questions:
Can I add/subtract options from existing multi-choice menus, and can I add new multi-choice menus into the game?
I'm guessing that just about anything is possible with ASM, yes?
Thanks for your help. :)
I didnt script this myself but its a level script in my hack but when it finishes weird symbols appeare and the box for buying coins at the game corner appear,
Spoiler:'---------------
#org 0x802C54
applymovement MOVE_PLAYER 0x8800F3A
applymovement 0x3 0x8800F3A
applymovement 0x4 0x8800F3A
waitmovement 0x0
msgbox 0x8800D33 MSG_NORMAL '"Hey Nurse Joy!\nI'm ready to regis..."
msgbox 0x8800DEF MSG_NORMAL '"Chan-sey Chan Chan-seeeey!"
msgbox 0x8800E0C MSG_NORMAL '"\c\h00[navyblue_fr]Misty: I think ..."
msgbox 0x8800E4F MSG_NORMAL '"\c\h00[red_fr]Brock: Look at this ..."
applymovement 0x4 0x8800F49
applymovement MOVE_PLAYER 0x8800F40
applymovement 0x3 0x8800F52
waitmovement 0x0
msgbox 0x8800E8D MSG_NORMAL '"I am sorry I've been out,\nbut Pro..."
msgbox 0x8800F01 MSG_NORMAL '"\c\h00[navyblue_fr]Misty: It's alr..."
applymovement 0x3 0x88014D2
applymovement 0x4 0x8801710
waitmovement 0x0
hidesprite 0x3
hidesprite 0x4
setflag 0x203
setvar 0x7000 0x1
release
end
'---------
' Strings
'---------
#org 0x800D33
= Hey Nurse Joy!\nI'm ready to register for the\pJohto League! Huh? She's not here!
#org 0x800DEF
= Chan-sey Chan Chan-seeeey!
#org 0x800E0C
= \c\h00[navyblue_fr]Misty: I think that Chansey is\ntrying to tell us something.
#org 0x800E4F
= \c\h00[red_fr]Brock: Look at this automated\nmessageon the computer!
#org 0x800E8D
= I am sorry I've been out,\nbut Professor Elm called me\pwith an urgent plea to go to his\nlab. I'll be back by 2:00.
#org 0x800F01
= \c\h00[navyblue_fr]Misty: It's already 3:30!\nLet's go see what's up!
'-----------
' Movements
'-----------
#org 0x800F3A
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x800F49
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x800F40
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x800F52
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x8014D2
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
#org 0x801710
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
Also thanks to AM, most people misunderstand what level scripts actually are. For example, that's just a part of the level script. To post the full one, enable the Professional Header View (Ctrl+H) then go to the Header Tab, and copy the Map Script offset. At this point, open XSE, load the ROM. Paste the offset you just copied, enable the Level Script option (the button near the decompile one) and decompile. That's it.
Yeah, I was always confused by that too... I guess you could call the smaller ones Level Snippets, and the Full one the Level Script
The Code format being
Level Script
---Level Snippet
-----Actual Code
---Level Snippet
-----Actual code...
And so on an so forth, am I right?
Does anybody know why it keeps chanign the #raw word back to 0xFFFF?
there is a new problem, samike made a script to battle TR but when it goes black to the battle screen it stays black
Spoiler:'---------------
#org 0x8021E4
lockall
checkflag 0x1002
if 0x1 goto 0x8800F5A
applymovement MOVE_PLAYER 0x8802188
waitmovement 0x0
msgbox 0x880212E MSG_NORMAL '"Officer Jenny: It's over.\nI order..."
msgbox 0x8801F8C MSG_NORMAL '"\c\h00[red_fr]Jessie: And I order ..."
trainerbattle 0x1 0x1 0x0 0x8801212 0x88011EE 0x880221C
call 0x80221C
'---------------
#org 0x800F5A
releaseall
end
'---------------
#org 0x80221C
hidesprite 0x5
hidesprite 0x6
hidesprite 0x7
msgbox 0x88011B0 MSG_NORMAL '"[red_fr]Brock: Come on, [player],\..."
applymovement 0x9 0x8801504
applymovement 0x8 0x880166C
applymovement 0x10 0x8801150
waitmovement 0x0
hidesprite 0x9
hidesprite 0x10
hidesprite 0x8
setflag 0x1002
releaseall
end
'---------
' Strings
'---------
#org 0x80212E
= Officer Jenny: It's over.\nI order you to give up\pTotodile now or face the consequences.
#org 0x801F8C
= \c\h00[red_fr]Jessie: And I order you to prepare\nfor trouble.\p[blue_fr]James: While you're at it make\nit double!\p[red_fr]To protect the world from devastation.\n[blue_fr]To unite all people within our nation.\p[red_fr]To denounce the evils of truth\nand love.\n[blue_fr]To extend our reach to the stars above.\p[red_fr]Jessie.\n[blue_fr]James.\p[red_fr]Team Rocket blasts off at the\nspeed of light!\p[blue_fr]Surrender now or prepare to\nfight, fight, fight!\p[grey_fr]Meowth, that's right!
#org 0x801212
= [red_fr][player], face our wrath!
#org 0x8011EE
= Team Rocket's blasting off again!
#org 0x8011B0
= [red_fr]Brock: Come on, [player],\nwe still have to get you registered!
'-----------
' Movements
'-----------
#org 0x802188
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x801504
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
#org 0x80166C
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
#org 0x801150
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
I think you'll need a call script, i bolded it.
#org $script
message $talk1
$talk1 1 = A pidgey, Its mine!
boxset 6
applymovement 1 $move1
$move1 1 ; #binary 0x4E 0x4E 0x4F 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk2
$talk2 1 = NO! It got away come back!
boxset 6
applymovement 0xFF $move2
$move2 1 ; #binary 0x01 0x1E 1e 0x02 0x1F 1f 1f 1f 1f 1f 1f 1f 0xFE
pausemove 0x0000
applymovement 0xFF $move3
$move3 1 ; #binary 0x01 0x1E 1e 1e 1e 1e 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk3
$talk3 1 = I will get you this time!
boxset 6
applymovement 2 $move4
$move4 1 ; #binary 0x52 0x52 0x52 0x52 0xFE
pausemove 0x0000
message $talk4
$talk4 1 = Wait no its a spearo!
boxset 6
applymovement 3 $move5
$move5 1 ; #binary 0x03 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
pausemove 0x0000
applymovement 4 $move6
$move6 1 ; #binary 0x02 0x1F 1f 1f 1f 1f 1f 1f 1f 1f 0xFE
pausemove 0x0000
message $talk5
$talk5 1 = Someone help there are to maney!
boxset 6
message $talk6
$talk6 1 = im... dead.
boxset 6
applymovement 6 $move7
$move7 1 ; #binary 0x04 0x1D 1d 1d 1d 1d 1d 1d 0xFE
pausemove 0x0000
applymovement 6 $move8
$move8 1 ; #binary 0x04 0x1D 1d 1d 1d 1d 1d 1d 0x02 0x1F 1f 0x01 0xFE
pausemove 0x0000
message $talk6
$talk6 Leave them allone you stupid birds! \p Go starmi!
boxset 6
applymovement 2 $move9
$move9 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
applymovement 3 $move10
$move10 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
applymovement 4 $move11
$move11 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk7
$talk7 Ha Ha I win! \p Oh no... \n are you ok? \p you and your pokemon look hurt... \p quick take my bike to the pokemon center \n I will stop the Spearo chasing you \p GO!
boxset 6
release
end
applymovement 3 $move5
$move5 1 ; #binary 0x03 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
pausemove 0x0000
thats written in pokescript, and if you are using XSE you shouldnt be scripting like that.Hi I had my first try at scripting; a encounter with some spearo. To the best of my knowledge I see no reason that the code should not work...
I made sure that all of the people are labled the right names and the code seems fine but it first of all skips the;Code:#org $script message $talk1 $talk1 1 = A pidgey, Its mine! boxset 6 applymovement 1 $move1 $move1 1 ; #binary 0x4E 0x4E 0x4F 0x1E 1e 1e 1e 1e 1e 0xFE pausemove 0x0000 message $talk2 $talk2 1 = NO! It got away come back! boxset 6 applymovement 0xFF $move2 $move2 1 ; #binary 0x01 0x1E 1e 0x02 0x1F 1f 1f 1f 1f 1f 1f 1f 0xFE pausemove 0x0000 applymovement 0xFF $move3 $move3 1 ; #binary 0x01 0x1E 1e 1e 1e 1e 1e 1e 1e 1e 1e 0xFE pausemove 0x0000 message $talk3 $talk3 1 = I will get you this time! boxset 6 applymovement 2 $move4 $move4 1 ; #binary 0x52 0x52 0x52 0x52 0xFE pausemove 0x0000 message $talk4 $talk4 1 = Wait no its a spearo! boxset 6 applymovement 3 $move5 $move5 1 ; #binary 0x03 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE pausemove 0x0000 applymovement 4 $move6 $move6 1 ; #binary 0x02 0x1F 1f 1f 1f 1f 1f 1f 1f 1f 0xFE pausemove 0x0000 message $talk5 $talk5 1 = Someone help there are to maney! boxset 6 message $talk6 $talk6 1 = im... dead. boxset 6 applymovement 6 $move7 $move7 1 ; #binary 0x04 0x1D 1d 1d 1d 1d 1d 1d 0xFE pausemove 0x0000 applymovement 6 $move8 $move8 1 ; #binary 0x04 0x1D 1d 1d 1d 1d 1d 1d 0x02 0x1F 1f 0x01 0xFE pausemove 0x0000 message $talk6 $talk6 Leave them allone you stupid birds! \p Go starmi! boxset 6 applymovement 2 $move9 $move9 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE pausemove 0x0000 applymovement 3 $move10 $move10 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE pausemove 0x0000 applymovement 4 $move11 $move11 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE pausemove 0x0000 message $talk7 $talk7 Ha Ha I win! \p Oh no... \n are you ok? \p you and your pokemon look hurt... \p quick take my bike to the pokemon center \n I will stop the Spearo chasing you \p GO! boxset 6 release end
part. And then it will not run anything after the "Im dead" message.Code:applymovement 3 $move5 $move5 1 ; #binary 0x03 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE pausemove 0x0000
If anyone has any idea how to help me I have no idea what is wrong...
I read a lot of tutorials and thought I had it I dont see anything wrong in the script
Spoiler:#org 0x8167F6E
'-----------------------------------
lock
msgbox 0x8183482 ' Help help a theif from team rocket[.]\nStole a pokedex from the shop.
callstd MSG_NORMAL
applymovement 0x3 0x816F727
applymovement 0x1 0x819D8D0
pauseevent 0x0
message 0x819D81E '
callstd MSG_NORMAL
applymovement 0x1 0x816F714
pauseevent 0x0
message 0x819D52C '
callstd MSG_NORMAL
release
end
#org 0x8183482
= Help help a theif from team rocket[.]\nStole a pokedex from the shop.
#org 0x816F727
m walk_down walk_down walk_right walk_down walk_right walk_down walk_right walk_right walk_right walk_right walk_right walk_right walk_up walk_right walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_left walk_left walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up end
#org 0x819D8D0
m walk_down walk_down walk_right walk_down walk_right walk_down walk_right walk_right walk_right say_! end
#org 0x819D81E
= huf huf
#org 0x816F714
m walk_down walk_down say_! end
#org 0x819D52C
= can you please catch that theif\and retrieve the pokedex before he gets away.
can some one please help PM me or just replie
Hey, umm... I need help with a script to enable the national dex in Fire red. This is what I got
Spoiler:#dynamic 0x71A280
#org @nacional
lock
faceplayer
msgbox @aver 0x6
fanfare 0x13E
special 0x16F
waitfanfare
msgbox @cheka 0x6
release
end
#org @aver
= Wanna see something cool?
#org @cheka
= This will prove useful!
For some reason it doesn't work. I put it on one of the aides so he could give it to me at the begining, but I can't. Please, any help would be cool