Hi everyone, I've been playing with this script for a little while and it's almost there but it needs to work out a few bugs.
The script should progress like this:
(Talk to man)
Man: ...... ..... ..........
Man: Get out of Here!
Screen Fades to Black
Man: Your journey ends.
Game restarts and dumps save data.
What the script is currently doing is:
Man: .... .... ...... (working fine)
Fades to Black (Out of order)
Man: Get out of here! (Should be before the fade)
NOT saying "Your journey ends"
restarting the game (no save dump - I know this is not the correct cmd to dump the save data, is there one?)
Here's the actual script I have:
Code:#org 0x8804000 '----------------------------------- lock faceplayer msgbox 0x8804023 ' ......\n.........\l.... callstd MSG_LOCK ' Built-in lock command msgbox 0x8804043 ' get out of here! fadescreen FADEOUT_BLACK callstd MSG_LOCK ' Built-in lock command msgbox 0x8804058 ' Your journey ends. special 0x10F end #org 0x8804023 = ......\n.........\l..... #org 0x8804043 = Get out of here!\nWhile you still can! #org 0x8804058 = Your journey ends.
Thanks for any and all help on this!
Can anyone help, in my script i have a song being played using
"playsong 0x[song] 0x0"
but i dont know how to get the song to stop so it doesnt play though the whole of the script? can anyone tell me the command, thanks.
can anyone tell me script COMMANDS ..................... or a link?????
I do not know the first thing about scripts.Or creating them
'---------------
#org 0x201F60
lockall
checkflag 0x1232
if 0x1
goto 0x826D6CC
releaseall
end
'---------------
#org 0x26D6CC
applymovement MOVE_PLAYER
0x826D6E9
special 0x113
applymovement MOVE_CAMERA
0x826D6EC
waitmovement 0x0
special 0x114
setflag
0x1232
releaseall
end
'-----------
' Movements
'-----------
#org 0x26D6E9
#raw 0x62
'Exclamation Mark (!)
#raw 0xFE 'End of Movements
#org 0x26D6EC
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left
(Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x18 'Delay1
#raw 0x1E 'Step Up
(Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw
0xFE 'End of Movements
Can someone answer my questions????
Q1:How can i disable this PokedexScript???
Spoiler:#dynamic 0x800000
#org @start
checkflag 0x829
if 0x1 goto @done
msgbox @waiit 0x6
applymovement 0x02 @wait
waitmovement 0x0
applymovement 0xFF @huh
waitmovement 0x0
msgbox @givepokedex 0x6
setflag 0x829
msgbox @receivedex 0x6
special 0x16F
msgbox @balls 0x6
giveitem 0x4 0x05 MSG_OBTAIN
msgbox @backto 0x6
applymovement 0x02 @backtolab
waitmovement 0x0
release
end
#org @waiit
= Waiiiiiiittt!
#org @wait
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0xFE
#org @huh
#raw 0x62
#raw 0x1
#raw 0xFE
#org @givepokedex
= I have Forgotten to give you This!
#org @receivedex
= You have receive a PokeDex!
#org @balls
= It is an Item that Catches a\nPOKeMON!
#org @backto
= Well i must be back to LAB!\pSee you Later [PLAYER]!
#org @backtolab
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
#org @done
release
end
Q2:how can i enable the Pokedex Script when i finished this Script...
Spoiler:#dynamic 0x800000
#org @start
checkflag 0x210
if 0x1 goto @done
lock
faceplayer
applymovement 0xFF @come
waitmovement 0x0
msgbox @whoareyou 0x6
applymovement 0xFF @yup
waitmovement 0x0
msgbox @ok 0x6
setflag 0x210
release
end
#org @come
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
#org @whoareyou
= Hmmmmm! Who are you?\n[...]\p[...]\p[...]\pOh! you must be [PLAYER]!
#org @yup
#raw 0x22
#raw 0x22
#raw 0xFE
#org @ok
= William: OK!\pHere I have 3 Pokeballs this\nPOKeMONS are Rarely Seen in\lGoldiea Region!\pYou are Lucky i have this\nPOKeMONS!\pGo on Choose ONE!
#org @done
release
end
and lastly how can i enable this script after i have my POKeMON...
Spoiler:#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @gotolab 0x6
compare LASTRESULT 1
if b_true goto @pokemon
release
end
#org @gotolab
= Go to Lab Now [PLAYER]
#org @pokemon
lock
faceplayer
msgbox @cutemon 0x6
closeonkeypress
fadescreen 0x1
fanfare 0x100
special 0x0
waitfanfare
fadescreen 0x0
msgbox @healed 0x6
release
end
#org @cutemon
= What a Cute POKeMON you have\nthere!\pYou should take a Quick Rest here!
#org @healed
= Hmmmmm! Much better!\pGoodLuck to your Adventure [PLAYER]
Thank you...
help will be greatly appreciated :D
could someone answer this Question?.............................
setvar 0x4050 0x1
setvar 0x4050 0x2
countpokemon
compare lastresult 0x1
if 0x4 goto @deactivate
msgbox @stop msg_normal
applymovement 0xff @stepdown
release
end
#org @deactivate
setvar 0x4051 0x1
release
end
#org @stop
= You don't have your first Pokemon.
#org @stepdown
#raw 0x10
#raw 0xfe
Hi guys!
So I am using Pokémon Firered version and I am trying to make a person move once I beat the elite four. The problem is that I don't know what flag I have to assign to that person for her to recognize I beat the elite four :( . I looked through the thread but I coudn't find the flag number anywhere.
I am using XSE (btw, it's awesome) by the way. It would be awesome if someone helped out here :)
Thanks everyone!!
I just want the flag number :P . I am not looking for a script.
dido said:Hi guys!
So I am using Pokémon Firered version and I am trying to make a person move once I beat the elite four. The problem is that I don't know what flag I have to assign to that person for her to recognize I beat the elite four . I looked through the thread but I coudn't find the flag number anywhere.
I am using XSE (btw, it's awesome) by the way. It would be awesome if someone helped out here
Thanks everyone!!
I just want the flag number . I am not looking for a script.
Have you ever decompiled E4 script? :DI don't think that there is a flag for beating the elite four...
You can just use any flag you like and assign it to your person so that they move.
Have you ever decompiled E4 script? :D
There are tons of flags to choose from =)
I've bolded one of the problems in your code. You're calling @Next. That means that when @Next finishes executing, the game will jump back to the script that called it (@start) and finish running that script.. . . after I beat the elite 4, a person blocking a house dissapears after I talk to her. However my script dosen't seem to do that. Anyone want to tell me what's wrong? One error is that in a new game after I talk to the person she dissapers even though I DIDN'T beat the champion. Why is that?
Spoiler:
#dynamic 0x2E4F00
#org @start
checkflag 0x844
if 0x1 call @Next
msgbox @msg 0x2
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x1200
release
end
#org @Next
msgbox @msg2 0x2
end
#org @msg
= Ohh! Please Pass champion!
#org @msg2
= This place holds something... special. Beat the elite four and I will let you think about letting you in here.
I've bolded one of the problems in your code. You're calling @Next. That means that when @Next finishes executing, the game will jump back to the script that called it (@start) and finish running that script.
It looks like you'll need to turn that call into a goto in order to do what you want. That will fix the problem with her unblocking the door before the Champion is beaten.