View Single Post
  #24260    
Old March 17th, 2013 (09:56 AM). Edited March 17th, 2013 by karatekid552.
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Posts: 1,767
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote originally posted by Dragoon:
I know of this tutorial, however, even creating a rough item, using descriptions and images already in the game, the NPC does not give me the item.

I know that the NPC should because I have already created an evolutionary stone. But just this random item is not being given to me.
Can we see the script as it is compiled in game?

Also, is your bag full? Without a special check to see if it is, the game will just skip that command if it is indeed full, and won't say a thing.

Quote originally posted by iDowngrade:
Lol, ok karatekid.
The full error message is "Floating pointer must be pushed" Anyways, i think it means that i made an offset and didnt make an use of it(Im not sure), and i'll try with XSE then...

Ok, i found the floating pointer and everything, now i inserted the script and the game crashes, new

Script:
Spoiler:

#org $multitest
lock
faceplayer
checkflag 0x1300
if 0x01 goto $given
compare 0x8000 8
msgbox2
waitmsgbox2
multi 0x0 0x0 0x26 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0
if 1 goto $vaporeon
compare 0x8000 1
if 1 goto $jolteon
compare 0x8000 2
if 1 goto $flareon
compare 0x8000 3
if 1 goto $espeon
compare 0x8000 4
if 1 goto $umbreon
compare 0x8000 5
if 1 goto $eevee
compare 0x8000 6
if 1 goto $exit
compare 0x8000 7
release
end

#org $vaporeon
setvar 0x8005 0x1
vardisplay 0 0x8005
message $vapdog
$vapdog 1 = Oh, so da WATER doggie!\nVaporeon!, there we go!
boxset 0x6
givepokemon 134 5 0x00
setflag 0x1300
release
end

#org $jolteon
setvar 0x8005 0x2
vardisplay 0 0x8005
message $joltdog
$joltdog 1 = Oh, so da THUNDER doggie!\nJolteon!, there we go!
boxset 0x6
givepokemon 135 5 0x00
setflag 0x1300
release
end

#org $flareon
setvar 0x8005 0x3
vardisplay 0 0x8005
message $flamedog
$flamedog 1 = Oh, so da FIRE doggie!\nFlareon!, there we go!
boxset 0x6
givepokemon 136 5 0x00
setflag 0x1300
release
end

#org $espeon
setvar 0x8005 0x4
vardisplay 0 0x8005
message $psydog
$psydog 1 = Oh, so da PSYCHIC doggie!\nEspeon!, there we go!
boxset 0x6
givepokemon 196 5 0x00
setflag 0x1300
release
end

#org $umbreon
setvar 0x8005 0x5
vardisplay 0 0x8005
message $darkdog
$darkdog 1 = Oh, so da DARK doggie!\nUmbreon!, there we go!
boxset 0x6
givepokemon 197 5 0x00
setflag 0x1300
release
end

#org $eevee
setvar 0x8005 0x6
vardisplay 0 0x8005
message $doggie
$doggie 1 = Not sure yet about your doggie?\nThen Eevee is your choice!\pThere we go!
boxset 0x6
givepokemon 197 5 0x00
setflag 0x1300
release
end

#org $exit
setvar 0x8005 0x7
vardisplay 0 0x8005
message $okie
$okie 1 = Remember you get one choice.\nAnyways, you can always\pPick an EEVEE and then\nEvolve it later!
boxset 0x6
release
end

#org $given
setvar 0x8005 0x8
vardisplay 0 0x8005
message $done
$done 1 = There it is!/nYour own POKeMON!/pLet your journey begin!
boxset 0x6
release
end
The only problems I can see:

1. You are using flags over 900. Won't cause a crash, but will cause bad eggs and broken vars as they overwrite pc and var RAM space.

2. Your multichoice box isn't using preparemsg. This command will be used around it in XSE. I don't know if it is the same in Pokescript, but it may be. I noticed you used msgbox2, is that the same? Also, shouldn't there be a message attached to that command: {i.e. msgbox2 $msgforchoice} ?

Hope you can get this right, it looks like a fun script!

Quote originally posted by CrystalStatic:
I tried that and it still isn't working... I also went to some of the original cities (Lilycove City, ect) and the name doesn't show up there, either.
I have had this problem before....... but I can't remember what I did!!! Ugggh, I wish I could help:/.
__________________

Paired with Simba