Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub

Notices
For all updates, view the main page.

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.



Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #6426    
Old February 3rd, 2012 (10:00 AM).
jukin8's Avatar
jukin8
Suicune Man
 
Join Date: Jan 2012
Location: Ontario, Canada
Age: 18
Gender: Male
Nature: Brave
im new to scripting and i need a clear explainaition of how to make a script that you step on make someone give you something screenfades their sprite disappears and stays gone and also to change the script for recieveing a starter in ruby because i have 3 person events set up to capture your starter :/
__________________
Heavenly Suicune- Jukin8

Help me out by signing up at http://pkmnmoon.com/signup.php?s=12146 thanks
  #6427    
Old February 3rd, 2012 (01:11 PM).
Co500's Avatar
Co500
You think you're strong? You're not.
Community Supporter
 
Join Date: Jun 2008
Location: Far Awayyyyyyy
Gender: Male
Quote originally posted by jukin8:
im new to scripting and i need a clear explainaition of how to make a script that you step on make someone give you something screenfades their sprite disappears and stays gone and also to change the script for recieveing a starter in ruby because i have 3 person events set up to capture your starter :/
Everything you need is here: http://www.pokecommunity.com/showthread.php?t=164276

Anyway, I have a problem with my script, everything works great apart from "applymovement 0x7 @move3
applymovement 0x8 @move4"
When the script activates they just dont move, at all
Heres the full script
Spoiler:
#dynamic 0x800000

#org @script
lock
faceplayer
checkflag 0x1300
if 0x0 goto @start
release
end

#org @start
lockall
faceplayer
msgbox @1 0x6
special 0x113
applymovement 0x7F @move
waitmovement 0x0
msgbox @2 0x6
applymovement 0x7F @move2
waitmovement 0x0
special 0x114
msgbox @3 0x6
applymovement 0x7 @move3
applymovement 0x8 @move4
setflag 0x1300
release
end

#org @1
= [blue_fr]Misty: Hey, look over here!.

#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE

#org @2
= [red_fr]Jessie: So Chikorita, what do you say? \nHow would you like to join us.

#org @move2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @3
= [blue_fr]Misty: [Player] we have to save that poor Pokemon!.

#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1
#raw 0xFE

#org @move4
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1
#raw 0xFE
__________________
It can't end now. Not like this.


I hope you’ll remember, there is something good in goodbye.



  #6428    
Old February 3rd, 2012 (01:15 PM).
Valentin
 
Join Date: Oct 2011
im new in scripting , i need to know how can i change movement of a person.

Example:

--------------------------------------------------------------------
#org 0x972A9D



0x1 0x885A02D



0x1 0x8973FA8




'-----------------------
#org 0x85A02D



'-----------------------
#org 0x973FA8




0x3 0x885A02F



msgbox 0x8973F3F '"\c\h01ÇOh hey, [player].\nHave you ..."

0x4F 0xA0610003
0x8 0x6100FF4F

0x8 0x35000051




'-----------
' Movements
'-----------
#org 0x85A02F
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x973F3F
= \c\h01ÇOh hey, [player].\nHave you talked to your Neighbor?\pI think she will give you\nsomething before you go.
------------------------------------------------------------------------------

How can i change this script to walk right instead of left?
[Pokemon Fire Red Version]
  #6429    
Old February 3rd, 2012 (01:21 PM).
Co500's Avatar
Co500
You think you're strong? You're not.
Community Supporter
 
Join Date: Jun 2008
Location: Far Awayyyyyyy
Gender: Male
Quote originally posted by Valentin:
Spoiler:
im new in scripting , i need to know how can i change movement of a person.

Example:

--------------------------------------------------------------------
#org 0x972A9D



0x1 0x885A02D



0x1 0x8973FA8




'-----------------------
#org 0x85A02D



'-----------------------
#org 0x973FA8




0x3 0x885A02F



msgbox 0x8973F3F '"\c\h01ÇOh hey, [player].\nHave you ..."

0x4F 0xA0610003
0x8 0x6100FF4F

0x8 0x35000051




'-----------
' Movements
'-----------
#org 0x85A02F
#raw 11 'Step Up (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw FE 'End of Movements



'---------
' Strings
'---------
#org 0x973F3F
= \c\h01ÇOh hey, [player].\nHave you talked to your Neighbor?\pI think she will give you\nsomething before you go.
------------------------------------------------------------------------------

How can i change this script to walk right instead of left?
[Pokemon Fire Red Version]
I don't think you should delete your post and then repost it, it could annoy some of the other users.... oh and I have changed the script for you in the spoiler, its in red what has been changed, just so you know when making new scripts
#raw 0x12 = left
#raw 0x13 = right
__________________
It can't end now. Not like this.


I hope you’ll remember, there is something good in goodbye.



  #6430    
Old February 3rd, 2012 (01:50 PM).
DrFuji's Avatar
DrFuji
Helfen, Wehren, Heilen
Community Supporter
 
Join Date: Sep 2009
Location: Upside-downia
Age: 22
Gender: Male
Nature: Jolly
Quote originally posted by Co500:
Everything you need is here: http://www.pokecommunity.com/showthread.php?t=164276

Anyway, I have a problem with my script, everything works great apart from "applymovement 0x7 @move3
applymovement 0x8 @move4"
When the script activates they just dont move, at all
Heres the full script
Spoiler:
#dynamic 0x800000

#org @script
lock
faceplayer
checkflag 0x1300
if 0x0 goto @start
release
end

#org @start
lockall
faceplayer
msgbox @1 0x6
special 0x113
applymovement 0x7F @move
waitmovement 0x0
msgbox @2 0x6
applymovement 0x7F @move2
waitmovement 0x0
special 0x114
msgbox @3 0x6
applymovement 0x7 @move3
applymovement 0x8 @move4
setflag 0x1300
release
end

#org @1
= [blue_fr]Misty: Hey, look over here!.

#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE

#org @2
= [red_fr]Jessie: So Chikorita, what do you say? \nHow would you like to join us.

#org @move2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @3
= [blue_fr]Misty: [Player] we have to save that poor Pokemon!.

#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1
#raw 0xFE

#org @move4
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1
#raw 0xFE
You forgot to put waitmovement 0x0 after the movement command pointers so the script is finishing before they can take a single step.
__________________
  #6431    
Old February 3rd, 2012 (06:17 PM).
masterquestmq's Avatar
masterquestmq
Enthusiastic Rom Hacker
 
Join Date: Nov 2010
Gender: Male
i have a question.

how do we make an OW appear and stay visible.
i placed the OW as hidden in the beginning of d script
then the usual
showsprite command
applymovement
after the applymovement command the OW disappears again.
how do I fix this?
  #6432    
Old February 4th, 2012 (12:18 AM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
@masterquestmq: It's easier to do it with flags than by using hidden movement which can be pretty buggy.
You do it like this:
Assaign OW flag you already used it game, then when you want to make OW appear, clear that same flag and OW is visible forever (until you set that flag again that is)
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #6433    
Old February 4th, 2012 (09:39 AM).
jukin8's Avatar
jukin8
Suicune Man
 
Join Date: Jan 2012
Location: Ontario, Canada
Age: 18
Gender: Male
Nature: Brave
Quote originally posted by Co500:
Everything you need is here: http://www.pokecommunity.com/showthread.php?t=164276

Anyway, I have a problem with my script, everything works great apart from "applymovement 0x7 @move3
applymovement 0x8 @move4"
When the script activates they just dont move, at all
Heres the full script
Spoiler:
#dynamic 0x800000

#org @script
lock
faceplayer
checkflag 0x1300
if 0x0 goto @start
release
end

#org @start
lockall
faceplayer
msgbox @1 0x6
special 0x113
applymovement 0x7F @move
waitmovement 0x0
msgbox @2 0x6
applymovement 0x7F @move2
waitmovement 0x0
special 0x114
msgbox @3 0x6
applymovement 0x7 @move3
applymovement 0x8 @move4
setflag 0x1300
release
end

#org @1
= [blue_fr]Misty: Hey, look over here!.

#org @move
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE

#org @2
= [red_fr]Jessie: So Chikorita, what do you say? \nHow would you like to join us.

#org @move2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @3
= [blue_fr]Misty: [Player] we have to save that poor Pokemon!.

#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1
#raw 0xFE

#org @move4
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1
#raw 0xFE

Ive already checked there like the sprite reappears as son as i move how do i stop that from happening?
__________________
Heavenly Suicune- Jukin8

Help me out by signing up at http://pkmnmoon.com/signup.php?s=12146 thanks
  #6434    
Old February 4th, 2012 (03:08 PM).
Co500's Avatar
Co500
You think you're strong? You're not.
Community Supporter
 
Join Date: Jun 2008
Location: Far Awayyyyyyy
Gender: Male
Quote originally posted by jukin8:
Ive already checked there like the sprite reappears as son as i move how do i stop that from happening?
Seems like you need to use Hidesprite and setflag for the sprite to stay hidden after the script is over, which.... are both fully detailed in the link I posted last time.
__________________
It can't end now. Not like this.


I hope you’ll remember, there is something good in goodbye.



  #6435    
Old February 7th, 2012 (07:30 AM). Edited February 7th, 2012 by Eradath.
Eradath
Beginning Trainer
 
Join Date: Feb 2012
Gender: Male
Hey there everyone. I was wondering if anyone could please help me figure out why my script will not start. I don't know what I have set wrong but I have setup the green S things on AM with the script loaded into them but walking on them does nothing at all.

Game: Pokemon Fire Red Version
Type: Trigger
Editor: PKSV
Script:
Spoiler:
#dynamic 0x740000
#org @start
lock
checkflag 0x1302
if true jump @skip
lockall
setvar 0x4001 0x1
jump @code2

#org @code2
setvar 0x8004 0x0
setvar 0x8005 0x2
textcolor BLUE
playsound 0x12E 0x0
message @text1
showmsg
pause 0x55
closemsg
applymovement PLAYER @move1
pauseevent 0x0
sound 0x15
applymovement PLAYER @move4
pause 0x1E
reappear 0x12
compare 0x4001 0x0
if == call @code3
compare 0x4001 0x1
if == call @code4
pause 0x1E
jump @code5

#org @code3
applymovement 0x12 @move2
pauseevent 0x0
return

#org @code4
applymovement 0x12 @move3
pauseevent 0x0
return

#org @code5
trainerbattle 0x01 0x008 0x0 @text3 @text4 @text5
jump @code6

#org @code6
message @text6
showmsg
callstd MSG_NOCLOSE
closemsg
storepokemon 0x1 BULBASAUR
message @text7
showmsg
callstd MSG_NOCLOSE
closemsg
pause 0x1E
compare 0x4001 0x0
if == call @code7
compare 0x4001 0x1
if == call @code8
disappear 0x12
setvar 0x4055 0x1
setvar 0x4050 0x1
setflag 0x1302
releaseall
end

#org @code7
applymovement 0x12 @move5
return

#org @code8
applymovement 0x12 @move5
return

#org @text1
= OAK: Wait up a second!!

#org @move1
M look_down_delayed end

#org @move2
M walk_up walk_up walk_left walk_up walk_up walk_up end

#org @move3
M walk_up walk_up walk_up walk_up walk_up end

#org @move4
M say_! end

#org @text3
= I have a gift for you.\nIf you can beat me.

#org @text4
= Excellent work \v\h01!

#org @text5
jump @code6

#org @text6
= You have improved a lot!\nYour well on your way\nto becoming a POK\eMON master!\pAs promised here is\nyour gift.

#org @text7
= I have sent your gift to\nthe storage box in your PC.\pI best be getting back now,\nsee you again soon.

#org @move5
M walk_down walk_down walk_down walk_down walk_down walk_down walk_down

#org @skip
release
end

Screenshots and/or videos:
Spoiler:
Can't post links until 15 posts.. imageshack. us/photo/my-images/638/screenshotviridianscrip.png/ Just remove the space between . us


Way I want it to work is that if you stand on either of them the event will be triggered and Prof. Oak will walk up and the script will play through until done. But for some reason I stand on the squares that should activate it and absolutely nothing happens. I would appreciate any help in this matter. Thank you in advance.

Edit:
Oh and in the script at the beginning "setvar 0x4001 0x1" is for the right S box. For the left box change it to "setvar 0x4001 0x0".
  #6436    
Old February 8th, 2012 (09:56 PM).
TheOrangePichu's Avatar
TheOrangePichu
Currently working on new hack
 
Join Date: Jun 2011
Location: Earth
Gender: Male
Nature: Jolly
Can someone help me out with this script, when I step on the green square it just freezes and nothing happens

Spoiler:
#dynamic 0x161600

#org @1stpokemon
checkflag 0x828
if 0x1 goto @done
applymovement 0xFF @nopokemon
waitmovement 0x0
msgbox @1 0x0
release
end

#org @done
release
end

#org @nopokemon
#raw 0x12
#raw 0xFE

#org @1
= I can't leave yet. I need to get\nmy Pokemon from off the table.
  #6437    
Old February 8th, 2012 (10:08 PM).
DrFuji's Avatar
DrFuji
Helfen, Wehren, Heilen
Community Supporter
 
Join Date: Sep 2009
Location: Upside-downia
Age: 22
Gender: Male
Nature: Jolly
Quote originally posted by TheOrangePichu:
Can someone help me out with this script, when I step on the green square it just freezes and nothing happens

Spoiler:
#dynamic 0x161600

#org @1stpokemon
checkflag 0x828
if 0x1 goto @done
applymovement 0xFF @nopokemon
waitmovement 0x0
msgbox @1 0x0
release
end

#org @done
release
end

#org @nopokemon
#raw 0x12
#raw 0xFE

#org @1
= I can't leave yet. I need to get\nmy Pokemon from off the table.
Your script seems to be fine, so I assume that you have not changed the green script box's unknown and variable number boxes. Change them to match the picture below and hopefully everything should work.

Quote originally posted by diegoisawesome's XSE tutorial:
__________________
  #6438    
Old February 8th, 2012 (10:12 PM).
TheOrangePichu's Avatar
TheOrangePichu
Currently working on new hack
 
Join Date: Jun 2011
Location: Earth
Gender: Male
Nature: Jolly
I'm using Advance Map 1.95 so the unknown is only two numbers long. It appears as $00 then is does $0000
  #6439    
Old February 8th, 2012 (11:15 PM).
DrFuji's Avatar
DrFuji
Helfen, Wehren, Heilen
Community Supporter
 
Join Date: Sep 2009
Location: Upside-downia
Age: 22
Gender: Male
Nature: Jolly
Quote originally posted by TheOrangePichu:
I'm using Advance Map 1.95 so the unknown is only two numbers long. It appears as $00 then is does $0000
Try changing it to 03 then.
__________________
  #6440    
Old February 9th, 2012 (12:27 PM).
TheOrangePichu's Avatar
TheOrangePichu
Currently working on new hack
 
Join Date: Jun 2011
Location: Earth
Gender: Male
Nature: Jolly
It worked, thank you Mr. Fuji
  #6441    
Old February 9th, 2012 (07:09 PM).
masterquestmq's Avatar
masterquestmq
Enthusiastic Rom Hacker
 
Join Date: Nov 2010
Gender: Male
what's the flag or command that needs to be used in order to activate bill's pc?

do we use the special 0x3C command?
  #6442    
Old February 9th, 2012 (07:29 PM).
DrFuji's Avatar
DrFuji
Helfen, Wehren, Heilen
Community Supporter
 
Join Date: Sep 2009
Location: Upside-downia
Age: 22
Gender: Male
Nature: Jolly
Quote originally posted by masterquestmq:
what's the flag or command that needs to be used in order to activate bill's pc?

do we use the special 0x3C command?
You have to set the flag 0x834 in order for it to display Bill's name in the PC menu. Special 0x3C actually opens up the PC menu instantly when put in a script so it could be useful in its own circumstances.
__________________
  #6443    
Old February 10th, 2012 (10:19 AM).
wierddude22's Avatar
wierddude22
New hacker
 
Join Date: Aug 2011
Location: My house
Age: 18
Gender: Male
Nature: Jolly
Send a message via Windows Live Messenger to wierddude22 Send a message via Skype™ to wierddude22
My script just makes you freeze at the door, its meant to stop you from going out of the house.

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x735
if 0x0 goto @get
release
end

#org @get
msgbox @1 0x6
#raw 0x09
setflag 0x734

#org @1
= \c\h01\h04\Don't go out.\nYour grounded remember

Any help
__________________
I envy many of you
  #6444    
Old February 10th, 2012 (10:54 AM).
Echidna's Avatar
Echidna
Community Supporter
 
Join Date: Aug 2010
Location: Vaniville Town
Age: 20
Gender: Male
Nature: Brave
Quote originally posted by wierddude22:
My script just makes you freeze at the door, its meant to stop you from going out of the house.

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x735
if 0x0 goto @get
release
end

#org @get
msgbox @1 0x6
#raw 0x09
setflag 0x734

#org @1
= \c\h01\h04\Don't go out.\nYour grounded remember

Any help
You need an 'end' command in the second #org script. Why did you set a flag in the 'prevent leaving' script? That will just get set over and over again until he does what he's supposed to.

Also, I'm not sure if #raw 0x09 is a command in XSE default raw format, but I'd recommend using text commands, as it could get confusing otherwise.

One more thing, have you set the 'var number' to 4051 and the 'unknown' to 0003? If you're hacking anything other than firered, those values might have to be different, but in any case, failing to place them will freeze the player upon stepping over the script tile.
__________________






  #6445    
Old February 10th, 2012 (06:57 PM).
TorNyan
Hacker
 
Join Date: Feb 2012
Location: Sweden
Age: 19
Gender: Female
Nature: Calm
Game: FireRed Type: Person Event Editor: eXtreme Scipt Editor (XSE) Script: GivePokemon and hidesprite
Spoiler:
#dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x901
if 0x1 goto @done
givepokemon 0x3D 0x10 0x0 0x0 0x0 0x0
msgbox @namebox 0x5
compare 0x800D 0x1
if 0x1 gosub @naming
hidesprite 0x1
setflag 0x901
setflag 0x828
release
end

#org @done
hidesprite 0x1
release
end

#org @namebox
= [black_fr]Would you like to give a\nnickname to your [blue_fr]Poliwhirl[black_fr]?

#org @naming
call 0x1A74EB
return


Basically, you're supposed to talk to a Poliwhirl OV and he will join your party and the Pokemon Menu should be unlocked.
It works fine except that when I enter a warpzone and re-enter to where Poliwhirl was, he's back!
And yes, I HAVE set his ID to 0901 and he is Person Event no 1.
I've looked at other people with similiar problems and tried lots of different things, but I can't get it to work and I would really appreciate your help!
  #6446    
Old February 10th, 2012 (11:15 PM).
DrFuji's Avatar
DrFuji
Helfen, Wehren, Heilen
Community Supporter
 
Join Date: Sep 2009
Location: Upside-downia
Age: 22
Gender: Male
Nature: Jolly
Quote originally posted by TorNyan:
Game: FireRed Type: Person Event Editor: eXtreme Scipt Editor (XSE) Script: GivePokemon and hidesprite
Spoiler:
#dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x901
if 0x1 goto @done
givepokemon 0x3D 0x10 0x0 0x0 0x0 0x0
msgbox @namebox 0x5
compare 0x800D 0x1
if 0x1 gosub @naming
hidesprite 0x1
setflag 0x901
setflag 0x828
release
end

#org @done
hidesprite 0x1
release
end

#org @namebox
= [black_fr]Would you like to give a\nnickname to your [blue_fr]Poliwhirl[black_fr]?

#org @naming
call 0x1A74EB
return


Basically, you're supposed to talk to a Poliwhirl OV and he will join your party and the Pokemon Menu should be unlocked.
It works fine except that when I enter a warpzone and re-enter to where Poliwhirl was, he's back!
And yes, I HAVE set his ID to 0901 and he is Person Event no 1.
I've looked at other people with similiar problems and tried lots of different things, but I can't get it to work and I would really appreciate your help!
When I tried using a different a different flag (0x200 to be exact) the script worked perfectly. This leads me to assume that the 0x9XX flags also overlap with other data, similar to how the 0x5XX flags also correlate to the trainerbattle flags. Anyway try using a flag from another area and everything should work :)
__________________
  #6447    
Old February 11th, 2012 (12:49 AM).
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Quote originally posted by DrFuji:
When I tried using a different a different flag (0x200 to be exact) the script worked perfectly. This leads me to assume that the 0x9XX flags also overlap with other data, similar to how the 0x5XX flags also correlate to the trainerbattle flags. Anyway try using a flag from another area and everything should work
I agree with that. Flags over 0x900 do not work as desired (I did check it myself :D)
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #6448    
Old February 11th, 2012 (02:56 AM).
wierddude22's Avatar
wierddude22
New hacker
 
Join Date: Aug 2011
Location: My house
Age: 18
Gender: Male
Nature: Jolly
Send a message via Windows Live Messenger to wierddude22 Send a message via Skype™ to wierddude22
Well i have adjusted my last script, but it still doesn't work
Spoiler:
#dynamic 0x800000

#org @start
lock
msgbox @1 0x6
applymovement 0xFF @get
setflag 0x785
waitmovement 0x0
release
end

#org @1
= \c\h01\h04\Don't go out.\nYour grounded remember

#org @get
#raw 0x05 0xFE
__________________
I envy many of you
  #6449    
Old February 11th, 2012 (07:45 AM).
Echidna's Avatar
Echidna
Community Supporter
 
Join Date: Aug 2010
Location: Vaniville Town
Age: 20
Gender: Male
Nature: Brave
Quote originally posted by wierddude22:
Well i have adjusted my last script, but it still doesn't work
Spoiler:
#dynamic 0x800000

#org @start
lock
msgbox @1 0x6
applymovement 0xFF @get
setflag 0x785
waitmovement 0x0
release
end

#org @1
= \c\h01\h04\Don't go out.\nYour grounded remember

#org @get
#raw 0x05 0xFE
Using that script, the player's gonna be stuck forever. You need to add a loophole to allow the player to leave after completing a certain task.
Also, did you change the Var Number and Unknown value in A-Map. Its not going to work if you don't. Which version of XSE are you using?
__________________






  #6450    
Old February 11th, 2012 (01:30 PM).
SasukeCat's Avatar
SasukeCat
Beginning Trainer
 
Join Date: Jan 2009
Nature: Calm
Send a message via Windows Live Messenger to SasukeCat
Game: Fire red
Type: Shiny wild battle
Editor: XSE
Script:
Spoiler:
#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @cry 0x6
cry 0x6 0x0
wildbattle 0x82 0x28 0x00
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end

#cry @1
= Uaaaa!!!

I want to make gyardos to be shiny and i don't know how to do it.. I searched for 2 hours and nothing. Can anyone help?
__________________


Closed Thread
Quick Reply

Sponsored Links
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:13 PM.