// Overlay functions and data the executable uses by address, under the
// overlay's own names (see include/dcb/overlay_calls.h). Only config/main.yaml
// reads this file: the overlays' configs keep their own names for these
// addresses, and another overlay may be loaded there. OPEN_MEMCARD_CANCELLED is
// OPENSEG's OPEN_MEMCARD.cancelled.

// Where every overlay is loaded, the end of the executable's .bss; the
// executable only takes its address (OVERLAY_LOAD_ADDR). Each overlay has its
// own data there.
OVERLAY_AREA = 0x801DDF38;

// ENDSEG
END_runPlayerRecords = 0x801DF47C; // type:func

// EVOSEG
EVO_runFusion = 0x801E8E88; // type:func

// KAWSEG
KAW_countHandDigivolves = 0x801DFFD4; // type:func
KAW_simulateBattles = 0x801E0CCC; // type:func
KAW_planDigivolves = 0x801E157C; // type:func
KAW_decideRedraw = 0x801E19EC; // type:func
KAW_chooseDigimonToPlace = 0x801E2100; // type:func
KAW_chooseDpCard = 0x801E363C; // type:func
KAW_selectDigivolvePlan = 0x801E3AF8; // type:func
KAW_chooseDigivolveTarget = 0x801E3C00; // type:func
KAW_planDigivolveOptions = 0x801E3FF4; // type:func
KAW_chooseDigivolveOption = 0x801E4E08; // type:func
KAW_chooseAttack = 0x801E4E58; // type:func
KAW_chooseSupportCard = 0x801E5710; // type:func
KAW_resolveBattle = 0x801E6AA4; // type:func
KAW_checkDigivolveTarget = 0x801E9F5C; // type:func
KAW_checkAnyDigivolve = 0x801EA374; // type:func
KAW_setStatPenalty = 0x801EA558; // type:func
KAW_startTutorial = 0x801EA708; // type:func
KAW_freeTutorial = 0x801EA7E8; // type:func
KAW_showTutorialMessage = 0x801EA8B4; // type:func
KAW_tickTutorial = 0x801EAB4C; // type:func
KAW_drawHandHints = 0x801EB53C; // type:func
KAW_tickCardCursor = 0x801EBACC; // type:func
KAW_openCardSelect = 0x801EC4CC; // type:func
KAW_closeCardSelect = 0x801EC528; // type:func
KAW_drawCardToHand = 0x801EC570; // type:func
KAW_discardCard = 0x801EC608; // type:func
KAW_placeDigimonFromHand = 0x801EC7C0; // type:func
KAW_returnDigimonToHand = 0x801EC84C; // type:func
KAW_returnPlayedCard = 0x801EC8E0; // type:func
KAW_returnDpCardToHand = 0x801ECA30; // type:func
KAW_playOnlineDeckTop = 0x801ECAC4; // type:func
KAW_playCardFromHand = 0x801ECB40; // type:func
KAW_chargeDpCard = 0x801ECBCC; // type:func
KAW_redrawHand = 0x801ECC58; // type:func
KAW_undoDigivolve = 0x801ECD68; // type:func
KAW_discardDpSlots = 0x801ECE24; // type:func
KAW_checkKnockout = 0x801ECF0C; // type:func
KAW_runDeckSelect = 0x801F003C; // type:func
KAW_runVersusIntro = 0x801F1AA8; // type:func
KAW_runResultScreen = 0x801F2A40; // type:func
KAW_uploadPartnerPortraits = 0x801F48E0; // type:func
KAW_runExpScreen = 0x801F4A24; // type:func
KAW_rollPrizeCards = 0x801F5D58; // type:func
KAW_runPrizeScreen = 0x801F5E50; // type:func
KAW_loadEffectArchive = 0x801F6170; // type:func
KAW_freeEffectArchive = 0x801F61E4; // type:func
KAW_playEffect = 0x801F6214; // type:func
KAW_playEffectOnOpponent = 0x801F6268; // type:func
KAW_tickDuelMenu = 0x801F7B2C; // type:func
KAW_initHudPanels = 0x801F8200; // type:func
KAW_freeHudPanels = 0x801F848C; // type:func
KAW_allocCardPolys = 0x801F8854; // type:func
KAW_freeCardPolys = 0x801F88E8; // type:func
KAW_createCursor = 0x801F8998; // type:func
KAW_freeCursor = 0x801F8DB4; // type:func
KAW_renderCursor = 0x801F8E34; // type:func
KAW_initRing = 0x801F96F0; // type:func
KAW_freeRing = 0x801F9794; // type:func
KAW_renderRing = 0x801F97F4; // type:func
KAW_resetBonusFlags = 0x801F9EAC; // type:func
KAW_checkDigimonBonuses = 0x801FA4E4; // type:func
KAW_checkHandBonuses = 0x801FA780; // type:func
KAW_showBonusBanner = 0x801FB444; // type:func
KAW_RESULT_SCREEN_STATE = 0x801FC734;

// OPENSEG
OPEN_findMovieFile = 0x801DFBAC; // type:func
OPEN_playMovie = 0x801E055C; // type:func
OPEN_runUserRegistration = 0x801E6454; // type:func
OPEN_runTitleScreen = 0x801EA2F8; // type:func
OPEN_runBattleWithFriend = 0x801EB2E8; // type:func
OPEN_runMemcardScreen = 0x801EBAFC; // type:func
OPEN_loadFriendSaves = 0x801EBD34; // type:func
OPEN_MEMCARD_CANCELLED = 0x801F80C1; // type:u8

// SAISEG
SAI_runArea = 0x801E4D80; // type:func
SAI_runWorldMap = 0x801F00F4; // type:func

// SUBSEG
SUB_runPartnerEquipment = 0x801E4B34; // type:func
SUB_runDeckEditor = 0x801E8C04; // type:func

// SUGSEG
SUG_startTexAnim = 0x801E6C78; // type:func
SUG_tickTexAnim = 0x801E7020; // type:func
SUG_freeTexAnim = 0x801E72D4; // type:func
SUG_updateScreenCopyQuads = 0x801EAD04; // type:func
SUG_runPolygonBattle = 0x801EEE90; // type:func
