- 9
- Posts
- 14
- Years
- Seen Nov 16, 2010
thanks again zeffy, you are a good person x]
the sad thing is i ended up fixing it myself before you had posted this
oh the reason i had changed the one you gave me originally is because xse told me to because @done wasnt pointing to anything :p
thats the script now lol it works fine except for it only hides the sprite once i re-enter the room? huh oh well works good enough for me
i do have a problem problem with a new script though xP
okay so the problem im having is after the yes/no option if i select yes the game freezes, im assuming it has something to do with an incorrect line but i cant for the life of me figure out which one (ive been looking through tutorials and other peoples similar scripts and it seems right to me)
script:
sorry for the constant stream of issues :/ hopefully things will go better for a while
the sad thing is i ended up fixing it myself before you had posted this
oh the reason i had changed the one you gave me originally is because xse told me to because @done wasnt pointing to anything :p
Spoiler:
#dynamic 0x800000
#org @start
lock
if 0x1 goto @done
setflag 0x829
setflag 0x828
setflag 0x82F
msgbox @cant 0x6
fanfare 0x13E
msgbox @obtain 0x6
waitfanfare
setflag 0x1100
hidesprite 0x1100
release
end
#org @done
release
end
#org @cant
= \c\h01\h03Can't forget this...
#org @obtain
= \c\h01\h04You received a Pokedex!
#org @start
lock
if 0x1 goto @done
setflag 0x829
setflag 0x828
setflag 0x82F
msgbox @cant 0x6
fanfare 0x13E
msgbox @obtain 0x6
waitfanfare
setflag 0x1100
hidesprite 0x1100
release
end
#org @done
release
end
#org @cant
= \c\h01\h03Can't forget this...
#org @obtain
= \c\h01\h04You received a Pokedex!
thats the script now lol it works fine except for it only hides the sprite once i re-enter the room? huh oh well works good enough for me
i do have a problem problem with a new script though xP
okay so the problem im having is after the yes/no option if i select yes the game freezes, im assuming it has something to do with an incorrect line but i cant for the life of me figure out which one (ive been looking through tutorials and other peoples similar scripts and it seems right to me)
script:
Spoiler:
#dynamic 0x800000
#org @main
lock
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @accept
release
end
#org @accept
givepokemon 0x395 0x5 0x0 0x0 0x0 0x0
msgbox @2 0x6
checkflag 0x828
if 0x1 gosub @name
applymovement 0x1101 @move
waitmovement 0x0
msgbox @3 0x6
applymovement 0x1103 @move2
waitmovement 0x0
msgbox @4 0x6
release
end
#org @name
call 0x1A74EB
return
#org @move
#raw 0x0
#raw 0x10
#raw 0x2
#raw 0x12
#raw 0x12
#raw 0xFE
#org @move2
#raw 0x60
#raw 0xFE
#org @1
= Would you like to pick Bagon,\ngiving \v\h06 Larvitar?
#org @2
= Would you like to give your new pokemon a \nnickname?
#org @3
= Fine... I guess this one is mine...
#org @4
= Good luck out there \v\ho1.\nI'm sure I'll see you around.
#org @main
lock
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @accept
release
end
#org @accept
givepokemon 0x395 0x5 0x0 0x0 0x0 0x0
msgbox @2 0x6
checkflag 0x828
if 0x1 gosub @name
applymovement 0x1101 @move
waitmovement 0x0
msgbox @3 0x6
applymovement 0x1103 @move2
waitmovement 0x0
msgbox @4 0x6
release
end
#org @name
call 0x1A74EB
return
#org @move
#raw 0x0
#raw 0x10
#raw 0x2
#raw 0x12
#raw 0x12
#raw 0xFE
#org @move2
#raw 0x60
#raw 0xFE
#org @1
= Would you like to pick Bagon,\ngiving \v\h06 Larvitar?
#org @2
= Would you like to give your new pokemon a \nnickname?
#org @3
= Fine... I guess this one is mine...
#org @4
= Good luck out there \v\ho1.\nI'm sure I'll see you around.
sorry for the constant stream of issues :/ hopefully things will go better for a while