Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Emulation & ROM Hacking

Questions? (R/B) - Page 1

Questions? (R/B)

Posted by: Spoink
Date: 2015-04-10 09:58:26
Working on a rom hack:

Re: Questions? (R/B)

Posted by: Missingnoguy55
Date: 2015-04-10 13:01:05
Just gonna warn you R/B has a very clunky layout when it comes to editing. The script system is awfully unorganized as well.

I don't know any editors unfortunately. Doesn't TileMolester have the ability to edit overworld sprites?

Re: Questions? (R/B)

Posted by: Torchickens
Date: 2015-04-10 13:13:42

Re: Questions? (R/B)

Posted by: hpoké_coloradohugge
Date: 2015-04-10 20:19:04
you can use the program YY-CHR for sprite editing, that's what i use for the most part when doing romhacks.

Re: Questions? (R/B)

Posted by: Crystal_
Date: 2015-04-20 16:47:12
How are types stored? R/B only.


The table is at 0x3e474 (f:6474) in red/blue and the format for each entry is [attacking type][defending type][damage multiplier]. Damage multiplier is 0x05 for not very effective, 0x14 for super-effective, and 0x00 for ineffective. This value will be divided by 0x0A during damage calculation. Any combination not present in that table has a default effectiveness of neutral (10 or 0x0A).

See here: https://github.com/iimarckus/pokered/blob/master/data/type_effects.asm

Type constants: https://github.com/iimarckus/pokered/blob/master/constants/type_constants.asm
Types with an index equal or higher than 0x14 will be treated as special, the rest will be physical.

Know any good overworld sprite editors? R/B please.


The pokered dissasembly. You just need the sprite in png format and pokered will do the rest for you converting the image to 1bpp/2bpp. Of course, the size must match with the original sprite and you would use 2 and 4 different shades/colors for 1bpp and 2bpp respectively.
https://github.com/iimarckus/pokered/tree/master/gfx/sprites