GBDK 2020 Docs
API Documentation for GBDK 2020
OAM_item_t Struct Reference

#include <gb.h>

Data Fields

UINT8 y
 
UINT8 x
 
UINT8 tile
 
UINT8 prop
 

Detailed Description

Sprite Attributes structure

Parameters
xX Coordinate of the sprite on screen
yY Coordinate of the sprite on screen
tileSprite tile number (see set_sprite_tile)
propOAM Property Flags (see set_sprite_prop)

Field Documentation

◆ y

UINT8 OAM_item_t::y

◆ x

UINT8 OAM_item_t::x

◆ tile

UINT8 OAM_item_t::tile

◆ prop

UINT8 OAM_item_t::prop

The documentation for this struct was generated from the following file: