Path: blob/master/engine/events/hidden_objects/museum_fossils.asm
1271 views
AerodactylFossil:1ld a, FOSSIL_AERODACTYL2ld [wCurPartySpecies], a3call DisplayMonFrontSpriteInBox4call EnableAutoTextBoxDrawing5tx_pre AerodactylFossilText6ret78AerodactylFossilText::9text_far _AerodactylFossilText10text_end1112KabutopsFossil:13ld a, FOSSIL_KABUTOPS14ld [wCurPartySpecies], a15call DisplayMonFrontSpriteInBox16call EnableAutoTextBoxDrawing17tx_pre KabutopsFossilText18ret1920KabutopsFossilText::21text_far _KabutopsFossilText22text_end2324DisplayMonFrontSpriteInBox:25; Displays a pokemon's front sprite in a pop-up window.26ld a, 127ldh [hAutoBGTransferEnabled], a28call Delay329xor a30ldh [hWY], a31call SaveScreenTilesToBuffer132ld a, MON_SPRITE_POPUP33ld [wTextBoxID], a34call DisplayTextBoxID35call UpdateSprites36ld a, [wCurPartySpecies]37ld [wCurSpecies], a38call GetMonHeader39ld de, vChars1 tile $3140call LoadMonFrontSprite41ld a, $8042ldh [hStartTileID], a43hlcoord 10, 1144predef AnimateSendingOutMon45call WaitForTextScrollButtonPress46call LoadScreenTilesFromBuffer147call Delay348ld a, $9049ldh [hWY], a50ret515253