FireRed Pokemon ROM HACK - Scripts not Working, WHY?

View previous topic View next topic Go down

FireRed Pokemon ROM HACK - Scripts not Working, WHY?

Post by PokemonCobalt on Mon Nov 30, 2009 3:29 am

Hey, uhhh..
I've been following Seth's XSE scripts, and i sort of merged two of the steps together, just doing it by what i thought was right, which is probably why it aint working.. BUT.
When i try to compile, i get the message "Too less parameters on line 6"

Here are the scripts:

SCRIPT ONE:

#Dynamic 0x800002

#org @start
lock
faceplayer
msgbox @text
checkflag 0x800002
release
end

#org @text
= Hey, i'm the mysterious Pokemon\nDistributer! I station myself\lhidden away in every major town.\lSeek me out, and i will reward\lyou with a free Pokemon!\lDo you want your first Pokemon?
end

#org @checkflag
lock
faceplayer
if 0x0 goto @give
if 0x1 goto @given
release
end

#org @give
givepokemon 0x64 0x10 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x800002
msgbox @received
boxset 0x6
release
end

#org @given
msgbox @given
boxset 0x6
end

#org @received
= \v\h01 Received Kadabra!

#org @given
= Sorry, you've already received\nyour pokemon for this town. See me\lin the next!

SCRIPT TWO:
#Dynamic 0x800003

#org @start
lock
faceplayer
msgbox @text
checkflag 0x800003
if 0x0 goto @give
if 0x1 goto @given
release
end

#org @text
= Ahh, you've found me onec again!\nWell done! Here is your second\lPokemon!

#org @give
givepokemon 0x15 0x10 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x800003
msgbox @received
boxset 0x6
release
end

#org @given
msgbox @given
boxset 0x6
end

#org @received
= \v\h01 Received Beedrill!

#org @sorry
= Sorry, you've already received\nyour pokemon for this town. See me\lin the next!

SCRIPT THREE:

#dynamic 0x800004

#org @start
lock
faceplayer
msgbox @text
boxset 0x6
checkflag 0x800004
if 0x0 goto @yes
if 0x1 goto @no
release
end

#org @text
= Hey, i give out free Hyper\nPotions! Come speak to me whenever\lyou need one!

#org @yes
giveitem 0x21 0x1
msgbox @received
boxset 0x6

#org @no
= You don't want it? Never mind, all\nthe more for other people!
release
end

#org @received
= \v\h01 Received Hyper Potion!
release
end




If anyone knows why, could you either post back the correct, working scripts or email me at:
Code:
pokemoncobalt@hotmail.com

PokemonCobalt
Newbie
Newbie

Male Number of posts : 3
Age : 24
Warning :
0 / 1000 / 100

Reputation :
0 / 1000 / 100

Registration date : 2009-11-29

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum