The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Help Thread Quick Questions & Answers (https://www.pokecommunity.com/showthread.php?t=335486)

Zef March 29th, 2015 12:17 PM

hey guys, any reason why i can't edit generic trainer pokemon in unnamed trainer editor? i can only edit gym leaders and rival, the trainers are greyed out

Joexv March 29th, 2015 2:42 PM

Quote:

Originally Posted by Zef (Post 8679928)
hey guys, any reason why i can't edit generic trainer pokemon in unnamed trainer editor? i can only edit gym leaders and rival, the trainers are greyed out

What rom are you using? I've never had that problem.:-/

Zef March 29th, 2015 3:46 PM

Quote:

Originally Posted by joexv (Post 8680133)
What rom are you using? I've never had that problem.:-/

pokemon fire red, im not sure why this is happening either, it looks like this http://i.imgur.com/Cs75b9u.png

Joexv March 29th, 2015 3:48 PM

Quote:

Originally Posted by Zef (Post 8680219)
pokemon fire red, im not sure why this is happening either, it looks like this http://i.imgur.com/Cs75b9u.png

Oh you're talking about editing the moves right? If so you have to click change Pokemon then check movesets.

Adnihil March 29th, 2015 4:17 PM

Hey, is there a way to make it impossible to store your starter Pokémon in the PC or daycare?
Oh, and also to not be able to switch it from place with other Pokémon so it's always the first one in the party?
And to make an item that can only be held by your starter Pokémon?
And to white out when your starter loses all of its hp?

(Sorry, I thought this was gonna be a one-question post but after I wrote it more questions came to mind :p Should have maybe created a new thread.)

PokéMew March 29th, 2015 6:06 PM

Quote:

Originally Posted by Adnihil (Post 8680248)
Hey, is there a way to make it impossible to store your starter Pokémon in the PC or daycare?
Oh, and also to not be able to switch it from place with other Pokémon so it's always the first one in the party?
And to make an item that can only be held by your starter Pokémon?
And to white out when your starter loses all of its hp?

(Sorry, I thought this was gonna be a one-question post but after I wrote it more questions came to mind :p Should have maybe created a new thread.)

The one way any of these can be accomplished is with ASM. The best place to post these questions are as requests in the ASM resource thread held by FBI Agent here: http://www.pokecommunity.com/showthread.php?t=339153

That is, unless, a routine for any of these has already been established, or anyone else happens to know a routine off the top of their head which I highly doubt :/

Zef March 29th, 2015 6:11 PM

yeah thanks, i completely overlooked that rofl... just one more thing, how do i change the TM gym leaders give out?

PokéMew March 29th, 2015 6:46 PM

Quote:

Originally Posted by Zef (Post 8680331)
yeah thanks, i completely overlooked that rofl... just one more thing, how do i change the TM gym leaders give out?

Thats all scripting. For example, here is Brock's script:

Spoiler:
'---------------
#org 0x16A593
setvar 0x8004 0x2
setvar 0x8005 0x2
special 0x174
trainerbattle 0x1 0x19E 0x0 0x8190CD4 0x8190E4F 0x816A5C5
checkflag 0x254
if 0x0 goto 0x816A5F3
msgbox 0x819110F MSG_KEEPOPEN '"There are all kinds of Trainers in..."
release
end

'---------------
#org 0x16A5C5
setvar 0x8004 0x2
setvar 0x8005 0x1
special 0x173
setflag 0x4B0
setflag 0x820
setvar 0x406C 0x1
setflag 0x2E
clearflag 0x92
setvar 0x8008 0x1
call 0x81A6B18
goto 0x816A5F3

'---------------
#org 0x16A5F3
msgbox 0x8190FC1 MSG_KEEPOPEN '"Wait!\nTake this with you."
checkitemroom 0x147 0x1
compare LASTRESULT 0x0
if 0x1 goto 0x816A634
additem 0x147 0x1
loadpointer 0x0 0x8190FDB '"[player] received TM39\nfrom Brock..."
giveitem2 0x147 0x1 0x101
setflag 0x254
msgbox 0x8190FF8 MSG_KEEPOPEN '"A TM, Technical Machine, contains ..."
release
end

'---------------
#org 0x1A6B18
copyvar 0x8000 0x8008
compare 0x8000 0x1
if 0x1 goto 0x81A6B76
compare 0x8000 0x2
if 0x1 goto 0x81A6B7A
compare 0x8000 0x3
if 0x1 goto 0x81A6B81
compare 0x8000 0x4
if 0x1 goto 0x81A6B8B
compare 0x8000 0x5
if 0x1 goto 0x81A6BA1
compare 0x8000 0x6
if 0x1 goto 0x81A6BB4
compare 0x8000 0x7
if 0x1 goto 0x81A6BCA
compare 0x8000 0x8
if 0x1 goto 0x81A6BE0
end

'---------------
#org 0x16A634
msgbox 0x81911CE MSG_KEEPOPEN '"You don't have room for this."
release
end

'---------------
#org 0x1A6B76
cleartrainerflag 0x8E
return

'---------------
#org 0x1A6B7A
cleartrainerflag 0x96
cleartrainerflag 0xEA
return

'---------------
#org 0x1A6B81
cleartrainerflag 0x8D
cleartrainerflag 0xDC
cleartrainerflag 0x1A7
return

'---------------
#org 0x1A6B8B
cleartrainerflag 0x84
cleartrainerflag 0x85
cleartrainerflag 0xA0
cleartrainerflag 0x109
cleartrainerflag 0x10A
cleartrainerflag 0x10B
cleartrainerflag 0x192
return

'---------------
#org 0x1A6BA1
cleartrainerflag 0x126
cleartrainerflag 0x127
cleartrainerflag 0x120
cleartrainerflag 0x121
cleartrainerflag 0x124
cleartrainerflag 0x125
return

'---------------
#org 0x1A6BB4
cleartrainerflag 0x118
cleartrainerflag 0x119
cleartrainerflag 0x11A
cleartrainerflag 0x11B
cleartrainerflag 0x1CE
cleartrainerflag 0x1CF
cleartrainerflag 0x1D0
return

'---------------
#org 0x1A6BCA
cleartrainerflag 0xB1
cleartrainerflag 0xB2
cleartrainerflag 0xB3
cleartrainerflag 0xB4
cleartrainerflag 0xD5
cleartrainerflag 0xD6
cleartrainerflag 0xD7
return

'---------------
#org 0x1A6BE0
cleartrainerflag 0x128
cleartrainerflag 0x129
cleartrainerflag 0x142
cleartrainerflag 0x143
cleartrainerflag 0x144
cleartrainerflag 0x188
cleartrainerflag 0x190
cleartrainerflag 0x191
return


'---------
' Strings
'---------
#org 0x190CD4
= So, you're here. I'm Brock.\nI'm Pewter's Gym Leader.\pMy rock-hard willpower is evident\neven in my Pokémon.\pMy Pokémon are all rock hard, and\nhave true-grit determination.\pThat's right - my Pokémon are all\nthe Rock type!\pFuhaha! You're going to challenge\nme knowing that you'll lose?\pThat's the Trainer's honor that\ncompels you to challenge me.\pFine, then!\nShow me your best!\c\h0B[Ke]À

#org 0x190E4F
= I took you for granted, and so\nI lost.\pAs proof of your victory, I confer\non you this[.]the official Pokémon\lLeague BOULDERBadge.\p\c\h06Á[player] received the BOULDERBadge\nfrom Brock!\c\h17\c\h0BÇÀ\c\h08\n\c\h08[Ke]\c\h18\p\c\h06ÇJust having the BOULDERBadge makes\nyour Pokémon more powerful.\pIt also enables the use of the\nmove Flash outside of battle.\pOf course, a Pokémon must know the\nmove Flash to use it.

#org 0x19110F
= There are all kinds of Trainers in\nthis huge world of ours.\pYou appear to be very gifted as a\nPokémon Trainer.\pSo let me make a suggestion.\pGo to the Gym in Cerulean and test\nyour abilities.

#org 0x190FC1
= Wait!\nTake this with you.

#org 0x190FDB
= [player] received TM39\nfrom Brock.

#org 0x190FF8
= A TM, Technical Machine, contains a\ntechnique for Pokémon.\pUsing a TM teaches the move it\ncontains to a Pokémon.\pA TM is good for only one use.\pSo, when you use one, pick the\nPokémon carefully.\pAnyways[.]\nTM39 contains Rock Tomb.\pIt hurls boulders at the foe and\nlowers its Speed.

#org 0x1911CE
= You don't have room for this.

Toward the top you can see 'giveitem2 0x147 0x1 0x101'.
This basically gives the TM that brock gives, in this case TM39. And, the command is usually just giveitem, but giveitem2 plays a fanfare (Receiving an item jingle) along with it.

0x147 is the item number to give, 0x1 is the quantity of that item to receive, and 0x101 is the song to play along with it. To conclude, you can basically just find the TM# you want to replace his with, here is a list from diegoisawesome's xse tutorial:
Spoiler:
Master Ball 1
Ultra Ball 2
Great Ball 3
Poké Ball 4
Safari Ball 5
Net Ball 6
Dive Ball 7
Nest Ball 8
Repeat Ball 9
Timer Ball 10
Luxury Ball 11
Premier Ball 12
Potion 13
Antidote 14
Burn Heal 15
Ice Heal 16
Awakening 17
Parlyz Heal 18
Full Restore 19
Max Potion 20
Hyper Potion 21
Super Potion 22
Full Heal 23
Revive 24
Max Revive 25
Fresh Water 26
Soda Pop 27
Lemonade 28
Moomoo Milk 29
Energypowder 30
Energy Root 31
Heal Powder 32
Revival Herb 33
Ether 34
Max Ether 35
Elixir 36
Max Elixir 37
Lava Cookie 38
Blue Flute 39
Yellow Flute 40
Red Flute 41
Black Flute 42
White Flute 43
Berry Juice 44
Sacred Ash 45
Shoal Salt 46
Shoal Shell 47
Red Shard 48
Blue Shard 49
Yellow Shard 50
Green Shard 51
HP Up 63
Protein 64
Iron 65
Carbos 66
Calcium 67
Rare Candy 68
PP Up 69
Zinc 70
PP Max 71
Guard Spec. 73
Dire Hit 74
X Attack 75
X Defend 76
X Speed 77
X Accuracy 78
X Special 79
Poké Doll 80
Fluffy Tail 81
Super Repel 83
Max Repel 84
Escape Rope 85
Repel 86
Sun Stone 93
Moon Stone 94
Fire Stone 95
Thunderstone 96
Water Stone 97
Leaf Stone 98
Tinymushroom 103
Big Mushroom 104
Pearl 106
Big Pearl 107
Stardust 108
Star Piece 109
Nugget 110
Heart Scale 111
Orange Mail 121
Harbor Mail 122
Glitter Mail 123
Mech Mail 124
Wood Mail 125
Wave Mail 126
Bead Mail 127
Shadow Mail 128
Tropic Mail 129
Dream Mail 130
Fab Mail 131
Retro Mail 132
Cheri Berry 133
Chesto Berry 134
Pecha Berry 135
Rawst Berry 136
Aspear Berry 137
Leppa Berry 138
Oran Berry 139
Persim Berry 140
Lum Berry 141
Sitrus Berry 142
Figy Berry 143
Wiki Berry 144
Mago Berry 145
Aguav Berry 146
Iapapa Berry 147
Razz Berry 148
Bluk Berry 149
Nanab Berry 150
Wepear Berry 151
Pinap Berry 152
Pomeg Berry 153
Kelpsy Berry 154
Qualot Berry 155
Hondew Berry 156
Grepa Berry 157
Tamato Berry 158
Cornn Berry 159
Magost Berry 160
Rabuta Berry 161
Nomel Berry 162
Spelon Berry 163
Pamtre Berry 164
Watmel Berry 165
Durin Berry 166
Belue Berry 167
Liechi Berry 168
Ganlon Berry 169
Salac Berry 170
Petaya Berry 171
Apicot Berry 172
Lansat Berry 173
Starf Berry 174
Enigma Berry 175
Brightpowder 179
White Herb 180
Macho Brace 181
Exp. Share 182
Quick Claw 183
Soothe Bell 184
Mental Herb 185
Choice Band 186
King's Rock 187
Silverpowder 188
Amulet Coin 189
Cleanse Tag 190
Soul Dew 191
Deepseatooth 192
Deepseascale 193
Smoke Ball 194
Everstone 195
Focus Band 196
Lucky Egg 197
Scope Lens 198
Metal Coat 199
Leftovers 200
Dragon Scale 201
Light Ball 202
Soft Sand 203
Hard Stone 204
Miracle Seed 205
Blackglasses 206
Black Belt 207
Magnet 208
Mystic Water 209
Sharp Beak 210
Poison Barb 211
Nevermeltice 212
Spell Tag 213
Twistedspoon 214
Charcoal 215
Dragon Fang 216
Silk Scarf 217
Up-grade 218
Shell Bell 219
Sea Incense 220
Lax Incense 221
Lucky Punch 222
Metal Powder 223
Thick Club 224
Stick 225
Red Scarf 254
Blue Scarf 255
Pink Scarf 256
Green Scarf 257
Yellow Scarf 258
Mach Bike 259
Coin Case 260
Itemfinder 261
Old Rod 262
Good Rod 263
Super Rod 264
S.S. Ticket 265
Contest Pass 266
Wailmer Pail 268
Devon Goods 269
Soot Sack 270
Basement Key 271
Acro Bike 272
PokéBlock Case 273
Letter 274
Eon Ticket 275
Red Orb 276
Blue Orb 277
Scanner 278
Go-goggles 279
Meteorite 280
Rm. 1 Key 281
Rm. 2 Key 282
Rm. 4 Key 283
Rm. 6 Key 284
Storage Key 285
Root Fossil 286
Claw Fossil 287
Devon Scope 288
TM01 289
TM02 290
TM03 291
TM04 292
TM05 293
TM06 294
TM07 295
TM08 296
TM09 297
TM10 298
TM11 299
TM12 300
TM13 301
TM14 302
TM15 303
TM16 304
TM17 305
TM18 306
TM19 307
TM20 308
TM21 309
TM22 310
TM23 311
TM24 312
TM25 313
TM26 314
TM27 315
TM28 316
TM29 317
TM30 318
TM31 319
TM32 320
TM33 321
TM34 322
TM35 323
TM36 324
TM37 325
TM38 326
TM39 327
TM40 328
TM41 329
TM42 330
TM43 331
TM44 332
TM45 333
TM46 334
TM47 335
TM48 336
TM49 337
TM50 338
HM01 339
HM02 340
HM03 341
HM04 342
HM05 343
HM06 344
HM07 345
HM08 346
Oak's Parcel 349
Poké Flute 350
Secret Key 351
Bike Voucher 352
Gold Teeth 353
Old Amber 354
Card Key 355
Lift Key 356
Helix Fossil 357
Dome Fossil 358
Silph Scope 359
Bicycle 360
Town Map 361
VS Seeker 362
Fame Checker 363
TM Case 364
Berry Pouch 365
Teachy TV 366
Tri-pass 367
Rainbow Pass 368
Tea 369
Mysticticket 370
Auroraticket 371
Powder Jar 372
Ruby 373
Sapphire 374


So pretend you wanted to replace it with tm#20, its number is 308. So convert that into hex, which is 134. Finally, you can replace 0x147 with 0x134.

Fun Size March 31st, 2015 12:59 PM

So I've been trying to figure out how to get Shiny Quagsire's Triple Layer Tiles hack to work but I keep getting stuck on this part:
Quote:

First, the background byte must be set to 0x60, which will trigger the triple layer tile code. Next, we need to select our block which will be the top layer donor. In vanilla Fire Red, block 0xF contains a top layer for trees. Now since we're using only unused bits, we are required to use the following mask for identifying our block:

Code:
00FFC000
Which is basically just 10 bits bitshifted left by 14.

So how can I use this in A-Map? Well, it's a bit complicated. First you need to take your block number (in our case 0xF) and bit shift it left by 14. For us, we get 38000, or if we pad it with 0's to get a full dword, 00038000.
I have no idea how he bit shifted 0xF by 0x14 to get 38000 because I keep getting 3C000 whenever I do it. Can anyone explain to me how to do this?
Here's the thread if you need to see it:
http://mail.pokecommunity.com/showthread.php?t=328011

scar89 March 31st, 2015 1:42 PM

Hey everyone,
does anybody know a good tutorial for script tiles/tile scripts or whatever they are called?
Thank you. :)

(Maybe I'm just to blind to find one, but somehow I only find Person Scripts.)

EDIT: Thank you very much Pokemew. :)

PokéMew March 31st, 2015 2:05 PM

Quote:

Originally Posted by scar89 (Post 8683541)
Hey everyone,
does anybody know a good tutorial for script tiles/tile scripts or whatever they are called?
Thank you. :)

(Maybe I'm just to blind to find one, but somehow I only find Person Scripts.)

Refer to this post:
http://www.pokecommunity.com/showthread.php?t=302347
Scroll down to the script tile section. There isn't too much of a difference between them and person tiles.

robinjea April 1st, 2015 1:24 AM

Hmm... I don't know if this has been asked before and this idea just popped suddenly in my head just now but, is there a way to adjust the chance of getting your Pokemon infected with Pokerus?

EricaHarper April 1st, 2015 5:58 PM

Hello, I just wanted to ask a quick question... Just what is the Cry conversion table for in Emerald? There are three tables for cries, one for status screen/battles I presume, and another for moves like growl and hyper voice, according to the notes of a pal of mine. But no one I've spoken to knows what the conversion table's for.

azurile13 April 1st, 2015 6:16 PM

Hi, I'm looking for a way to "store" a Pokemon, similar to the way the daycares work. However, I also want to have the daycare in tact, which takes out the option of using their storage (and besides, their specials would have the side effects of leveling, eggs, etc).

The closest thing I've found to completely decrypt every aspect of a Pokemon is Jpan's Engine, with special 0x06. However, that appears to be in a memory block isn't meant to be a permanenet thing and deleted after the script is done. Furthermore, I'd like to be able to store two pokemon with this method, not one, which I don't think this would allow if I just left it there. What I want is a way to write all 100 bytes into a permanent location that won't change until I specifically script it to disappear (aka taking the pokemon back). But I'm not sure how copy bytes works in this case?

Also, of course, if there is a more efficient way to store pokemon, I'd prefer that instead.

Percy April 2nd, 2015 5:09 AM

Can anyone tell me where to find second frames for Gen. 4 -5? Or, just Gen. 5?

BlackStorm20x April 2nd, 2015 7:31 AM

Quote:

Originally Posted by Percy (Post 8686086)
Can anyone tell me where to find second frames for Gen. 4 -5? Or, just Gen. 5?

Here is a sprite sheet from D/P Spriters-Resource which has the second frame of all Pokémon. Or here is another one from HG/SS of all Pokémon. Then for 5th Gen, go to this page and scroll down to Pokémon (Animated 5th Gen.) and choose one of the frames from there. There ya go! But so many! :)

Geo Stelar April 2nd, 2015 7:34 AM

Hello. I would like to know how to add second frames to FireRed. I know Castform has multiple frames for its forms, and Deoxys has a second frame for its forme. And every Pokémon has a second frame in Emerald. So how can I make it so that every Pokémon has a second frame in FireRed?

CoolKortmaniac April 2nd, 2015 7:37 AM

So I'm using the PROJECT HOENN BW tileset patch, and I have encountered a small problem... I CAN'T ENTER ANY OF THE BUILDINGS IN PALETTE TOWN!!! I can leave my room, house, and such, but cannot reenter my house, or enter garys house, and cant go into the lab any way other than the Hey! Wait! Oak script.

Mana April 2nd, 2015 8:02 AM

Quote:

Originally Posted by CoolKortmaniac (Post 8686289)
So I'm using the PROJECT HOENN BW tileset patch, and I have encountered a small problem... I CAN'T ENTER ANY OF THE BUILDINGS IN PALETTE TOWN!!! I can leave my room, house, and such, but cannot reenter my house, or enter garys house, and cant go into the lab any way other than the Hey! Wait! Oak script.

I'm not familiar with the patch but check a few things:
  • Check there are 'warp' events on the doors.
  • Click the purple puzzle piece, select the door and check that the behaviour byte is 69 00 (use door/warp).

azurile13 April 2nd, 2015 12:39 PM

Another question on Pokemon data: is there a fire red script/method to completely generate or edit an in game pokemon? I know the give pokemon and give egg commands, but those are just species and level. I don't know of/couldn't find one that can control PID to specify natures or ensure specific abilities. I want to add the everstone personalities and the 80% inherit ability function to breeding.

reshilegend April 3rd, 2015 6:27 AM

Having an issue with the tileset animation editor:

I'm adding an 8 frame animation to tileset 37. The last frame (step 7) always looks like this, no matter which start tile, animation slot or tile amount I use. From experience I know that it freezes/crashes your game if you try to just paste your animation over this, since it's essentially other data.
So, what can I do here?

Mueez April 3rd, 2015 8:44 PM

Whenever I change the title screen of fire red
I can change the charizard with a Cresselia with a perfection
But when I change the background And run the game Only The gengar and nidorino fight comes on and then black screen
What am I doing wrong

chrunch April 3rd, 2015 11:07 PM

Quote:

Originally Posted by Geo Stelar (Post 8686283)
Hello. I would like to know how to add second frames to FireRed. I know Castform has multiple frames for its forms, and Deoxys has a second frame for its forme. And every Pokémon has a second frame in Emerald. So how can I make it so that every Pokémon has a second frame in FireRed?

http://www.pokecommunity.com/showthread.php?t=223078

That thread should have some relevant information, I'm not sure if this is buggy or if there's a more up to date way. Use at your own risk.

Shadowchaos1010 April 4th, 2015 4:04 AM

I was wondering how to add pokemon to a gen 3 game for a rom hack using Gen III Hacking Suite. I was curious about how to add the sprites, as well as their cries. I was also curious about how the 'Expand Pokemon' thing worked.
Is there a way to access the badge sprites to change them? As well as the pictures of the gym leaders on your trainer card?
How can I add mugshots or music from future gens to the hack?
How can I access the battle backgrounds to change them? Or the HP Bars?
How can I change the opening lecture and the location art?
Can I access the map of Kanto in order to change it?
For reference, the rom I'm using is FireRed.
For the time being, those are all the questions I have.

chrunch April 4th, 2015 4:28 AM

Quote:

Originally Posted by Shadowchaos1010 (Post 8689664)
I was wondering how to add pokemon to a gen 3 game for a rom hack using Gen III Hacking Suite. I was curious about how to add the sprites, as well as their cries. I was also curious about how the 'Expand Pokemon' thing worked.
Is there a way to access the badge sprites to change them? As well as the pictures of the gym leaders on your trainer card?
How can I add mugshots or music from future gens to the hack?
How can I access the battle backgrounds to change them? Or the HP Bars?
How can I change the opening lecture and the location art?
Can I access the map of Kanto in order to change it?
For reference, the rom I'm using is FireRed.
For the time being, those are all the questions I have.

1. You click the "Expand Pokemon" button and choose you many Pokemon you want to add. Just try it out on a blank ROM if you're curious.
2. I know you can change them with UNLZ, there are probably other ways as well.
3. http://www.pokecommunity.com/showthread.php?t=240183 and as for the music you can insert anything you want using Sappy. You will have to edit the song though.
4. http://www.pokecommunity.com/showthread.php?t=302401
5. You can change it with a text editor like A-text (although I wouldn't recommend it) or a hex editor
6. The map is definitely changeable, look in the tutorials sections and you should be able to find a guide
---
Most of your questions can be easily answered with google or just by having a look in the tutorials/research section. I'd suggest that next time, it will save you some time :)


All times are GMT -8. The time now is 2:33 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 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.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.