Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub > Beginner’s Lounge
Reload this Page Script Help Thread (DO NOT REQUEST SCRIPTS)

Notices
For all updates, view the main page.

Beginner’s Lounge Where all good (and bad) ideas start. This is the Beginner’s Lounge, where if you need a helping hand or want to develop your small ideas, you bring it here. We won't bite.



Closed Thread
 
Thread Tools
  #7501    
Old December 29th, 2012 (04:22 AM).
TheUltimateG.J's Avatar
TheUltimateG.J TheUltimateG.J is offline
 
Join Date: Oct 2011
Location: Bihar,Darbhanga
Age: 16
Gender: Male
Nature: Jolly
Posts: 105
i just want to know how can i insert a headbutt tree script like pokemon shiny gold.how can i?
__________________


A lover of Pokemon and their Hacks this is no other than?

Only he can be----->G.J
  #7502    
Old December 29th, 2012 (04:42 AM).
Aryan143's Avatar
Aryan143 Aryan143 is offline
The Fennekin Fan!
 
Join Date: Jul 2012
Location: Delhi, India
Age: 15
Gender: Male
Nature: Modest
Posts: 756
Quote originally posted by Ganeshwar:
i just want to know how can i insert a headbutt tree script like pokemon shiny gold.how can i?
Got it from a website-

#org $headbutt
#raw 0x7C 0x1D 0x00 'check to see if one of our pokes knows Headbutt!
compare LASTRESULT 0x06 'if none of them do
if 1 jump $could 'jump to the "this tree could be headbutted" comment
#raw 0x9D 0x00 0x0D 0x80 'store PKMN for animation
#raw 0x7F 0x00 0x0D 0x80 'store PKMNs name to \v\h02
#raw 0x82 0x01 0x1D 0x00 'store HEADBUTT to \v\h03
message $question
$question 1 = This tree could have a Pokemon\nin it. Use HEADBUTT?
boxset 0x5
compare LASTRESULT 0x00 'if they say no...
if 1 jump $end 'break off now
message $used 'show X used Y!
$used 1 = \v\h02 used \v\h03!
boxset 0x6
#raw 0x68 'im not sure what this is used for here, but best include it
#raw 0x9C 0x25 0x00 'there is no animation for HEADBUTT, so use the ROCK SMASH one
#raw 0x27 'as above
jump 0x1Be06F 'games inbuilt code for "Trees" pokemon encounter

#org $could
message $you
$you 1 = This tree could be HEADBUTTed!
boxset 0x6
release
end

#org $end
release
end
__________________
Check out my gaming company:

  #7503    
Old December 29th, 2012 (04:42 AM).
DrFuji's Avatar
DrFuji DrFuji is offline
Helfen, Wehren, Heilen
Crystal Tier
 
Join Date: Sep 2009
Location: Downia-upside
Age: 22
Gender: Male
Nature: Jolly
Posts: 1,322
Quote originally posted by Kyouhei_ii00:
I made a trainer but I need to talk to it to battle.

Script:
Spoiler:

#dynamic 0x71E400

#org @start
trainerbattle 0x0 0x202 0x0 @yo @do
msgbox @talk 0x6
release
end

#org @yo
= Come at me Bro!!!

#org @do
= ....

#org @talk
= ....


Here are the AMap settings:
Spoiler:

Movement = $11
Trainer = $01
View Radius = $0004
Person ID = $0000


I want it so that the trainer walks up to the player then battles
You also need to tick the 'Trainer' box on the overworld.

Quote originally posted by Ganeshwar:
i just want to know how can i insert a headbutt tree script like pokemon shiny gold.how can i?
This tutorial should be helpful if you want to make a new behaviour byte.

If you just want the headbuttable tree itself with a different list of Pokemon encounters to the tall grass/ ocean/ fishing lists then use the command 'special 0xAB' in a regular signpost script. This calls the tree-type encounter list when you edit the Wild Pokemon tab in Advance Map.
__________________
  #7504    
Old December 29th, 2012 (08:39 PM). Edited December 29th, 2012 by Kyouhei_ii00.
Kyouhei_ii00 Kyouhei_ii00 is offline
I'm male
 
Join Date: Dec 2012
Gender: Male
Posts: 9
Quote:
You also need to tick the 'Trainer' box on the overworld.
There isn't a tick box in the events of the person. Only ( trainer) setting then a text box with $00 as default. I use advance map 1.95.
Attached Images
File Type: jpg amap.jpg‎ (33.1 KB, 11 views) (Save to Dropbox)
__________________
  #7505    
Old December 31st, 2012 (06:31 AM).
Aryan143's Avatar
Aryan143 Aryan143 is offline
The Fennekin Fan!
 
Join Date: Jul 2012
Location: Delhi, India
Age: 15
Gender: Male
Nature: Modest
Posts: 756
Do anybody know How to change Prof. Birch's intro script?
__________________
Check out my gaming company:

  #7506    
Old December 31st, 2012 (10:13 AM).
Herpahermaderp's Avatar
Herpahermaderp Herpahermaderp is offline
I liek Mudkipz
 
Join Date: Jul 2012
Location: USA
Age: 17
Gender: Male
Nature: Relaxed
Posts: 63
Quote originally posted by Aryan143:
Do anybody know How to change Prof. Birch's intro script?
The very first part of the game is pure ASM, I believe. You can, however, edit what Prof. Birch says using A-Text, which I believe can be found in the Toolbox.
__________________
Y: Roak || 1177-8023-4387
  #7507    
Old January 1st, 2013 (08:34 PM).
TheUltimateG.J's Avatar
TheUltimateG.J TheUltimateG.J is offline
 
Join Date: Oct 2011
Location: Bihar,Darbhanga
Age: 16
Gender: Male
Nature: Jolly
Posts: 105
how can i make a script in which a wild pidgeotto comes to me and starts battling when i exit from pro.oak's lab and start going to route 1 after getting pokeballs & pokedex from him?
__________________


A lover of Pokemon and their Hacks this is no other than?

Only he can be----->G.J
  #7508    
Old January 1st, 2013 (11:33 PM).
Satoshi Ookami's Avatar
Satoshi Ookami Satoshi Ookami is offline
Memento Mori
Gold Tier
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Posts: 13,286
Quote originally posted by Ganeshwar:
how can i make a script in which a wild pidgeotto comes to me and starts battling when i exit from pro.oak's lab and start going to route 1 after getting pokeballs & pokedex from him?
Either make level script on Route 1 or tile script at the beginning with checks whether you have PokéBalls and PokéDex.
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #7509    
Old January 2nd, 2013 (12:37 PM).
Noossab Blue's Avatar
Noossab Blue Noossab Blue is offline
 
Join Date: Dec 2012
Location: USA
Gender: Female
Nature: Quirky
Posts: 243
I'm trying to alter the Bill event on Cinnabar in Fire Red to respond to a different badge (which is what I'm assuming it responds to in the first place). I want the event to start when I receive the Rainbow badge instead, but I can't find where the script checks that flag...or any flag for that matter.
__________________
IGN: Anna/Noossab Blue
3DS FC: 3196 3609 8450

Thanks to SilverGrey for the awesome banner! Click to see!
Current as of 1/31/14: I updated again!

  #7510    
Old January 3rd, 2013 (08:20 PM). Edited January 3rd, 2013 by Herpahermaderp.
Herpahermaderp's Avatar
Herpahermaderp Herpahermaderp is offline
I liek Mudkipz
 
Join Date: Jul 2012
Location: USA
Age: 17
Gender: Male
Nature: Relaxed
Posts: 63
Quote originally posted by Noossab Blue:
I'm trying to alter the Bill event on Cinnabar in Fire Red to respond to a different badge (which is what I'm assuming it responds to in the first place). I want the event to start when I receive the Rainbow badge instead, but I can't find where the script checks that flag...or any flag for that matter.
I searched through quite a bit of information trying to find the answer to this. Bill's script isn't controlled by setflag 0x826, it is actually controlled by setflag 0x62, which is run by Blaine's script after you defeat him, so if you wanted the Rainbow Badge to set the Bill scenario up, just add setflag 0x62 after her setflag 0x823. I hope this helps.
__________________
Y: Roak || 1177-8023-4387
  #7511    
Old January 3rd, 2013 (11:27 PM). Edited January 3rd, 2013 by Noossab Blue.
Noossab Blue's Avatar
Noossab Blue Noossab Blue is offline
 
Join Date: Dec 2012
Location: USA
Gender: Female
Nature: Quirky
Posts: 243
Quote originally posted by Herpahermaderp:
I searched through quite a bit of information trying to find the answer to this. Bill's script isn't controlled by setflag 0x826, it is actually controlled by setflag 0x62, which is run by Blaine's script after you defeat him, so if you wanted the Rainbow Badge to set the Bill scenario up, just add setflag 0x62 after her setflag 0x823. I hope this helps.
Thank you! it's actually a clearflag, not a setflag, but it works! Though you also have to copy the previous setvar.

So it looks like this now:

setvar 0x4071 0x1 (makes the scripts associated with the event run)
clearflag 0x62 (this makes Bill's sprites appear on Cinnabar Island and in the PC in Cinnabar)

...and then the rest of whatever you want.
__________________
IGN: Anna/Noossab Blue
3DS FC: 3196 3609 8450

Thanks to SilverGrey for the awesome banner! Click to see!
Current as of 1/31/14: I updated again!

  #7512    
Old January 5th, 2013 (11:56 PM).
tronwert's Avatar
tronwert tronwert is offline
 
Join Date: Jan 2013
Gender: Male
Posts: 5
im having trouble with wildbattle
game firered
game xse

i finished but when i click debug an error comes out
wp.jpg

please help
tnx
  #7513    
Old January 7th, 2013 (03:53 AM).
raging-inferno-1986 raging-inferno-1986 is offline
 
Join Date: Jul 2012
Gender: Male
Posts: 21
Quote originally posted by raging-inferno-1986:
Hi, i made the following code to get the AuroraTicket and clear the flag (so that the Vermillion sailor will let me go to Birth Island). However it didn't work.

Code:
#dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x200
if 0x1 goto @done
msgbox @1 0x5
compare 0x800D 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end

#org @done
msgbox @3 0x6
release
end

#org @take
giveitem 0x173 0x1 MSG_OBTAIN
msgbox @3 0x6
setflag 0x200
clearflag 0x2F1
release
end

#org @1
= Hi!\pWould you like an AURORA TICKET?.\pIt will allow access to BIRTH ISLAND. 

#org @2
= That's okay. I'm sure someone\nelse will enjoy it.

#org @3
= I knew you would want it.
What did i do wrong? Thanks.
Please can anyone help? Thank You.
  #7514    
Old January 7th, 2013 (05:34 PM). Edited January 16th, 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 raging-inferno-1986:
Please can anyone help? Thank You.
I am fairly certain that flag 0x2F1 has to be set not cleared. I'm going to check some of my old posts and confirm this.
edit: oh wow, haha it was you that asked this question in Simple Questions. umm at that time I had looked at the Vermilion guy script and the only requirements were that you had the item and those flags were clear. Let me look again. I'll edit this post within an hour to tell you of my findings.


Okay, there was nothing wrong with your script, except that XSE, at least on mine, requires callstd 0xY.

Ex: yours was:
msgbox @1 0x6

What it needs to be:
msgbox @1
callstd 0x6

Don't know why, but it worked that way.

Here is the completely working script I used. I tested it 3 times and it should work to perfection.

Code:
#dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x200
if 0x1 goto @done
msgbox @1
callstd 0x5
compare 0x800D 0x1
if 0x1 goto @take
msgbox @2
callstd 0x6
release
end

#org @done
msgbox @3
callstd 0x6
release
end

#org @take
giveitem 0x173 0x1 0x0
msgbox @3
callstd 0x6
setflag 0x200
clearflag 0x2F1
release
end

#org @1
= Hi!pWould you like an AURORA TICKET?.pIt will allow access to BIRTH ISLAND. 

#org @2
= That's okay. I'm sure someonenelse will enjoy it.

#org @3
= I knew you would want it.

Edit: I am adding this all of my old posts dealing with callstd instead of an inline command. Jambo51 enlightened me to the fact that I was using an old XSE (v. 1.0.0) in which inline msgbox commands are not supported and you must callstd. In v. 1.1.1, the inline commands such as MSG_NORMAL are supported. Sorry for any confusion I might have caused.
__________________

Paired with Simba
  #7515    
Old January 8th, 2013 (07:54 AM).
raging-inferno-1986 raging-inferno-1986 is offline
 
Join Date: Jul 2012
Gender: Male
Posts: 21
Oh wowl, thank you. My hacking had halted because of this
  #7516    
Old January 8th, 2013 (10:26 AM). Edited January 8th, 2013 by Diszle.
Diszle Diszle is offline
 
Join Date: Feb 2012
Gender: Female
Posts: 3
Hello you all!

Im Diszle and have been playing rom hacks for quite a while. Usually just the altered versions, in which you can get all available pokemon, or with adjusted movesets, etc.

Now I am ready to do a little hacking of my own. The idea is to just alter pokemon Fire Red to some kind of new pokemon yellow. The idea is that my starter is going to be Pikachu, Gary's starter is going to be Eevee and during the game little events pop up in which I will receive the other three first gen starters. Changing the starters was no problem and I also found a script online which, supposedly, will make people give me the three first gen starters.

But, XSE isnt working for me. When I want to open the program, so I can add the script, it immediately closes again. I just cant get it to work. Are there any other Scripting programs in which I can use the GivePokemon script? How can I make people give me random pokemon without XSE?

I hope anyone has the answer.

- I know that most people think yellow remakes are quite lame, but I always loved the game and its gonna be a personal hack, just to try things out!


EDIT! Okay, so I figured I could do something similar with PKSVUI. I added a person event to Pallet Town, so I could check it quickly. I added the give pokemon script to this person, using the Space Finder. But now, I cannot talk to this person. If I face this person and click the A-button to start talking, the person does face me, but the conversation doesn't start.

Here is my script: (got it from google)

#dynamic 0x800800

#org @start
lock
faceplayer
checkflag 0x1200
if 0x1 goto @done
msgbox @question 0x5
compare LASTRESULT 0x1
if 0x1 goto @givepokemon
msgbox @nothanks 0x6
release
end

#org @done
msgbox @checkup 0x6
release
end

#org @givepokemon
msgbox @thanks 0x6
givepokemon 0x01 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @recieved 0x6
waitfanfare
setflag 0x1200
msgbox @thanks2 0x6
release
end

#org @question
= Hey there!\pYou seem like a nice person!\nWould you like this Bulbasaur?

#org @nothanks
= Oh? That's to bad.\pCome back if you change your mind.

#org @thanks
= Oh! That's GREAT!\pHere you go!

#org @thanks2
= Thanks again! I think it will have\nmore fun with you than with me.

#org @recieved
= \v\h01 received a BULBASAUR!

#org @checkup
= How's that Bulbasaur doing?\nHopefully good.
  #7517    
Old January 8th, 2013 (02:57 PM).
tajaros's Avatar
tajaros tajaros is offline
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 16
Gender: Male
Nature: Timid
Posts: 857
Send a message via Windows Live Messenger to tajaros
Quote originally posted by Diszle:
Hello you all!

Im Diszle and have been playing rom hacks for quite a while. Usually just the altered versions, in which you can get all available pokemon, or with adjusted movesets, etc.

Now I am ready to do a little hacking of my own. The idea is to just alter pokemon Fire Red to some kind of new pokemon yellow. The idea is that my starter is going to be Pikachu, Gary's starter is going to be Eevee and during the game little events pop up in which I will receive the other three first gen starters. Changing the starters was no problem and I also found a script online which, supposedly, will make people give me the three first gen starters.

But, XSE isnt working for me. When I want to open the program, so I can add the script, it immediately closes again. I just cant get it to work. Are there any other Scripting programs in which I can use the GivePokemon script? How can I make people give me random pokemon without XSE?

I hope anyone has the answer.

- I know that most people think yellow remakes are quite lame, but I always loved the game and its gonna be a personal hack, just to try things out!


EDIT! Okay, so I figured I could do something similar with PKSVUI. I added a person event to Pallet Town, so I could check it quickly. I added the give pokemon script to this person, using the Space Finder. But now, I cannot talk to this person. If I face this person and click the A-button to start talking, the person does face me, but the conversation doesn't start.

Here is my script: (got it from google)

#dynamic 0x800800

#org @start
lock
faceplayer
checkflag 0x1200
if 0x1 goto @done
msgbox @question 0x5
compare LASTRESULT 0x1
if 0x1 goto @givepokemon
msgbox @nothanks 0x6
release
end

#org @done
msgbox @checkup 0x6
release
end

#org @givepokemon
msgbox @thanks 0x6
givepokemon 0x01 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @recieved 0x6
waitfanfare
setflag 0x1200
msgbox @thanks2 0x6
release
end

#org @question
= Hey there!\pYou seem like a nice person!\nWould you like this Bulbasaur?

#org @nothanks
= Oh? That's to bad.\pCome back if you change your mind.

#org @thanks
= Oh! That's GREAT!\pHere you go!

#org @thanks2
= Thanks again! I think it will have\nmore fun with you than with me.

#org @recieved
= \v\h01 received a BULBASAUR!

#org @checkup
= How's that Bulbasaur doing?\nHopefully good.
Um, this is easily fixed. Go to your XSE folder and open the settings file and search there "AutoUpateCheck=1" change 1 to 0 that's it. :)
__________________
  #7518    
Old January 8th, 2013 (10:26 PM).
Diszle Diszle is offline
 
Join Date: Feb 2012
Gender: Female
Posts: 3
Hi there, thanks for you quick reply.

- But this isnt working for me. I dont have the settings file your talking about. I tried to re-download it, and again, the settings file wasnt in it. So I guess Im stuck with PKSVUI, which is fine with me.

But then the other question. We is the person I added the GivePokemon script facing me, but not talking to me? Does anyone have an idea?

Thnx in advance!
  #7519    
Old January 9th, 2013 (03:53 AM). Edited January 16th, 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 Diszle:
Hi there, thanks for you quick reply.

- But this isnt working for me. I dont have the settings file your talking about. I tried to re-download it, and again, the settings file wasnt in it. So I guess Im stuck with PKSVUI, which is fine with me.

But then the other question. We is the person I added the GivePokemon script facing me, but not talking to me? Does anyone have an idea?

Thnx in advance!
I use XSE so I don't know how it works in PKSVUI, but I know that if your your "boxset" or "callstd" commands aren't done properly, this will happen. If someone could help my explanation by adding how to do this is PKSVUI, it would be nice.




Edit: I am adding this all of my old posts dealing with callstd instead of an inline command. Jambo51 enlightened me to the fact that I was using an old XSE (v. 1.0.0) in which inline msgbox commands are not supported and you must callstd. In v. 1.1.1, the inline commands such as MSG_NORMAL are supported. Sorry for any confusion I might have caused.
__________________

Paired with Simba
  #7520    
Old January 9th, 2013 (07:03 AM). Edited January 9th, 2013 by Diszle.
Diszle Diszle is offline
 
Join Date: Feb 2012
Gender: Female
Posts: 3
Hi there,

So, by now I've installed XSE on another laptop and there it did have the settings file. The file wasn't complete though, so I found a file in the Toolbox thread, to be used in the XSE settings file, which I did. I copied the file to the right laptop and now I am able to use XSE! Yeah! Happy face.

I am going to mess around with XSE now, hoping that I will find my way. Just another quick question, can I open a rom in XSE too? So I can compile the script with the rom?

And for KarateKid in particular, what would you do different with this script when using XSE?

Thanks in advance!

EDIT: I found out how to open a rom so I can compile the script with the rom in XSE, but now the problem is that my script is wrong. Im waiting patiently for anyone to help me out! =)

I dont know what I did, but it's working now! Time to look up all the 'yellow' events and try to put them in this FireRed! Happy hacking.
  #7521    
Old January 9th, 2013 (01:38 PM). Edited January 16th, 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
Okay, I don't quite know all the differences between PKSVUI and XSE, but I know that in XSE, a message box looks like this:

textcolor 0xY (not needed, but if you want)
msgbox @msg
callstd 0xZ

#org @msg
= hey, it's a message!

The command "boxset" is interchangeable with callstd here. For a list of strands to call, consult diego's mega awesome scripting tutorial.

The problem with your script it that it doesn't callstd. I don't know why all the scripts are like this. Did XSE used to support calling the strand in the msgbox line? Anyways, that doesn't work in XSE. So, whenever you see:

msgbox @msg 0xZ

Change it to:

msgbox @msg
callstd 0xZ


Edit: I am adding this all of my old posts dealing with callstd instead of an inline command. Jambo51 enlightened me to the fact that I was using an old XSE (v. 1.0.0) in which inline msgbox commands are not supported and you must callstd. In v. 1.1.1, the inline commands such as MSG_NORMAL are supported. Sorry for any confusion I might have caused. The above methood does workfor both versions, but you can do it the other way on XSE v. 1.1.1.
__________________

Paired with Simba
  #7522    
Old January 10th, 2013 (05:39 AM).
QuartierGenerale QuartierGenerale is offline
 
Join Date: Oct 2012
Posts: 53
Hello,

i'm not able to find the script where the hero receive the World Map in Pokemon Ruby. So i'm not able to give to hero the world map in the place i want in my hack rom.

So the my questions are these two:

1. Where can i find the offset for the script where the hero receive the world map in Ruby?
2. If i don't have the above, do you known the way for give the world map to the hero?

ps. i'm using PKSV, but if u have only script for XSE is the same.

Thanks a lot, bye bye
  #7523    
Old January 11th, 2013 (10:41 AM). Edited January 11th, 2013 by wierddude22.
wierddude22's Avatar
wierddude22 wierddude22 is offline
New hacker
 
Join Date: Aug 2011
Location: My house
Age: 19
Gender: Male
Nature: Jolly
Posts: 24
Send a message via Windows Live Messenger to wierddude22 Send a message via Skype™ to wierddude22
Been a while since i was here

Anyway, this is a script for fire-red that i can't seem to find out what is wrong with it

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x1004
if 0x1 goto @rest
release
end

#org @rest
clearflag 0x1004
message @mess 0x6
release
end

#org @mess
= MOVE OUT TO THE CAVERN!


It freezes when it gets to the clearflag command.
Also it is on the green S tiles in A-Map


Thanks in advance

Quote originally posted by Kyouhei_ii00:
There isn't a tick box in the events of the person. Only ( trainer) setting then a text box with $00 as default. I use advance map 1.95.
In that box, set it as $01
  #7524    
Old January 11th, 2013 (01:56 PM). Edited January 16th, 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 wierddude22:
Been a while since i was here

Anyway, this is a script for fire-red that i can't seem to find out what is wrong with it

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x1004
if 0x1 goto @rest
release
end

#org @rest
clearflag 0x1004
message @mess 0x6
release
end

#org @mess
= MOVE OUT TO THE CAVERN!


It freezes when it gets to the clearflag command.
Also it is on the green S tiles in A-Map


Thanks in advance
I feel like I've said this a lot lately, but I don't mind answering again, even though it's only two posts above.

Anyways, in XSE, this doesn't work:

msgbox @whatever 0x6


I don't know why it doesn't, was this feature in an earlier XSE? Anyways, you need to callstd.
The correct XSE way is:

msgbox @whatever
callstd 0x6

(or "boxset 0x6" if you prefer)


By the way, I love your picture.



Edit: I am adding this all of my old posts dealing with callstd instead of an inline command. Jambo51 enlightened me to the fact that I was using an old XSE (v. 1.0.0) in which inline msgbox commands are not supported and you must callstd. In v. 1.1.1, the inline commands such as MSG_NORMAL are supported. Sorry for any confusion I might have caused.
Quote originally posted by QuartierGenerale:
Hello,

i'm not able to find the script where the hero receive the World Map in Pokemon Ruby. So i'm not able to give to hero the world map in the place i want in my hack rom.

So the my questions are these two:

1. Where can i find the offset for the script where the hero receive the world map in Ruby?
2. If i don't have the above, do you known the way for give the world map to the hero?

ps. i'm using PKSV, but if u have only script for XSE is the same.

Thanks a lot, bye bye
When you say world map, I'm assuming you are talking about the Pokenav. This isn't an item, like the Town Map in Firered, rather it is flag set by Mr. Stone. Through a quick search, I found it in Seth's XSE tutorial. The flag that needs to be set is 0x802.
__________________

Paired with Simba
  #7525    
Old January 12th, 2013 (06:46 PM).
masterquestmq's Avatar
masterquestmq masterquestmq is offline
Enthusiastic Rom Hacker
 
Join Date: Nov 2010
Gender: Male
Posts: 125
just wondering how do I disable a setvar?
I made a script where all wild pokemon will be 3 levels lower than ur strongest pokemon in the party. found this to be a bit useless in a long game so I want to disable this variable. Is there a command that i need to use?
Closed Thread
Quick Reply

Sponsored Links

You may also like.. (Beta)
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

Forum Jump


All times are UTC -8. The time now is 06:47 AM.