shithub: pokecrystal

ref: 4161ec98b4ab19863ae35502c9959892effbf6ea
dir: /constants/scgb_constants.asm/

View raw version
; GetSGBLayout arguments (see engine/cgb_layouts.asm and engine/sgb_layouts.asm)
	const_def
	const SCGB_BATTLE_GRAYSCALE
	const SCGB_BATTLE_COLORS
	const SCGB_POKEGEAR_PALS
	const SCGB_STATS_SCREEN_HP_PALS
	const SCGB_POKEDEX
	const SCGB_SLOT_MACHINE
	const SCGB_06
	const SCGB_07
	const SCGB_DIPLOMA
	const SCGB_MAPPALS
	const SCGB_PARTY_MENU
	const SCGB_EVOLUTION
	const SCGB_0C
	const SCGB_0D
	const SCGB_MOVE_LIST
	const SCGB_0F
	const SCGB_POKEDEX_SEARCH_OPTION
	const SCGB_11
	const SCGB_POKEPIC
	const SCGB_13
	const SCGB_PACKPALS
	const SCGB_TRAINER_CARD
	const SCGB_POKEDEX_UNOWN_MODE
	const SCGB_BILLS_PC
	const SCGB_UNOWN_PUZZLE
	const SCGB_GAMEFREAK_LOGO
	const SCGB_PLAYER_OR_MON_FRONTPIC_PALS
	const SCGB_TRADE_TUBE
	const SCGB_TRAINER_OR_MON_FRONTPIC_PALS
	const SCGB_MYSTERY_GIFT
	const SCGB_1E

SCGB_PARTY_MENU_HP_PALS  EQU -4
SCGB_RAM EQU -1

; PredefPals indexes (see gfx/sgb/predef.pal)
	const_def
	const PREDEFPAL_00
	const PREDEFPAL_01
	const PREDEFPAL_02
	const PREDEFPAL_03
	const PREDEFPAL_04
	const PREDEFPAL_05
	const PREDEFPAL_06
	const PREDEFPAL_07
	const PREDEFPAL_08
	const PREDEFPAL_09
	const PREDEFPAL_0A
	const PREDEFPAL_0B
	const PREDEFPAL_0C
	const PREDEFPAL_0D
	const PREDEFPAL_0E
	const PREDEFPAL_0F
	const PREDEFPAL_10
	const PREDEFPAL_11
	const PREDEFPAL_12
	const PREDEFPAL_13
	const PREDEFPAL_14
	const PREDEFPAL_15
	const PREDEFPAL_16
	const PREDEFPAL_17
	const PREDEFPAL_18
	const PREDEFPAL_19
	const PREDEFPAL_1A
	const PREDEFPAL_1B
	const PREDEFPAL_1C
	const PREDEFPAL_1D
	const PREDEFPAL_1E
	const PREDEFPAL_1F
	const PREDEFPAL_20
	const PREDEFPAL_21
	const PREDEFPAL_22
	const PREDEFPAL_23
	const PREDEFPAL_24
	const PREDEFPAL_25
	const PREDEFPAL_26
	const PREDEFPAL_27
	const PREDEFPAL_28
	const PREDEFPAL_29
	const PREDEFPAL_2A
	const PREDEFPAL_2B
	const PREDEFPAL_2C
	const PREDEFPAL_2D
	const PREDEFPAL_2E
	const PREDEFPAL_2F
	const PREDEFPAL_30
	const PREDEFPAL_31
	const PREDEFPAL_32
	const PREDEFPAL_33
	const PREDEFPAL_34
	const PREDEFPAL_35
	const PREDEFPAL_36
	const PREDEFPAL_37
	const PREDEFPAL_38
	const PREDEFPAL_39
	const PREDEFPAL_3A
	const PREDEFPAL_3B
	const PREDEFPAL_3C
	const PREDEFPAL_3D
	const PREDEFPAL_3E
	const PREDEFPAL_3F
	const PREDEFPAL_40
	const PREDEFPAL_41
	const PREDEFPAL_42
	const PREDEFPAL_43
	const PREDEFPAL_44
	const PREDEFPAL_45
	const PREDEFPAL_46
	const PREDEFPAL_47
	const PREDEFPAL_48
	const PREDEFPAL_49
	const PREDEFPAL_4A
	const PREDEFPAL_4B
	const PREDEFPAL_4C
	const PREDEFPAL_4D
	const PREDEFPAL_4E

; SGB system command codes
; http://gbdev.gg8.se/wiki/articles/SGB_Functions#SGB_System_Command_Table
	const_def
	const SGB_PAL01
	const SGB_PAL23
	const SGB_PAL03
	const SGB_PAL12
	const SGB_ATTR_BLK
	const SGB_ATTR_LIN
	const SGB_ATTR_DIV
	const SGB_ATTR_CHR
	const SGB_SOUND
	const SGB_SOU_TRN
	const SGB_PAL_SET
	const SGB_PAL_TRN
	const SGB_ATRC_EN
	const SGB_TEST_EN
	const SGB_ICON_EN
	const SGB_DATA_SND
	const SGB_DATA_TRN
	const SGB_MLT_REG
	const SGB_JUMP
	const SGB_CHR_TRN
	const SGB_PCT_TRN
	const SGB_ATTR_TRN
	const SGB_ATTR_SET
	const SGB_MASK_EN
	const SGB_OBJ_TRN