- 31
- Posts
- 13
- Years
- Seen Jun 20, 2012
Hi guys, I know i'm new to this forum, and also I am new to xse scripting, advance map, etc... but i'm asking for some help out with this script that makes my game freeze...
I know i'm a noob, but i'm just asking you to bare with me on this and help me out a little, i'm really looking forward to making my own Pokemon game and I want to learn how to. Thanks! :)
Spoiler:
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x828
if 0x0 goto @start2
if 0x1 goto @sorry
release
end
#org @start2
msgbox @start2
boxset 0x6
= I'm here to give you your /n very first Pokemon!
goto @poke1
release
end
#org @poke1
#raw 75
#raw 86
#raw 00
#raw 0A
#raw 03
msgbox @poke1
= Do you want Vaporeon?
boxset 0x5
if 0x1 goto @yesVaporeon
if 0x0 goto @poke2
#raw 76
release
end
#org @poke2
#raw 75
#raw 87
#raw 00
#raw 0A
#raw 03
msgbox @poke2
= Do you want Jolteon?
boxset 0x5
if 0x1 goto @yesJolteon
if 0x0 goto @poke3
#raw 76
release
end
#org @poke3
#raw 75
#raw 88
#raw 00
#raw 0A
#raw 03
msgbox @poke3
= Do you want Flareon?
boxset 0x5
if 0x1 goto @yesFlareon
if 0x0 goto @poke1
#raw 76
release
end
#org @sorry
msgbox @sorry
= Sorry, you have received your Pokemon!
boxset 0x6
release
end
#org @yesVaporeon
givepokemon 0x134 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yesVaporeon
= Congratulations, you have received\n your first Pokemon!
boxset 0x6
release
end
#org @yesJolteon
givepokemon 0x135 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yesJolteon
= Congratulations, you have received\n your first Pokemon!
boxset 0x6
release
end
#org @yesFlareon
givepokemon 0x136 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yesFlareon
= Congratulations, you have received\n your first Pokemon!
boxset 0x6
release
end
#org @start
lock
faceplayer
checkflag 0x828
if 0x0 goto @start2
if 0x1 goto @sorry
release
end
#org @start2
msgbox @start2
boxset 0x6
= I'm here to give you your /n very first Pokemon!
goto @poke1
release
end
#org @poke1
#raw 75
#raw 86
#raw 00
#raw 0A
#raw 03
msgbox @poke1
= Do you want Vaporeon?
boxset 0x5
if 0x1 goto @yesVaporeon
if 0x0 goto @poke2
#raw 76
release
end
#org @poke2
#raw 75
#raw 87
#raw 00
#raw 0A
#raw 03
msgbox @poke2
= Do you want Jolteon?
boxset 0x5
if 0x1 goto @yesJolteon
if 0x0 goto @poke3
#raw 76
release
end
#org @poke3
#raw 75
#raw 88
#raw 00
#raw 0A
#raw 03
msgbox @poke3
= Do you want Flareon?
boxset 0x5
if 0x1 goto @yesFlareon
if 0x0 goto @poke1
#raw 76
release
end
#org @sorry
msgbox @sorry
= Sorry, you have received your Pokemon!
boxset 0x6
release
end
#org @yesVaporeon
givepokemon 0x134 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yesVaporeon
= Congratulations, you have received\n your first Pokemon!
boxset 0x6
release
end
#org @yesJolteon
givepokemon 0x135 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yesJolteon
= Congratulations, you have received\n your first Pokemon!
boxset 0x6
release
end
#org @yesFlareon
givepokemon 0x136 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yesFlareon
= Congratulations, you have received\n your first Pokemon!
boxset 0x6
release
end
I know i'm a noob, but i'm just asking you to bare with me on this and help me out a little, i'm really looking forward to making my own Pokemon game and I want to learn how to. Thanks! :)