Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Post Reply
 
Thread Tools
  #76    
Old April 7th, 2013, 01:45 PM
The Legacy of The Legends Creator :D's Avatar
The Legacy of The Legends Creator :D
 
Join Date: May 2010
Gender: Male

Advertise here
When i look for the 00250c04 i have
00250bff
then it goes to
00250c08 is that ok?
C: creating a Hack "Pokemon Nightmare Version" There will be a Pokemon Dream as a sequel! A thread will be put up :D


To be changed to Terror!
Ive been let aware of a Pokemon Nightmare Hack being released already, i waited to long, and i checked it out and it looks really cool
I wanted to keep a connection to Nightmare, so i thought of Night Terrors, and kept Terror!

Currently in Design Stage, will be begin to code in around a month!
Pokemon Dream will be the sequel and made Somewhat after.
  #77    
Old April 9th, 2013, 03:30 PM
dondon151
 
Join Date: Jan 2012
Gender: Male
I've got a question here.

I'm trying to create the effect for Hurricane, so I basically copied Thunder and replaced the 05 byte (for paralysis) with a 07 (for confusion). I then paste wrote the code to another offset, pointed one of the effect indices to that offset, and then assigned that effect to the attack slot for Hurricane (which I had already created).

The problem is that although Hurricane successfully confuses, it doesn't always hit in the rain, but I pasted the code for Thunder byte-for-byte. So I don't know what's wrong here.

I then decided to test something else: I assigned Thunder's effect to Hurricane, except this time I changed the 05 byte in Thunder to 07. Now Hurricane confuses and always hits in the rain with the effect at this offset, but not with the effect at the copied offset.

The code for Thunder is:
2E 85 3E 02 02 05 35 D0 3D 02 02 00 00 01 00 28 00 69 1D 08

Can anyone help me out?
  #78    
Old April 9th, 2013, 06:25 PM
DoesntKnowHowToPlay's Avatar
DoesntKnowHowToPlay
some loser
 
Join Date: Jan 2012
Thunder's perfect accuracy in rain is a hard-coded effect associated with the slot, not a property of the battle script- the extra junk in the script is to set the variables that make it pierce Fly/Bounce. If you want to make proper Hurricane you'll need to find the check in the accuracy calc (put a breakpoint on Thunder's effect byte and use it in rain.)

Yet Another Fire Red Hack

Physical/Special Split
  #79    
Old April 9th, 2013, 06:39 PM
dondon151
 
Join Date: Jan 2012
Gender: Male
Well, crap. I don't know how to do that (quite yet).

Is Solarbeam skipping its charge turn in strong sunlight also hardcoded to the moveslot?

Last edited by dondon151; April 9th, 2013 at 08:13 PM.
  #80    
Old April 11th, 2013, 02:32 AM
Kurapika's Avatar
Kurapika
Grudgebearer
 
Join Date: Feb 2013
Location: Lavendar Town - Morocco
Gender: Male
Nature: Naughty
Hi! I followed this great tutorial to add new moves a while ago. Now I wanted to customize the descriptions of these new moves.
I found what it looks like the original table of pointers to moves' description, and copied it somewhere else in order to extend it and re-pointed it. But it didn't work, I don't know exactly what I am missing and need some assistance please. Or if someone already knows the pointer to the real table or something please tell me. Or if you know an easier way to edit those description it might work, too.
Thanks in advance! :]


EDIT: Sorry! I just realized I forgot to update the roms.ini with the new pointer. Sorry! '

Last edited by Kurapika; April 11th, 2013 at 02:42 AM.
  #81    
Old April 11th, 2013, 04:32 AM
Jambo51's Avatar
Jambo51
Glory To Arstotzka
 
Join Date: Jun 2009
Gender: Male
Nature: Quiet
Quote:
Originally Posted by dondon151 View Post
I've got a question here.

I'm trying to create the effect for Hurricane, so I basically copied Thunder and replaced the 05 byte (for paralysis) with a 07 (for confusion). I then paste wrote the code to another offset, pointed one of the effect indices to that offset, and then assigned that effect to the attack slot for Hurricane (which I had already created).

The problem is that although Hurricane successfully confuses, it doesn't always hit in the rain, but I pasted the code for Thunder byte-for-byte. So I don't know what's wrong here.

I then decided to test something else: I assigned Thunder's effect to Hurricane, except this time I changed the 05 byte in Thunder to 07. Now Hurricane confuses and always hits in the rain with the effect at this offset, but not with the effect at the copied offset.

The code for Thunder is:
2E 85 3E 02 02 05 35 D0 3D 02 02 00 00 01 00 28 00 69 1D 08

Can anyone help me out?
Doesn't is correct in saying it's hardcoded. However, all is not lost, as you could also set the script up to branch dependent on the Move's ID. Given that it uses the same effect ID, that could potentially work just as well.

Code:
2A 00 4A 3D 02 02 57 00 [Thunder Offset] 2E 85 3E 02 02 07 28 00 69 1D 08
Obviously, this code assumes that Hurricane doesn't pierce Fly/Bounce, but if it did, you would simply branch to the original Thunder code AFTER the setting of 0x02023E85 to 0x5. In this way, you can have variations on Thunder's effect of 100% accuracy in rain with confusion and such.

Quote:
Originally Posted by dondon151 View Post
Well, crap. I don't know how to do that (quite yet).

Is Solarbeam skipping its charge turn in strong sunlight also hardcoded to the moveslot?
No, IIRC that one is built into the Battle Script. It simply checks the current weather and if it's Sunny, skips the usual waiting turn.
Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
  #82    
Old April 11th, 2013, 11:05 AM
bradyroush
Unhatched Egg
 
Join Date: Mar 2013
Gender: Male
Nature: Hasty
Does anyone know the Ruby move animation table pointer?
  #83    
Old April 11th, 2013, 07:57 PM
Perri Lightfoot's Avatar
Perri Lightfoot
Proud to hack Ruby Version!
Community Supporter Tier 5
 
Join Date: Mar 2008
Location: Nevada
Age: 28
Gender: Female
Nature: Modest
Some supplemental information to this tutorial for Ruby hackers:

Offsets:
0x1FB12C = Attack Data (0x1FB130 for PP pointers)
0x1F8320 = Attack Names
0x1C7168 = Attack Animation Table
0x1D6BBC = Move Effect Table
0x3CF594 = Contest Data. This must be repointed along with the rest of the above data (and the new moves given contest data), or else the game will freeze when attempting to display the Contest Moves tab. To repoint it using the same technique described in the tutorial; go to this offset and Select Block = 2840. Copy, and go from there.
0x3C09D8 = Attack Description Table. This must also be repointed, or the game will start to overwrite important data (starting with Natures). To repoint it using the same technique described in the tutorial; go to this offset and Select Block = 1416. Copy, and go from there.

How to give a new move Contest Data:

A screenshot from Super Rising Thunder; demonstrating the contest data for new moves. Since my hack doesn't use Contests; I edited the graphics and text to display the move's type instead.

Every move in Pokemon Ruby has Contest Data. This is an eight-byte data structure that contains the information that determines how the move functions when used in a Contest setting, and is set up like this:

00 04 3C 00 00 00 00 00

This is Pound's Contest data. The first byte determines what message is displayed in the summary - for example, "A highly appealing move!" This also determines the move's appeal/jam. The second byte is the Contest Type - in this case, Tough. The next byte is a combo identifier, used to identify the first move used in a Contest Combination. In contests, Pound can be used in combination with DoubleSlap, Faint Attack and Slam to rack up additional points. The next three bytes also relate to combos - if the move can be used second in a Contest Combination, the byte for the move(s) it can be combined with would go here, up to three.
The last two bytes are padding and should always be set to 00. For more information, refer here and here.

Now, go to where you repointed your Contest data table and skip down to the end (where the FF's begin again). If your hack doesn't bother with Contests you can put anything you want here - even 00 00 00 00 00 00 00 00 for each move if you so desired, just to keep the game from freezing. If your hack DOES use contests...I don't see why it wouldn't be possible to be able to use the new moves in combination with an old one in Contests, or to assign it a byte unused by the moves already there to have it lead a new set of Combinations. I don't think this is something anyone has experimented with yet (my hack doesn't use Contests; I use this screen in the summary to display the Physical/Special split instead), so it would require more exploration to see just where the limit is here!

Ruby Versions of Moves With New Effects:

If you use these in your own hack, please credit the original creators first and myself second. They are the ones who truly did the hard work; all I did was rewrite them to work on Ruby rather than Fire Red. The main differences between the codes for the two versions has to do with the pointers; and in some cases these are all you would need to change in order to port a move from one version to another. As a word of warning though, the move effect data itself between Ruby and Fire Red, while very similar, is often not exactly identical. Compare the codes for the unmodified Hammer Arm in Fire Red from the first post and the unmodified Hammer Arm for Ruby below, for example.

U-TURN/VOLT SWITCH by Itman:
Spoiler:

00 01 72 6F 1D 08 00 00 02 03 04 05 06 07 09 0A 0E 5C 00 3A 0B 00 0C 00 0D 12 40 00 0F 12 40 00 4F 81 5B 6F 1D 08 50 01 D6 83 1D 08 E2 01 3A 51 01 02 58 01 4C 01 4D 01 73 01 10 03 00 4E 01 01 3A 52 01 28 62 6F 1D 08 28 5B 6F 1D 08


HAMMER ARM (no Clear Body fix) by Itman:
Spoiler:

2E 21 4D 02 02 D8 28 14 6F 1D 08


*new* HAMMER ARM (Clear Body fix) by DoesntKnowHowToPlay:
Spoiler:

00 01 72 6F 1D 08 00 00 02 03 04 05 06 07 09 0A 0E 5C 00 3A 0B 00 0C 00 0D 12 40 00 0F 12 40 00 29 04 68 4C 02 02 29 5B 6F 1D 08 20 01 00 03 00 5B 6F 1D 08 2E DC 60 01 02 00 48 01 08 09 2E 1E 60 01 02 93 89 C1 5B 6F 1D 08 13 70 15 40 08 12 40 00 28 5B 6F 1D 08


I will edit this post with more moves as I continue to work on this. I hope this helps all the other Ruby hackers out there!
Signature under construction. Watch this space~

Last edited by Perri Lightfoot; April 12th, 2013 at 09:43 PM. Reason: Added Hammer Arm port
  #84    
Old April 11th, 2013, 09:01 PM
DoesntKnowHowToPlay's Avatar
DoesntKnowHowToPlay
some loser
 
Join Date: Jan 2012
A while back I posted a "polished" Hammer Arm that still lowered Speed when it failed to do damage. This version fixes that issue:

Spoiler:
00 01 5E 69 1D 08 00 00 02 03 04 05 06 07 09 0A 0E 5C 00 3A 0B 00 0C 00 0D 12 40 00 0F 12 40 00 29 04 CC 3D 02 02 29 47 69 1D 08 20 01 00 03 00 47 69 1D 08 2E DF 3F 02 02 00 48 01 08 09 2E DE 3F 02 02 93 89 C1 47 69 1D 08 13 7C E5 3F 08 12 40 00 28 47 69 1D 08


Or, if you prefer using BSP:
Spoiler:

#org 0x96F7B0
attackcanceler
accuracycheck 0x81D695E 0x0
attackstring
ppreduce
calculatedamage
attackanimation
waitanimation
missmessage
cmd5c 0x0
waitstate
graphicalhpupdate 0x0
datahpupdate 0x0
critmessage
waitmessage 0x40
resultmessage
waitmessage 0x40
jumpifbyte 0x4 0x2023DCC 0x29 0x81D6947
jumpifstat 0x1 0x0 0x3 0x0 0x81D6947
setbyte 0x2023FDF 0x0
playstatchangeanimation 0x1 0x8 0x9
setbyte 0x2023FDE 0x93
statbuffchange 0x81 true 0x81D6947
printfromtable 0x83FE57C
waitmessage 0x40
goto 0x81D6947


For FireRed, as usual, although if you know what you're doing you can probably port it.

Yet Another Fire Red Hack

Physical/Special Split
  #85    
Old April 11th, 2013, 10:05 PM
dreamengine's Avatar
dreamengine
 
Join Date: Aug 2012
Gender: Male
I made these really quick, but yeah I'm pretty sure it works fine.

Flare Blitz(Ruby)
Spoiler:
00 01 72 6F 1D 08 00 00 02 03 04 05 06 07 09 0A 0E 5C 00 3A 0B 00 0C 00 0D 12 40 00 0F 12 40 00 2E 21 4D 02 02 E6 15 2E 21 4D 02 02 03 15 28 5B 6F 1D 08


Close Combat(Ruby)
Spoiler:
00 01 72 6F 1D 08 00 00 02 03 04 05 06 07 09 0A 0E 5C 00 3A 0B 00 0C 00 0D 12 40 00 0F 12 40 00 2E 21 4D 02 02 D7 15 2E 21 4D 02 02 DA 15 28 5B 6F 1D 08
I support...

Last edited by dreamengine; April 11th, 2013 at 10:23 PM.
  #86    
Old April 11th, 2013, 10:22 PM
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 16
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
Quote:
Originally Posted by Pink Parka Girl View Post
Some supplemental information to this tutorial for Ruby hackers:

Offsets:
0x1FB12C = Attack Data (0x1FB130 for PP pointers)
0x1F8320 = Attack Names
0x1C7168 = Attack Animation Table
0x1D6BBC = Move Effect Table
0x3CF594 = Contest Data. This must be repointed along with the rest of the above data (and the new moves given contest data), or else the game will freeze when attempting to display the Contest Moves tab. To repoint it using the same technique described in the tutorial; go to this offset and Select Block = 2840. Copy, and go from there.
0x3C09D8 = Attack Description Table. This must also be repointed, or the game will start to overwrite important data (starting with Natures). To repoint it using the same technique described in the tutorial; go to this offset and Select Block = 1416. Copy, and go from there.

How to give a new move Contest Data:


Every move in Pokemon Ruby has Contest Data. This is an eight-byte data structure that contains the information that determines how the move functions when used in a Contest setting, and is set up like this:

00 04 3C 00 00 00 00 00

This is Pound's Contest data. The first byte determines what message is displayed in the summary - for example, "A highly appealing move!" This also determines the move's appeal/jam. The second byte is the Contest Type - in this case, Tough. The next byte is a combo identifier, used to identify the first move used in a Contest Combination. In contests, Pound can be used in combination with DoubleSlap, Faint Attack and Slam to rack up additional points. The next three bytes also relate to combos - if the move can be used second in a Contest Combination, the byte for the move(s) it can be combined with would go here, up to three.
The last two bytes are padding and should always be set to 00. For more information, refer here and here.

Now, go to where you repointed your Contest data table and skip down to the end (where the FF's begin again). If your hack doesn't bother with Contests you can put anything you want here - even 00 00 00 00 00 00 00 00 for each move if you so desired, just to keep the game from freezing. If your hack DOES use contests...I don't see why it wouldn't be possible to be able to use the new moves in combination with an old one in Contests, or to assign it a byte unused by the moves already there to have it lead a new set of Combinations. I don't think this is something anyone has experimented with yet (my hack doesn't use Contests; I use this screen in the summary to display the Physical/Special split instead), so it would require more exploration to see just where the limit is here!

Ruby Versions of Moves With New Effects:

If you use these in your own hack, please credit the original creators first and myself second. They are the ones who truly did the hard work; all I did was rewrite them to work on Ruby rather than Fire Red.

U-TURN/VOLT SWITCH by Itman:
Spoiler:

00 01 72 6F 1D 08 00 00 02 03 04 05 06 07 09 0A 0E 5C 00 3A 0B 00 0C 00 0D 12 40 00 0F 12 40 00 4F 81 5B 6F 1D 08 50 01 D6 83 1D 08 E2 01 3A 51 01 02 58 01 4C 01 4D 01 73 01 10 03 00 4E 01 01 3A 52 01 28 62 6F 1D 08 28 5B 6F 1D 08


HAMMER ARM by Itman:
Spoiler:

2E 21 4D 02 02 D8 28 14 6F 1D 08


I will edit this post with more moves as I continue to work on this. I hope this helps all the other Ruby hackers out there!
What Animation was used in U-Turn?
LET'S PARTY!
  #87    
Old April 11th, 2013, 11:12 PM
Perri Lightfoot's Avatar
Perri Lightfoot
Proud to hack Ruby Version!
Community Supporter Tier 5
 
Join Date: Mar 2008
Location: Nevada
Age: 28
Gender: Female
Nature: Modest
Quote:
Originally Posted by robin22gongon View Post
What Animation was used in U-Turn?
I used Body Slam for now so there would be SOMETHING going on when I went to take screenshots, but I'll probably experiment and see if I can find something that looks better go to with it later.
Signature under construction. Watch this space~
  #88    
Old April 11th, 2013, 11:19 PM
robin22gongon's Avatar
robin22gongon
 
Join Date: Sep 2012
Location: Want to know? VM me.
Age: 16
Gender: Male
Nature: Quirky
Send a message via Windows Live Messenger to robin22gongon
Quote:
Originally Posted by Pink Parka Girl View Post
I used Body Slam for now so there would be SOMETHING going on when I went to take screenshots, but I'll probably experiment and see if I can find something that looks better go to with it later.
Okay I was just wondering because I thaught I saw stars

BTW guys!!!!

Can I overwrite the original move data, name data, etc. with FFs once I repointed those?
LET'S PARTY!

Last edited by robin22gongon; April 12th, 2013 at 02:58 AM. Reason: Your double post has been automatically merged.
  #89    
Old April 12th, 2013, 10:18 PM
dondon151
 
Join Date: Jan 2012
Gender: Male
Alright, another question:

I was trying to change Surf's double battle effect from its gen 3 range (both opponents) to its gen 4 range (all Pokemon on field). If I just change the relevant field in most generic attack editors, such as MoveEditor or GBAPGE's Attack Editor, what ends up happening is that Surf only ends up hitting one of the opponents.

So I took a look at the effect codes for the other moves that hit all Pokemon on the field in gen 3 and tried to figure out what allowed them to hit all Pokemon.

Earthquake/Magnitude:
Spoiler:
00 02 03 C2 25 21 00 80 00 00 00 01 37 7B 1D 08 35 D0 3D 02 02 00 00 02 00 2E D2 3F 02 02 02 28 46 7B 1D 08 38 D0 3D 02 02 00 00 02 00 2E D2 3F 02 02 01 01 7F 7B 1D 08 00 00 04 05 06 07 09 0A 0E 5C 00 3A 0B 00 0C 00 0D 12 40 00 0F 12 40 00 10 30 01 12 01 00 19 00 00 00 00 00 00 2E D8 3F 02 02 00 49 02 10 7A 17 7B 1D 08 3D 39 20 00 06 0E 0F 12 40 00 2E D8 3F 02 02 00 49 02 10 7A 17 7B 1D 08 3D


Selfdestruct/Explosion:
Spoiler:
00 02 03 78 79 3A 29 05 CC 3D 02 02 01 91 6A 1D 08 41 E7 6A 1D 08 28 93 6A 1D 08 09 0A 25 04 05 06 07 01 CC 6A 1D 08 00 00 0E 5C 00 3A 0B 00 0C 00 0D 12 40 00 0F 12 40 00 19 00 00 00 00 00 00 2E D8 3F 02 02 00 49 02 10 7A 93 6A 1D 08 19 01 00 00 00 00 00 3D 0E 0F 12 40 00 2E D8 3F 02 02 00 49 02 10 7A 93 6A 1D 08 19 01 00 00 00 00 00 3D 36 CC 3D 02 02 01 09 0A 33 CC 3D 02 02 01 3C


Teeter Dance:
Spoiler:
00 02 03 2E 6C 3D 02 02 00 25 2E 85 3E 02 02 07 2C 6B 3D 02 02 6C 3D 02 02 01 94 83 1D 08 1E 00 14 B2 83 1D 08 1D 00 00 00 00 01 CE 83 1D 08 1D 00 07 00 00 00 DC 83 1D 08 01 EA 83 1D 08 00 00 1F 00 20 00 C0 83 1D 08 09 0A 16 0F 12 40 00 2E D8 3F 02 02 00 49 02 10 2F 6C 3D 02 02 01 2D 6C 3D 02 02 CC 3B 02 02 01 4E 83 1D 08 3D 39 20 00 10 CA 00 12 40 00 28 94 83 1D 08 39 20 00 10 50 00 12 40 00 28 94 83 1D 08 39 20 00 10 E5 00 12 40 00 28 94 83 1D 08 39 20 00 10 44 00 12 40 00 28 94 83 1D 08 0F 12 40 00 28 94 83 1D 08


I observed some similarities between the scripts (especially between Earthquake and Selfdestruct), but I don't know what they correspond to. Can anyone help me out here? I suspect that making the desired effect for Surf just involves copying the Earthquake script and removing the 35 D0 3D 02 02 00 00 02 00 part that corresponds to double damage against opponents underground. Am I correct, or is there something more to that?

On another note, I tried making Poison Gas target all Pokemon on the field by just copying Teeter Dance's effect and changing one of the 07's to an 02, and that worked perfectly.

Thanks for the response on my Thunder/Hurricane question, Jambo, I'll try that out.
  #90    
Old April 13th, 2013, 09:18 PM
dondon151
 
Join Date: Jan 2012
Gender: Male
So I figured out Surf and Poison Gas (targeting all Pokemon on field).

Surf:
Spoiler:
00 02 03 C2 25 21 00 80 00 00 00 01 91 6A 1D 08


Poison Gas (note that the actual gen 5 range of Poison Gas is both opponents only, not all Pokemon on field; this is for a WIP of mine):
Spoiler:
00 02 03 2E 6C 3D 02 02 00 25 2E 85 3E 02 02 02 2C 6B 3D 02 02 6C 3D 02 02 01 94 83 1D 08 1E 00 14 B2 83 1D 08 1D 00 00 00 00 01 CE 83 1D 08 1D 00 07 00 00 00 DC 83 1D 08 01 EA 83 1D 08 00 00 1F 00 20 00 C0 83 1D 08 09 0A 16 0F 12 40 00 2E D8 3F 02 02 00 49 02 10 2F 6C 3D 02 02 01 2D 6C 3D 02 02 CC 3B 02 02 01 4E 83 1D 08 3D 39 20 00 10 CA 00 12 40 00 28 94 83 1D 08 39 20 00 10 50 00 12 40 00 28 94 83 1D 08 39 20 00 10 E5 00 12 40 00 28 94 83 1D 08 39 20 00 10 44 00 12 40 00 28 94 83 1D 08 0F 12 40 00 28 94 83 1D 08

EDIT: dammit, this is still causing confusion. I definitely got this to cause burn, freeze, and poison to all other units on the field before. I'm not sure why this isn't working.

Now, I tried making Discharge by adding something to the beginning of Surf, but the game would freeze when I tried to use a move with the effect. What would I have to do to add a chance of paralysis (or any status effect)?

Last edited by dondon151; April 14th, 2013 at 12:53 AM.
  #91    
Old April 14th, 2013, 01:14 AM
MrDollSteak's Avatar
MrDollSteak
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 19
Gender: Male
Quote:
Originally Posted by dondon151 View Post
So I figured out Surf and Poison Gas (targeting all Pokemon on field).

Surf:
Spoiler:
00 02 03 C2 25 21 00 80 00 00 00 01 91 6A 1D 08


Poison Gas (note that the actual gen 5 range of Poison Gas is both opponents only, not all Pokemon on field; this is for a WIP of mine):
Spoiler:
00 02 03 2E 6C 3D 02 02 00 25 2E 85 3E 02 02 02 2C 6B 3D 02 02 6C 3D 02 02 01 94 83 1D 08 1E 00 14 B2 83 1D 08 1D 00 00 00 00 01 CE 83 1D 08 1D 00 07 00 00 00 DC 83 1D 08 01 EA 83 1D 08 00 00 1F 00 20 00 C0 83 1D 08 09 0A 16 0F 12 40 00 2E D8 3F 02 02 00 49 02 10 2F 6C 3D 02 02 01 2D 6C 3D 02 02 CC 3B 02 02 01 4E 83 1D 08 3D 39 20 00 10 CA 00 12 40 00 28 94 83 1D 08 39 20 00 10 50 00 12 40 00 28 94 83 1D 08 39 20 00 10 E5 00 12 40 00 28 94 83 1D 08 39 20 00 10 44 00 12 40 00 28 94 83 1D 08 0F 12 40 00 28 94 83 1D 08

EDIT: dammit, this is still causing confusion. I definitely got this to cause burn, freeze, and poison to all other units on the field before. I'm not sure why this isn't working.

Now, I tried making Discharge by adding something to the beginning of Surf, but the game would freeze when I tried to use a move with the effect. What would I have to do to add a chance of paralysis (or any status effect)?
So Pokemon Game Editor's move editor isn't working for you? I just set target to all pokemon and it works perfectly.
  #92    
Old April 14th, 2013, 06:45 AM
Muchasmarcos's Avatar
Muchasmarcos
Unhatched Egg
 
Join Date: Mar 2013
Location: Croatia
Gender: Male
Nature: Lax
Does this work on emerald too?
If it does i'd like to ask for the offsets in emerald.
  #93    
Old April 14th, 2013, 09:49 AM
dondon151
 
Join Date: Jan 2012
Gender: Male
Quote:
Originally Posted by 11bayerf1 View Post
So Pokemon Game Editor's move editor isn't working for you? I just set target to all pokemon and it works perfectly.
For which move? I just tried doing this on a clean ROM with Poison Gas and it didn't work. See the video below, where the move highlights all Pokemon on the field but only affects one opponent Pokemon. I also tried Poison Fang and the outcome ends up being the same.



If it's not working, try youtu.be/bt3boebV2SU

EDIT: Okay, I think I fixed Poison Gas. I took a closer look at Teeter Dance's script and then looked at the pointers in the script. Turns out that those pointers point back to Teeter Dance.

Well, I really don't know what any of it means, but I copied over everything involved, repointed all of the pointers, and I guess it seems to work now?

Last edited by dondon151; April 14th, 2013 at 12:51 PM. Reason: Your double post has been automatically merged.
  #94    
Old April 14th, 2013, 03:29 PM
MrDollSteak's Avatar
MrDollSteak
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 19
Gender: Male
Quote:
Originally Posted by dondon151 View Post
For which move? I just tried doing this on a clean ROM with Poison Gas and it didn't work. See the video below, where the move highlights all Pokemon on the field but only affects one opponent Pokemon. I also tried Poison Fang and the outcome ends up being the same.



If it's not working, try youtu.be/bt3boebV2SU

EDIT: Okay, I think I fixed Poison Gas. I took a closer look at Teeter Dance's script and then looked at the pointers in the script. Turns out that those pointers point back to Teeter Dance.

Well, I really don't know what any of it means, but I copied over everything involved, repointed all of the pointers, and I guess it seems to work now?
If it works then that's fine. My question is why didn't the animation play or any of the text assosciated with it come on? Because chances are the move is hitting everyone it just has a 55% accuracy and is missing the majority of the pokemon. I've set hydro pump as double target and it has successfully done damage to both targets. I put it back, but it has worked for me.
  #95    
Old April 14th, 2013, 09:14 PM
dondon151
 
Join Date: Jan 2012
Gender: Male
Quote:
Originally Posted by 11bayerf1 View Post
If it works then that's fine. My question is why didn't the animation play or any of the text assosciated with it come on?
Animations were off. The text doesn't come up for the other Pokemon because Poison Gas is not doing anything to the other Pokemon. It's ignoring them entirely.

Quote:
Originally Posted by 11bayerf1 View Post
Because chances are the move is hitting everyone it just has a 55% accuracy and is missing the majority of the pokemon. I've set hydro pump as double target and it has successfully done damage to both targets. I put it back, but it has worked for me.
I changed Poison Gas to 100% accuracy for the test.

I don't think I was being entirely clear here, as it seems that you've misunderstood. There are no problems with moves set to target only both opponent Pokemon. As you've said already, you can set Hydro Pump to target both opponents and it'll work just fine. The problem here is when a move is set to target both opponent Pokemon and your partner. In this case, the move will only hit one opponent Pokemon (and I think that it will always hit the same Pokemon).

I can guarantee that if you set Hydro Pump to target both opponent Pokemon and your partner, it will hit only one opponent Pokemon. Try it!
  #96    
Old April 14th, 2013, 10:40 PM
MrDollSteak's Avatar
MrDollSteak
Formerly known as 11bayerf1
 
Join Date: Dec 2008
Location: Hong Kong
Age: 19
Gender: Male
Quote:
Originally Posted by dondon151 View Post
Animations were off. The text doesn't come up for the other Pokemon because Poison Gas is not doing anything to the other Pokemon. It's ignoring them entirely.



I changed Poison Gas to 100% accuracy for the test.

I don't think I was being entirely clear here, as it seems that you've misunderstood. There are no problems with moves set to target only both opponent Pokemon. As you've said already, you can set Hydro Pump to target both opponents and it'll work just fine. The problem here is when a move is set to target both opponent Pokemon and your partner. In this case, the move will only hit one opponent Pokemon (and I think that it will always hit the same Pokemon).

I can guarantee that if you set Hydro Pump to target both opponent Pokemon and your partner, it will hit only one opponent Pokemon. Try it!
Ahhh I see. I misunderstood, I thought you meant double targetting. In that case, it's very useful that you've found that out.
  #97    
Old April 15th, 2013, 02:31 AM
Jambo51's Avatar
Jambo51
Glory To Arstotzka
 
Join Date: Jun 2009
Gender: Male
Nature: Quiet
I can guarantee you that damaging moves do work as intended with the hit all behaviour. I changed Surf to have that hit behaviour and it works like intended. It's because the behaviour is built into the script used for moves. However, since most status moves (like poison gas) do not use the main script, you will find that the behaviour fails to work correctly.

You can implement it manually using a relatively simple loop for which I don't currently have the code, but believe me, it's simple.

You need to take things like that into account when messing around with moves and their scripts.
Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
  #98    
Old April 15th, 2013, 11:01 AM
dondon151
 
Join Date: Jan 2012
Gender: Male
In response to the above:


h**p://youtu.be/FJOJxvK8xJU if it's not working

Either my eyes are deceiving me, or I'm doing something wrong. Any thoughts on the matter?

In the first clip, I set Horn Attack to target both foes and partner in GBAPGE. The game highlights the appropriate targets, but the outcome is not as intended. In the second clip, I set Horn Attack to target both foes only, and the outcome is as intended.

I've made some innocuous edits to the game using AdvanceMap and A-Trainer, and I repointed the move tables as instructed to by this guide. However, the same thing happens when I thest this on a clean ROM.

Last edited by dondon151; April 15th, 2013 at 11:06 AM.
  #99    
Old April 15th, 2013, 09:51 PM
Jambo51's Avatar
Jambo51
Glory To Arstotzka
 
Join Date: Jun 2009
Gender: Male
Nature: Quiet
Perhaps it also has to do with whether or not the original move was defined around hitting more than 1 target. I can assure you that Surf does work with this behaviour.

I couldn't pinpoint why it does so, if it isn't to do with the script, but it does work.

From what I can tell, the game does a controlled mini-loop executed by ASM over part of the main script. So it definitely has something to do with that script, but until we know how that loop is executed, your guess is as good as mine.
Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!

Last edited by Jambo51; April 15th, 2013 at 09:53 PM. Reason: Typo
  #100    
Old April 17th, 2013, 10:45 PM
dondon151
 
Join Date: Jan 2012
Gender: Male
Well, finally got around to this:

h**p://youtu.be/unL-smOqkRs

Setting Surf to target both foes and partner doesn't work. Are you sure that it works properly on your ROM?

I observed that Surf crashed the game if its first target caused it to miss (e.g. Dig), so I reworked it, but this time it stops hitting subsequent targets if it hits a target with Water Absorb.

Wow, this is super annoying. It would probably not be as bad if I knew what I was doing...
Post Reply
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 02:01 PM.

About Us
© 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.

Copyright
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. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.