The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.


Advertise here

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #8001    
Old March 10th, 2013, 11:00 AM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552

Advertise here
Quote:
Originally Posted by designmadman View Post
Whenever I try to compile this script I get the following error: "No#org/seek directives found" any suggestions?

SCRIPT:

#dynamic 0x805300
#org @start
lockall
checkflag 0x1391
if 0x1 goto @done
checkflag 0x1385
if 0x1 goto @start
releaseall
end


#org @start2
setweather 0x5
doweather
setflag 0x1392
playsong 0x127 0x0
applymovement MOVE_PLAYER @moveplayer
waitmovement 0x0
msgbox @1 0x6
msgbox @2 0x6
msgbox @3 0x6
msgbox @4 0x6
msgbox @5 0x6
msgbox @6 0x6
applymovement 0x4 @move1
waitmovement 0x4
msgbox @yesno
boxset 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end

#org @yes
applymovement 0x5 @move2
waitmovement 0x5
trainerbattle 0x1 0x066 0x0 @before @after @later
#org @before
= TRAITOR

#org @after
= DAMM YOU!

#org @later
msgbox @7 0x6
fadescreen 0x1
hidesprite 0x2
hidesprite 0x5
fadescreen 0x1
setflag 0x1388
setflag 0x1387
msgbox @8 0x6
fadescreen 0x1
hidesprite 0x4
fadescreen 0x1
setflag 0x1389
setflag 0x1391
setflag 0x1394
setflag 0x1395
release
end



#org @no
applymovement 0x5 @move2
waitmovement 0x5
trainerbattle 0x1 0x068 0x0 @before @after @later
end

#org @before
= haha he's one of us!

#org @after
= NO...

#org @later
msgbox @9 0x6
fadescreen 0x1
hidesprite 0x2
hidesprite 0x4
fadescreen 0x1
setflag 0x1389
setflag 0x1387
msgbox @10 0x6
fadescreen 0x1
hidesprite 0x5
fadescreen 0x1
setflag 0x1388
setflag 0x1391
setflag 0x1394
setflag 0x1395
release
end

#org @done
releaseall
end


#org @yesno
= Yes or no?

#org @1
= DAISY: FIENDS

#org @2
= REX: WEVE

#org @3
= DAISY: GO FIG

#org @4
= REX: .....

#org @5
= DAISY: SPEECHLE

#org @6
= REX: I WAS

#org @7
= REX: THIS ISNT

#org @8
= DASISY: MEET

#org @9
= DAISY: YOU'D

#org @10
= REX: MEET

#org @moveplayer
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0xFE

#org@ move1
#raw 0x2F
#raw 0xFE

#org@ move2
#raw 0x2F
#raw 0xE
#raw 0xFE
Yup, you need a #org where I put it above, I made the correction in red.

Edit: Also, try not to use @1,@2, etc, as sometimes script editors will bug out and place you script at 0x000001, which will break your game, use @one and such instead. It shouldn't happen, but just to be secure.
__________________

Paired with Simba

Last edited by karatekid552; March 10th, 2013 at 11:12 AM.
  #8002    
Old March 10th, 2013, 11:27 AM
designmadman
 
Join Date: Dec 2012
Location: canada
Gender: Male
Nature: Adamant
Yeah haha I was looking at it and I realized I missed it I was going to post that I'm an idiot before anyone replied but you beat me to it.
  #8003    
Old March 10th, 2013, 12:09 PM
ChainStorm's Avatar
ChainStorm
Unhatched Egg
 
Join Date: Mar 2013
Gender: Male
Nature: Docile
I am trying to make a script where you find a pokeball with a pokemon inside. I have gotten it to work as far as the Pokemon being added to your party but I am trying to make it disappear after I get the Pokemon, like you can walk where it was and you can't see the sprite anymore. Any suggestions? I am using PKSV-UI.
__________________
I am still working on a better signature.

Last edited by ChainStorm; March 10th, 2013 at 12:32 PM.
  #8004    
Old March 10th, 2013, 12:45 PM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice
Set a flag, then assign that flag to the Pokéball's Person ID in Advance Map
__________________
  #8005    
Old March 11th, 2013, 12:08 AM
U.Flame's Avatar
U.Flame
Brony Hacker
 
Join Date: Jun 2008
Location: Sapphire City in future Hoenn
Age: 19
Gender: Male
Nature: Jolly
Is there a table of special commands I can view? diegoisawesome has an incomplete list in his tutorial, so I'd appreciate it if I can find a complete one.

I also want to know how I can change the function of items. For example, replacing Pokeblock's function with the clock command to have a portable clock. I believe I've seen something similar done before, but I don't remember where or how. I've tried opening the item's offset in XSE, then giving it the special command. That didn't change the item though, but it did perform the function when I set the item's offset to a person event. I'm obviously missing something here.
__________________
Computer broke not a month after. Jesus. Still got everything backed up though!

Yay my username is accurate now! Also holy crap I just realized Unbeatable was misspelled for the longest time! Fixed. xp

Times I've been ninja'd: 17
Times I've ninja'd people: 3

Quote:
Originally Posted by drarixio View Post
Unbeatable Flame would make a pokemon trainer run outta breath in the anime:
Unbeatable Flame, Flamethrower.
Unbeatable Flame, Sky Uppercut.
Unbeatable Flame, this.
Unbeatable Flame, that.
Un*pant*beatable---Flame, hooollaaa
Un-un-un-un--bea-bee....*Pokemon trainer fainted*

Last edited by U.Flame; March 11th, 2013 at 12:14 AM.
  #8006    
Old March 11th, 2013, 01:34 AM
DrFuji's Avatar
DrFuji
Helfen, Wehren, Heilen
 
Join Date: Sep 2009
Location: Upside-downia
Age: 21
Gender: Male
Nature: Jolly
Quote:
Originally Posted by U_Flame View Post
Is there a table of special commands I can view? diegoisawesome has an incomplete list in his tutorial, so I'd appreciate it if I can find a complete one.
A list of FR's special commands can be found in this thread. If you're looking for another version's specials then I'm not sure if there is a completed list on PC.
__________________
  #8007    
Old March 11th, 2013, 10:11 AM
jackhiggins138
Unhatched Egg
 
Join Date: Aug 2012
Gender: Male
hey , this is my script for a pokeball to give a potion but as soon as i get the item and move the pokeball comes back again

#dynamic 0x2DD264

#org @start
hidesprite 5
giveitem 0xD 0x1 0x0
setflag 0x1203
release
end

Last edited by jackhiggins138; March 11th, 2013 at 10:22 AM.
  #8008    
Old March 11th, 2013, 12:07 PM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
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 jackhiggins138 View Post
hey , this is my script for a pokeball to give a potion but as soon as i get the item and move the pokeball comes back again

#dynamic 0x2DD264

#org @start
hidesprite 5
giveitem 0xD 0x1 0x0
setflag 0x1203
release
end
Don't use flags over 900 unless you know what you are doing, see this post: http://www.pokecommunity.com/showthread.php? and this one p=6829256#post6829256http://www.pokecommunity.com/showpost.php?p=6902344&postcount=183.

You also need to set the flag that you set as the person ID for that item in A-map.
__________________

Paired with Simba
  #8009    
Old March 11th, 2013, 12:21 PM
jackhiggins138
Unhatched Egg
 
Join Date: Aug 2012
Gender: Male
soo i changed it to this

#dynamic 0x2DD2A0

#org @start
hidesprite 8
giveitem 0xD 0x1 0x0
setflag 0x8
release
end

which is what i think you ment but obviously im not a clever man and now it freezes the game when i touch it
  #8010    
Old March 11th, 2013, 03:35 PM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
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 jackhiggins138 View Post
soo i changed it to this

#dynamic 0x2DD2A0

#org @start
hidesprite 8
giveitem 0xD 0x1 0x0
setflag 0x8
release
end

which is what i think you ment but obviously im not a clever man and now it freezes the game when i touch it
Flags below 21 are temporary, they won't work for you. The best chunk is 200-2FF. Also, i can see that you changed the event number. I said change the person ID. This is at the bottom of the person event sidebar. It will specifically say "person I.D.".
__________________

Paired with Simba
  #8011    
Old March 11th, 2013, 06:16 PM
ChainStorm's Avatar
ChainStorm
Unhatched Egg
 
Join Date: Mar 2013
Gender: Male
Nature: Docile
Quote:
Originally Posted by Spherical Ice View Post
Set a flag, then assign that flag to the Pokéball's Person ID in Advance Map
Unfortunately I screwed up my rom with sappy trying to change the music and I am trying to remake it but here is the script
Spoiler:
#org 0x874002F
'-----------------------------------
lock
checkflag 0x1001
if true jump 0x8740069 ' Flag is set
setflag 0x828
countpokemon
compare LASTRESULT 0x6
if == jump 0x874006B ' Equal To
addpokemon ESPEON 5 NUGGET 0x0 0x0 0x0
setflag 0x1000
storepokemon 0x0 ESPEON
message 0x874009F ' You got a \v\h02!
fanfare 0x101
showmsg
waitfanfare
waitbutton
release
end

#org 0x8740069
'-----------------------------------
release
end

#org 0x874006B
'-----------------------------------
msgbox 0x8740075 ' You don't have enoug...
callstd MSG_NOCLOSE ' Non-closing message
release
' Release commands close any open messages
end


#org 0x874009F
= You got a \v\h02!

#org 0x8740075
= You don't have enough room in your party.


I have the Pokeball ID set to 828 but for some reason it won't even let me click the Pokeball. Nothing happens, no beep or anything, It treats it as a wall. I have it set to the script but I am almost sure I am the most incompetent (is that how you spell it?) hacker in the world. V.V Also I have checked the movement permissions and they are as they should be.
__________________
I am still working on a better signature.
  #8012    
Old March 12th, 2013, 02:39 PM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
Quote:
Originally Posted by ChainStorm View Post
Unfortunately I screwed up my rom with sappy trying to change the music and I am trying to remake it but here is the script
Spoiler:
#org 0x874002F
'-----------------------------------
lock
checkflag 0x1001
if true jump 0x8740069 ' Flag is set
setflag 0x828
countpokemon
compare LASTRESULT 0x6
if == jump 0x874006B ' Equal To
addpokemon ESPEON 5 NUGGET 0x0 0x0 0x0
setflag 0x1000
storepokemon 0x0 ESPEON
message 0x874009F ' You got a \v\h02!
fanfare 0x101
showmsg
waitfanfare
waitbutton
release
end

#org 0x8740069
'-----------------------------------
release
end

#org 0x874006B
'-----------------------------------
msgbox 0x8740075 ' You don't have enoug...
callstd MSG_NOCLOSE ' Non-closing message
release
' Release commands close any open messages
end


#org 0x874009F
= You got a \v\h02!

#org 0x8740075
= You don't have enough room in your party.


I have the Pokeball ID set to 828 but for some reason it won't even let me click the Pokeball. Nothing happens, no beep or anything, It treats it as a wall. I have it set to the script but I am almost sure I am the most incompetent (is that how you spell it?) hacker in the world. V.V Also I have checked the movement permissions and they are as they should be.
Don't use flags over 900s, they overwrite and are overwritten by variables. You can press ctrl + L on PKSV to see what are some important flags you shouldn't use for events like there (you'll also notice 0x1FE, 0x1FF, 0x200-0x204 are unused and perfect for this event).

To make an overworld disappear, you need to do disappear 0x[PersonID] as seen in Advance Map.
Last point is that you can just check flag 0x828 since you're setting it once the Pokemon is obtained anyways.
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted
  #8013    
Old March 14th, 2013, 09:03 AM
sarge981
Unhatched Egg
 
Join Date: Feb 2013
Gender: Male
Would anybody be willing to play what I have and try to figure out what is going on? I have tried troubleshooting for days but come up short everytime. Its no very far into the game its the very first pokemon center that causes problems after I fight a trainer I take possession of another sprite.

I posted before but never really got any answers or help

Pokemon:
Saphire Version:
A-MAP:
XSE:

Ok I tried doing all the research that I could but I am having trouble fixing the problem. Let me try to make this as clear as possible for you guys. When I make it to the first area that I have my pokemon center and heal I go out to battle the trainers. but after I beat some of them in battle for some reason when the battle scene is over I take control of another OW sprite or I will just move around as an invisble character. I tried narrowing down the problems. I dont believe it is any of the trainer codes as they are very basic and have no flags set on any of them. I the only other thing that I could think of would be map scripts causing the effects. But this problem only happens after I heal at the POKEMON CENTER?

I would show pics but the forum wont let me until I have posted 15 times :p
  #8014    
Old March 14th, 2013, 09:17 AM
Draimond
Unhatched Egg
 
Join Date: Mar 2013
Gender: Male
I'm happy to have a look at it if you'd like, I cant figure out how to get past an issue I'm havin with my own mod atm either. Private message me or sumthing an i'll give u my email if u wana send me over the rom to have a look at.

Quote:
Originally Posted by sarge981 View Post
Would anybody be willing to play what I have and try to figure out what is going on? I have tried troubleshooting for days but come up short everytime. Its no very far into the game its the very first pokemon center that causes problems after I fight a trainer I take possession of another sprite.

I posted before but never really got any answers or help

Pokemon:
Saphire Version:
A-MAP:
XSE:

Ok I tried doing all the research that I could but I am having trouble fixing the problem. Let me try to make this as clear as possible for you guys. When I make it to the first area that I have my pokemon center and heal I go out to battle the trainers. but after I beat some of them in battle for some reason when the battle scene is over I take control of another OW sprite or I will just move around as an invisble character. I tried narrowing down the problems. I dont believe it is any of the trainer codes as they are very basic and have no flags set on any of them. I the only other thing that I could think of would be map scripts causing the effects. But this problem only happens after I heal at the POKEMON CENTER?

I would show pics but the forum wont let me until I have posted 15 times :p
I'm happy to have a look at it if you'd like, I cant figure out how to get past an issue I'm havin with my own mod atm either. Private message me or sumthing an i'll give u my email if u wana send me over the rom to have a look at.

Last edited by Draimond; March 14th, 2013 at 09:19 AM. Reason: Your double post has been automatically merged.
  #8015    
Old March 14th, 2013, 09:31 AM
sarge981
Unhatched Egg
 
Join Date: Feb 2013
Gender: Male
Quote:
Originally Posted by Draimond View Post
I'm happy to have a look at it if you'd like, I cant figure out how to get past an issue I'm havin with my own mod atm either. Private message me or sumthing an i'll give u my email if u wana send me over the rom to have a look at.



I'm happy to have a look at it if you'd like, I cant figure out how to get past an issue I'm havin with my own mod atm either. Private message me or sumthing an i'll give u my email if u wana send me over the rom to have a look at.
Thanks man, I will send you a PM. Anybody else is welcome to try and help me on this the more the better. Im just ready to break through this problem
  #8016    
Old March 14th, 2013, 10:17 AM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice
Quote:
Originally Posted by jackhiggins138 View Post
soo i changed it to this

#dynamic 0x2DD2A0

#org @start
hidesprite 8
giveitem 0xD 0x1 0x0
setflag 0x8
release
end

which is what i think you ment but obviously im not a clever man and now it freezes the game when i touch it
you literally need to do this:

Code:
#dynamic 0x800000
#include stditems.rbh

#org @start
giveitem ITEM_NAME 0x1 MSG_FIND
end
And then assign a flag to the Poké Ball's Person ID. (This uses XSE)
__________________
  #8017    
Old March 16th, 2013, 04:34 PM
U.Flame's Avatar
U.Flame
Brony Hacker
 
Join Date: Jun 2008
Location: Sapphire City in future Hoenn
Age: 19
Gender: Male
Nature: Jolly
I've been following pokedude987's XSE tutorials on Youtube (with slight differences due to him using FireRed and I'm using Sapphire, but it works), and so far my test scripts have been working up until now. My trainer script won't compile due to the error: Error 13 "Type Mismatch" on line 10. Missing dynamic label.

The is my script:
#dynamic 0x6B0A88

#org @start
checkflag 0x201
if 0x1 goto @done
lock
faceplayer
givepokemon 0x194 0x64 0x0 0x0 0x0 0x0
msgbox @talk1 0x6
trainerbattle 0x0 0x236 0x0 @challege @defeat
setflag 0x201
release
end

#org @done
lock
faceplayer
msgbox 0x6 @talk2
release
end

#org @talk1
= Let's test a trainer battle now!

#org @talk2
= Was it a success?

#org @challenge
= Ready?

#org @defeat
= ...

Line 10 is the line with the trainerbattle command. I can't see any difference with pokedude987's 10th line besides the trainer ID pointer, but apparently I'm doing something wrong here. I'd appreciate any advice.
__________________
Computer broke not a month after. Jesus. Still got everything backed up though!

Yay my username is accurate now! Also holy crap I just realized Unbeatable was misspelled for the longest time! Fixed. xp

Times I've been ninja'd: 17
Times I've ninja'd people: 3

Quote:
Originally Posted by drarixio View Post
Unbeatable Flame would make a pokemon trainer run outta breath in the anime:
Unbeatable Flame, Flamethrower.
Unbeatable Flame, Sky Uppercut.
Unbeatable Flame, this.
Unbeatable Flame, that.
Un*pant*beatable---Flame, hooollaaa
Un-un-un-un--bea-bee....*Pokemon trainer fainted*
  #8018    
Old March 16th, 2013, 05:59 PM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
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 U_Flame View Post
I've been following pokedude987's XSE tutorials on Youtube (with slight differences due to him using FireRed and I'm using Sapphire, but it works), and so far my test scripts have been working up until now. My trainer script won't compile due to the error: Error 13 "Type Mismatch" on line 10. Missing dynamic label.

The is my script:
#dynamic 0x6B0A88

#org @start
checkflag 0x201
if 0x1 goto @done
lock
faceplayer
givepokemon 0x194 0x64 0x0 0x0 0x0 0x0
msgbox @talk1 0x6
trainerbattle 0x0 0x236 0x0 @challege @defeat
setflag 0x201
release
end

#org @done
lock
faceplayer
msgbox 0x6 @talk2
release
end

#org @talk1
= Let's test a trainer battle now!

#org @talk2
= Was it a success?

#org @challenge
= Ready?

#org @defeat
= ...

Line 10 is the line with the trainerbattle command. I can't see any difference with pokedude987's 10th line besides the trainer ID pointer, but apparently I'm doing something wrong here. I'd appreciate any advice.
You spelled "challenge" wrong on line 10:p. It was searching for "Challege" and couldn't find it.
__________________

Paired with Simba
  #8019    
Old March 17th, 2013, 10:29 AM
ProfessorBeeching's Avatar
ProfessorBeeching
Professor Of Fail
 
Join Date: Mar 2013
Location: Sol 3, MW Galaxy, Universe-1
Age: 18
Gender: Male
Nature: Quirky
Alright, now this might have been covered, but for some reason the search function hasn't yielded results for me...and its slowness doesn't help.
Anyway, my script is
Spoiler:
#org $talk
lock
faceplayer
message $hello
$hello 1 = Did you know?\nSkitty like the smell of flowers!
boxset 6
release
end

The problem isn't the script itself...I think...but I'm posting here just in case it is (that and I've no idea where to post it). Obviously, it's meant to make the NPC registered with it to say "Did you know? Skitty like the smell of flowers!" but for some reason, in-game she doesn't say this. In fact, she's not even where I placed her Person Event. In all the tests I've done so far, she seems to end up in one of two places - one is in the wall of a house, and one is in the middle of the map. In both cases, talking to her does nothing - she just continues looking as if there's no interaction. I've tried reinstalling Pokescript and using a fresh rom - even changing which game I'm hacking - but it still does nothing. I don't use XSE because I keep getting a runtime error 9 no matter what I do. So...could someone tell me if it's a script problem or an external problem?
Again, sorry if it's not the right place.
  #8020    
Old March 17th, 2013, 10:53 AM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice
Use XSE. The version you have is faulty. Here's the correct version.

For XSE, this is all you need to do:

Spoiler:
#dynamic 0x800000

#org @start
msgbox @string1 0x2
release
end

#org @string1
= Did you know?\nSkitty like the smell of flowers!


Hit the Gears button and hit Copy, then paste the offset into the person's script offset in Advance Map.
__________________
  #8021    
Old March 17th, 2013, 11:24 AM
ProfessorBeeching's Avatar
ProfessorBeeching
Professor Of Fail
 
Join Date: Mar 2013
Location: Sol 3, MW Galaxy, Universe-1
Age: 18
Gender: Male
Nature: Quirky
Well, that would be great...if XSE was working. Just downloaded the version you linked me to, unzipped it, and tried to use the application. Still getting the exact same response I got from every other time I used XSE;
"Run-Time Error 9:
subscript out of range"

EDIT: Through a quick Youtube search I managed to acquire a version of XSE which will work. I've done exaclty as you said to do, but it still yields the same result; the woman is still standing in the wrong place, just as before, even with the changed script offset. Actually, upon further examination, she returns to 'her' spot now after I get my starter, but talking to her triggers a glitchy shop, or a slot machine. I'm starting to wonder if this is caused by deleting events in the town, but I wouldn't have thought such a thing would be possible.
EDIT EDIT: Attempted the very same script you suggested in XSE on a fresh rom, but I still get the same issues.

Last edited by ProfessorBeeching; March 17th, 2013 at 11:57 AM.
  #8022    
Old March 17th, 2013, 01:51 PM
TweenyTodd
Quitting cuz i got a job
 
Join Date: Feb 2013
Location: NOYB
Nature: Sassy
OK, I have a problem with this level script. What script type should it be if I want it to work the second you enter a map?

Right now its script type 5, which only works when you open then close the menu.
  #8023    
Old March 17th, 2013, 01:57 PM
GoGoJJTech's Avatar
GoGoJJTech
GoGo
 
Join Date: Nov 2012
Location: Earth
Age: 15
Gender: Male
Nature: Quiet
I use four for my level scripts. Read cooley's level script tutorial and it will work.
__________________
  #8024    
Old March 18th, 2013, 08:36 AM
TweenyTodd
Quitting cuz i got a job
 
Join Date: Feb 2013
Location: NOYB
Nature: Sassy
Now it doesn't work AT ALL. I'm thinking something is wrong with my script. Here is what I wrote.
Spoiler:

#dynamic 0x800000
#org @start
checkgender
compare 0x800D 0x1
if 0x1 goto @female
checkgender
compare 0x800D 0x0
if 0x1 goto @male

#org @female
hidesprite 0x1
setflag 0x900
hidesprite 0x4
setflag 0x901

#org @male
hidesprite 0x3
setflag 0x902
hidesprite 0x5
setflag 0x903

Last edited by TweenyTodd; March 18th, 2013 at 08:49 AM.
  #8025    
Old March 18th, 2013, 08:51 AM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
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 TweenyTodd View Post
Now it doesn't work AT ALL. I'm thinking something is wrong with my script. Here is what I wrote.
Spoiler:

#dynamic 0x800000
#org @start
checkgender
compare 0x800D 0x1
if 0x1 goto @female
compare 0x800D 0x0
if 0x1 goto @male

#org @female
hidesprite 0x1
setflag 0x900
hidesprite 0x4
setflag 0x901

#org @male
hidesprite 0x3
setflag 0x902
hidesprite 0x5
setflag 0x903
Use option 02 for map scripts with an unused var. Also, NO flags over 900. They overwrite var and pc ram space.
__________________

Paired with Simba
Closed Thread
Quick Reply

Sponsored Links


Advertise here
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 01:07 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.