Script Help Thread (DO NOT REQUEST SCRIPTS) Page 107

Started by HackMew December 20th, 2008 5:10 AM
  • 625717 views
  • 9682 replies

TB Pro

Old-timer

Age 28
Male
Midwestern USA
Seen March 6th, 2016
Posted October 4th, 2012
2,707 posts
18.5 Years
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. :P
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'..

Satoshi Ookami

Memento Mori

Age 30
Male
Abyss of Time, Great Seal
Seen August 5th, 2018
Posted July 3rd, 2018
14,253 posts
14.8 Years
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.

Anime List | PSN Trophy List
Male
Seen December 6th, 2010
Posted November 1st, 2010
4 posts
13.5 Years
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.

rokrdude

POKEMON : SINNOH QUEST CREATOR

Male
Seen October 1st, 2016
Posted April 2nd, 2010
135 posts
13.6 Years
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?

/Circa

a face in the clouds.

Male
Melbourne, Victoria
Seen August 11th, 2018
Posted July 29th, 2010
881 posts
15.5 Years
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.
Male
Seen March 4th, 2010
Posted March 4th, 2010
38 posts
13.4 Years
'---------------
#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

TB Pro

Old-timer

Age 28
Male
Midwestern USA
Seen March 6th, 2016
Posted October 4th, 2012
2,707 posts
18.5 Years
'---------------
#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'..

/Circa

a face in the clouds.

Male
Melbourne, Victoria
Seen August 11th, 2018
Posted July 29th, 2010
881 posts
15.5 Years
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.

.Tactic.

x.Paranoid's BackAlley.x

Age 26
Male
A Dark Abbyss...
Seen October 7th, 2012
Posted January 28th, 2011
1,309 posts
14.1 Years
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
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

Pokepal17

More cowbell~

Age 28
Male
Steeltown
Seen July 7th, 2011
Posted May 22nd, 2011
1,517 posts
14.6 Years
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
Male
Seen March 4th, 2010
Posted March 4th, 2010
38 posts
13.4 Years
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

NarutoActor

The rocks cry out to me

Age 29
Female
Brooklyn/Marlboro
Seen April 2nd, 2016
Posted March 22nd, 2016
1,974 posts
14.4 Years
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

Pokepal17

More cowbell~

Age 28
Male
Steeltown
Seen July 7th, 2011
Posted May 22nd, 2011
1,517 posts
14.6 Years
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

Pokepal17

More cowbell~

Age 28
Male
Steeltown
Seen July 7th, 2011
Posted May 22nd, 2011
1,517 posts
14.6 Years
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
Male
Seen March 4th, 2010
Posted March 4th, 2010
38 posts
13.4 Years
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?

.Tactic.

x.Paranoid's BackAlley.x

Age 26
Male
A Dark Abbyss...
Seen October 7th, 2012
Posted January 28th, 2011
1,309 posts
14.1 Years
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

Pokepal17

More cowbell~

Age 28
Male
Steeltown
Seen July 7th, 2011
Posted May 22nd, 2011
1,517 posts
14.6 Years
: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

TB Pro

Old-timer

Age 28
Male
Midwestern USA
Seen March 6th, 2016
Posted October 4th, 2012
2,707 posts
18.5 Years
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.

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'..
Male
Seen March 4th, 2010
Posted March 4th, 2010
38 posts
13.4 Years
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

/Circa

a face in the clouds.

Male
Melbourne, Victoria
Seen August 11th, 2018
Posted July 29th, 2010
881 posts
15.5 Years
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.
Age 29
Male
Ireland
Seen 1 Week Ago
Posted April 6th, 2023
1,655 posts
14.1 Years
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.

- - - - - - - - - -

/Circa

a face in the clouds.

Male
Melbourne, Victoria
Seen August 11th, 2018
Posted July 29th, 2010
881 posts
15.5 Years
Script doesn't continue after the battle plus theres some wierd cmdc3 stuff which I didn't put there :S

'---------------
#org 0x27978C
checkflag 0x216
if 0x1 goto 0x82797EF
applymovement 0x6 0x82797F2
waitmovement 0x0
msgbox 0x82797FC MSG_NORMAL
applymovement 0x6 0x82797F5
waitmovement 0x0
trainerbattle 0x1 0x6 0x0 0x827980C 0x8279838 0x279852
msgbox 0x8279852 MSG_NORMAL
fadescreen 0x1
setflag 0x216
hidesprite 0x5
hidesprite 0x3
fadescreen 0x0
applymovement 0x1 0x82797F9
waitmovement 0x0
msgbox 0x8279893 MSG_NORMAL
setflag 0x829
release
end

'---------------
#org 0x2797EF
release
end

'---------------
#org 0x279852
cmdc3 0xB4

'---------
' Strings
'---------
#org 0x2797FC
= Erased

#org 0x27980C
= Erased

#org 0x279838
= Erased

#org 0x279852
= Erased

#org 0x279893
= Erased


'-----------
' Movements
'-----------
#org 0x2797F2
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x2797F5
#raw 0x10 'Step Down (Normal)
#raw 0x2 'Face Left
#raw 0xFE 'End of Movements

#org 0x2797F9
#raw 0x0 'Face Down
#raw 0xFE 'End of Movements
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.