View Single Post
  #4803    
Old October 13th, 2010 (10:24 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
Moderator, CS
 
Join Date: Nov 2007
Location: Leicester, UK
Posts: 3,807
Quote originally posted by Crimson Stardust:
anyway,i have a problem with this script,i want to warp to route 1 from one map to another,which is like from vermiilion to route 1 so i do this script,its a lvel script btw.
Spoiler:
#dynamic 0x800000
#org @start
playsong 0x118 0x0
fadescreen 0x1
msgbox @1 0x4
warp 0x3 0x19 0xFF 0x8 0xE
fadesong 0x123
fadescreen 0x0
setvar 0x5006 0x1
release
end

but after the messge it warp me to route 7 intead which map is no 3:19 but 3:25..
don't noe why


Spoiler:
#dynamic 0x800000
#org @start
playsong 0x118 0x0
fadescreen 0x1
msgbox @1 0x4
fadesong 0x123
fadescreen 0x0
setvar 0x5006 0x1

warp 0x3 0x19 0x0* 0x8 0xE
end

Ammendments in bold. Okay, first off, everything after a warp is null, as the player is no longer in that map. Furthermore, you can't have Warp 0xFF, so the third parameter was incorrect. The asterisk (*) indicates that it changes depending on the warp number which you want to warp me to. I believe the 0xFF was the problem, however if not then please tell me.

Quote originally posted by Teh Blazer:
Okay Mr. Pro, there is no showpokepic nor hidepokepic command in PKSV, only XSE (to my little knowledge).
The way to show an image is to use : #raw 0x75
followed by the pokemon,'s number, a buffer, then the coordinates.
EX:
#raw 0x75 0x93 0x0 0xA 0x3
Would pop up Dratini (Me thinks, but is pretty sure I'm wrong) in (10,3) or the center.

To close, use: #raw 0x76
Um, he is using XSE...

Quote originally posted by TB Pro:
Okay, so I am having some trouble with the Pokepic commands in XSE. Fire Red base.
Code:
#org @part2
showpokepic PKMN_TENTACOOL 0x1 0x1
msgbox @ossincise 0x5
compare 0x800D 0x1
hidepokepic
if 0x1 goto @ossincisechose
showpokepic PKMN_SNORUNT 0x1 0x1
msgbox @snorunt 0x5
compare 0x800D 0x1
hidepokepic
if 0x1 goto @snoruntchose
showpokepic PKMN_LUNATONE 0x1 0x1
msgbox @birdawl 0x5
compare 0x800D 0x1
hidepokepic
if 0x1 goto @birdawlchose
msgbox @whichone 0x6
goto @part2
When I try to compile it says "unknown keyword '0x61 pokepic' on line 47" line 47 is the first showpokepic line. It also says "unknown keyword '0x60 pokepic' on line 51" line 51 is the first hidepokepic line.
Hm, I'm not sure.... Perhaps there's a conflict in one of the std files or something? Idk.