this is a temporary script for rayquaza. to make it into a giratina script all you have to do is to replace all the rayquazas in the script with the ID of GiRATINA you have inserted. theres no giratina in fire red remember! also insert with pksvui not xse.
#dyn 0x740000
#org @start
lock
checkflag 0x200
if 0x1 jump :end
setflag FR_POKEMON
countpokemon
compare LASTRESULT 6
if == jump @noroom
addpokemon RAYQUAZA 0x5 MASTERBALL 0 0 0
setflag 0x200
storepokemon 0 RAYQUAZA
message @get-msg
fanfare 0x101
showmsg
waitfanfare
waitbutton
:end
release
end
#org @noroom
msgbox @noroom-msg
callstd MSG_NOCLOSE
release
end
#org @noroom-msg
= No room in your party.
#org @get-msg
= You got a \v\h02!
#dyn 0x740000
#org @start
lock
checkflag 0x200
if 0x1 jump :end
setflag FR_POKEMON
countpokemon
compare LASTRESULT 6
if == jump @noroom
addpokemon RAYQUAZA 0x5 MASTERBALL 0 0 0
setflag 0x200
storepokemon 0 RAYQUAZA
message @get-msg
fanfare 0x101
showmsg
waitfanfare
waitbutton
:end
release
end
#org @noroom
msgbox @noroom-msg
callstd MSG_NOCLOSE
release
end
#org @noroom-msg
= No room in your party.
#org @get-msg
= You got a \v\h02!