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
  #2651    
Old December 11th, 2009 (07:53 PM).
rokrdude's Avatar
rokrdude rokrdude is offline
POKEMON : SINNOH QUEST CREATOR
 
Join Date: Oct 2009
Gender: Male
Posts: 136
IS there any way we can edit the pokemon wally uses to catch ralts?

I think its a special can we edit it?

If not can we atleast edit the script when father gives wally zizagoon
(like i want to change the name zizagoon to a nickname )

Because i tried to find the script but could find it

Can someone help?
  #2652    
Old December 11th, 2009 (08:49 PM). Edited December 11th, 2009 by TB Pro.
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
 
Join Date: Nov 2004
Location: Midwestern USA
Age: 21
Gender: Male
Posts: 2,739
Quote originally posted by Pokepal17:
The release you used is useless since the msbox's parameter 0x2 has lock, faceplayer and release in one. :3

So get rid of the release since it's junk.
Ah, really? I never knew that, thanks. Also, I was wondering, applymovement 0x800F is referring to what? I thought it was the camera for a while, but isn't that 0x7F? I may be mistaken, though.
__________________
--I'm a creepin'..
  #2653    
Old December 11th, 2009 (11:00 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: 23
Gender: Male
Nature: Calm
Posts: 13,371
Quote originally posted by rokrdude:
IS there any way we can edit the pokemon wally uses to catch ralts?

I think its a special can we edit it?
Well... replace Ralts with other pokemon :D
I mean completely Like its sprite with UnlZ, its stats and name with YAPE and so on
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #2654    
Old December 11th, 2009 (11:00 PM).
Windslash's Avatar
Windslash Windslash is offline
 
Join Date: Dec 2009
Gender: Male
Nature: Hasty
Posts: 4
Hello I have another scripting problem, relating to applymovement. Is there anyway to extend facing positions? I want a person to naturally look around before moving again, but don't want to add a thousand extra addresses for it (as in 1 for just turning left, one for just turning right...). Repeating the raw value doesn't help either, or they simply wig out, which is funny at first, yes, but isn't what I wanted. Any help would be greatly appreciated.
  #2655    
Old December 11th, 2009 (11:29 PM).
rokrdude's Avatar
rokrdude rokrdude is offline
POKEMON : SINNOH QUEST CREATOR
 
Join Date: Oct 2009
Gender: Male
Posts: 136
Quote originally posted by Ash493:
Well... replace Ralts with other pokemon :D
I mean completely Like its sprite with UnlZ, its stats and name with YAPE and so on
I already know that i dont want to remove ralts

The thing is i wanted to know how can we edit the script when father gives wally zizagoon
(like i want to change the name zizagoon to a nickname )

Because i tried to find the script but could find it

Can anyone help?
  #2656    
Old December 12th, 2009 (01:13 AM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
Quote originally posted by rokrdude:
I already know that i dont want to remove ralts

The thing is i wanted to know how can we edit the script when father gives wally zizagoon
(like i want to change the name zizagoon to a nickname )

Because i tried to find the script but could find it

Can anyone help?
My suggestion is replace one of the ??? spaces in your hack with the Zigzagoon sprite but name it the nickname you wish to give it.

There are 25 ???'s just in case you didnt know.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #2657    
Old December 12th, 2009 (01:19 AM).
novluis323's Avatar
novluis323 novluis323 is offline
 
Join Date: Dec 2009
Gender: Male
Posts: 38
'---------------
#org 0x780000
trainerbattle 0x0 0x12 0x0 0x8780019 0x8780059
msgbox 0x8780082 MSG_FACE '"Hows the search going?"
release
end


'---------
' Strings
'---------
#org 0x780019
= Hello. lets test that Partner before\nyou go and look for Celebi?

#org 0x780059
= You both are truly ready to find Celebi!

#org 0x780082
= Hows the search going?
k thats my battle script is but how would i make it so that she battles me on sight so when she sees me she wants to battle
  #2658    
Old December 12th, 2009 (06:31 AM).
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
 
Join Date: Nov 2004
Location: Midwestern USA
Age: 21
Gender: Male
Posts: 2,739
Quote originally posted by novluis323:
'---------------
#org 0x780000
trainerbattle 0x0 0x12 0x0 0x8780019 0x8780059
msgbox 0x8780082 MSG_FACE '"Hows the search going?"
release
end


'---------
' Strings
'---------
#org 0x780019
= Hello. lets test that Partner before\nyou go and look for Celebi?

#org 0x780059
= You both are truly ready to find Celebi!

#org 0x780082
= Hows the search going?
k thats my battle script is but how would i make it so that she battles me on sight so when she sees me she wants to battle
First off, remove release. Place the compiled offset of the script under an NPC in A-Map. Check the trainer box. Put the view range at whatever you wish.
__________________
--I'm a creepin'..
  #2659    
Old December 12th, 2009 (03:18 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
Is there any way to continue a script after a trainer battle? Or would I have to do it in a level script?
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #2660    
Old December 12th, 2009 (03:33 PM).
.Tactic.'s Avatar
.Tactic. .Tactic. is offline
x.Paranoid's BackAlley.x
Silver Tier
 
Join Date: Apr 2009
Location: A Dark Abbyss...
Age: 18
Gender: Male
Nature: Modest
Posts: 1,313
Send a message via Windows Live Messenger to .Tactic.
Quote originally posted by Codec:
Please can someone help me wiv dis script? It is for changing the OW? I dont know how to fix it..
Spoiler:

#org 0x720AA0
#raw 0x2
#raw pointer 0x8800000
#raw 0x0
'---------------
#org 0x800000
#raw word 0x5055
#raw word 0x1
#raw pointer 0x8800015
#raw word 0x0
'---------------
#org 0x800015
lock
writebytetooffset 0x20 0x2020648
writebytetooffset 0x4 0x2020649
setvar 0x5050 0x1
release
end
Quote originally posted by colcolstyles:
Not quite sure but could it have something to do with the fact that the two boldfaced halfwords are different?
That didnt help..
------------------------
Please can someone help?!!? I need this fixed for my hack!
__________________
Hacks that deserve my love
Credits for my sig
  #2661    
Old December 12th, 2009 (03:55 PM).
Pokepal17's Avatar
Pokepal17 Pokepal17 is offline
More cowbell~
Silver Tier
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Posts: 1,517
Quote originally posted by Codec:
That didnt help..
------------------------
Please can someone help?!!? I need this fixed for my hack!
Then use some common sense and describe the problem. All you said was that it didn't work and that's as helpful as not posting the script.
__________________
Pokémon Stardrop
  #2662    
Old December 12th, 2009 (06:54 PM).
novluis323's Avatar
novluis323 novluis323 is offline
 
Join Date: Dec 2009
Gender: Male
Posts: 38
Quote originally posted by Jesse[TB Pro]:
First off, remove release. Place the compiled offset of the script under an NPC in A-Map. Check the trainer box. Put the view range at whatever you wish.
k i understood the release thing but i dont get what you do mean but he compiled offset and setting it under an npc i already put it for a npc but and how does the view range affect it
  #2663    
Old December 12th, 2009 (07:16 PM).
NarutoActor's Avatar
NarutoActor NarutoActor is offline
The rocks cry out to me
Silver Tier
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 21
Gender: Female
Nature: Bashful
Posts: 1,975
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote originally posted by Cirnos Servant:
Is there any way to continue a script after a trainer battle? Or would I have to do it in a level script?
yes there is a paramount in the trainerbattle line for this.
__________________
~There are those people who understand hex, F the rest
  #2664    
Old December 12th, 2009 (09:01 PM).
novluis323's Avatar
novluis323 novluis323 is offline
 
Join Date: Dec 2009
Gender: Male
Posts: 38
how would i write a script where i wanted your rival to walk up to you after you walk past a certain spot and battle you?
  #2665    
Old December 12th, 2009 (09:05 PM).
Pokepal17's Avatar
Pokepal17 Pokepal17 is offline
More cowbell~
Silver Tier
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Posts: 1,517
Quote originally posted by novluis323:
how would i write a script where i wanted your rival to walk up to you after you walk past a certain spot and battle you?
There are lots of examples of this in Fire Red. Look in Cerulean City for an example. :3
__________________
Pokémon Stardrop
  #2666    
Old December 12th, 2009 (09:13 PM).
novluis323's Avatar
novluis323 novluis323 is offline
 
Join Date: Dec 2009
Gender: Male
Posts: 38
Quote originally posted by Pokepal17:
There are lots of examples of this in Fire Red. Look in Cerulean City for an example. :3
k will do its by the bridge thing right?
  #2667    
Old December 12th, 2009 (09:44 PM).
Pokepal17's Avatar
Pokepal17 Pokepal17 is offline
More cowbell~
Silver Tier
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Posts: 1,517
Quote originally posted by novluis323:
k will do its by the bridge thing right?
Yes it is. It may be hard to understand as first but once you experiment with the commands, you'll be able to make your own. :3
__________________
Pokémon Stardrop
  #2668    
Old December 12th, 2009 (10:24 PM).
novluis323's Avatar
novluis323 novluis323 is offline
 
Join Date: Dec 2009
Gender: Male
Posts: 38
Quote originally posted by Pokepal17:
Yes it is. It may be hard to understand as first but once you experiment with the commands, you'll be able to make your own. :3
:D im starting to understand some what but the thing is i forgot which part of the script describe what sprite theyre gonna be and what pokemon they will have?
  #2669    
Old December 13th, 2009 (01:17 AM).
.Tactic.'s Avatar
.Tactic. .Tactic. is offline
x.Paranoid's BackAlley.x
Silver Tier
 
Join Date: Apr 2009
Location: A Dark Abbyss...
Age: 18
Gender: Male
Nature: Modest
Posts: 1,313
Send a message via Windows Live Messenger to .Tactic.
At first the sprite changed work, but the character didn't move. so I re-pointed the offsets, now the overworld change doesn't happened but the character can move.
Spoiler:
#org 0x720AA0
#raw 0x2
#raw pointer 0x8800000
#raw 0x0
'---------------
#org 0x800000
#raw word 0x5055
#raw word 0x1
#raw pointer 0x8800015
#raw word 0x0
'---------------
#org 0x800015
lock
writebytetooffset 0x20 0x2020648
writebytetooffset 0x4 0x2020649
setvar 0x5050 0x1
release
end
__________________
Hacks that deserve my love
Credits for my sig
  #2670    
Old December 13th, 2009 (08:14 AM).
Pokepal17's Avatar
Pokepal17 Pokepal17 is offline
More cowbell~
Silver Tier
 
Join Date: Oct 2008
Location: Steeltown
Age: 20
Gender: Male
Nature: Modest
Posts: 1,517
Quote originally posted by novluis323:
:D im starting to understand some what but the thing is i forgot which part of the script describe what sprite theyre gonna be and what pokemon they will have?
That would be the actual person event on the map. :3
__________________
Pokémon Stardrop
  #2671    
Old December 13th, 2009 (09:39 AM).
novluis323's Avatar
novluis323 novluis323 is offline
 
Join Date: Dec 2009
Gender: Male
Posts: 38
k thanks pokepal i got it all fixed up what i want to know now is how would i make a character have a script where he could heal my pokemon i cant us the same one as nurse joy because it would require the machine wouldnt it
  #2672    
Old December 13th, 2009 (01:10 PM). Edited December 13th, 2009 by TB Pro.
TB Pro's Avatar
TB Pro TB Pro is offline
Old-timer
 
Join Date: Nov 2004
Location: Midwestern USA
Age: 21
Gender: Male
Posts: 2,739
Quote originally posted by Cirnos Servant:
Is there any way to continue a script after a trainer battle? Or would I have to do it in a level script?
Yeah, use trainerbattle 0x1.

Quote originally posted by novluis323:
k thanks pokepal i got it all fixed up what i want to know now is how would i make a character have a script where he could heal my pokemon i cant us the same one as nurse joy because it would require the machine wouldnt it
fadescreen 0x1
fanfare 0x[healing fanfare]
waitfanfare
special 0x0
fadescreen 0x0

That would look like: Screen fades to black, healing noise happens, pokemon is healed, screen fades back to normal. :D
__________________
--I'm a creepin'..
  #2673    
Old December 13th, 2009 (01:22 PM).
novluis323's Avatar
novluis323 novluis323 is offline
 
Join Date: Dec 2009
Gender: Male
Posts: 38
Quote originally posted by Jesse[TB Pro]:
Yeah, use trainerbattle 0x1.


fadescreen 0x1
fanfare 0x[healing fanfare]
waitfanfare
special 0x0
fadescreen 0x0

That would look like: Screen fades to black, healing noise happens, pokemon is healed, screen fades back to normal. :D
would i be able to put that on a Owsprite or will i have to put more into the script
  #2674    
Old December 13th, 2009 (04:47 PM).
/Circa's Avatar
/Circa /Circa is offline
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Posts: 881
Quote originally posted by novluis323:
would i be able to put that on a Owsprite or will i have to put more into the script
It will work on people, script and signpost events.
It doesn't matter
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #2675    
Old December 13th, 2009 (05:08 PM).
giradialkia's Avatar
giradialkia giradialkia is offline
Crystal Tier
 
Join Date: Apr 2009
Location: Ireland
Age: 21
Gender: Male
Nature: Timid
Posts: 1,563
I'll delve into this more tomorrow when I'm actually on my computer, but I'm wondering...
In Emerald, you remember how you can have a Multi battle with Steven Vs the two Magma guys? Is there anyway to rescript a multi battle like that in Emerald, without using Raws? (you see, I remember once opening the script in XSE, and just seeing a crapload of Raws, I don't even think there's a trainerbattle command there).
Yes, I am relatively new to scripting, but I'm not having much trouble understanding stuff, so if anyone has a genuine answer then go as detailed as you want.
I guess I just want to know if it's possible to script such multi battles elsewhere in the game, and, if so, to use different backsprites, like Wally's or Red's.
__________________

This one's called 'Blue', and it's very Pokémon themed, so have a listen! Check out the links below for more stuff, if you like this!



This is the Doctor
This is my Soundcloud
This is my bandcamp

My Pokémon Y character is the same as my username. If you see me as a Passerby let me know! I tend to get a lot of Passerby requests and I often wonder if it's people from this site.
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 03:27 PM.