MCPcopy Create free account
hub / github.com/Stewmath/GameYob / consoleSetPosColor

Function consoleSetPosColor

arm9/source/console.cpp:913–917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

911}
912
913void consoleSetPosColor(int x, int y, int color) {
914 u16* map = BG_MAP_RAM_SUB(22);
915 map[y*32+x] &= ~TILE_PALETTE(15);
916 map[y*32+x] |= TILE_PALETTE(color);
917}
918
919void consoleSetLineColor(int line, int color) {
920 u16* map = BG_MAP_RAM_SUB(22);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected