pret / pokeruby

Decompilation of Pokémon Ruby/Sapphire
799 stars 224 forks source link

Create constant for menu cursor color #812

Open aplumafreak500 opened 4 years ago

aplumafreak500 commented 4 years ago

Multiple functions call either CreateBlendedOutlineCursor or MenuCursor_Create814A5C0 with its fourth argument set to 0x2D9F. This gets written to gUnknown_0203A360, which the sprite template for the cursor itself points to as a palette.

By making this a constant, it should make it easier to change this color, given that it is set in a lot of different places.