• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • A reminder that our new forum software has 2FA! It can be accessed by clicking your username and then "Password and security" from the menu. We strongly suggest not reusing passwords for your online accounts and enabling 2FA if possible.
  • Welcome to PokéCommunity! Register now and join one of the best places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

Development: Forms and Formes

Lance32497

LanceKoijer of Pokemon_Addicts
792
Posts
9
Years
I'm sorry, didn't see this one at first. Typo: I meant 0x2 , which means if greater than. Special 0x9F will return a party slot from 0 to 5, and 7 if no pokemon is selected.
Also, for the full script you need to check if the selected pokemon is in fact a Rotom or Deoxys too, of course.

EDIT: whoops, seems like I missed the fact that in Platinum you never actually have to select a Rotom or a Deoxys... :/
Derp here, so I guess this would require one of FBI's routines instead.

ahhhhh.... thanks I was just confused what and why 0x3
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
Arceus and Giratina will have to wait because Game Freak ignored logic when coding the Pokémon Storage System. However, the first post has been updated for BURMY!
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
Thank you for this.

On another note, what exactly were you referring to with Arceus and Giratina?

The routine that changes the index number based on hold item (and location).
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
I meant as to how it was messing up?

FR contains wayyyyyyyyyyyyy too many routines for giving/taking items while you're at the PC. So I have to edit them all! :D
 
457
Posts
10
Years
  • Age 28
  • Seen Jan 30, 2024
Great job yo! How to port this on Emerald... does changing the offsets will work?
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
For Cherrim, I had hacked the routines used for Castform. It's unfinished and on hold at the moment though.
 

PurpleOrange

still don't know what I'm doing
367
Posts
10
Years
is there a way to keep the pokedex number the same once it's changed formes? i'm trying to add the deoxys formes for firered but the pokedex number changes
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
is there a way to keep the pokedex number the same once it's changed formes? i'm trying to add the deoxys formes for firered but the pokedex number changes

I believe you can edit it with G3HS, otherwise is surely possible with PGE.
 

PurpleOrange

still don't know what I'm doing
367
Posts
10
Years
I believe you can edit it with G3HS, otherwise is surely possible with PGE.

i used PGE's but it seems to mess up the Pokedex. when i view it on the national dex list, or rare pokemon habitat, it's completely fine. But i can't seem to view it on the search pokemon options, and on the type list, it comes up 4 times (cuz there's 4 deoxys formes) and not in the same place like the others
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
i used PGE's but it seems to mess up the Pokedex. when i view it on the national dex list, or rare pokemon habitat, it's completely fine. But i can't seem to view it on the search pokemon options, and on the type list, it comes up 4 times (cuz there's 4 deoxys formes) and not in the same place like the others

Did you use the dex order editor?
 

CrashmanX

Mechamon
116
Posts
15
Years
  • Age 31
  • Seen Mar 22, 2016
For Cherrim, I had hacked the routines used for Castform. It's unfinished and on hold at the moment though.

That is most interesting to me. Do you know if you can change what triggers the form change? Example being if you could make it based on %HP left?
 

daniilS

busy trying to do stuff not done yet
409
Posts
10
Years
  • Age 24
  • Seen Jan 29, 2024
That is most interesting to me. Do you know if you can change what triggers the form change? Example being if you could make it based on %HP left?

Placing a check for that should be easy enough, the hard part is updating the data itself. Especially if that means changing more than just the sprite and the typing. (I'm guessing Darmanitan)
 

PurpleOrange

still don't know what I'm doing
367
Posts
10
Years
so i'm trying to do deoxys' formes in emerald but i'm unsure with this part of the code

Code:
        var8004:			.word 0x020270B8 + 0x8004 * 2
	poke_slot_1:			.word 0x02024284
	var8005:			.word 0x020270B8 + 0x8005 * 2

what would the emerald equivalent of the numbers after the ".word" be?
 
116
Posts
16
Years
so i'm trying to do deoxys' formes in emerald but i'm unsure with this part of the code

Code:
        var8004:			.word 0x020270B8 + 0x8004 * 2
	poke_slot_1:			.word 0x02024284
	var8005:			.word 0x020270B8 + 0x8005 * 2

what would the emerald equivalent of the numbers after the ".word" be?

You just need to change all of them to the following code, I was tested and it worked properly.

.align 2
var8004: .word 0x020375E0
poke_slot_1: .word 0x020244EC
var8005: .word 0x020375E2
pokemon_setattr: .word 0x0806ACAC
pokemon_calc_effective_stats: .word 0x08068D0C
 
Back
Top