manadhon
RTX-008L
- 119
- Posts
- 11
- Years
- Khazad-dûm
- Seen today
Send me the original script you used, or rather, post it.
Last edited:
#dyn 0x740000
#org @main
checkflag 0x253
if == jump @1
jump @2
#org @1
lock
faceplayer
message @3
callstd MSG_NORMAL
fadescreen FADEOUT_BLACK
disappear 0x3
fadescreen FADEIN_BLACK
setflag 0x251
release
end
#org @2
lock
faceplayer
message @4
callstd MSG_NORMAL
release
end
#org @3
= You may proceed.
#org @4
= I'm sorry, but it's too dangerous\nup ahead without a Pok\emon. Maybe\lyou could borrow one?
#dyn 0x740002
#org @start
lock
faceplayer
msgbox @text ' ????: So, Whatdaya say? /pWant this rare POK\eMON or not?
callstd MSG_YESNO
if true jump @givetorchic
if false jump @no
end
#org @givetorchic
checkflag 0x250
if 0x1 jump :end
setflag FR_POKEMON
addpokemon TORCHIC 0x5 NONE 0 0 0
setflag 0x250
storepokemon 0 TORCHIC
message @get-msg
fanfare 0x101
showmsg
waitfanfare
waitbutton
message @yes
:end
release
end
#org @no
message @no
release
end
#org @noroom-msg
= You don't have enough room in your party.
#org @get-msg
= You got a \v\h02!
#org @speech
= ????: So, Whatdaya say? /pWant this rare POK\eMON or not?
#org @yes
= ????: I picked this POK\eMON up in /pHOENN[.] Don't worry I didn't /nsteal it[.]/p Maybe I'll see you around[.]
#org @no
= ????: Hmph[.] /pYou do know you're missing out /non the opportunity of a lifetime?
#org 0x8740002
'-----------------------------------
checkflag 0x250
if true jump 0x874003B ' Flag is set
setflag FR_POKEMON
countpokemon
compare LASTRESULT 0x6
if == jump 0x874003D ' Equal To
addpokemon TORCHIC 5 NONE 0x0 0x0 0x0
setflag 0x250
storepokemon 0x0 TORCHIC
message 0x8740071 ' You got a \v\h02!
fanfare 0x101
showmsg
waitfanfare
waitbutton
release
end
#org 0x874003B
'-----------------------------------
release
end
#org 0x874003D
'-----------------------------------
msgbox 0x8740047 ' You don't have enoug...
callstd MSG_NOCLOSE ' Non-closing message
release
' Release commands close any open messages
end
#org 0x8740071
= You got a \v\h02!
#org 0x8740047
= You don't have enough room in your party.
#dyn 0x740002
#org @main
lock
faceplayer
checkflag FR_POKEMON
if == jump @End
message @Text
callstd MSG_YESNO
compare LASTRESULT YES
if == jump @Give_Torchic
jump @No
#org @No
message @Nope
callstd MSG_NORMAL
release
end
#org @Give_Torchic
countpokemon
compare LASTRESULT 0x6
if < call @Give
message @Room
callstd MSG_NORMAL
release
end
#org @Give
addpokemon TORCHIC 5 NONE 0 0 0
fanfare 0x101
message @Get_Msg
callstd MSG_NOCLOSE
waitfanfare
closemsg
message @Nikname
callstd MSG_YESNO
compare LASTRESULT YES
if == call @Yes
setflag FR_POKEMON
release
end
#org @End
message @Around
callstd MSG_NORMAL
release
end
#org @Yes
fadescreen FADEOUT_BLACK
special NAME_POKEMON
waitspecial
setflag FR_POKEMON
return
#org @Text
= ????: Hey, kid! I got this\nrare Pok\emon, and, well,\ldo you want it?
#org @Nope
= ????: Hmph...\pI hope you know you're missing\nout on the chance of a lifetime.
#org @Room
= ????: What, you don't even have\nroom? Come back when you do.
#org @Around
= ????: I got that in Hoenn,\nso don't worry about me stealing\lit or anything. Maybe I'll see\lyou around.
#org @Get_Msg
= \v\h01 recieved a Torchic!
#org @Nikname
= Would you like to give\nTorchic a nickname?
This is it.....................#dyn 0x740004
#org @main
lock
faceplayer
checkflag FR_POKEMON
if == jump @End
showmoney 0x0 0x0
message @Text
callstd MSG_YESNO
compare LASTRESULT YES
if == jump @Check Money
jump @No
#org @No
message @Nope
callstd MSG_NORMAL
release
end
#org @Check Money
checkmoney 0x10 0x0 0x0
compare LASTRESULT 0x1
if == jump @Give_Oshawott
jump @nomoney
#org @Give_Oshawott
countpokemon
compare LASTRESULT 0x6
if < call @Give
message @Room
callstd MSG_NORMAL
release
end
#org @nomoney
message @notenoughmoney
release
end
#org @Give
addpokemon MAGIKARP 5 NONE 0 0 0
fanfare 0x101
message @Get_Msg
callstd MSG_NOCLOSE
waitfanfare
closemsg
message @Nikname
callstd MSG_YESNO
compare LASTRESULT YES
if == call @Yes
setflag FR_POKEMON
paymoney 10 0
updatemoney 0 0 0
hidemoney 0 0
release
end
#org @End
message @Around
callstd MSG_NORMAL
release
end
#org @Yes
fadescreen FADEOUT_BLACK
special NAME_POKEMON
waitspecial
setflag FR_POKEMON
return
#org @Text
= ????: Hey, kid! I got this\nrare Pok\emon, and, well,\ldo you want it?
#org @Nope
= ????: Hmph...\pI hope you know you're missing\nout on the chance of a lifetime.
#org @Room
= ????: What, you don't even have\nroom? Come back when you do.
#org @Around
= ????: What are you saying? /p It's not an OSHAWOTT? /n Well it is what it is, and you/ponly paid $10 for it - what do you expect?
#org @Get_Msg
= \v\h01 recieved an OSHAWOTT!
#org @Nikname
= Would you like to give\nOshawott a nickname?
#org @notenoughmoney
= ????: You have some cheek, /pcoming here and then not buying my /nthings[.]
So I've been working on scripting Leaf green and I can't find the offset for the champion battle, I want to edit his text but I just can't find the offset anywhere.
can you give us a list of commands in pksv and how do i use reappear and disappear
because when i used the disappear it reappears and when i used reappear it wont appear
I don't know too much about the "reappear" command, but I can help you with "disappear."
When you want a sprite on the map to disappear after a certain event, like being talked to, you need to know the Person Event Number. You can find this by going on Advancemap, clicking the events tab and clicking the person event in question. If you look to the right you'll see a list of information. The Person Event Number should be displayed underneath the "delete event" button.
Once you have that, you need to write the script. For the disappearing part, I usually go with this:
Fadescreen FADEOUT_BLACK
disappear 0x(Person Event Number)
fadescreed FADEIN_BLACK
I do this because it looks better in game, but the fade screens aren't too important. The next thing you need to do is make the event stay gone once it disappears. For that, you'll need to set a flag.
setflag 0x###
That number can be anything, just remember to write it down because that number can't be used for any other flag. After you've set the flag, just click on the Person Event you want to disappear and find the Person ID. It should be close to the "open script" button. Set the person ID to the number of the flag you set and BOOM! Your person should stay gone after the script ends.
I'm sorry I can't help you with reappearing, but my guess is that it would use the same concepts at disappear.
Well, that's easy as well.
Just use this code:
Code:[FONT="Courier New"]special FR_NATIONAL_DEX[/FONT]
You can use that after your message saying that you'll upgrade his/her Pokedex. Example:
Code:#dyn 0x740000 #org @main lock faceplayer message @upgradepokedex callstd MSG_NORMAL special FR_NATIONAL_DEX release end #org @upgradepokedex = I'll upgrade your Pokedex for you.