View Single Post
  #1595    
Old July 1st, 2009, 07:59 AM
Doom Chaos's Avatar
Doom Chaos
I don't have a title
 
Join Date: Jun 2008
Location: Canada
Age: 20
Nature: Calm
Quote:
Originally Posted by am529 View Post
Game: Pokemon Fire Red
Type: Person Event
Editor: XSE
Script:
Spoiler:

'---------------
#dynamic 0x71A23C
#org 0x16582F
lock
faceplayer
checkflag 0x8C3
if 0x1 goto @done
msgbox 0x818E177 MSG_NORMAL '"Ready to leave town?\pYou'll need ..."
setflag 0x829
fanfare 0x13E
msgbox @received MSG_NORMAL '"You received a pokedex."
waitfanfare
msgbox @pokedex MSG_NORMAL '"I'll give you a pokemon\nto..."
givepokemon 0x178 0x5 0x0 0x0 0x0 0x0
setflag 0x828
setflag 0x8C3
fanfare 0x13E
msgbox @getpkmn MSG_NORMAL '"Received an Absol."
waitfanfare
msgbox @nickname MSG_YESNO '"Would you like to give \nit a nickname?"
compare LASTRESULT 0x1
if 0x1 goto @yes
compare LASTRESULT 0x0
if 0x1 goto @no
msgbox @done MSG_NORMAL
hidesprite 0x02
fadescreen 0x0
closeonkeypress
release
end

'---------
' Strings
'---------
#org 0x18E177
= Ready to leave town?\pYou'll need a pokedex
#org @yes
special 0x9E
goto @done
#org @no
goto @done
#org @nickname
= Would you like to give it a nickname?
#org @received
= [player] received a pokedex.
#org @getpkmn
= [player] received an Absol.
#org @pokedex
= I'll give you a pokemon\nto start you off too.
#org @done
= I must go now
release
end



So I wrote this script for the beginning of my game, the only problems are
  • after asking would you like to nickname your pokemon, the person stops talking
  • absol's data is not added to the pokedex after you get him
  • the person does not stay gone, he reappears as soon as I move
could anyone help me fix any of these problems
For the person does not stay gone thing, give the event a Person ID (I use 01CD, I don't know if it has to be different for every events).