;******************************************************************************* ;* METROID (USA) for the NES * ;* * ;* Main programmers: * ;* HAI YUKAMI * ;* ZARU SOBAJIMA * ;* GPZ SENGOKU * ;* N.SHIOTANI * ;* M.HOUDAI * ;* * ;* Copyright 1986 Nintendo. * ;* * ;* ** THIS IS AN INCOMPLETE WORK IN PROGRESS ** * ;* ** ONLY THE BASIC STRUCTURE HAS BEEN DONE ** * ;* * ;******************************************************************************* ;* Original disassembly credits: * ;* * ;* Disassembled, reconstructed and commented * ;* by SnowBro [Kent Hansen] <kentmhan@online.no> * ;* Continued by Dirty McDingus (nmikstas@yahoo.com) * ;* Can be reassembled using Ophis. * ;* A work in progress. * ;* Last updated: 3/9/2010 * ;******************************************************************************* ;* Project created by Andy McFadden, using 6502bench SourceGen v1.9. Source * ;* code was downloaded from https://www.metroid-database.com/source-code/ * ;* (though it also seems to be available from * ;* https://www.nicholasmikstas.com/games). This is not a finished product, * ;* and likely won't be: I just wanted to see how SourceGen would handle a * ;* large project that had multiple overlapping regions and one non-overlapping * ;* region. * ;* * ;* Putting a disassembly of a 128KB file into a single listing strains the * ;* Windows ListView control, and the generated output file is a fair web * ;* browser stress test. Splitting it into 8 separate pieces, as was done in * ;* the original disassembly, is probably smarter for this since 7 of the 8 * ;* can't refer to each other directly anyway since they occupy the same space * ;* at different times. * ;* * ;* Originally posted 2021/11/04; last updated 2024/08/18. * ;******************************************************************************* sa_Run .eq 1 {const} ;Also run and jump. sa_Roll .eq 3 {const} sa_PntUp .eq 4 {const} CodePtr .eq $0c {addr/2} ;Points to address to jump to when choosing--> Joy1Change .eq $12 ;These addresses store any button changes--> Joy1Status .eq $14 ;These two addresses store all buttons--> Joy2Status .eq $15 ;currently being pressed on the two controllers. Joy1Retrig .eq $16 ;These two addresses store any buttons that need--> RetrigDelay1 .eq $18 ;These two addresses are counters that control--> NMIStatus .eq $1a ;0=NMI in progress. anything else, NMI not in progress. PPUDataPending .eq $1b ;1=not PPU data pending, 1=data pending. PalDataPending .eq $1c ;Pending palette data. Palette # = PalDataPending - 1. GameMode .eq $1d ;0 = Game is playing, 1 = At title/password screen MainRoutine .eq $1e ;5 = Game paused, 3 = Game engine running TitleRoutine .eq $1f ;Stores title routine number currently running. NextRoutine .eq $20 ;Stores next routine to jump to after WaitTimer expires. CurrentBank .eq $23 ;0 thru 7. current memory page in lower memory block. SwitchPending .eq $24 ;Switch memory page. Page # = SwitchPending - 1. MMCReg0Cntrl .eq $25 ;Stores bits to be loaded into MMC1 Register 0. SwitchUpperBits .eq $28 ;Used to store bits 3 and 4 for MMC1 register 3. Bits--> TimerDelay .eq $29 ;Count down from 9 to 0. Decremented every frame. Timer1 .eq $2a ;Decremented every frame after set. Timer3 .eq $2c ;Decremented every 10 frames after set. FrameCount .eq $2d ;Increments every frame(overflows every 256 frames). RandomNumber1 .eq $2e ;Random numbers used--> RandomNumber2 .eq $2f ;throughout the game. SpareMem30 .eq $30 ;Written to, but never accessed. GamePaused .eq $31 ;#$00=Game running, #$01=Game paused. RoomPtr .eq $33 {addr/2} ;Low byte of room pointer address. StructPtr .eq $35 {addr/2} ;Low bute of structure pointer address. CartRAMWorkPtr .eq $37 {addr/2} ;Low byte of pointer to current position in room RAM. CartRAMPtr .eq $39 {addr/2} ;Low byte of pointer to room RAM (#$00). RoomPtrTable .eq $3b {addr/2} ;Low byte of start of room pointer table. StructPtrTable .eq $3d {addr/2} ;Low byte of start of structure pointer table. MacroPtr .eq $3f {addr/2} ;Low byte of pointer into macro definitions. EnmyFrameTbl1Ptr .eq $41 {addr/2} ;Low byte of pointer into address table to find enemy animations. EnmyFrameTbl2Ptr .eq $43 {addr/2} ;Same as above except in a second table because there are--> EnmyPlaceTblPtr .eq $45 {addr/2} ;Low byte of pointer into enemy frame placement table. EnemyAnimPtr .eq $47 {addr/2} ;Low byte of start of EnemyAnimIndexTbl. ScrollDir .eq $49 ;0=Up, 1=Down, 2=Left, 3=Right. TempScrollDir .eq $4a ;Stores ScrollDir when room is initially loaded. PageIndex .eq $4b ;Index to object data. ItemIndex .eq $4c ;#$00 or #$08. Added to PowerUpType addresses to determine if--> SamusDir .eq $4d ;0 = Right, 1 = Left. SamusDoorDir .eq $4e ;Direction Samus passed through door. MapPosY .eq $4f ;Current y position on world map. MapPosX .eq $50 ;Current x position on world map. SamusScrX .eq $51 ;Samus x position on screen. SamusScrY .eq $52 ;Samus y position on screen. WalkSoundDelay .eq $53 IsSamus .eq $55 ;1=Samus object being accessed, 0=not Samus. DoorStatus .eq $56 ;0=Not in door, 1=In right door, 2=In left door, 3=Scroll up--> DoorScrollStatus .eq $57 ;#$01=Entered right hand door from horizontal area.--> SamusDoorData .eq $58 ;The upper 4 bits store either 1 or 2. If 1 is stored(bit 4--> DoorDelay .eq $59 ;Number of frames to delay when Samus entering/exiting doors. RoomNumber .eq $5a ;Room number currently being loaded. SpritePagePos .eq $5b ;Index into sprite RAM used to load object sprite data. SamusInLava .eq $64 ;#$01=Samus in lava, #$00=She is not. ObjectCounter .eq $65 ;Counts such things as object explosion time. ObjectPal .eq $67 ;Attrib. table info for room object(#$00 thru #$03). RoomPal .eq $68 TempX .eq $69 TempY .eq $6a ObjectCntrl .eq $6b ;Controls object properties such as mirroring and color--> DoorOnNameTable3 .eq $6c ;The following two addresses are used to keep track of the--> DoorOnNameTable0 .eq $6d ;doors loaded on the name tables. The information is used--> HealthLoChange .eq $6e ;Amount to add/subtract from HealthLo. HealthHiChange .eq $6f ;Amount to add/subtract from HealthHi. SamusBlink .eq $70 UpdatingProjectile .eq $71 ;#$01=Projectile update in process. #$00=not in process. DamagePushDirection .eq $72 ;#$00=Push Samus left when hit, #$01=Push right, #$FF=No push. InArea .eq $74 ;#$10(or #$00)=Brinstar, #$11=Norfair, #$12=Kraid hideout,--> SpareMem75 .eq $75 ;Initialized to #$FF in AreaInit. Not used. PalToggle .eq $76 ItemRoomMusicStatus .eq $79 ;#$00=Item room music not playing. EndMsgWrite .eq $7a ;0=don't write end message, 1=write end message. IsCredits .eq $7b ;0=credits not rolling, 1=credits rolling. SpriteByteCounter .eq $7c ;Used to indicate when Samus sprite load complete. OnFrozenEnemy .eq $7d ;#$01=Samus standing on frozen enemy, #$00=she is not. SpriteAttribByte .eq $7e ;#$00. Attribute byte of some sprites. ColorCntIndex .eq $7f ;Index for finding count number for ClrChangeCounter. CreditPageNumber .eq $80 ;Stores current page of credits(#$00 thru #$06). HideShowEndMsg .eq $81 ;0=show end message, 1=erase end message. ClrChangeCounter .eq $82 ;When=#$00, change end Samus sprite colors. WaveSpritePointer .eq $83 ;Address pointer to Samus hand waving sprites in end. WaveSpriteCounter .eq $84 ;Stores length of wave sprite data (#$10). MetroidOnSamus .eq $92 ;#$01=Metroid on Samus, #$00=Metroid not on Samus. MaxMissilePickup .eq $93 ;Maximum missiles power-ups that can be picked up. Randomly--> MaxEnergyPickup .eq $94 ;Maximum energy power-ups that can be picked up. Randomly--> CurrentMissilePickups .eq $95 ;Number of missile power-ups currently collected by Samus--> CurrentEnergyPickups .eq $96 ;Number of energy power-ups currently collected by Samus--> MotherBrainStatus .eq $98 ;#$00=Mother brain not in room, #$01=Mother brain in room,--> MotherBrainHits .eq $99 ;Number of times mother brain has been hit. Dies at #$20. SpareMemB7 .eq $b7 ;Written to in title routine and accessed by unsed routine. SpareMemB8 .eq $b8 ;Written to in title routine and accessed by unsed routine. SpareMemBB .eq $bb ;Written to in title routine, but never accessed. First4SlowCntr .eq $bc ;This address holds an 8 frame delay. when the delay is up,--> Second4Delay .eq $bd ;This address holds a 32 frame delay. When the delay is--> SecondCrosshairSprites .eq $bf ;#$01=Second crosshair sprites active in intro. FlashScreen .eq $c0 ;#$01=Flash screen during crosshairs routine. PalDataIndex .eq $c1 ScreenFlashPalIndex .eq $c2 ;Index to palette data to flash screen during intro. IntroStarOffset .eq $c3 ;Contains offset into IntroStarPntr table for twinkle effect. FadeDataIndex .eq $c4 ;Index to palette data to fade items in and out during intro. SpareMemC5 .eq $c5 ;Written to in title routine, but never accessed. CrossDataIndex .eq $c6 ;#$00 thru #$04. Index to find cross sprite data. DrawCross .eq $c7 ;#$01=Draw cross on screen during crosshairs routine. SpriteLoadPending .eq $c8 ;Set to #$00 after sprite RAM load complete. SpareMem .eq $c9 {addr/15} ;Written to in title routine, but never accessed. IntroMusicRestart .eq $d8 ;After all title routines run twice, restarts intro music. Cntrl0Data .eq $ea ;Temp storage for data of first address sound channel VolumeCntrlAddress .eq $eb ;Desired address number in VolumeCntrlAdressTbl ABStatus .eq $f0 ;Stores A and B button status in AreaInit. Never used. MirrorCntrl .eq $fa ;If bit 3 is set, PPU set to horizontal mirroring--> ScrollY .eq $fc ;Y value loaded into scroll register. ScrollX .eq $fd ;X value loaded into scroll register. PPUCNT1ZP .eq $fe ;Data byte to be loaded into PPU control register 1. PPUCNT0ZP .eq $ff ;Data byte to be loaded into PPU control register 0. HealthLo .eq $0106 ;Lower health digit in upper 4 bits. HealthHi .eq $0107 ;Upper health digit in lower 4 bits--> MiniBossKillDelay .eq $0108 ;Initiate power up music and delay after Kraid/Ridley killed. PowerUpDelay .eq $0109 ;Initiate power up music and delay after item pickup. EndTimerLo .eq $010a ;Lower byte of end game escape timer. EndTimerHi .eq $010b ;Upper byte of end game escape timer. MissileToggle .eq $010e ;0=fire bullets, 1=fire missiles. Sprite00RAM .eq $0200 ;$0200 thru $02FF Sprite01RAM .eq $0204 Sprite02RAM .eq $0208 Sprite03RAM .eq $020c Sprite04RAM .eq $0210 Sprite05RAM .eq $0214 Sprite18RAM .eq $0260 Sprite1CRAM .eq $0270 ObjAction .eq $0300 ;Status of object. 0=object slot not in use. ObjRadY .eq $0301 ;Distance in pixels from object center to top or bottom. ObjRadX .eq $0302 ;Distance in pixels from object center to left or right side. AnimFrame .eq $0303 ;*2 = Index into FramePtrTable for current animation. AnimDelay .eq $0304 ;Number of frames to delay between animation frames. AnimResetIndex .eq $0305 ;Restart index-1 when AnimIndex finished with last frame. AnimIndex .eq $0306 ;Current index into ObjectAnimIndexTbl. SamusOnElevator .eq $0307 ;0=Samus not on elevator, 1=Samus on elevator. ObjVertSpeed .eq $0308 ;MSB set=moving up(#$FA max), MSB clear=moving down(#$05 max). ObjHorzSpeed .eq $0309 ;MSB set=moving lft(#$FE max), MSB clear=moving rt(#$01 max). SamusHit .eq $030a ;Samus hit by enemy. ObjectOnScreen .eq $030b ;1=Object on screen, 0=Object beyond screen boundaries. ObjectHi .eq $030c ;0=Object on nametable 0, 1=Object on nametable 3. ObjectY .eq $030d ;Object y position in room(not actual screen position). ObjectX .eq $030e ;Object x position in room(not actual screen position). SamusJumpDsplcmnt .eq $030f ;Number of pixels vertically displaced from jump point. VertCntrNonLinear .eq $0310 ;Verticle movement counter. Exponential change in speed. HorzCntrNonLinear .eq $0311 ;Horizontal movement counter. Exponential change in speed. VertCntrLinear .eq $0312 ;Verticle movement counter. Linear change in speed. HorzCntrLinear .eq $0313 ;Horizontal movement counter. Linear change in speed. SamusGravity .eq $0314 ;Value used in calculating vertical acceleration on Samus. SamusHorzAccel .eq $0315 ;Value used in calculating horizontal acceleration on Samus. SamusHorzSpeedMax .eq $0316 ;Used to calc maximum horizontal speed Samus can reach. ElevatorStatus .eq $0320 ;#$01=Elevator present, #$00=Elevator not present. InputRow .eq $0321 ;Password character select row (#$00 - #$04). InputColumn .eq $0322 ;Password character select column (#$00 - #$0C). PasswordStat00 .eq $0324 ;Does not appear to have a function. StartContinue .eq $0325 ;0=START selected, 1=CONTINUE selected. EnYRoomPos .eq $0400 ;Enemy y position in room.(not actual screen position). EnXRoomPos .eq $0401 ;Enemy x position in room.(not actual screen position). EnCounter .eq $0406 ;Counts such things as explosion time. EnDelay .eq $0409 ;Delay counter between enemy actions. EnHitPoints .eq $040b ;Current hit points of enemy. EnSpecialAttribs .eq $040f ;Bit 7 set=tough version of enemy, bit 6 set=mini boss. TileRoutine .eq $0500 TileAnimFrame .eq $0503 TileAnimDelay .eq $0504 TileAnimIndex .eq $0506 TileDelay .eq $0507 TileWRAMLo .eq $0508 TileWRAMHi .eq $0509 TileType .eq $050a MusicSQ1PeriodLow .eq $0600 ;Loaded into SQ1Cntrl2 when playing music MusicSQ1PeriodHigh .eq $0601 ;Loaded into SQ1Cntrl3 when playing music SFXPaused .eq $0602 ;0=Game not paused, 1=Game paused PauseSFXStatus .eq $0603 ;Plays PauseMusic SFX if less than #$12 MusicSQ2PeriodLow .eq $0604 ;Loaded into SQ2Cntrl2 when playing music MusicSQ2PeriodHigh .eq $0605 ;Loaded into SQ2Cntrl3 when playing music WriteMultiChannelData .eq $0607 ;1=data needs to be written, 0=no data to write TrianglePeriodLow .eq $0610 ;Stores triangle SFX period low for processing TrianglePeriodHigh .eq $0611 ;Stroes triangle SFX period high for processing TriangleChangeLow .eq $0612 ;Stores triangle SFX change in period low TriangleChangeHigh .eq $0613 ;Stores triangle SFX change in period high TriangleLowPercentage .eq $0614 ;Stores percent to change period low by each frame TriangleHighPercentage .eq $0615 ;Stores percent to change period high by each frame PercentDifference .eq $0616 ;if=5, percent=1/5(20%), if=0A, percent=1/10(10%), etc DivideData .eq $0617 ;Used in DivideTrianglePeriods HasBeamSFX .eq $061f ;Bit 7 set=has long beam, bit 0 set=has ice beam SQ1FrameCountInit .eq $0620 ;Holds number of frames to play sq1 channel data SQ1RepeatCounter .eq $0624 ;Number of times to repeat SQ1 music loop SQ1DutyEnvelope .eq $0628 ;Loaded into SQ1Cntrl0 when playing music SQ2DutyEnvelope .eq $0629 ;Loaded into SQ2Cntrl0 when playing music TriLinearCount .eq $062a ;disable\enable counter, linear count length NoteLengthTblOffset .eq $062b ;Stores the offset to find proper note length table MusicRepeat .eq $062c ;0=Music does not repeat, Nonzero=music repeats TriangleCounterCntrl .eq $062d ;$F0=disable length cntr, $00=long note, $0F=short note SQ1VolumeCntrl .eq $062e ;Entry number in VolumeCntrlAdressTbl for SQ1 SQ1LowBaseByte .eq $0630 ;low byte of base address for SQ1 music data SQ1HighBaseByte .eq $0631 ;High byte of base address for SQ1 music data SQ1MusicIndexIndex .eq $0638 ;Index to find sQ1 sound data index. Base=$630,$631 SQ2MusicIndexIndex .eq $0639 ;Index to find SQ2 sound data index. Base=$632,$633 TriangleMusicIndexIndex .eq $063a ;Index to find Tri sound data index. Base=$634,$635 NoiseMusicIndexIndex .eq $063b ;Index to find Noise sound data index. Base=$636,$637 SQ1LoopIndex .eq $063c ;SQ1 Loop start index SQ1MusicFrameCount .eq $0640 ;Decrements every sq1 frame. When 0, load new data SQ2MusicFrameCount .eq $0641 ;Decrements every sq2 frame. when 0, load new data TriangleMusicFrameCount .eq $0642 ;Decrements every triangle frame. When 0, load new data NoiseMusicFrameCount .eq $0643 ;Decrements every noise frame. When 0, load new data MusicSQ1Sweep .eq $0648 ;Value is loaded into SQ1Cntrl1 when playing music MusicSQ2Sweep .eq $0649 ;Value is loaded into SQ2Cntrl1 when playing music ThisSoundChannel .eq $064b ;Least sig. byte of current channel(00,04,08 or 0C) CurrentSFXFlags .eq $064d ;Stores flags of SFX currently being processed. NoiseInUse .eq $0652 ;Noise in use? (Not used) SQ1InUse .eq $0653 ;1=SQ1 channel being used by SFX, 0=not in use SQ2InUse .eq $0654 ;2=SQ2 channel being used by SFX, 0=not in use TriangleInUse .eq $0655 ;3=Triangle channel being used by SFX, 0=not in use ChannelType .eq $065c ;Stores channel type being processed(0,1,2,3 or 4) CurrentMusicRepeat .eq $065d ;Stores flags of music to repeat MusicInitIndex .eq $065e ;index for loading $62B thru $637(base=$BD31). NoiseSFXLength .eq $0660 ;Stores number of frames to play Noise SFX MultiSFXLength .eq $0664 ;Stores number of frames to play Multi SFX ThisNoiseFrame .eq $0665 ;Stores current frame number for noise SFX ThisMultiFrame .eq $0669 ;Stores current frame number for Multi SFX SQ1VolumeIndex .eq $066a ;Stores index to SQ1 volume data in a volume data tbl SQ2VolumeIndex .eq $066b ;Stores index to SQ2 volume data in a volume data tbl SQ1VolumeData .eq $066c ;stores duty cycle and this frame volume data of SQ1 NoiseSFXData .eq $0670 ;Stores additional info for Noise SFX SQ1SFXData .eq $0671 ;Stores additional info for SQ1 SFX TriangleSFXData .eq $0673 ;Stores additional info for triangle SFX MultiSFXData .eq $0674 ;Stores additional info for Multi SFX SQ1SQ2SFXData .eq $0675 ;Stores additional info for SQ1 and SQ2 SFX ScrewAttackSFXData .eq $0678 ;Contains extra data for screw attack SFX SQ1SFXPeriodLow .eq $0679 ;Period low data for processing multi SFX routines NoiseSFXFlag .eq $0680 ;Initialization flags for noise SFX SQ1SFXFlag .eq $0681 ;Initialization flags for SQ1 SFX SQ2SFXFlag .eq $0682 ;Initialization flags for SQ2 SFX(never used) TriangleSFXFlag .eq $0683 ;Initialization flags for triangle SFX MultiSFXFlag .eq $0684 ;Initialization Flags for SFX and some music MusicInitFlag .eq $0685 ;Music init flags NoiseContSFX .eq $0688 ;Continuation flags for noise SFX SQ1ContSFX .eq $0689 ;Continuation flags for SQ1 SFX SQ2ContSFX .eq $068a ;Continuation flags for SQ2 SFX (never used) TriangleContSFX .eq $068b ;Continuation flags for Triangle SFX MultiContSFX .eq $068c ;Continuation flags for Multi SFX CurrentMusic .eq $068d ;Stores the flag of the current music being played PowerUpType .eq $0748 ;Holds the byte describing what power-up is on name table. PowerUpYCoord .eq $0749 ;Y coordinate of the power-up. PowerUpXCoord .eq $074a ;X coordiante of the power-up PowerUpNameTable .eq $074b ;#$00 if on name table 0, #$01 if on name table 3. PowerUpAnimIndex .eq $074f ;Entry into FramePtrTable for item animation. PowerUpBType .eq $0750 ;Holds the description byte of a second power-up(if any). TileSize .eq $0780 ;4 MSBs = Y size of tile to erase.--> TileInfo0 .eq $0781 PPUStrIndex .eq $07a0 ;# of bytes of data in PPUDataString. #$4F bytes max. PPUDataString .eq $07a1 ;Thru $07F0. String of data bytes to be written to PPU. PPUControl0 .eq $2000 PPUControl1 .eq $2001 PPUStatus .eq $2002 SPRAddress .eq $2003 ;PPU hardware control registers. PPUScroll .eq $2005 PPUAddress .eq $2006 PPUIOReg .eq $2007 SQ1Cntrl0 .eq $4000 SQ1Cntrl1 .eq $4001 ;SQ1 hardware control registers. SQ1Cntrl2 .eq $4002 SQ1Cntrl3 .eq $4003 SQ2Cntrl0 .eq $4004 SQ2Cntrl1 .eq $4005 ;SQ2 hardware control registers. SQ2Cntrl2 .eq $4006 SQ2Cntrl3 .eq $4007 TriangleCntrl0 .eq $4008 TriangleCntrl2 .eq $400a TriangleCntrl3 .eq $400b NoiseCntrl0 .eq $400c NoiseCntrl2 .eq $400e NoiseCntrl3 .eq $400f DMCCntrl1 .eq $4011 ;DMC hardware control registers. SPRDMAReg .eq $4014 ;Sprite RAM DMA register. APUCommonCntrl0 .eq $4015 ;APU common control 1 register. CPUJoyPad1 .eq $4016 ;Joypad1 register. APUCommonCntrl1 .eq $4017 ;Joypad2/APU common control 2 register. EndingType .eq $6872 ;1=worst ending, 5=best ending SamusDataIndex .eq $6875 ;Index for Samus saved game stats(not used). #$00, #$10, #$20. SamusStat00 .eq $6876 ;Unused memory address for storing Samus info. TankCount .eq $6877 ;Number of energy tanks. SamusGear .eq $6878 ;Stores power-up items Samus has. MissileCount .eq $6879 ;Stores current number of missiles. MaxMissiles .eq $687a ;Maximum amount of missiles Samus can carry KraidStatueStatus .eq $687b ;bit 0 set, the statues blink, --> RidleyStatueStatus .eq $687c ;bit 7 set, statues are up. SamusAge .eq $687d ;Low byte of Samus' age. SamusStat01 .eq $6880 ;Unused memory address for storing Samus info. SamusStat02 .eq $6881 ;SamusStat02 and 03 keep track of how many times Samus has--> SamusStat03 .eq $6882 ;died, but this info is never accessed anywhere in the game. AtEnding .eq $6883 ;1=End scenes playing, 0=Not at ending. EraseGame .eq $6884 ;MSB set=erase selected saved game(not used in password carts). DataSlot .eq $6885 ;#$00 thru #$02. Stored Samus data to load. Apparently a save--> NumberOfUniqueItems .eq $6886 ;Counts number of power-ups and red doors--> UniqueItemHistory .eq $6887 ;Thru $68FC. History of Unique items collected.--> KraidRidleyPresent .eq $6987 ;#$01=Kraid/Ridley present, #$00=Kraid/Ridley not present. PasswordByte00 .eq $6988 ;Stores status of items 0 thru 7. PasswordByte01 .eq $6989 ;Stores status of items 8 thru 15. PasswordByte02 .eq $698a ;Stores status of items 16 thru 23. PasswordByte03 .eq $698b ;Stores status of items 24 thru 31. PasswordByte04 .eq $698c ;Stores status of items 32 thru 39. PasswordByte05 .eq $698d ;Stores status of items 40 thru 47. PasswordByte06 .eq $698e ;Stores status of items 48 thru 55. PasswordByte07 .eq $698f ;Stores status of items 56 thru 58(bits 0 thru 2). PasswordByte08 .eq $6990 ;start location(bits 0 thru 5), Samus suit status (bit 7). PasswordByte09 .eq $6991 ;Stores SamusGear. PasswordByte0A .eq $6992 ;Stores MissileCount. PasswordByte0B .eq $6993 ;Stores SamusAge. PasswordByte0C .eq $6994 ;Stores SamusAge+1. PasswordByte0D .eq $6995 ;Stores SamusAge+2. PasswordByte0E .eq $6996 ;Stores no data. PasswordByte0F .eq $6997 ;Stores Statue statuses(bits 4 thu 7). PasswordByte10 .eq $6998 ;Stores value RandomNumber1. PasswordByte11 .eq $6999 ;Stores sum of $6988 thru $6998(Checksum). PasswordChar .eq $699a {addr/16} NARPASSWORD .eq $69b2 ;0 = invinsible Samus not active, 1 = invinsible Samus active. JustInBailey .eq $69b3 ;0 = Samus has suit, 1 = Samus is without suit. ItmeHistory .eq $69b4 ;Thru $6A73. Unique item history saved game data (not used). Enstatus .eq $6af4 ;Keeps track of enemy statuses. #$00=Enemy slot not in use,--> EnRadY .eq $6af5 ;Distance in pixels from middle of enemy to top or botom. EnRadX .eq $6af6 ;Distance in pixels from middle of enemy to left or right. EnAnimFrame .eq $6af7 ;Index into enemy animation frame data. EnAnimDelay .eq $6af8 ;Number of frames to delay between animation frames. EnResetAnimIndex .eq $6af9 ;Index to beginning of animation sequence. EnAnimIndex .eq $6afa ;Index to current animation. EnNameTable .eq $6afb ;#$00=Enemy on name table 0, #$01=Enemy on name table 3. EnDataIndex .eq $6b02 ;Contains index into enemy data tables. IntroStarSprite00 .eq $6e00 ;thru $6E9F IntroSpr0YCoord .eq $6ea0 ;Loaded into byte 0 of sprite RAM(Y position). IntroSpr0PattTbl .eq $6ea1 ;Loaded into byte 1 of sprite RAM(Pattern table index). IntroSpr0Cntrl .eq $6ea2 ;Loaded into byte 2 of sprite RAM(Control byte). IntroSpr0XCoord .eq $6ea3 ;Loaded into byte 3 of sprite RAM(X position). IntroSpr0Index .eq $6ea4 ;Index to next sparkle sprite data byte. IntroSpr0NextCntr .eq $6ea5 ;Decrements each frame. When 0, load new sparkle sprite data. IntroSpr0XChange .eq $6ea6 ;Intro sprite x total movement distance. IntroSpr0YChange .eq $6ea7 ;Intro sprite y total movement distance. IntroSpr0ChngCntr .eq $6ea8 ;decrements each frame from #$20. At 0, change sparkle sprite. IntroSpr0ByteType .eq $6ea9 ;#$00 or #$01. When #$01, next sparkle data byte uses all 8--> IntroSpr0Complete .eq $6eaa ;#$01=sprite has completed its task, #$00 if not complete. IntroSpr0XRun .eq $6eac ;x displacement of sprite movement(run). IntroSpr0YRise .eq $6ead ;y displacement of sprite movement(rise). IntroSpr0XDir .eq $6eae ;MSB set=decrease sprite x pos, else increase sprite x pos. IntroSpr0YDir .eq $6eaf ;MSB set=decrease sprite y pos, else increase sprite y pos. IntroSpr1YCoord .eq $6eb0 ;Loaded into byte 0 of sprite RAM(Y position). IntroSpr1XCoord .eq $6eb3 ;Loaded into byte 3 of sprite RAM(X position). IntroSpr1Complete .eq $6eba ;#$01=sprite has completed its task, #$00 if not complete. IntroSpr1XRun .eq $6ebc ;x displacement of sprite movement(run). IntroSpr1YRise .eq $6ebd ;y displacement of sprite movement(rise). IntroSpr2Complete .eq $6eca ;#$01=sprite has completed its task, #$00 if not complete. IntroSpr2XRun .eq $6ecc ;x displacement of sprite movement(run). IntroSpr2YRise .eq $6ecd ;y displacement of sprite movement(rise). IntroSpr3Complete .eq $6eda ;#$01=sprite has completed its task, #$00 if not complete. IntroSpr3XRun .eq $6edc ;x displacement of sprite movement(run). IntroSpr3YRise .eq $6edd ;y displacement of sprite movement(rise). IntroSpr4YCoord .eq $6ee0 ;Loaded into byte 0 of sprite RAM(Y position). IntroSpr4Complete .eq $6eea ;#$01=sprite has completed its task, #$00 if not complete. IntroSpr4XRun .eq $6eec ;x displacement of sprite movement(run). IntroSpr4YRise .eq $6eed ;y displacement of sprite movement(rise). IntroSpr5Complete .eq $6efa ;#$01=sprite has completed its task, #$00 if not complete. IntroSpr5XRun .eq $6efc ;x displacement of sprite movement(run). IntroSpr5YRise .eq $6efd ;y displacement of sprite movement(rise). IntroSpr6YCoord .eq $6f00 ;Loaded into byte 0 of sprite RAM(Y position). IntroSpr6Complete .eq $6f0a ;#$01=sprite has completed its task, #$00 if not complete. IntroSpr6XRun .eq $6f0c ;x displacement of sprite movement(run). IntroSpr6YRise .eq $6f0d ;y displacement of sprite movement(rise). IntroSpr7YCoord .eq $6f10 ;Loaded into byte 0 of sprite RAM(Y position). IntroSpr7Complete .eq $6f1a ;#$01=sprite has completed its task, #$00 if not complete. IntroSpr7XRun .eq $6f1c ;x displacement of sprite movement(run). IntroSpr7YRise .eq $6f1d ;y displacement of sprite movement(rise). SamusData .eq $77fe ;Thru $782D. Samus saved game data (not used). MMC1Reg0 .eq $8000 ;Writing to any of these addresses or any--> MMC1Reg1 .eq $a000 ;address in between will write configuration--> MMC1Reg2 .eq $c000 ;bits to the MMC chip. MMC1Reg3 .eq $e000 .addrs NA 0000: 4e 45 53 .str βNESβ 0003: 1a .dd1 $1a ;Ctrl+Z 0004: 08 .dd1 $08 ;PRG ROM is 8 x 16KB 0005: 00 .dd1 $00 ;CHR ROM is 0 x 8KB 0006: 10 .dd1 %00010000 ;flags 6 (mapper number = 1) 0007: 00 .dd1 %00000000 ;flags 7 0008: 00 .dd1 %00000000 ;flags 8 0009: 00 .dd1 %00000000 ;flags 9 000a: 00 .dd1 %00000000 ;flags 10 000b: 00 00 00 00+ .bulk $00,$00,$00,$00,$00 .adrend β NA .addrs $8000 ;[!in] 8000: a5 1f lda TitleRoutine 8002: c9 15 cmp #$15 8004: b0 21 bcs L8027 8006: a5 12 lda Joy1Change 8008: 29 10 and #$10 800a: f0 16 beq L8022 800c: a0 00 ldy #$00 800e: 84 d1 sty SpareMem+8 8010: 84 bb sty SpareMemBB 8012: 84 b7 sty SpareMemB7 8014: 84 b8 sty SpareMemB8 8016: a5 ff lda PPUCNT0ZP 8018: 29 fc and #$fc 801a: 85 ff sta PPUCNT0ZP 801c: a9 1b lda #$1b 801e: 85 1f sta TitleRoutine 8020: d0 05 bne L8027 8022: 20 bc c1 L8022 jsr LC1BC 8025: a5 1f lda TitleRoutine 8027: 20 7c c2 L8027 jsr ChooseRoutine 802a: 71 80 .dd2 T8071 802c: d0 80 .dd2 T80D0 802e: f9 80 .dd2 T80F9 8030: 2c 81 .dd2 T812C 8032: 42 81 .dd2 T8142 8034: 09 81 .dd2 T8109 8036: 4d 81 .dd2 T814D 8038: 63 81 .dd2 T8163 803a: 82 81 .dd2 T8182 803c: d1 81 .dd2 T81D1 803e: 6e 80 .dd2 T806E 8040: 6e 80 .dd2 T806E 8042: 2e 82 .dd2 T822E 8044: 43 82 .dd2 T8243 8046: 63 82 .dd2 T8263 8048: 83 82 .dd2 T8283 804a: 68 80 .dd2 T8068 804c: a3 82 .dd2 T82A3 804e: ed 82 .dd2 T82ED 8050: f3 82 .dd2 T82F3 8052: f3 82 .dd2 T82F3 8054: ba 90 .dd2 T90BA 8056: d7 90 .dd2 T90D7 8058: 1a 91 .dd2 T911A 805a: 47 91 .dd2 T9147 805c: 59 93 .dd2 T9359 805e: 94 93 .dd2 T9394 8060: ba 90 .dd2 T90BA 8062: 9e 93 .dd2 T939E 8064: a7 9a .dd2 T9AA7 8066: aa c4 .dd2 TC4AA 8068: a9 00 T8068 lda #$00 806a: 85 cb sta SpareMem+2 806c: 85 c9 sta SpareMem 806e: e6 1f T806E inc TitleRoutine 8070: 60 rts 8071: a0 02 T8071 ldy #$02 8073: 84 cf sty SpareMem+6 8075: 84 cc sty SpareMem+3 8077: 88 dey 8078: 84 ce sty SpareMem+5 807a: 84 d1 sty SpareMem+8 807c: 88 dey 807d: 84 d0 sty SpareMem+7 807f: 84 cd sty SpareMem+4 8081: 84 d3 sty SpareMem+10 8083: 8c b2 69 sty NARPASSWORD 8086: 84 cb sty SpareMem+2 8088: 84 c9 sty SpareMem 808a: a9 02 lda #$02 808c: 85 d8 sta IntroMusicRestart 808e: 84 b7 sty SpareMemB7 8090: 84 b8 sty SpareMemB8 8092: 84 c1 sty PalDataIndex 8094: 84 c2 sty ScreenFlashPalIndex 8096: 84 c3 sty IntroStarOffset 8098: 84 c4 sty FadeDataIndex 809a: 84 00 sty $00 809c: a2 60 ldx #$60 809e: 86 01 L809E stx $01 80a0: 8a txa 80a1: 29 03 and #$03 80a3: 0a asl A 80a4: a8 tay 80a5: 84 02 sty $02 80a7: b9 c8 80 lda L80C8,y 80aa: a0 00 ldy #$00 80ac: 91 00 L80AC sta ($00),y 80ae: c8 iny 80af: f0 0d beq L80BE 80b1: c0 40 cpy #$40 80b3: d0 f7 bne L80AC 80b5: a4 02 ldy $02 80b7: b9 c9 80 lda L80C9,y 80ba: a0 40 ldy #$40 80bc: 10 ee bpl L80AC 80be: e8 L80BE inx 80bf: e0 68 cpx #$68 80c1: d0 db bne L809E 80c3: e6 1f inc TitleRoutine 80c5: 4c ae 98 jmp L98AE 80c8: 00 L80C8 .dd1 $00 80c9: 00 L80C9 .dd1 $00 80ca: 00 .dd1 $00 80cb: 00 .dd1 $00 80cc: 00 .dd1 $00 80cd: 00 .dd1 $00 80ce: c0 .dd1 $c0 80cf: c4 .dd1 $c4 80d0: a9 10 T80D0 lda #$10 80d2: 85 f0 sta ABStatus 80d4: 8d 84 06 sta MultiSFXFlag 80d7: 20 39 c4 jsr LC439 80da: 20 58 c1 jsr LC158 80dd: a2 f4 ldx #$f4 80df: a0 82 ldy #$82 80e1: 20 0e c2 jsr LC20E 80e4: a9 01 lda #$01 80e6: 85 1c sta PalDataPending 80e8: 85 c5 sta SpareMemC5 80ea: a5 ff lda PPUCNT0ZP 80ec: 29 fc and #$fc 80ee: 85 ff sta PPUCNT0ZP 80f0: e6 1f inc TitleRoutine 80f2: a9 00 lda #$00 80f4: 85 d7 sta SpareMem+14 80f6: 4c 47 c4 jmp LC447 80f9: a5 ff T80F9 lda PPUCNT0ZP 80fb: 29 fe and #$fe 80fd: 85 ff sta PPUCNT0ZP 80ff: a9 08 lda #$08 8101: 85 2c sta Timer3 8103: 4a lsr A 8104: 85 c1 sta PalDataIndex 8106: e6 1f inc TitleRoutine 8108: 60 rts 8109: a5 2d T8109 lda FrameCount 810b: 29 03 and #$03 810d: d0 1c bne L812B 810f: a5 c1 lda PalDataIndex 8111: 29 03 and #$03 8113: 85 c1 sta PalDataIndex 8115: 20 8c 8a jsr L8A8C 8118: a5 2c lda Timer3 811a: d0 0f bne L812B 811c: a5 c1 lda PalDataIndex 811e: c9 04 cmp #$04 8120: d0 09 bne L812B 8122: e6 1f inc TitleRoutine 8124: 20 ab 87 jsr L87AB 8127: a9 18 lda #$18 8129: 85 2c sta Timer3 812b: 60 L812B rts 812c: a5 2c T812C lda Timer3 812e: d0 11 bne L8141 8130: a5 2d lda FrameCount 8132: 29 0f and #$0f 8134: d0 0b bne L8141 8136: 20 8c 8a jsr L8A8C 8139: d0 06 bne L8141 813b: a9 20 lda #$20 813d: 85 2c sta Timer3 813f: e6 1f inc TitleRoutine 8141: 60 L8141 rts 8142: a5 2c T8142 lda Timer3 8144: d0 fb bne L8141 8146: a9 08 lda #$08 8148: 85 2c sta Timer3 814a: e6 1f inc TitleRoutine 814c: 60 rts 814d: a5 2c T814D lda Timer3 814f: d0 11 bne L8162 8151: ad aa 6e lda IntroSpr0Complete 8154: 2d ba 6e and IntroSpr1Complete 8157: c9 01 cmp #$01 8159: d0 04 bne L815F 815b: e6 1f inc TitleRoutine 815d: d0 03 bne L8162 815f: 20 cf 87 L815F jsr L87CF 8162: 60 L8162 rts 8163: a5 2d T8163 lda FrameCount 8165: 29 07 and #$07 8167: d0 18 bne L8181 8169: a5 c4 lda FadeDataIndex 816b: c9 04 cmp #$04 816d: d0 0f bne L817E 816f: 20 97 88 jsr L8897 8172: a9 08 lda #$08 8174: 85 2c sta Timer3 8176: 85 bc sta First4SlowCntr 8178: a9 00 lda #$00 817a: 85 bf sta SecondCrosshairSprites 817c: e6 1f inc TitleRoutine 817e: 20 5f 8b L817E jsr L8B5F 8181: 60 L8181 rts 8182: a5 c0 T8182 lda FlashScreen 8184: f0 03 beq L8189 8186: 20 a7 8a jsr L8AA7 8189: a5 2c L8189 lda Timer3 818b: d0 43 bne L81D0 818d: ad aa 6e lda IntroSpr0Complete 8190: 2d ba 6e and IntroSpr1Complete 8193: 2d ca 6e and IntroSpr2Complete 8196: 2d da 6e and IntroSpr3Complete 8199: f0 2f beq L81CA 819b: a9 01 lda #$01 819d: c5 bf cmp SecondCrosshairSprites 819f: f0 0a beq L81AB 81a1: e6 bf inc SecondCrosshairSprites 81a3: 85 c7 sta DrawCross 81a5: 85 c0 sta FlashScreen 81a7: a9 00 lda #$00 81a9: 85 c6 sta CrossDataIndex 81ab: 2d ea 6e L81AB and IntroSpr4Complete 81ae: 2d fa 6e and IntroSpr5Complete 81b1: 2d 0a 6f and IntroSpr6Complete 81b4: 2d 1a 6f and IntroSpr7Complete 81b7: f0 11 beq L81CA 81b9: a9 01 lda #$01 81bb: 85 c7 sta DrawCross 81bd: 85 c0 sta FlashScreen 81bf: 20 ae 98 jsr L98AE 81c2: a9 00 lda #$00 81c4: 85 c6 sta CrossDataIndex 81c6: e6 1f inc TitleRoutine 81c8: d0 03 bne L81CD 81ca: 20 fe 88 L81CA jsr L88FE 81cd: 20 76 89 L81CD jsr L8976 81d0: 60 L81D0 rts 81d1: a5 c0 T81D1 lda FlashScreen 81d3: f0 06 beq L81DB 81d5: 20 76 89 jsr L8976 81d8: 4c a7 8a jmp L8AA7 81db: e6 1f L81DB inc TitleRoutine 81dd: a9 60 lda #$60 81df: 8d 0d 03 sta ObjectY 81e2: a9 7c lda #$7c 81e4: 8d 0e 03 sta ObjectX 81e7: ad 05 03 lda AnimResetIndex 81ea: 8d 06 03 sta AnimIndex 81ed: 60 rts 81ee: a9 01 unref_81ee lda #$01 81f0: 85 bb sta SpareMemBB 81f2: a9 04 lda #$04 81f4: 85 5b sta SpritePagePos 81f6: 85 12 sta Joy1Change 81f8: 85 14 sta Joy1Status 81fa: 85 16 sta Joy1Retrig 81fc: a9 03 lda #$03 81fe: 8d 00 03 sta ObjAction 8201: 85 49 sta ScrollDir 8203: e6 1f inc TitleRoutine 8205: 60 rts 8206: ad 00 03 unref_8206 lda ObjAction 8209: c9 04 cmp #$04 820b: d0 20 bne L822D 820d: a9 00 lda #$00 820f: 8d 00 03 sta ObjAction 8212: a9 0b lda #$0b 8214: 8d 05 03 sta AnimResetIndex 8217: a9 0c lda #$0c 8219: 8d 06 03 sta AnimIndex 821c: a9 07 lda #$07 821e: 8d 03 03 sta AnimFrame 8221: a9 08 lda #$08 8223: 85 2c sta Timer3 8225: a9 00 lda #$00 8227: 85 c9 sta SpareMem 8229: 85 cb sta SpareMem+2 822b: e6 1f inc TitleRoutine 822d: 60 L822D rts 822e: a5 ff T822E lda PPUCNT0ZP 8230: 09 01 ora #$01 8232: 85 ff sta PPUCNT0ZP 8234: e6 1f inc TitleRoutine 8236: a9 08 lda #$08 8238: 85 2c sta Timer3 823a: a9 06 lda #$06 823c: 85 c4 sta FadeDataIndex 823e: a9 00 lda #$00 8240: 85 c9 sta SpareMem 8242: 60 rts 8243: a5 2c T8243 lda Timer3 8245: d0 1b bne L8262 8247: a5 2d lda FrameCount 8249: 29 07 and #$07 824b: d0 15 bne L8262 824d: a5 c4 lda FadeDataIndex 824f: c9 0b cmp #$0b 8251: d0 0c bne L825F 8253: a9 00 lda #$00 8255: 85 c4 sta FadeDataIndex 8257: a9 30 lda #$30 8259: 85 2c sta Timer3 825b: e6 1f inc TitleRoutine 825d: d0 03 bne L8262 825f: 20 5f 8b L825F jsr L8B5F 8262: 60 L8262 rts 8263: a5 2c T8263 lda Timer3 8265: d0 1b bne L8282 8267: a5 2d lda FrameCount 8269: 29 07 and #$07 826b: d0 15 bne L8282 826d: a5 c4 lda FadeDataIndex 826f: c9 05 cmp #$05 8271: d0 0c bne L827F 8273: a9 06 lda #$06 8275: 85 c4 sta FadeDataIndex 8277: a9 00 lda #$00 8279: 85 cb sta SpareMem+2 827b: e6 1f inc TitleRoutine 827d: d0 03 bne L8282 827f: 20 5f 8b L827F jsr L8B5F 8282: 60 L8282 rts 8283: e6 1f T8283 inc TitleRoutine 8285: a9 10 lda #$10 8287: 85 2c sta Timer3 8289: 60 rts 828a: a5 2c unref_828a lda Timer3 828c: d0 14 bne L82A2 828e: a5 b7 lda SpareMemB7 8290: d0 10 bne L82A2 8292: a5 b8 lda SpareMemB8 8294: 29 0f and #$0f 8296: d0 0a bne L82A2 8298: a9 01 lda #$01 829a: 85 d2 sta SpareMem+9 829c: a9 10 lda #$10 829e: 85 2c sta Timer3 82a0: e6 1f inc TitleRoutine 82a2: 60 L82A2 rts 82a3: a5 2c T82A3 lda Timer3 82a5: d0 42 bne L82E9 82a7: 85 d2 sta SpareMem+9 82a9: 85 bb sta SpareMemBB 82ab: 85 55 sta IsSamus 82ad: a0 1f ldy #$1f 82af: 99 00 03 L82AF sta ObjAction,y 82b2: 88 dey 82b3: 10 fa bpl L82AF 82b5: a5 ff lda PPUCNT0ZP 82b7: 29 fc and #$fc 82b9: 85 ff sta PPUCNT0ZP 82bb: c8 iny 82bc: 84 b7 sty SpareMemB7 82be: 84 b8 sty SpareMemB8 82c0: 84 c1 sty PalDataIndex 82c2: 84 c2 sty ScreenFlashPalIndex 82c4: 84 c3 sty IntroStarOffset 82c6: 84 c4 sty FadeDataIndex 82c8: 84 cd sty SpareMem+4 82ca: 84 12 sty Joy1Change 82cc: 84 14 sty Joy1Status 82ce: 84 16 sty Joy1Retrig 82d0: 84 d7 sty SpareMem+14 82d2: c8 iny 82d3: 84 ce sty SpareMem+5 82d5: c8 iny 82d6: 84 cc sty SpareMem+3 82d8: 84 cf sty SpareMem+6 82da: 84 1f sty TitleRoutine 82dc: a5 d8 lda IntroMusicRestart 82de: d0 0a bne L82EA 82e0: a9 10 lda #$10 82e2: 8d 84 06 sta MultiSFXFlag 82e5: a9 02 lda #$02 82e7: 85 d8 sta IntroMusicRestart 82e9: 60 L82E9 rts 82ea: c6 d8 L82EA dec IntroMusicRestart 82ec: 60 rts 82ed: 20 39 c4 T82ED jsr LC439 82f0: e6 1f inc TitleRoutine 82f2: 60 rts 82f3: 60 T82F3 rts 82f4: 23 c0 20 00+ .bulk $23,$c0,$20,$00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$23,$e0,$20,$ff,$ff,$bf,$af,$ff,$ff,$ff,$ff,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$22,$e0,$20,$ff,$ff,$ff,$ff,$ff,$8c,$ff + $ff,$ff,$ff,$ff,$8d,$ff,$ff,$8e,$ff,$ff,$ff,$ff,$ff,$ff,$8c,$ff + $ff,$ff,$ff,$ff,$8d,$ff,$ff,$8e,$ff,$23,$00,$20,$80,$81,$80,$81 + $80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$80,$81 + $80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$23,$20,$20,$82 + $83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$82 + $83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$23 + $40,$20,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85 + $84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85 + $84,$85,$23,$60,$20,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86 + $87,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86 + $87,$86,$87,$86,$87,$23,$80,$20,$88,$89,$88,$89,$88,$89,$88,$89 + $88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89 + $88,$89,$88,$89,$88,$89,$88,$89,$23,$a0,$20,$8a,$8b,$8a,$8b,$8a + $8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a + $8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$20,$a8,$4f,$ff,$21 + $03,$1c,$40,$5d,$56,$5d,$43,$40,$5d,$43,$40,$5d,$5d,$43,$40,$5d + $5d,$63,$62,$5d,$5d,$63,$40,$43,$40,$5d,$5d,$63,$1d,$16,$21,$23 + $1a,$44,$50,$50,$50,$47,$44,$57,$58,$74,$75,$76,$77,$44,$57,$69 + $47,$44,$57,$69,$47,$44,$47,$44,$68,$69,$47,$21,$43,$1a,$44,$41 + $7e,$49,$47,$44,$59,$5a,$78,$79,$7a,$7b,$44,$59,$6d,$70,$44,$73 + $72,$47,$44,$47,$44,$73,$72,$47,$21,$63,$1a,$44,$42,$7f,$4a,$47 + $44,$5b,$5c,$ff,$44,$47,$ff,$44,$5b,$6f,$71,$44,$45,$46,$47,$44 + $47,$44,$45,$46,$47,$21,$83,$1a,$44,$47,$ff,$44,$47,$44,$5f,$60 + $ff,$44,$47,$ff,$44,$7d,$7c,$47,$44,$6a,$6b,$47,$44,$47,$44,$6a + $6b,$47,$21,$a3,$1a,$4c,$4f,$ff,$4c,$4f,$4c,$5e,$4f,$ff,$4c,$4f + $ff,$4c,$4d,$4e,$4f,$66,$5e,$5e,$64,$4c,$4f,$4c,$5e,$5e,$64,$21 + $c3,$1a,$51,$52,$ff,$51,$52,$51,$61,$52,$ff,$51,$52,$ff,$51,$53 + $54,$52,$67,$61,$61,$65,$51,$52,$51,$61,$61,$65,$22,$27,$15,$ff + $19,$1e,$1c,$11,$ff,$1c,$1d,$0a,$1b,$1d,$ff,$0b,$1e,$1d,$1d,$18 + $17,$ff,$ff,$ff,$22,$69,$12,$8f,$ff,$01,$09,$08,$06,$ff,$17,$12 + $17,$1d,$0e,$17,$0d,$18,$ff,$ff,$ff,$27,$c0,$20,$00,$00,$00,$00 + $00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$27,$e0,$20,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$26 + $e0,$20,$ff,$ff,$ff,$ff,$ff,$8c,$ff,$ff,$ff,$ff,$ff,$8d,$ff,$ff + $8e,$ff,$ff,$ff,$ff,$ff,$ff,$8c,$ff,$ff,$ff,$ff,$ff,$8d,$ff,$ff + $8e,$ff,$27,$00,$20,$80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$80 + $81,$80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$80,$81,$80 + $81,$80,$81,$80,$81,$27,$20,$20,$82,$83,$82,$83,$82,$83,$82,$83 + $82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83,$82,$83 + $82,$83,$82,$83,$82,$83,$82,$83,$27,$40,$20,$84,$85,$84,$85,$84 + $85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$84 + $85,$84,$85,$84,$85,$84,$85,$84,$85,$84,$85,$27,$60,$20,$86,$87 + $86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87 + $86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$86,$87,$27,$80 + $20,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88 + $89,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88,$89,$88 + $89,$27,$a0,$20,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b + $8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b,$8a,$8b + $8a,$8b,$8a,$8b,$24,$88,$0f,$0e,$16,$0e,$1b,$10,$0e,$17,$0c,$22 + $ff,$18,$1b,$0d,$0e,$1b,$25,$04,$1c,$0d,$0e,$0f,$0e,$0a,$1d,$ff + $1d,$11,$0e,$ff,$16,$0e,$1d,$1b,$18,$12,$0d,$ff,$18,$0f,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$25,$44,$1a,$1d,$11,$0e,$ff,$19,$15,$0a,$17 + $0e,$1d,$ff,$23,$0e,$0b,$0e,$1d,$11,$ff,$0a,$17,$0d,$ff,$ff,$ff + $ff,$ff,$25,$84,$1a,$0d,$0e,$1c,$1d,$1b,$18,$22,$ff,$1d,$11,$0e + $ff,$16,$18,$1d,$11,$0e,$1b,$ff,$0b,$1b,$0a,$12,$17,$ff,$ff,$25 + $c4,$1a,$1d,$11,$0e,$ff,$16,$0e,$0c,$11,$0a,$17,$12,$0c,$0a,$15 + $ff,$15,$12,$0f,$0e,$ff,$1f,$0e,$12,$17,$ff,$ff,$26,$27,$15,$10 + $0a,$15,$0a,$21,$22,$ff,$0f,$0e,$0d,$0e,$1b,$0a,$15,$ff,$19,$18 + $15,$12,$0c,$0e,$26,$69,$12,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$16,$05,$01,$00,$00,$46,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$20,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$0e,$1b,$1b,$18,$1b,$ff,$1d,$1b,$22,$ff,$0a + $10,$0a,$12,$17,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$79,$87,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00 + $00,$02,$00,$00,$03,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00 + $00,$02,$00,$00,$03,$a1,$87,$a2,$87,$a5,$87,$a8,$87,$00,$18,$cc + $00,$18,$cd,$00,$18,$ce,$00 87ab: a2 0a L87AB ldx #$0a 87ad: bd c4 87 L87AD lda L87C4,x 87b0: 9d a0 6e sta IntroSpr0YCoord,x 87b3: 9d b0 6e sta IntroSpr1YCoord,x 87b6: ca dex 87b7: 10 f4 bpl L87AD 87b9: a9 6b lda #$6b 87bb: 8d b0 6e sta IntroSpr1YCoord 87be: a9 dc lda #$dc 87c0: 8d b3 6e sta IntroSpr1XCoord 87c3: 60 rts 87c4: 3c c6 01 18+ L87C4 .bulk $3c,$c6,$01,$18,$00,$00,$00,$00,$20,$00,$00 87cf: a2 00 L87CF ldx #$00 87d1: 20 d6 87 jsr L87D6 87d4: a2 10 ldx #$10 87d6: 20 d9 87 L87D6 jsr L87D9 87d9: bd a5 6e L87D9 lda IntroSpr0NextCntr,x 87dc: d0 03 bne L87E1 87de: 20 1a 88 jsr L881A 87e1: bd aa 6e L87E1 lda IntroSpr0Complete,x 87e4: d0 33 bne L8819 87e6: de a5 6e dec IntroSpr0NextCntr,x 87e9: bd a6 6e lda IntroSpr0XChange,x 87ec: 18 clc 87ed: 7d a0 6e adc IntroSpr0YCoord,x 87f0: 9d a0 6e sta IntroSpr0YCoord,x 87f3: bd a7 6e lda IntroSpr0YChange,x 87f6: 18 clc 87f7: 7d a3 6e adc IntroSpr0XCoord,x 87fa: 9d a3 6e sta IntroSpr0XCoord,x 87fd: de a8 6e dec IntroSpr0ChngCntr,x 8800: d0 14 bne L8816 8802: bd a1 6e lda IntroSpr0PattTbl,x 8805: 49 03 eor #$03 8807: 9d a1 6e sta IntroSpr0PattTbl,x 880a: a9 20 lda #$20 880c: 9d a8 6e sta IntroSpr0ChngCntr,x 880f: 0a asl A 8810: 5d a2 6e eor IntroSpr0Cntrl,x 8813: 9d a2 6e sta IntroSpr0Cntrl,x 8816: 4c 7b 88 L8816 jmp L887B 8819: 60 L8819 rts 881a: 8a L881A txa 881b: 20 c0 c2 jsr LC2C0 881e: a8 tay 881f: b9 af 89 lda L89AF,y 8822: 85 00 sta $00 8824: b9 b0 89 lda L89AF+1,y 8827: 85 01 sta $01 8829: bc a4 6e ldy IntroSpr0Index,x 882c: b1 00 lda ($00),y 882e: 10 05 bpl L8835 8830: a9 01 lda #$01 8832: 9d a9 6e sta IntroSpr0ByteType,x 8835: d0 05 L8835 bne L883C 8837: a9 01 lda #$01 8839: 9d aa 6e sta IntroSpr0Complete,x 883c: 9d a5 6e L883C sta IntroSpr0NextCntr,x 883f: c8 iny 8840: b1 00 lda ($00),y 8842: de a9 6e dec IntroSpr0ByteType,x 8845: 30 09 bmi L8850 8847: a9 00 lda #$00 8849: 9d a6 6e sta IntroSpr0XChange,x 884c: b1 00 lda ($00),y 884e: 30 17 bmi L8867 8850: 48 L8850 pha 8851: 48 pha 8852: a9 00 lda #$00 8854: 9d a9 6e sta IntroSpr0ByteType,x 8857: 68 pla 8858: 20 bf c2 jsr LC2BF 885b: 20 71 88 jsr L8871 885e: 9d a6 6e sta IntroSpr0XChange,x 8861: 68 pla 8862: 29 0f and #$0f 8864: 20 71 88 jsr L8871 8867: 9d a7 6e L8867 sta IntroSpr0YChange,x 886a: fe a4 6e inc IntroSpr0Index,x 886d: fe a4 6e inc IntroSpr0Index,x 8870: 60 rts 8871: c9 08 L8871 cmp #$08 8873: 90 05 bcc L887A 8875: 29 07 and #$07 8877: 20 d4 c3 jsr LC3D4 887a: 60 L887A rts 887b: bd a0 6e L887B lda IntroSpr0YCoord,x 887e: 38 sec 887f: e9 01 sbc #$01 8881: 9d 10 02 sta Sprite04RAM,x 8884: bd a1 6e lda IntroSpr0PattTbl,x 8887: 9d 11 02 sta $0211,x 888a: bd a2 6e lda IntroSpr0Cntrl,x 888d: 9d 12 02 sta $0212,x 8890: bd a3 6e lda IntroSpr0XCoord,x 8893: 9d 13 02 sta Sprite05RAM-1,x 8896: 60 rts 8897: a9 20 L8897 lda #$20 8899: 85 bd sta Second4Delay 889b: a2 3f ldx #$3f 889d: bd be 88 L889D lda L88BE,x 88a0: c5 ff cmp PPUCNT0ZP 88a2: f0 06 beq L88AA 88a4: 9d a0 6e sta IntroSpr0YCoord,x 88a7: 9d e0 6e sta IntroSpr4YCoord,x 88aa: ca L88AA dex 88ab: 10 f0 bpl L889D 88ad: a9 b8 lda #$b8 88af: 8d 00 6f sta IntroSpr6YCoord 88b2: 8d 10 6f sta IntroSpr7YCoord 88b5: a9 16 lda #$16 88b7: 8d 0d 6f sta IntroSpr6YRise 88ba: 8d 1d 6f sta IntroSpr7YRise 88bd: 60 rts 88be: 20 c5 80 00+ L88BE .bulk $20,$c5,$80,$00,$ff,$ff,$74,$58,$ff,$ff,$00,$ff,$1d,$0e,$01,$01 + $20,$c5,$c0,$f8,$ff,$ff,$7c,$58,$ff,$ff,$00,$ff,$1f,$0e,$80,$01 + $c8,$c5,$00,$00,$ff,$ff,$74,$60,$ff,$ff,$00,$ff,$1d,$1a,$01,$80 + $c8,$c5,$40,$f8,$ff,$ff,$7c,$60,$ff,$ff,$00,$ff,$1f,$1a,$80,$80 88fe: a5 bc L88FE lda First4SlowCntr 8900: f0 34 beq L8936 8902: c6 bc dec First4SlowCntr 8904: d0 30 bne L8936 8906: 0e ac 6e asl IntroSpr0XRun 8909: 0e ad 6e asl IntroSpr0YRise 890c: 0e bc 6e asl IntroSpr1XRun 890f: 0e bd 6e asl IntroSpr1YRise 8912: 0e cc 6e asl IntroSpr2XRun 8915: 0e cd 6e asl IntroSpr2YRise 8918: 0e dc 6e asl IntroSpr3XRun 891b: 0e dd 6e asl IntroSpr3YRise 891e: 0e ec 6e asl IntroSpr4XRun 8921: 0e ed 6e asl IntroSpr4YRise 8924: 0e fc 6e asl IntroSpr5XRun 8927: 0e fd 6e asl IntroSpr5YRise 892a: 0e 0c 6f asl IntroSpr6XRun 892d: 0e 0d 6f asl IntroSpr6YRise 8930: 0e 1c 6f asl IntroSpr7XRun 8933: 0e 1d 6f asl IntroSpr7YRise 8936: a2 00 L8936 ldx #$00 8938: 20 63 89 jsr L8963 893b: a2 10 ldx #$10 893d: 20 63 89 jsr L8963 8940: a2 20 ldx #$20 8942: 20 63 89 jsr L8963 8945: a2 30 ldx #$30 8947: a5 bd lda Second4Delay 8949: f0 04 beq L894F 894b: c6 bd dec Second4Delay 894d: d0 14 bne L8963 894f: 20 63 89 L894F jsr L8963 8952: a2 40 ldx #$40 8954: 20 63 89 jsr L8963 8957: a2 50 ldx #$50 8959: 20 63 89 jsr L8963 895c: a2 60 ldx #$60 895e: 20 63 89 jsr L8963 8961: a2 70 ldx #$70 8963: bd aa 6e L8963 lda IntroSpr0Complete,x 8966: d0 0d bne L8975 8968: 20 1e 98 jsr L981E 896b: b0 05 bcs L8972 896d: a9 01 lda #$01 896f: 9d aa 6e sta IntroSpr0Complete,x 8972: 4c 7b 88 L8972 jmp L887B 8975: 60 L8975 rts 8976: a5 c7 L8976 lda DrawCross 8978: f0 2f beq L89A9 897a: a4 c6 ldy CrossDataIndex 897c: c0 04 cpy #$04 897e: 90 06 bcc L8986 8980: d0 27 bne L89A9 8982: a9 00 lda #$00 8984: 85 c7 sta DrawCross 8986: b9 aa 89 L8986 lda L89AA,y 8989: 85 00 sta $00 898b: a0 00 ldy #$00 898d: be 4b 8a L898D ldx L89B3+152,y 8990: c8 iny 8991: b9 4b 8a L8991 lda L89B3+152,y 8994: 9d 00 02 sta Sprite00RAM,x 8997: e8 inx 8998: c8 iny 8999: 8a txa 899a: 29 03 and #$03 899c: d0 f3 bne L8991 899e: c4 00 cpy $00 89a0: d0 eb bne L898D 89a2: a5 2d lda FrameCount 89a4: 4a lsr A 89a5: 90 02 bcc L89A9 89a7: e6 c6 inc CrossDataIndex 89a9: 60 L89A9 rts 89aa: 05 19 41 19+ L89AA .bulk $05,$19,$41,$19,$05 89af: b3 89 L89AF .dd2 L89B3 89b1: e9 89 .dd2 L89B3+54 89b3: 01 00 01 00+ L89B3 .bulk $01,$00,$01,$00,$01,$01,$06,$00,$07,$01,$10,$01,$03,$01,$01,$00 + $01,$01,$01,$00,$01,$01,$01,$00,$09,$01,$04,$00,$27,$01,$01,$00 + $01,$00,$06,$01,$01,$00,$15,$01,$06,$00,$01,$01,$08,$01,$0e,$02 + $02,$03,$06,$04,$00,$00,$01,$00,$08,$09,$01,$99,$01,$09,$01,$99 + $01,$09,$01,$99,$01,$09,$01,$99,$01,$09,$01,$99,$01,$09,$01,$99 + $01,$09,$01,$99,$01,$09,$01,$99,$01,$09,$01,$99,$01,$09,$01,$99 + $01,$19,$01,$11,$01,$10,$01,$11,$01,$10,$01,$11,$01,$10,$01,$11 + $01,$10,$01,$11,$01,$10,$01,$11,$01,$10,$01,$11,$01,$10,$02,$11 + $01,$10,$01,$11,$10,$09,$ff,$ef,$11,$09,$ff,$f3,$1f,$09,$ff,$ec + $0f,$09,$ff,$ed,$16,$09,$00,$00,$10,$5a,$c0,$00,$79,$14,$52,$c8 + $00,$79,$18,$5a,$c2,$40,$71,$1c,$5a,$c2,$00,$81,$20,$62,$c8,$80 + $79,$14,$52,$c9,$00,$79,$18,$5a,$c1,$00,$71,$1c,$5a,$c1,$00,$81 + $20,$62,$c9,$00,$79,$24,$4a,$c8,$00,$79,$28,$5a,$c2,$40,$69,$2c + $5a,$c2,$00,$89,$30,$6a,$c8,$80,$79 8a8c: a4 c1 L8A8C ldy PalDataIndex 8a8e: b9 9a 8a lda L8A9A,y 8a91: c9 ff cmp #$ff 8a93: f0 04 beq L8A99 8a95: 85 1c sta PalDataPending 8a97: e6 c1 inc PalDataIndex 8a99: 60 L8A99 rts 8a9a: 02 03 04 05+ L8A9A .bulk $02,$03,$04,$05,$06,$07,$08,$09,$0a,$0b,$0c,$0c,$ff 8aa7: a4 c2 L8AA7 ldy ScreenFlashPalIndex 8aa9: b9 bd 8a lda L8ABD,y 8aac: c9 ff cmp #$ff 8aae: d0 08 bne L8AB8 8ab0: a9 00 lda #$00 8ab2: 85 c2 sta ScreenFlashPalIndex 8ab4: 85 c0 sta FlashScreen 8ab6: f0 04 beq L8ABC 8ab8: 85 1c L8AB8 sta PalDataPending 8aba: e6 c2 inc ScreenFlashPalIndex 8abc: 60 L8ABC rts 8abd: 11 01 11 01+ L8ABD .bulk $11,$01,$11,$01,$11,$11,$01,$11,$01,$ff 8ac7: a5 .dd1 $a5 8ac8: 2d .dd1 $2d 8ac9: 29 .dd1 $29 8aca: 0f .dd1 $0f 8acb: d0 .dd1 $d0 8acc: 05 .dd1 $05 8acd: ad .dd1 $ad 8ace: a0 .dd1 $a0 8acf: 07 .dd1 $07 8ad0: f0 .dd1 $f0 8ad1: 01 .dd1 $01 8ad2: 60 .dd1 $60 8ad3: a9 .dd1 $a9 8ad4: 19 .dd1 $19 8ad5: 85 .dd1 $85 8ad6: 00 .dd1 $00 8ad7: a9 .dd1 $a9 8ad8: 3f .dd1 $3f 8ad9: 85 .dd1 $85 8ada: 01 .dd1 $01 8adb: a5 .dd1 $a5 8adc: c3 .dd1 $c3 8add: 29 .dd1 $29 8ade: 07 .dd1 $07 8adf: 0a .dd1 $0a 8ae0: a8 .dd1 $a8 8ae1: b9 .dd1 $b9 8ae2: ff .dd1 $ff 8ae3: 8a .dd1 $8a 8ae4: 85 .dd1 $85 8ae5: 02 .dd1 $02 8ae6: b9 .dd1 $b9 8ae7: 00 .dd1 $00 8ae8: 8b .dd1 $8b 8ae9: 85 .dd1 $85 8aea: 03 .dd1 $03 8aeb: e6 .dd1 $e6 8aec: c3 .dd1 $c3 8aed: 20 .dd1 $20 8aee: 7e .dd1 $7e 8aef: c3 .dd1 $c3 8af0: a9 .dd1 $a9 8af1: 1d .dd1 $1d 8af2: 85 .dd1 $85 8af3: 00 .dd1 $00 8af4: a9 .dd1 $a9 8af5: 3f .dd1 $3f 8af6: 85 .dd1 $85 8af7: 01 .dd1 $01 8af8: c8 .dd1 $c8 8af9: 20 .dd1 $20 8afa: b3 .dd1 $b3 8afb: c2 .dd1 $c2 8afc: 4c .dd1 $4c 8afd: 7e .dd1 $7e 8afe: c3 .dd1 $c3 8aff: 0f 8b .dd2 L8B0F 8b01: 19 8b .dd2 L8B0F+10 8b03: 23 8b .dd2 L8B0F+20 8b05: 2d 8b .dd2 L8B0F+30 8b07: 37 8b .dd2 L8B0F+40 8b09: 41 8b .dd2 L8B0F+50 8b0b: 4b 8b .dd2 L8B0F+60 8b0d: 55 8b .dd2 L8B0F+70 8b0f: 03 0f 02 13+ L8B0F .bulk $03,$0f,$02,$13,$00,$03,$00,$34,$0f,$00,$03,$06,$01,$23,$00,$03 + $0f,$34,$09,$00,$03,$16,$0f,$23,$00,$03,$0f,$24,$1a,$00,$03,$17 + $0f,$13,$00,$03,$00,$04,$28,$00,$03,$17,$01,$14,$00,$03,$10,$0f + $28,$00,$03,$16,$02,$0f,$00,$03,$30,$0f,$1a,$00,$03,$06,$12,$0f + $00,$03,$30,$04,$09,$00,$03,$0f,$12,$14,$00,$03,$10,$24,$0f,$00 8b5f: a4 c4 L8B5F ldy FadeDataIndex 8b61: b9 6d 8b lda L8B6D,y 8b64: c9 ff cmp #$ff 8b66: f0 04 beq L8B6C 8b68: 85 1c sta PalDataPending 8b6a: e6 c4 inc FadeDataIndex 8b6c: 60 L8B6C rts 8b6d: 0d 0e 0f 10+ L8B6D .bulk $0d,$0e,$0f,$10,$01,$ff 8b73: 01 10 0f 0e+ .bulk $01,$10,$0f,$0e,$0d,$ff 8b79: ad 86 68 L8B79 lda NumberOfUniqueItems 8b7c: 85 03 sta $03 8b7e: a0 00 ldy #$00 8b80: 84 04 sty $04 8b82: a4 04 L8B82 ldy $04 8b84: c8 iny 8b85: b9 86 68 lda NumberOfUniqueItems,y 8b88: 85 00 sta $00 8b8a: c8 iny 8b8b: b9 86 68 lda NumberOfUniqueItems,y 8b8e: 85 01 sta $01 8b90: 84 04 sty $04 8b92: 20 9c 8b jsr L8B9C 8b95: a4 04 ldy $04 8b97: c4 03 cpy $03 8b99: 90 e7 bcc L8B82 8b9b: 60 rts 8b9c: a2 00 L8B9C ldx #$00 8b9e: 8a L8B9E txa 8b9f: 0a asl A 8ba0: a8 tay 8ba1: b9 29 90 lda L9029,y 8ba4: c5 00 cmp $00 8ba6: d0 07 bne L8BAF 8ba8: b9 2a 90 lda L9029+1,y 8bab: c5 01 cmp $01 8bad: f0 06 beq L8BB5 8baf: e8 L8BAF inx 8bb0: e0 3c cpx #$3c 8bb2: 90 ea bcc L8B9E 8bb4: 60 rts 8bb5: 8a L8BB5 txa 8bb6: 20 c0 c2 jsr LC2C0 8bb9: 85 05 sta $05 8bbb: 20 c6 c2 jsr LC2C6 8bbe: 85 02 sta $02 8bc0: 8a txa 8bc1: 38 sec 8bc2: e5 02 sbc $02 8bc4: 85 06 sta $06 8bc6: a6 05 ldx $05 8bc8: bd 88 69 lda PasswordByte00,x 8bcb: a4 06 ldy $06 8bcd: 19 21 90 ora L9021,y 8bd0: 9d 88 69 sta PasswordByte00,x 8bd3: 60 rts 8bd4: a9 00 L8BD4 lda #$00 8bd6: 8d 86 68 sta NumberOfUniqueItems 8bd9: 85 05 sta $05 8bdb: 85 06 sta $06 8bdd: a9 3b lda #$3b 8bdf: 85 07 sta $07 8be1: a4 05 ldy $05 8be3: b9 88 69 lda PasswordByte00,y 8be6: 85 08 sta $08 8be8: a2 00 ldx #$00 8bea: 86 09 stx $09 8bec: a6 06 ldx $06 8bee: f0 1a beq L8C0A 8bf0: a2 01 ldx #$01 8bf2: 86 02 stx $02 8bf4: 18 clc 8bf5: 6a L8BF5 ror A 8bf6: 85 08 sta $08 8bf8: a6 02 ldx $02 8bfa: e4 06 cpx $06 8bfc: f0 0c beq L8C0A 8bfe: e6 02 inc $02 8c00: 4c f5 8b jmp L8BF5 8c03: a4 05 L8C03 ldy $05 8c05: b9 88 69 lda PasswordByte00,y 8c08: 85 08 sta $08 8c0a: a5 08 L8C0A lda $08 8c0c: 6a ror A 8c0d: 85 08 sta $08 8c0f: 90 03 bcc L8C14 8c11: 20 39 8c jsr L8C39 8c14: a4 06 L8C14 ldy $06 8c16: c0 07 cpy #$07 8c18: b0 0d bcs L8C27 8c1a: e6 06 inc $06 8c1c: e6 09 inc $09 8c1e: a6 09 ldx $09 8c20: e4 07 cpx $07 8c22: b0 14 bcs L8C38 8c24: 4c 0a 8c jmp L8C0A 8c27: a0 00 L8C27 ldy #$00 8c29: 84 06 sty $06 8c2b: e6 05 inc $05 8c2d: e6 09 inc $09 8c2f: a6 09 ldx $09 8c31: e4 07 cpx $07 8c33: b0 03 bcs L8C38 8c35: 4c 03 8c jmp L8C03 8c38: 60 L8C38 rts 8c39: a5 05 L8C39 lda $05 8c3b: 20 c6 c2 jsr LC2C6 8c3e: 18 clc 8c3f: 65 06 adc $06 8c41: 0a asl A 8c42: a8 tay 8c43: b9 2a 90 lda L9029+1,y 8c46: 85 01 sta $01 8c48: b9 29 90 lda L9029,y 8c4b: 85 00 sta $00 8c4d: ac 86 68 ldy NumberOfUniqueItems 8c50: 99 87 68 sta UniqueItemHistory,y 8c53: a5 01 lda $01 8c55: c8 iny 8c56: 99 87 68 sta UniqueItemHistory,y 8c59: c8 iny 8c5a: 8c 86 68 sty NumberOfUniqueItems 8c5d: 60 rts 8c5e: 20 60 8f L8C5E jsr L8F60 8c61: 20 de 8d jsr L8DDE 8c64: b0 03 bcs L8C69 8c66: 4c d4 92 jmp L92D4 8c69: ad 84 06 L8C69 lda MultiSFXFlag 8c6c: 09 01 ora #$01 8c6e: 8d 84 06 sta MultiSFXFlag 8c71: a9 0c lda #$0c 8c73: 85 2c sta Timer3 8c75: a9 18 lda #$18 8c77: 85 1f sta TitleRoutine 8c79: 60 rts 8c7a: a9 00 L8C7A lda #$00 8c7c: a0 0f ldy #$0f 8c7e: 99 88 69 L8C7E sta PasswordByte00,y 8c81: 99 9a 69 sta PasswordChar,y 8c84: 88 dey 8c85: 10 f7 bpl L8C7E 8c87: 20 79 8b jsr L8B79 8c8a: ad 8f 69 lda PasswordByte07 8c8d: 29 04 and #$04 8c8f: f0 0d beq L8C9E 8c91: a9 00 lda #$00 8c93: 8d 8f 69 sta PasswordByte07 8c96: ad 8e 69 lda PasswordByte06 8c99: 29 03 and #$03 8c9b: 8d 8e 69 sta PasswordByte06 8c9e: a5 74 L8C9E lda InArea 8ca0: 29 3f and #$3f 8ca2: ac b3 69 ldy JustInBailey 8ca5: f0 02 beq L8CA9 8ca7: 09 80 ora #$80 8ca9: 8d 90 69 L8CA9 sta PasswordByte08 8cac: ad 78 68 lda SamusGear 8caf: 8d 91 69 sta PasswordByte09 8cb2: ad 79 68 lda MissileCount 8cb5: 8d 92 69 sta PasswordByte0A 8cb8: a9 00 lda #$00 8cba: 85 00 sta $00 8cbc: ad 7b 68 lda KraidStatueStatus 8cbf: 29 80 and #$80 8cc1: f0 06 beq L8CC9 8cc3: a5 00 lda $00 8cc5: 09 80 ora #$80 8cc7: 85 00 sta $00 8cc9: ad 7b 68 L8CC9 lda KraidStatueStatus 8ccc: 29 01 and #$01 8cce: f0 06 beq L8CD6 8cd0: a5 00 lda $00 8cd2: 09 40 ora #$40 8cd4: 85 00 sta $00 8cd6: ad 7c 68 L8CD6 lda RidleyStatueStatus 8cd9: 29 80 and #$80 8cdb: f0 06 beq L8CE3 8cdd: a5 00 lda $00 8cdf: 09 20 ora #$20 8ce1: 85 00 sta $00 8ce3: ad 7c 68 L8CE3 lda RidleyStatueStatus 8ce6: 29 02 and #$02 8ce8: f0 06 beq L8CF0 8cea: a5 00 lda $00 8cec: 09 10 ora #$10 8cee: 85 00 sta $00 8cf0: a5 00 L8CF0 lda $00 8cf2: 8d 97 69 sta PasswordByte0F 8cf5: a0 03 ldy #$03 8cf7: b9 7d 68 L8CF7 lda SamusAge,y 8cfa: 99 93 69 sta PasswordByte0B,y 8cfd: 88 dey 8cfe: 10 f7 bpl L8CF7 8d00: 20 00 c0 L8D00 jsr RandomNumbers 8d03: a5 2e lda RandomNumber1 8d05: 29 0f and #$0f 8d07: f0 f7 beq L8D00 8d09: 8d 98 69 sta PasswordByte10 8d0c: 20 17 8e jsr L8E17 8d0f: 4c 6c 8e jmp L8E6C 8d12: ad b2 69 L8D12 lda NARPASSWORD 8d15: d0 25 bne L8D3C 8d17: 20 d4 8b jsr L8BD4 8d1a: 20 3d 8d jsr L8D3D 8d1d: a0 00 ldy #$00 8d1f: ad 90 69 lda PasswordByte08 8d22: 29 80 and #$80 8d24: f0 01 beq L8D27 8d26: c8 iny 8d27: 8c b3 69 L8D27 sty JustInBailey 8d2a: ad 90 69 lda PasswordByte08 8d2d: 29 3f and #$3f 8d2f: 85 74 sta InArea 8d31: a0 03 ldy #$03 8d33: b9 93 69 L8D33 lda PasswordByte0B,y 8d36: 99 7d 68 sta SamusAge,y 8d39: 88 dey 8d3a: 10 f7 bpl L8D33 8d3c: 60 L8D3C rts 8d3d: ad 91 69 L8D3D lda PasswordByte09 8d40: 8d 78 68 sta SamusGear 8d43: ad 92 69 lda PasswordByte0A 8d46: 8d 79 68 sta MissileCount 8d49: a9 00 lda #$00 8d4b: 85 00 sta $00 8d4d: 85 02 sta $02 8d4f: ad 97 69 lda PasswordByte0F 8d52: 29 80 and #$80 8d54: f0 06 beq L8D5C 8d56: a5 00 lda $00 8d58: 09 80 ora #$80 8d5a: 85 00 sta $00 8d5c: ad 97 69 L8D5C lda PasswordByte0F 8d5f: 29 40 and #$40 8d61: f0 06 beq L8D69 8d63: a5 00 lda $00 8d65: 09 01 ora #$01 8d67: 85 00 sta $00 8d69: a5 00 L8D69 lda $00 8d6b: 8d 7b 68 sta KraidStatueStatus 8d6e: ad 97 69 lda PasswordByte0F 8d71: 29 20 and #$20 8d73: f0 06 beq L8D7B 8d75: a5 02 lda $02 8d77: 09 80 ora #$80 8d79: 85 02 sta $02 8d7b: ad 97 69 L8D7B lda PasswordByte0F 8d7e: 29 10 and #$10 8d80: f0 06 beq L8D88 8d82: a5 02 lda $02 8d84: 09 02 ora #$02 8d86: 85 02 sta $02 8d88: a5 02 L8D88 lda $02 8d8a: 8d 7c 68 sta RidleyStatueStatus 8d8d: a9 00 lda #$00 8d8f: 85 00 sta $00 8d91: 85 02 sta $02 8d93: a0 00 ldy #$00 8d95: b9 88 68 L8D95 lda $6888,y 8d98: 29 fc and #$fc 8d9a: c9 20 cmp #$20 8d9c: d0 05 bne L8DA3 8d9e: e6 00 inc $00 8da0: 4c a9 8d jmp L8DA9 8da3: c9 24 L8DA3 cmp #$24 8da5: d0 02 bne L8DA9 8da7: e6 02 inc $02 8da9: c8 L8DA9 iny 8daa: c8 iny 8dab: c0 84 cpy #$84 8dad: 90 e6 bcc L8D95 8daf: a5 00 lda $00 8db1: c9 06 cmp #$06 8db3: 90 02 bcc L8DB7 8db5: a9 06 lda #$06 8db7: 8d 77 68 L8DB7 sta TankCount 8dba: a9 00 lda #$00 8dbc: a4 02 ldy $02 8dbe: f0 06 beq L8DC6 8dc0: 18 clc 8dc1: 69 05 L8DC1 adc #$05 8dc3: 88 dey 8dc4: d0 fb bne L8DC1 8dc6: ac 7b 68 L8DC6 ldy KraidStatueStatus 8dc9: f0 04 beq L8DCF 8dcb: 69 4b adc #$4b 8dcd: b0 09 bcs L8DD8 8dcf: ac 7c 68 L8DCF ldy RidleyStatueStatus 8dd2: f0 06 beq L8DDA 8dd4: 69 4b adc #$4b 8dd6: 90 02 bcc L8DDA 8dd8: a9 ff L8DD8 lda #$ff 8dda: 8d 7a 68 L8DDA sta MaxMissiles 8ddd: 60 rts 8dde: ad b2 69 L8DDE lda NARPASSWORD 8de1: d0 14 bne L8DF7 8de3: a0 0f ldy #$0f 8de5: b9 9a 69 L8DE5 lda PasswordChar,y 8de8: d9 07 8e cmp L8E07,y 8deb: d0 0a bne L8DF7 8ded: 88 dey 8dee: 10 f5 bpl L8DE5 8df0: a9 01 lda #$01 8df2: 8d b2 69 sta NARPASSWORD 8df5: d0 0e bne L8E05 8df7: 20 4e 8e L8DF7 jsr L8E4E 8dfa: 20 21 8e jsr L8E21 8dfd: cd 99 69 cmp PasswordByte11 8e00: f0 03 beq L8E05 8e02: 38 sec 8e03: b0 01 bcs L8E06 8e05: 18 L8E05 clc 8e06: 60 L8E06 rts 8e07: 17 L8E07 .dd1 $17 8e08: 0a .dd1 $0a 8e09: 1b .dd1 $1b 8e0a: 19 .dd1 $19 8e0b: 0a .dd1 $0a 8e0c: 1c .dd1 $1c 8e0d: 1c .dd1 $1c 8e0e: 20 .dd1 $20 8e0f: 18 .dd1 $18 8e10: 1b .dd1 $1b 8e11: 0d .dd1 $0d 8e12: 00 .dd1 $00 8e13: 00 .dd1 $00 8e14: 00 .dd1 $00 8e15: 00 .dd1 $00 8e16: 00 .dd1 $00 8e17: 20 21 8e L8E17 jsr L8E21 8e1a: 8d 99 69 sta PasswordByte11 8e1d: 20 2d 8e jsr L8E2D 8e20: 60 rts 8e21: a0 10 L8E21 ldy #$10 8e23: a9 00 lda #$00 8e25: 18 L8E25 clc 8e26: 79 88 69 adc PasswordByte00,y 8e29: 88 dey 8e2a: 10 f9 bpl L8E25 8e2c: 60 rts 8e2d: ad 98 69 L8E2D lda PasswordByte10 8e30: 85 02 sta $02 8e32: ad 88 69 L8E32 lda PasswordByte00 8e35: 85 00 sta $00 8e37: a2 00 ldx #$00 8e39: a0 0f ldy #$0f 8e3b: 7e 88 69 L8E3B ror PasswordByte00,x 8e3e: e8 inx 8e3f: 88 dey 8e40: 10 f9 bpl L8E3B 8e42: 66 00 ror $00 8e44: a5 00 lda $00 8e46: 8d 88 69 sta PasswordByte00 8e49: c6 02 dec $02 8e4b: d0 e5 bne L8E32 8e4d: 60 rts 8e4e: ad 98 69 L8E4E lda PasswordByte10 8e51: 85 02 sta $02 8e53: ad 97 69 L8E53 lda PasswordByte0F 8e56: 85 00 sta $00 8e58: a2 0f ldx #$0f 8e5a: 3e 88 69 L8E5A rol PasswordByte00,x 8e5d: ca dex 8e5e: 10 fa bpl L8E5A 8e60: 26 00 rol $00 8e62: a5 00 lda $00 8e64: 8d 97 69 sta PasswordByte0F 8e67: c6 02 dec $02 8e69: d0 e8 bne L8E53 8e6b: 60 rts 8e6c: a0 00 L8E6C ldy #$00 8e6e: 20 2d 8f jsr L8F2D 8e71: 8d 9a 69 sta PasswordChar 8e74: a0 00 ldy #$00 8e76: 20 33 8f jsr L8F33 8e79: 8d 9b 69 sta PasswordChar+1 8e7c: a0 01 ldy #$01 8e7e: 20 46 8f jsr L8F46 8e81: 8d 9c 69 sta PasswordChar+2 8e84: a0 02 ldy #$02 8e86: 20 5a 8f jsr L8F5A 8e89: 8d 9d 69 sta PasswordChar+3 8e8c: a0 03 ldy #$03 8e8e: 20 2d 8f jsr L8F2D 8e91: 8d 9e 69 sta PasswordChar+4 8e94: a0 03 ldy #$03 8e96: 20 33 8f jsr L8F33 8e99: 8d 9f 69 sta PasswordChar+5 8e9c: a0 04 ldy #$04 8e9e: 20 46 8f jsr L8F46 8ea1: 8d a0 69 sta PasswordChar+6 8ea4: a0 05 ldy #$05 8ea6: 20 5a 8f jsr L8F5A 8ea9: 8d a1 69 sta PasswordChar+7 8eac: a0 06 ldy #$06 8eae: 20 2d 8f jsr L8F2D 8eb1: 8d a2 69 sta PasswordChar+8 8eb4: a0 06 ldy #$06 8eb6: 20 33 8f jsr L8F33 8eb9: 8d a3 69 sta PasswordChar+9 8ebc: a0 07 ldy #$07 8ebe: 20 46 8f jsr L8F46 8ec1: 8d a4 69 sta PasswordChar+10 8ec4: a0 08 ldy #$08 8ec6: 20 5a 8f jsr L8F5A 8ec9: 8d a5 69 sta PasswordChar+11 8ecc: a0 09 ldy #$09 8ece: 20 2d 8f jsr L8F2D 8ed1: 8d a6 69 sta PasswordChar+12 8ed4: a0 09 ldy #$09 8ed6: 20 33 8f jsr L8F33 8ed9: 8d a7 69 sta PasswordChar+13 8edc: a0 0a ldy #$0a 8ede: 20 46 8f jsr L8F46 8ee1: 8d a8 69 sta PasswordChar+14 8ee4: a0 0b ldy #$0b 8ee6: 20 5a 8f jsr L8F5A 8ee9: 8d a9 69 sta PasswordChar+15 8eec: a0 0c ldy #$0c 8eee: 20 2d 8f jsr L8F2D 8ef1: 8d aa 69 sta $69aa 8ef4: a0 0c ldy #$0c 8ef6: 20 33 8f jsr L8F33 8ef9: 8d ab 69 sta $69ab 8efc: a0 0d ldy #$0d 8efe: 20 46 8f jsr L8F46 8f01: 8d ac 69 sta $69ac 8f04: a0 0e ldy #$0e 8f06: 20 5a 8f jsr L8F5A 8f09: 8d ad 69 sta $69ad 8f0c: a0 0f ldy #$0f 8f0e: 20 2d 8f jsr L8F2D 8f11: 8d ae 69 sta $69ae 8f14: a0 0f ldy #$0f 8f16: 20 33 8f jsr L8F33 8f19: 8d af 69 sta $69af 8f1c: a0 10 ldy #$10 8f1e: 20 46 8f jsr L8F46 8f21: 8d b0 69 sta $69b0 8f24: a0 11 ldy #$11 8f26: 20 5a 8f jsr L8F5A 8f29: 8d b1 69 sta NARPASSWORD-1 8f2c: 60 rts 8f2d: b9 88 69 L8F2D lda PasswordByte00,y 8f30: 4a lsr A 8f31: 4a lsr A 8f32: 60 rts 8f33: b9 88 69 L8F33 lda PasswordByte00,y 8f36: 29 03 and #$03 8f38: 20 c5 c2 jsr LC2C5 8f3b: 85 00 sta $00 8f3d: b9 89 69 lda PasswordByte01,y 8f40: 20 bf c2 jsr LC2BF 8f43: 05 00 ora $00 8f45: 60 rts 8f46: b9 88 69 L8F46 lda PasswordByte00,y 8f49: 29 0f and #$0f 8f4b: 0a asl A 8f4c: 0a asl A 8f4d: 85 00 sta $00 8f4f: b9 89 69 lda PasswordByte01,y 8f52: 2a rol A 8f53: 2a rol A 8f54: 2a rol A 8f55: 29 03 and #$03 8f57: 05 00 ora $00 8f59: 60 rts 8f5a: b9 88 69 L8F5A lda PasswordByte00,y 8f5d: 29 3f and #$3f 8f5f: 60 rts 8f60: a0 00 L8F60 ldy #$00 8f62: 20 f1 8f jsr L8FF1 8f65: 8d 88 69 sta PasswordByte00 8f68: a0 01 ldy #$01 8f6a: 20 01 90 jsr L9001 8f6d: 8d 89 69 sta PasswordByte01 8f70: a0 02 ldy #$02 8f72: 20 11 90 jsr L9011 8f75: 8d 8a 69 sta PasswordByte02 8f78: a0 04 ldy #$04 8f7a: 20 f1 8f jsr L8FF1 8f7d: 8d 8b 69 sta PasswordByte03 8f80: a0 05 ldy #$05 8f82: 20 01 90 jsr L9001 8f85: 8d 8c 69 sta PasswordByte04 8f88: a0 06 ldy #$06 8f8a: 20 11 90 jsr L9011 8f8d: 8d 8d 69 sta PasswordByte05 8f90: a0 08 ldy #$08 8f92: 20 f1 8f jsr L8FF1 8f95: 8d 8e 69 sta PasswordByte06 8f98: a0 09 ldy #$09 8f9a: 20 01 90 jsr L9001 8f9d: 8d 8f 69 sta PasswordByte07 8fa0: a0 0a ldy #$0a 8fa2: 20 11 90 jsr L9011 8fa5: 8d 90 69 sta PasswordByte08 8fa8: a0 0c ldy #$0c 8faa: 20 f1 8f jsr L8FF1 8fad: 8d 91 69 sta PasswordByte09 8fb0: a0 0d ldy #$0d 8fb2: 20 01 90 jsr L9001 8fb5: 8d 92 69 sta PasswordByte0A 8fb8: a0 0e ldy #$0e 8fba: 20 11 90 jsr L9011 8fbd: 8d 93 69 sta PasswordByte0B 8fc0: a0 10 ldy #$10 8fc2: 20 f1 8f jsr L8FF1 8fc5: 8d 94 69 sta PasswordByte0C 8fc8: a0 11 ldy #$11 8fca: 20 01 90 jsr L9001 8fcd: 8d 95 69 sta PasswordByte0D 8fd0: a0 12 ldy #$12 8fd2: 20 11 90 jsr L9011 8fd5: 8d 96 69 sta PasswordByte0E 8fd8: a0 14 ldy #$14 8fda: 20 f1 8f jsr L8FF1 8fdd: 8d 97 69 sta PasswordByte0F 8fe0: a0 15 ldy #$15 8fe2: 20 01 90 jsr L9001 8fe5: 8d 98 69 sta PasswordByte10 8fe8: a0 16 ldy #$16 8fea: 20 11 90 jsr L9011 8fed: 8d 99 69 sta PasswordByte11 8ff0: 60 rts 8ff1: b9 9a 69 L8FF1 lda PasswordChar,y 8ff4: 0a asl A 8ff5: 0a asl A 8ff6: 85 00 sta $00 8ff8: b9 9b 69 lda PasswordChar+1,y 8ffb: 20 bf c2 jsr LC2BF 8ffe: 05 00 ora $00 9000: 60 rts 9001: b9 9a 69 L9001 lda PasswordChar,y 9004: 20 c5 c2 jsr LC2C5 9007: 85 00 sta $00 9009: b9 9b 69 lda PasswordChar+1,y 900c: 4a lsr A 900d: 4a lsr A 900e: 05 00 ora $00 9010: 60 rts 9011: b9 9a 69 L9011 lda PasswordChar,y 9014: 6a ror A 9015: 6a ror A 9016: 6a ror A 9017: 29 c0 and #$c0 9019: 85 00 sta $00 901b: b9 9b 69 lda PasswordChar+1,y 901e: 05 00 ora $00 9020: 60 rts 9021: 01 02 04 08+ L9021 .bulk $01,$02,$04,$08,$10,$20,$40,$80 9029: 4e 10 4b 26+ L9029 .bulk $4e,$10,$4b,$26,$e5,$28,$82,$28,$27,$23,$25,$2b,$25,$03,$69,$2a + $03,$27,$63,$23,$e2,$29,$e2,$15,$2e,$21,$4e,$26,$2f,$26,$4c,$2b + $6a,$27,$8a,$27,$8b,$27,$6b,$27,$4b,$27,$8f,$26,$6f,$26,$71,$2b + $71,$07,$f0,$29,$f0,$0d,$76,$26,$96,$26,$55,$2a,$53,$23,$94,$27 + $f5,$28,$35,$25,$95,$24,$f6,$28,$56,$21,$f8,$28,$7b,$28,$bb,$24 + $59,$25,$1d,$29,$1d,$21,$58,$26,$39,$2a,$39,$22,$9e,$26,$1d,$2a + $fd,$21,$1b,$27,$67,$28,$27,$29,$2b,$29,$00,$3c,$00,$40,$00,$44 + $00,$48,$00,$4c,$00,$38 909f: 20 39 c4 L909F jsr LC439 90a2: 20 58 c1 jsr LC158 90a5: 20 a3 c1 jsr LC1A3 90a8: a5 ff lda PPUCNT0ZP 90aa: 29 fc and #$fc 90ac: 85 ff sta PPUCNT0ZP 90ae: a9 00 lda #$00 90b0: 85 fc sta ScrollY 90b2: 85 fd sta ScrollX 90b4: 20 2c c4 jsr LC42C 90b7: 4c 7d c4 jmp LC47D 90ba: 20 9f 90 T90BA jsr L909F 90bd: a2 84 ldx #$84 90bf: a0 99 ldy #$99 90c1: 20 49 94 jsr L9449 90c4: a0 00 ldy #$00 90c6: 8c 25 03 sty StartContinue 90c9: a9 0d lda #$0d 90cb: 85 1c sta PalDataPending 90cd: a9 16 lda #$16 90cf: 85 1f sta TitleRoutine 90d1: 20 87 c4 L90D1 jsr LC487 90d4: 4c 47 c4 jmp LC447 90d7: a5 12 T90D7 lda Joy1Change 90d9: 29 30 and #$30 90db: c9 10 cmp #$10 90dd: d0 0c bne L90EB 90df: ac 25 03 ldy StartContinue 90e2: d0 03 bne L90E7 90e4: 4c 2b 93 jmp L932B 90e7: a0 17 L90E7 ldy #$17 90e9: 84 1f sty TitleRoutine 90eb: c9 20 L90EB cmp #$20 90ed: d0 10 bne L90FF 90ef: ad 25 03 lda StartContinue 90f2: 49 01 eor #$01 90f4: 8d 25 03 sta StartContinue 90f7: ad 83 06 lda TriangleSFXFlag 90fa: 09 08 ora #$08 90fc: 8d 83 06 sta TriangleSFXFlag 90ff: ac 25 03 L90FF ldy StartContinue 9102: b9 18 91 lda L9118,y 9105: 8d 00 02 sta Sprite00RAM 9108: a9 6e lda #$6e 910a: 8d 01 02 sta $0201 910d: a9 03 lda #$03 910f: 8d 02 02 sta $0202 9112: a9 50 lda #$50 9114: 8d 03 02 sta Sprite01RAM-1 9117: 60 rts 9118: 60 L9118 .dd1 $60 9119: 78 .dd1 $78 911a: 20 9f 90 T911A jsr L909F 911d: a2 e3 ldx #$e3 911f: a0 99 ldy #$99 9121: 20 49 94 jsr L9449 9124: 20 d6 c6 jsr LC6D6 9127: 20 0b 94 jsr L940B 912a: a9 13 lda #$13 912c: 85 1c sta PalDataPending 912e: a9 00 lda #$00 9130: 8d 21 03 sta InputRow 9133: 8d 22 03 sta InputColumn 9136: 85 2c sta Timer3 9138: a9 00 lda #$00 913a: 8d 20 03 sta ElevatorStatus 913d: a0 00 ldy #$00 913f: 8c 24 03 sty PasswordStat00 9142: e6 1f inc TitleRoutine 9144: 4c d1 90 jmp L90D1 9147: 20 a3 c1 T9147 jsr LC1A3 914a: a5 12 lda Joy1Change 914c: 29 10 and #$10 914e: f0 03 beq L9153 9150: 4c 5e 8c jmp L8C5E 9153: a2 01 L9153 ldx #$01 9155: 86 1b stx PPUDataPending 9157: ae a0 07 ldx PPUStrIndex 915a: a9 21 lda #$21 915c: 20 6b c3 jsr LC36B 915f: a9 a8 lda #$a8 9161: 20 6b c3 jsr LC36B 9164: a9 0f lda #$0f 9166: 20 6b c3 jsr LC36B 9169: a5 2c lda Timer3 916b: f0 0b beq L9178 916d: a9 59 lda #$59 916f: 85 02 sta $02 9171: a9 87 lda #$87 9173: 85 03 sta $03 9175: 4c 80 91 jmp L9180 9178: a9 68 L9178 lda #$68 917a: 85 02 sta $02 917c: a9 87 lda #$87 917e: 85 03 sta $03 9180: a0 00 L9180 ldy #$00 9182: b1 02 L9182 lda ($02),y 9184: 20 6b c3 jsr LC36B 9187: c8 iny 9188: c0 0f cpy #$0f 918a: d0 f6 bne L9182 918c: a5 12 lda Joy1Change 918e: 30 03 bmi L9193 9190: 4c fb 91 jmp L91FB 9193: ad 83 06 L9193 lda TriangleSFXFlag 9196: 09 01 ora #$01 9198: 8d 83 06 sta TriangleSFXFlag 919b: ad 20 03 lda ElevatorStatus 919e: c9 12 cmp #$12 91a0: 90 06 bcc L91A8 91a2: 18 clc 91a3: 69 3e adc #$3e 91a5: 4c bf 91 jmp L91BF 91a8: c9 0c L91A8 cmp #$0c 91aa: 90 06 bcc L91B2 91ac: 18 clc 91ad: 69 3d adc #$3d 91af: 4c bf 91 jmp L91BF 91b2: c9 06 L91B2 cmp #$06 91b4: 90 06 bcc L91BC 91b6: 18 clc 91b7: 69 0a adc #$0a 91b9: 4c bf 91 jmp L91BF 91bc: 18 L91BC clc 91bd: 69 09 adc #$09 91bf: 85 06 L91BF sta $06 91c1: ad 21 03 lda InputRow 91c4: 0a asl A 91c5: a8 tay 91c6: b9 98 99 lda L9998,y 91c9: 85 00 sta $00 91cb: b9 99 99 lda L9998+1,y 91ce: 85 01 sta $01 91d0: ac 22 03 ldy InputColumn 91d3: b1 00 lda ($00),y 91d5: 48 pha 91d6: 8d 81 07 sta TileInfo0 91d9: a9 11 lda #$11 91db: 8d 80 07 sta TileSize 91de: a6 06 ldx $06 91e0: a0 21 ldy #$21 91e2: 20 50 94 jsr L9450 91e5: ae 20 03 ldx ElevatorStatus 91e8: 68 pla 91e9: 9d 9a 69 sta PasswordChar,x 91ec: ad 20 03 lda ElevatorStatus 91ef: 18 clc 91f0: 69 01 adc #$01 91f2: c9 18 cmp #$18 91f4: 90 02 bcc L91F8 91f6: a9 00 lda #$00 91f8: 8d 20 03 L91F8 sta ElevatorStatus 91fb: a5 12 L91FB lda Joy1Change 91fd: 29 40 and #$40 91ff: f0 0d beq L920E 9201: ad 20 03 lda ElevatorStatus 9204: 38 sec 9205: e9 01 sbc #$01 9207: b0 02 bcs L920B 9209: a9 17 lda #$17 920b: 8d 20 03 L920B sta ElevatorStatus 920e: ac 24 03 L920E ldy PasswordStat00 9211: a5 2d lda FrameCount 9213: 29 08 and #$08 9215: f0 28 beq L923F 9217: a9 3f lda #$3f 9219: ae 20 03 ldx ElevatorStatus 921c: e0 0c cpx #$0c 921e: 90 02 bcc L9222 9220: a9 4f lda #$4f 9222: 8d 04 02 L9222 sta Sprite01RAM 9225: a9 6e lda #$6e 9227: 8d 05 02 sta $0205 922a: a9 20 lda #$20 922c: 8d 06 02 sta $0206 922f: ad 20 03 lda ElevatorStatus 9232: c9 0c cmp #$0c 9234: 90 02 bcc L9238 9236: e9 0c sbc #$0c 9238: aa L9238 tax 9239: bd c8 92 lda L92C8,x 923c: 8d 07 02 sta Sprite02RAM-1 923f: ae 21 03 L923F ldx InputRow 9242: ac 22 03 ldy InputColumn 9245: a5 16 lda Joy1Retrig 9247: 29 0f and #$0f 9249: f0 4c beq L9297 924b: 48 pha 924c: ad 83 06 lda TriangleSFXFlag 924f: 09 08 ora #$08 9251: 8d 83 06 sta TriangleSFXFlag 9254: 68 pla 9255: 4a lsr A 9256: 90 14 bcc L926C 9258: c8 iny 9259: c0 0d cpy #$0d 925b: d0 0c bne L9269 925d: e8 inx 925e: e0 05 cpx #$05 9260: d0 02 bne L9264 9262: a2 00 ldx #$00 9264: 8e 21 03 L9264 stx InputRow 9267: a0 00 ldy #$00 9269: 8c 22 03 L9269 sty InputColumn 926c: 4a L926C lsr A 926d: 90 10 bcc L927F 926f: 88 dey 9270: 10 0a bpl L927C 9272: ca dex 9273: 10 02 bpl L9277 9275: a2 04 ldx #$04 9277: 8e 21 03 L9277 stx InputRow 927a: a0 0c ldy #$0c 927c: 8c 22 03 L927C sty InputColumn 927f: 4a L927F lsr A 9280: 90 0a bcc L928C 9282: e8 inx 9283: e0 05 cpx #$05 9285: d0 02 bne L9289 9287: a2 00 ldx #$00 9289: 8e 21 03 L9289 stx InputRow 928c: 4a L928C lsr A 928d: 90 08 bcc L9297 928f: ca dex 9290: 10 02 bpl L9294 9292: a2 04 ldx #$04 9294: 8e 21 03 L9294 stx InputRow 9297: a5 2d L9297 lda FrameCount 9299: 29 08 and #$08 929b: f0 16 beq L92B3 929d: bd b6 92 lda L92B6,x 92a0: 8d 08 02 sta Sprite02RAM 92a3: a9 6e lda #$6e 92a5: 8d 09 02 sta $0209 92a8: a9 20 lda #$20 92aa: 8d 0a 02 sta $020a 92ad: b9 bb 92 lda L92BB,y 92b0: 8d 0b 02 sta Sprite03RAM-1 92b3: 60 L92B3 rts 92b4: 21 .dd1 $21 92b5: 20 .dd1 $20 92b6: 77 L92B6 .dd1 $77 92b7: 87 .dd1 $87 92b8: 97 .dd1 $97 92b9: a7 .dd1 $a7 92ba: b7 .dd1 $b7 92bb: 20 L92BB .dd1 $20 92bc: 30 .dd1 $30 92bd: 40 .dd1 $40 92be: 50 .dd1 $50 92bf: 60 .dd1 $60 92c0: 70 .dd1 $70 92c1: 80 .dd1 $80 92c2: 90 .dd1 $90 92c3: a0 .dd1 $a0 92c4: b0 .dd1 $b0 92c5: c0 .dd1 $c0 92c6: d0 .dd1 $d0 92c7: e0 .dd1 $e0 92c8: 48 L92C8 .dd1 $48 92c9: 50 .dd1 $50 92ca: 58 .dd1 $58 92cb: 60 .dd1 $60 92cc: 68 .dd1 $68 92cd: 70 .dd1 $70 92ce: 80 .dd1 $80 92cf: 88 .dd1 $88 92d0: 90 .dd1 $90 92d1: 98 .dd1 $98 92d2: a0 .dd1 $a0 92d3: a8 .dd1 $a8 92d4: 20 d4 c1 L92D4 jsr LC1D4 92d7: 20 78 c5 jsr LC578 92da: 20 12 8d jsr L8D12 92dd: a0 00 ldy #$00 92df: 84 5b sty SpritePagePos 92e1: 84 4b sty PageIndex 92e3: 84 6b sty ObjectCntrl 92e5: 8c 0c 03 sty ObjectHi 92e8: 20 8e cb jsr LCB8E 92eb: a9 5a lda #$5a 92ed: 8d 03 03 sta AnimFrame 92f0: a2 01 ldx #$01 92f2: a5 74 lda InArea 92f4: 29 0f and #$0f 92f6: d0 01 bne L92F9 92f8: ca dex 92f9: bd 25 93 L92F9 lda L9325,x 92fc: 8d 0d 03 sta ObjectY 92ff: bd 28 93 lda L9328,x 9302: 8d 0e 03 sta ObjectX 9305: ee 81 68 inc SamusStat02 9308: d0 03 bne L930D 930a: ee 82 68 inc SamusStat03 930d: a9 01 L930D lda #$01 930f: 85 1e sta MainRoutine 9311: 20 5d c4 jsr LC45D 9314: 20 dc c5 jsr LC5DC 9317: 20 87 c4 jsr LC487 931a: a5 74 lda InArea 931c: 29 0f and #$0f 931e: a8 tay 931f: b9 30 ca lda LCA30,y 9322: 85 24 sta SwitchPending 9324: 60 L9324 rts 9325: 64 L9325 .dd1 $64 9326: 8c .dd1 $8c 9327: 5c .dd1 $5c 9328: 78 L9328 .dd1 $78 9329: 78 .dd1 $78 932a: 5c .dd1 $5c 932b: a9 00 L932B lda #$00 932d: 8d 76 68 sta SamusStat00 9330: 8d 77 68 sta TankCount 9333: 8d 78 68 sta SamusGear 9336: 8d 79 68 sta MissileCount 9339: 8d 7a 68 sta MaxMissiles 933c: 8d 7b 68 sta KraidStatueStatus 933f: 8d 7c 68 sta RidleyStatueStatus 9342: 8d 7d 68 sta SamusAge 9345: 8d 7e 68 sta $687e 9348: 8d 7f 68 sta SamusStat01-1 934b: 8d 80 68 sta SamusStat01 934e: 8d 83 68 sta AtEnding 9351: 8d b3 69 sta JustInBailey 9354: a9 02 lda #$02 9356: 85 24 sta SwitchPending 9358: 60 rts 9359: a5 2c T9359 lda Timer3 935b: d0 c7 bne L9324 935d: 20 9f 90 jsr L909F 9360: a2 7f ldx #$7f 9362: a0 93 ldy #$93 9364: 20 49 94 jsr L9449 9367: 20 d6 c6 jsr LC6D6 936a: 20 7a 8c jsr L8C7A 936d: 20 87 c4 jsr LC487 9370: 20 c6 93 jsr L93C6 9373: 20 2c c4 jsr LC42C 9376: a9 13 lda #$13 9378: 85 1c sta PalDataPending 937a: e6 1f inc TitleRoutine 937c: 4c 47 c4 jmp LC447 937f: 21 .dd1 $21 9380: 4b .dd1 $4b 9381: 09 .dd1 $09 9382: 19 .dd1 $19 9383: 0a .dd1 $0a 9384: 1c .dd1 $1c 9385: 1c .dd1 $1c 9386: ff .dd1 $ff 9387: 20 .dd1 $20 9388: 18 .dd1 $18 9389: 1b .dd1 $1b 938a: 0d .dd1 $0d 938b: 23 .dd1 $23 938c: d0 .dd1 $d0 938d: 48 .dd1 $48 938e: 00 .dd1 $00 938f: 23 .dd1 $23 9390: d8 .dd1 $d8 9391: 60 .dd1 $60 9392: 55 .dd1 $55 9393: 00 .dd1 $00 9394: a5 12 T9394 lda Joy1Change 9396: 29 10 and #$10 9398: f0 03 beq L939D 939a: 4c 5e 8c jmp L8C5E 939d: 60 L939D rts 939e: 20 9f 90 T939E jsr L909F 93a1: a2 b9 ldx #$b9 93a3: a0 93 ldy #$93 93a5: 20 49 94 jsr L9449 93a8: 20 d6 c6 jsr LC6D6 93ab: 20 87 c4 jsr LC487 93ae: a9 10 lda #$10 93b0: 85 2c sta Timer3 93b2: a9 19 lda #$19 93b4: 85 1f sta TitleRoutine 93b6: 4c 47 c4 jmp LC447 93b9: 21 .dd1 $21 93ba: 8c .dd1 $8c 93bb: 09 .dd1 $09 93bc: 10 .dd1 $10 93bd: 0a .dd1 $0a 93be: 16 .dd1 $16 93bf: 0e .dd1 $0e 93c0: ff .dd1 $ff 93c1: 18 .dd1 $18 93c2: 1f .dd1 $1f 93c3: 0e .dd1 $0e 93c4: 1b .dd1 $1b 93c5: 00 .dd1 $00 93c6: 20 2c c4 L93C6 jsr LC42C 93c9: a0 05 ldy #$05 93cb: 20 f9 93 jsr L93F9 93ce: a2 a9 ldx #$a9 93d0: a0 21 ldy #$21 93d2: 20 50 94 jsr L9450 93d5: a0 0b ldy #$0b 93d7: 20 f9 93 jsr L93F9 93da: a2 b0 ldx #$b0 93dc: a0 21 ldy #$21 93de: 20 50 94 jsr L9450 93e1: a0 11 ldy #$11 93e3: 20 f9 93 jsr L93F9 93e6: a2 e9 ldx #$e9 93e8: a0 21 ldy #$21 93ea: 20 50 94 jsr L9450 93ed: a0 17 ldy #$17 93ef: 20 f9 93 jsr L93F9 93f2: a2 f0 ldx #$f0 93f4: a0 21 ldy #$21 93f6: 4c 50 94 jmp L9450 93f9: a9 16 L93F9 lda #$16 93fb: 8d 80 07 sta TileSize 93fe: a2 05 ldx #$05 9400: b9 9a 69 L9400 lda PasswordChar,y 9403: 9d 81 07 sta TileInfo0,x 9406: 88 dey 9407: ca dex 9408: 10 f6 bpl L9400 940a: 60 rts 940b: ad 02 20 L940B lda PPUStatus 940e: a0 00 ldy #$00 9410: 98 tya 9411: 85 00 sta $00 9413: 85 01 sta $01 9415: 0a L9415 asl A 9416: aa tax 9417: bd 3f 94 lda L943F,x 941a: 8d 06 20 sta PPUAddress 941d: bd 40 94 lda L9440,x 9420: 8d 06 20 sta PPUAddress 9423: a2 00 ldx #$00 9425: b9 a2 99 L9425 lda L99A2,y 9428: 8d 07 20 sta PPUIOReg 942b: a9 ff lda #$ff 942d: 8d 07 20 sta PPUIOReg 9430: c8 iny 9431: e8 inx 9432: e0 0d cpx #$0d 9434: d0 ef bne L9425 9436: e6 01 inc $01 9438: a5 01 lda $01 943a: c9 05 cmp #$05 943c: d0 d7 bne L9415 943e: 60 rts 943f: 21 L943F .dd1 $21 9440: e4 L9440 .dd1 $e4 9441: 22 .dd1 $22 9442: 24 .dd1 $24 9443: 22 .dd1 $22 9444: 64 .dd1 $64 9445: 22 .dd1 $22 9446: a4 .dd1 $a4 9447: 22 .dd1 $22 9448: e4 .dd1 $e4 9449: 86 00 L9449 stx $00 944b: 84 01 sty $01 944d: 4c 0c c3 jmp LC30C 9450: 86 00 L9450 stx $00 9452: 84 01 sty $01 9454: a2 80 ldx #$80 9456: a0 07 ldy #$07 9458: 86 02 stx $02 945a: 84 03 sty $03 945c: 4c 28 c3 jmp LC328 945f: 8e a0 07 unref_945f stx PPUStrIndex 9462: a9 00 lda #$00 9464: 9d a1 07 sta PPUDataString,x 9467: a9 01 lda #$01 9469: 85 1b sta PPUDataPending 946b: 60 rts 946c: 85 05 unref_846c sta $05 946e: 29 f0 and #$f0 9470: 4a lsr A 9471: 4a lsr A 9472: 4a lsr A 9473: 4a lsr A 9474: 20 7b 94 jsr L947B 9477: a5 05 lda $05 9479: 29 0f and #$0f 947b: 9d a1 07 L947B sta PPUDataString,x 947e: e8 inx 947f: 8a txa 9480: c9 55 cmp #$55 9482: 90 0a bcc L948E 9484: ae a0 07 ldx PPUStrIndex 9487: a9 00 L9487 lda #$00 9489: 9d a1 07 sta PPUDataString,x 948c: f0 f9 beq L9487 948e: 60 L948E rts 948f: 98 unref_948f tya 9490: 48 pha 9491: 20 c5 c2 jsr LC2C5 9494: a8 tay 9495: b9 4b 68 lda $684b,y 9498: 85 0b sta $0b 949a: b9 4a 68 lda $684a,y 949d: 85 0a sta $0a 949f: 20 da 94 jsr L94DA 94a2: a5 06 lda $06 94a4: 9d 3d 68 sta $683d,x 94a7: a5 07 lda $07 94a9: 9d 3c 68 sta $683c,x 94ac: 68 pla 94ad: a8 tay 94ae: 60 rts 94af: 98 unref_94af tya 94b0: 48 pha 94b1: 20 c5 c2 jsr LC2C5 94b4: a8 tay 94b5: b9 4d 68 lda $684d,y 94b8: 85 0b sta $0b 94ba: b9 4c 68 lda $684c,y 94bd: 85 0a sta $0a 94bf: 20 da 94 jsr L94DA 94c2: a5 06 lda $06 94c4: 9d 34 68 sta $6834,x 94c7: a5 07 lda $07 94c9: 9d 33 68 sta $6833,x 94cc: b9 42 68 lda $6842,y 94cf: 48 pha 94d0: 8a txa 94d1: 4a lsr A 94d2: a8 tay 94d3: 68 pla 94d4: 99 39 68 sta $6839,y 94d7: 68 pla 94d8: a8 tay 94d9: 60 rts 94da: a9 ff L94DA lda #$ff 94dc: 85 01 sta $01 94de: 85 02 sta $02 94e0: 85 03 sta $03 94e2: 38 sec 94e3: a5 0a L94E3 lda $0a 94e5: e9 e8 sbc #$e8 94e7: 85 0a sta $0a 94e9: a5 0b lda $0b 94eb: e9 03 sbc #$03 94ed: 85 0b sta $0b 94ef: e6 03 inc $03 94f1: b0 f0 bcs L94E3 94f3: a5 0a lda $0a 94f5: 69 e8 adc #$e8 94f7: 85 0a sta $0a 94f9: a5 0b lda $0b 94fb: 69 03 adc #$03 94fd: 85 0b sta $0b 94ff: a5 0a lda $0a 9501: 38 L9501 sec 9502: e9 64 L9502 sbc #$64 9504: e6 02 inc $02 9506: b0 fa bcs L9502 9508: c6 0b dec $0b 950a: 10 f5 bpl L9501 950c: 69 64 adc #$64 950e: 38 sec 950f: e9 0a L950F sbc #$0a 9511: e6 01 inc $01 9513: b0 fa bcs L950F 9515: 69 0a adc #$0a 9517: 85 06 sta $06 9519: a5 01 lda $01 951b: 20 c5 c2 jsr LC2C5 951e: 05 06 ora $06 9520: 85 06 sta $06 9522: a5 03 lda $03 9524: 20 c5 c2 jsr LC2C5 9527: 05 02 ora $02 9529: 85 07 sta $07 952b: 60 rts 952c: ff ff ff ff+ .junk 52 9560: 86 95 .dd2 L9586 9562: aa 95 .dd2 L9586+36 9564: ce 95 .dd2 L9586+72 9566: f2 95 .dd2 L9586+108 9568: 16 96 .dd2 L9586+144 956a: 3a 96 .dd2 L9586+180 956c: 5e 96 .dd2 L9586+216 956e: 82 96 .dd2 L9586+252 9570: a6 96 .dd2 L9586+$120 9572: ca 96 .dd2 L9586+$144 9574: ee 96 .dd2 L9586+$168 9576: 12 97 .dd2 L9586+$18c 9578: 36 97 .dd2 L9586+$1b0 957a: 5a 97 .dd2 L9586+$1d4 957c: 7e 97 .dd2 L9586+$1f8 957e: a2 97 .dd2 L9586+$21c 9580: c6 97 .dd2 L9586+$240 9582: ea 97 .dd2 L9586+$264 9584: f2 97 .dd2 L9586+$26c 9586: 3f 00 20 0f+ L9586 .bulk $3f,$00,$20,$0f,$28,$18,$08,$0f,$29,$1b,$1a,$0f,$0f,$0f,$0f,$0f + $0f,$0f,$0f,$0f,$16,$1a,$27,$0f,$37,$3a,$1b,$0f,$17,$31,$37,$0f + $32,$22,$12,$00,$3f,$00,$20,$0f,$28,$18,$08,$0f,$29,$1b,$1a,$0f + $35,$35,$04,$0f,$35,$14,$04,$0f,$16,$1a,$27,$0f,$37,$3a,$1b,$0f + $17,$31,$37,$0f,$32,$22,$12,$00,$3f,$00,$20,$0f,$28,$18,$08,$0f + $29,$1b,$1a,$0f,$39,$39,$09,$0f,$39,$29,$09,$0f,$16,$1a,$27,$0f + $37,$3a,$1b,$0f,$17,$31,$37,$0f,$32,$22,$12,$00,$3f,$00,$20,$0f + $28,$18,$08,$0f,$29,$1b,$1a,$0f,$36,$36,$06,$0f,$36,$15,$06,$0f + $16,$1a,$27,$0f,$37,$3a,$1b,$0f,$17,$31,$37,$0f,$32,$22,$12,$00 + $3f,$00,$20,$0f,$28,$18,$08,$0f,$29,$1b,$1a,$0f,$27,$27,$12,$0f + $27,$21,$12,$0f,$16,$1a,$27,$0f,$31,$20,$1b,$0f,$17,$31,$37,$0f + $32,$22,$12,$00,$3f,$00,$20,$0f,$28,$18,$08,$0f,$29,$1b,$1a,$0f + $01,$01,$0f,$0f,$01,$0f,$0f,$0f,$16,$1a,$27,$0f,$37,$3a,$1b,$0f + $17,$31,$37,$0f,$32,$22,$12,$00,$3f,$00,$20,$0f,$28,$18,$08,$0f + $29,$1b,$1a,$0f,$01,$01,$0f,$0f,$01,$01,$0f,$0f,$16,$1a,$27,$0f + $37,$3a,$1b,$0f,$17,$31,$37,$0f,$32,$22,$12,$00,$3f,$00,$20,$0f + $28,$18,$08,$0f,$29,$1b,$1a,$0f,$02,$02,$01,$0f,$02,$02,$01,$0f + $16,$1a,$27,$0f,$37,$3a,$1b,$0f,$17,$31,$37,$0f,$32,$22,$12,$00 + $3f,$00,$20,$0f,$28,$18,$08,$0f,$29,$1b,$1a,$0f,$02,$02,$01,$0f + $02,$01,$01,$0f,$16,$1a,$27,$0f,$37,$3a,$1b,$0f,$17,$31,$37,$0f + $32,$22,$12,$00,$3f,$00,$20,$0f,$28,$18,$08,$0f,$29,$1b,$1a,$0f + $12,$12,$02,$0f,$12,$12,$02,$0f,$16,$1a,$27,$0f,$37,$3a,$1b,$0f + $17,$31,$37,$0f,$32,$22,$12,$00,$3f,$00,$20,$0f,$28,$18,$08,$0f + $29,$1b,$1a,$0f,$11,$11,$02,$0f,$11,$02,$02,$0f,$16,$1a,$27,$0f + $37,$3a,$1b,$0f,$17,$31,$37,$0f,$32,$22,$12,$00,$3f,$00,$20,$0f + $28,$18,$08,$0f,$29,$1b,$1a,$0f,$31,$31,$01,$0f,$31,$11,$01,$0f + $16,$1a,$27,$0f,$37,$3a,$1b,$0f,$17,$31,$37,$0f,$32,$22,$12,$00 + $3f,$00,$20,$0f,$28,$18,$08,$0f,$12,$30,$21,$0f,$27,$28,$29,$0f + $31,$31,$01,$0f,$16,$2a,$27,$0f,$12,$30,$21,$0f,$27,$24,$2c,$0f + $15,$21,$38,$00,$3f,$00,$20,$0f,$28,$18,$08,$0f,$29,$1b,$1a,$0f + $12,$12,$01,$0f,$12,$02,$01,$0f,$16,$1a,$27,$0f,$37,$3a,$1b,$0f + $17,$31,$37,$0f,$32,$22,$12,$00,$3f,$00,$20,$0f,$28,$18,$08,$0f + $29,$1b,$1a,$0f,$02,$02,$0f,$0f,$02,$01,$0f,$0f,$16,$1a,$27,$0f + $37,$3a,$1b,$0f,$17,$31,$37,$0f,$32,$22,$12,$00,$3f,$00,$20,$0f + $28,$18,$08,$0f,$29,$1b,$1a,$0f,$01,$01,$0f,$0f,$01,$0f,$0f,$0f + $16,$1a,$27,$0f,$37,$3a,$1b,$0f,$17,$31,$37,$0f,$32,$22,$12,$00 + $3f,$00,$20,$30,$28,$18,$08,$30,$29,$1b,$1a,$30,$30,$30,$30,$30 + $30,$30,$30,$30,$16,$1a,$27,$30,$37,$3a,$1b,$30,$17,$31,$37,$30 + $32,$22,$12,$00,$3f,$00,$04,$0f,$30,$30,$21,$00,$3f,$00,$10,$0f + $30,$30,$0f,$0f,$2a,$2a,$21,$0f,$31,$31,$0f,$0f,$2a,$2a,$21,$00 + $3f,$00,$10,$0f,$2c,$2c,$2c,$0f,$2c,$2c,$2c,$0f,$2c,$2c,$2c,$0f + $2c,$2c,$2c,$3f,$10,$50,$0f,$00 981e: bd ac 6e L981E lda IntroSpr0XRun,x 9821: 20 71 98 jsr L9871 9824: bc ae 6e ldy IntroSpr0XDir,x 9827: 10 05 bpl L982E 9829: 49 ff eor #$ff 982b: 18 clc 982c: 69 01 adc #$01 982e: 18 L982E clc 982f: 7d a3 6e adc IntroSpr0XCoord,x 9832: 9d a3 6e sta IntroSpr0XCoord,x 9835: 38 sec 9836: fd a6 6e sbc IntroSpr0XChange,x 9839: 08 php 983a: 68 pla 983b: 5d ae 6e eor IntroSpr0XDir,x 983e: 4a lsr A 983f: 90 23 bcc L9864 9841: bd ad 6e lda IntroSpr0YRise,x 9844: 20 71 98 jsr L9871 9847: bc af 6e ldy IntroSpr0YDir,x 984a: 10 05 bpl L9851 984c: 49 ff eor #$ff 984e: 18 clc 984f: 69 01 adc #$01 9851: 18 L9851 clc 9852: 7d a0 6e adc IntroSpr0YCoord,x 9855: 9d a0 6e sta IntroSpr0YCoord,x 9858: 38 sec 9859: fd a7 6e sbc IntroSpr0YChange,x 985c: 08 php 985d: 68 pla 985e: 5d af 6e eor IntroSpr0YDir,x 9861: 4a lsr A 9862: b0 0c bcs L9870 9864: bd a7 6e L9864 lda IntroSpr0YChange,x 9867: 9d a0 6e sta IntroSpr0YCoord,x 986a: bd a6 6e lda IntroSpr0XChange,x 986d: 9d a3 6e sta IntroSpr0XCoord,x 9870: 60 L9870 rts 9871: 85 04 L9871 sta $04 9873: a9 08 lda #$08 9875: 85 00 sta $00 9877: 46 04 L9877 lsr $04 9879: 90 08 bcc L9883 987b: a5 2d lda FrameCount 987d: 25 00 and $00 987f: d0 02 bne L9883 9881: e6 04 inc $04 9883: 46 00 L9883 lsr $00 9885: d0 f0 bne L9877 9887: a5 04 lda $04 9889: 60 rts 988a: a5 .dd1 $a5 988b: 1f .dd1 $1f 988c: c9 .dd1 $c9 988d: 1d .dd1 $1d 988e: b0 .dd1 $b0 988f: 1d .dd1 $1d 9890: a5 .dd1 $a5 9891: c8 .dd1 $c8 9892: f0 .dd1 $f0 9893: 19 .dd1 $19 9894: a5 .dd1 $a5 9895: 2d .dd1 $2d 9896: 4a .dd1 $4a 9897: b0 .dd1 $b0 9898: 14 .dd1 $14 9899: a2 .dd1 $a2 989a: 9f .dd1 $9f 989b: de .dd1 $de 989c: 00 .dd1 $00 989d: 6e .dd1 $6e 989e: de .dd1 $de 989f: 60 .dd1 $60 98a0: 02 .dd1 $02 98a1: ca .dd1 $ca 98a2: ca .dd1 $ca 98a3: ca .dd1 $ca 98a4: ca .dd1 $ca 98a5: e0 .dd1 $e0 98a6: ff .dd1 $ff 98a7: d0 .dd1 $d0 98a8: f2 .dd1 $f2 98a9: a9 .dd1 $a9 98aa: 00 .dd1 $00 98ab: 85 .dd1 $85 98ac: c8 .dd1 $c8 98ad: 60 .dd1 $60 98ae: a0 9f L98AE ldy #$9f 98b0: b9 00 6e L98B0 lda IntroStarSprite00,y 98b3: 99 60 02 sta Sprite18RAM,y 98b6: 88 dey 98b7: c0 ff cpy #$ff 98b9: d0 f5 bne L98B0 98bb: a9 00 lda #$00 98bd: 85 c8 sta SpriteLoadPending 98bf: 60 rts 98c0: 73 cc 22 f2+ .bulk $73,$cc,$22,$f2,$48,$cd,$63,$ee,$2a,$ce,$a2,$dc,$36,$cf,$e2,$c6 + $11,$cc,$23,$b7,$53,$cd,$63,$a0,$bb,$ce,$a2,$9a,$0f,$cf,$e2,$8b + $85,$cc,$e2,$70,$9d,$cd,$a3,$6b,$a0,$ce,$63,$58,$63,$cf,$23,$4f + $0a,$cc,$22,$39,$1f,$cd,$23,$2a,$7f,$ce,$a3,$1f,$56,$cf,$a2,$03 + $4d,$cc,$e3,$af,$3e,$cd,$63,$2b,$61,$ce,$e2,$4f,$29,$cf,$62,$6f + $8a,$cc,$23,$82,$98,$cd,$a3,$07,$ae,$ce,$e2,$ca,$b6,$cf,$63,$e3 + $0f,$cc,$62,$18,$1f,$cd,$22,$38,$22,$ce,$a3,$5f,$53,$cf,$e2,$78 + $48,$cc,$e3,$94,$37,$cd,$a3,$b3,$6f,$ce,$a3,$dc,$78,$cf,$22,$fe + $83,$cc,$62,$0b,$9f,$cd,$23,$26,$a0,$ce,$62,$39,$bd,$cf,$a2,$1c + $07,$cc,$e3,$a4,$87,$cd,$63,$5d,$5a,$ce,$62,$4f,$38,$cf,$23,$85 + $3f,$00,$20,$02,$20,$1b,$3a,$02,$20,$21,$01,$02,$2c,$30,$27,$02 + $26,$31,$17,$02,$16,$19,$27,$02,$16,$20,$27,$02,$16,$20,$11,$02 + $01,$20,$21,$00,$21,$8c,$05,$1c,$1d,$0a,$1b,$1d,$21,$ec,$08,$0c + $18,$17,$1d,$12,$17,$1e,$0e,$00 9998: a2 99 L9998 .dd2 L99A2 999a: af 99 .dd2 L99A2+13 999c: bc 99 .dd2 L99A2+26 999e: c9 99 .dd2 L99A2+39 99a0: d6 99 .dd2 L99A2+52 99a2: 00 01 02 03+ L99A2 .bulk $00,$01,$02,$03,$04,$05,$06,$07,$08,$09,$0a,$0b,$0c,$0d,$0e,$0f + $10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$1a,$1b,$1c,$1d,$1e,$1f + $20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$2a,$2b,$2c,$2d,$2e,$2f + $30,$31,$32,$33,$34,$35,$36,$37,$38,$39,$3a,$3b,$3c,$3d,$3e,$3f + $ff,$20,$88,$10,$19,$0a,$1c,$1c,$ff,$20,$18,$1b,$0d,$ff,$19,$15 + $0e,$0a,$1c,$0e,$23,$c0,$50,$00,$23,$d0,$48,$55,$23,$d8,$60,$ff + $23,$da,$44,$f0,$00 9a07: a5 .dd1 $a5 9a08: 1f .dd1 $1f 9a09: c9 .dd1 $c9 9a0a: 1d .dd1 $1d 9a0b: 90 .dd1 $90 9a0c: 2b .dd1 $2b 9a0d: 20 .dd1 $20 9a0e: 45 .dd1 $45 9a0f: 9c .dd1 $9c 9a10: a5 .dd1 $a5 9a11: 7a .dd1 $7a 9a12: f0 .dd1 $f0 9a13: 10 .dd1 $10 9a14: c9 .dd1 $c9 9a15: 05 .dd1 $05 9a16: b0 .dd1 $b0 9a17: 0c .dd1 $0c 9a18: 0a .dd1 $0a 9a19: a8 .dd1 $a8 9a1a: be .dd1 $be 9a1b: b8 .dd1 $b8 9a1c: a1 .dd1 $a1 9a1d: b9 .dd1 $b9 9a1e: b9 .dd1 $b9 9a1f: a1 .dd1 $a1 9a20: a8 .dd1 $a8 9a21: 20 .dd1 $20 9a22: 0e .dd1 $0e 9a23: c2 .dd1 $c2 9a24: a5 .dd1 $a5 9a25: 81 .dd1 $81 9a26: f0 .dd1 $f0 9a27: 10 .dd1 $10 9a28: c9 .dd1 $c9 9a29: 05 .dd1 $05 9a2a: b0 .dd1 $b0 9a2b: 0c .dd1 $0c 9a2c: 0a .dd1 $0a 9a2d: a8 .dd1 $a8 9a2e: be .dd1 $be 9a2f: 63 .dd1 $63 9a30: a2 .dd1 $a2 9a31: b9 .dd1 $b9 9a32: 64 .dd1 $64 9a33: a2 .dd1 $a2 9a34: a8 .dd1 $a8 9a35: 4c .dd1 $4c 9a36: 0e .dd1 $0e 9a37: c2 .dd1 $c2 9a38: 60 L9A38 rts 9a39: a5 14 T9A39 lda Joy1Status 9a3b: 29 10 and #$10 9a3d: f0 f9 beq L9A38 9a3f: a0 11 ldy #$11 9a41: a9 00 lda #$00 9a43: 99 88 69 L9A43 sta PasswordByte00,y 9a46: 88 dey 9a47: 10 fa bpl L9A43 9a49: c8 iny 9a4a: 99 87 68 L9A4A sta UniqueItemHistory,y 9a4d: c8 iny 9a4e: d0 fa bne L9A4A 9a50: ad 78 68 lda SamusGear 9a53: 29 10 and #$10 9a55: f0 05 beq L9A5C 9a57: a9 01 lda #$01 9a59: 8d 88 69 sta PasswordByte00 9a5c: ad 78 68 L9A5C lda SamusGear 9a5f: 29 01 and #$01 9a61: f0 08 beq L9A6B 9a63: ad 88 69 lda PasswordByte00 9a66: 09 40 ora #$40 9a68: 8d 88 69 sta PasswordByte00 9a6b: ad 78 68 L9A6B lda SamusGear 9a6e: 29 20 and #$20 9a70: f0 05 beq L9A77 9a72: a9 08 lda #$08 9a74: 8d 89 69 sta PasswordByte01 9a77: ad 78 68 L9A77 lda SamusGear 9a7a: 29 02 and #$02 9a7c: f0 05 beq L9A83 9a7e: a9 01 lda #$01 9a80: 8d 8b 69 sta PasswordByte03 9a83: ad 78 68 L9A83 lda SamusGear 9a86: 29 10 and #$10 9a88: f0 08 beq L9A92 9a8a: ad 8b 69 lda PasswordByte03 9a8d: 09 04 ora #$04 9a8f: 8d 8b 69 sta PasswordByte03 9a92: ad 78 68 L9A92 lda SamusGear 9a95: 8d 91 69 sta PasswordByte09 9a98: a9 00 lda #$00 9a9a: ac b3 69 ldy JustInBailey 9a9d: f0 02 beq L9AA1 9a9f: a9 80 lda #$80 9aa1: 8d 90 69 L9AA1 sta PasswordByte08 9aa4: 4c d4 92 jmp L92D4 9aa7: 20 aa 9e T9AA7 jsr L9EAA 9aaa: a5 7b lda IsCredits 9aac: d0 12 bne L9AC0 9aae: a5 2d lda FrameCount 9ab0: 29 0f and #$0f 9ab2: d0 0c bne L9AC0 9ab4: e6 1c inc PalDataPending 9ab6: a5 1c lda PalDataPending 9ab8: c9 09 cmp #$09 9aba: d0 04 bne L9AC0 9abc: a9 01 lda #$01 9abe: 85 1c sta PalDataPending 9ac0: a5 33 L9AC0 lda RoomPtr 9ac2: 20 7c c2 jsr ChooseRoutine 9ac5: d5 9a .dd2 T9AD5 9ac7: 1c 9b .dd2 T9B1C 9ac9: 34 9b .dd2 T9B34 9acb: 93 9b .dd2 T9B93 9acd: cd 9b .dd2 T9BCD 9acf: fc 9b .dd2 T9BFC 9ad1: 39 9a .dd2 T9A39 9ad3: 5c c4 .dd2 TC45C 9ad5: 20 9f 90 T9AD5 jsr L909F 9ad8: 20 d0 c5 jsr LC5D0 9adb: a9 04 lda #$04 9add: ac b3 69 ldy JustInBailey 9ae0: d0 02 bne L9AE4 9ae2: a9 00 lda #$00 9ae4: 8d 72 68 L9AE4 sta EndingType 9ae7: 0a asl A 9ae8: 85 7d sta OnFrozenEnemy 9aea: a2 52 ldx #$52 9aec: a0 a0 ldy #$a0 9aee: 20 0e c2 jsr LC20E 9af1: 20 87 c4 jsr LC487 9af4: a9 20 lda #$20 9af6: 8d 84 06 sta MultiSFXFlag 9af9: a9 60 lda #$60 9afb: 85 2c sta Timer3 9afd: a9 36 lda #$36 9aff: 85 7c sta SpriteByteCounter 9b01: a9 00 lda #$00 9b03: 85 7e sta SpriteAttribByte 9b05: 85 7f sta ColorCntIndex 9b07: 85 7b sta IsCredits 9b09: 85 7a sta EndMsgWrite 9b0b: 85 81 sta HideShowEndMsg 9b0d: 85 80 sta CreditPageNumber 9b0f: a9 01 lda #$01 9b11: 85 1c sta PalDataPending 9b13: a9 08 lda #$08 9b15: 85 82 sta ClrChangeCounter 9b17: e6 33 inc RoomPtr 9b19: 4c 47 c4 jmp LC447 9b1c: 20 9a 9c T9B1C jsr L9C9A 9b1f: a5 2c lda Timer3 9b21: d0 03 bne L9B26 9b23: e6 33 inc RoomPtr 9b25: 60 rts 9b26: c9 50 L9B26 cmp #$50 9b28: d0 03 bne L9B2D 9b2a: e6 7a inc EndMsgWrite 9b2c: 60 rts 9b2d: c9 01 L9B2D cmp #$01 9b2f: d0 02 bne L9B33 9b31: e6 81 inc HideShowEndMsg 9b33: 60 L9B33 rts 9b34: a5 2d T9B34 lda FrameCount 9b36: 29 1f and #$1f 9b38: d0 2f bne L9B69 9b3a: e6 7f inc ColorCntIndex 9b3c: a5 7f lda ColorCntIndex 9b3e: c9 08 cmp #$08 9b40: d0 10 bne L9B52 9b42: 20 f5 ca jsr LCAF5 9b45: 20 7a 8c jsr L8C7A 9b48: ad 72 68 lda EndingType 9b4b: 0a asl A 9b4c: 85 7d sta OnFrozenEnemy 9b4e: a9 36 lda #$36 9b50: 85 7c sta SpriteByteCounter 9b52: c9 10 L9B52 cmp #$10 9b54: d0 13 bne L9B69 9b56: 85 2c sta Timer3 9b58: a0 00 ldy #$00 9b5a: ad 72 68 lda EndingType 9b5d: c9 04 cmp #$04 9b5f: 90 01 bcc L9B62 9b61: c8 iny 9b62: 84 7e L9B62 sty SpriteAttribByte 9b64: e6 33 inc RoomPtr 9b66: 4c a3 c1 jmp LC1A3 9b69: c6 82 L9B69 dec ClrChangeCounter 9b6b: d0 13 bne L9B80 9b6d: a4 7f ldy ColorCntIndex 9b6f: b9 83 9b lda L9B83,y 9b72: 85 82 sta ClrChangeCounter 9b74: e6 7e inc SpriteAttribByte 9b76: a5 7e lda SpriteAttribByte 9b78: c9 03 cmp #$03 9b7a: d0 04 bne L9B80 9b7c: a9 00 lda #$00 9b7e: 85 7e sta SpriteAttribByte 9b80: 4c 9a 9c L9B80 jmp L9C9A 9b83: 08 L9B83 .dd1 $08 9b84: 07 .dd1 $07 9b85: 06 .dd1 $06 9b86: 05 .dd1 $05 9b87: 04 .dd1 $04 9b88: 03 .dd1 $03 9b89: 02 .dd1 $02 9b8a: 01 .dd1 $01 9b8b: 01 .dd1 $01 9b8c: 02 .dd1 $02 9b8d: 03 .dd1 $03 9b8e: 04 .dd1 $04 9b8f: 05 .dd1 $05 9b90: 06 .dd1 $06 9b91: 07 .dd1 $07 9b92: 08 .dd1 $08 9b93: a5 2c T9B93 lda Timer3 9b95: d0 0b bne L9BA2 9b97: a9 10 lda #$10 9b99: 85 2c sta Timer3 9b9b: a9 08 lda #$08 9b9d: 85 1c sta PalDataPending 9b9f: e6 33 inc RoomPtr 9ba1: 60 rts 9ba2: ad 72 68 L9BA2 lda EndingType 9ba5: c9 04 cmp #$04 9ba7: b0 03 bcs L9BAC 9ba9: 4c 9a 9c jmp L9C9A 9bac: e9 04 L9BAC sbc #$04 9bae: 0a asl A 9baf: 0a asl A 9bb0: 85 83 sta WaveSpritePointer 9bb2: a5 2d lda FrameCount 9bb4: 29 08 and #$08 9bb6: d0 06 bne L9BBE 9bb8: a0 10 ldy #$10 9bba: 84 84 sty WaveSpriteCounter 9bbc: d0 08 bne L9BC6 9bbe: e6 83 L9BBE inc WaveSpritePointer 9bc0: e6 83 inc WaveSpritePointer 9bc2: a0 10 ldy #$10 9bc4: 84 84 sty WaveSpriteCounter 9bc6: a9 2d L9BC6 lda #$2d 9bc8: 85 7c sta SpriteByteCounter 9bca: 4c 7f 9c jmp L9C7F 9bcd: a5 2c T9BCD lda Timer3 9bcf: d0 1e bne L9BEF 9bd1: a5 7b lda IsCredits 9bd3: d0 06 bne L9BDB 9bd5: a9 08 lda #$08 9bd7: 85 1c sta PalDataPending 9bd9: e6 7b inc IsCredits 9bdb: a5 2d L9BDB lda FrameCount 9bdd: 29 07 and #$07 9bdf: d0 0e bne L9BEF 9be1: e6 1c inc PalDataPending 9be3: a5 1c lda PalDataPending 9be5: c9 0c cmp #$0c 9be7: d0 06 bne L9BEF 9be9: a9 10 lda #$10 9beb: 85 2c sta Timer3 9bed: e6 33 inc RoomPtr 9bef: ad 72 68 L9BEF lda EndingType 9bf2: c9 04 cmp #$04 9bf4: b0 03 bcs L9BF9 9bf6: 4c 9a 9c jmp L9C9A 9bf9: 4c 7f 9c L9BF9 jmp L9C7F 9bfc: a5 2c T9BFC lda Timer3 9bfe: f0 17 beq L9C17 9c00: c9 02 cmp #$02 9c02: d0 40 bne L9C44 9c04: 20 39 c4 jsr LC439 9c07: 20 6d c1 jsr LC16D 9c0a: 20 a3 c1 jsr LC1A3 9c0d: a9 0d lda #$0d 9c0f: 85 1c sta PalDataPending 9c11: 20 47 c4 jsr LC447 9c14: 4c 3f c4 jmp LC43F 9c17: a5 80 L9C17 lda CreditPageNumber 9c19: d0 02 bne L9C1D 9c1b: e6 80 inc CreditPageNumber 9c1d: c9 06 L9C1D cmp #$06 9c1f: d0 09 bne L9C2A 9c21: a5 fc lda ScrollY 9c23: c9 88 cmp #$88 9c25: 90 03 bcc L9C2A 9c27: e6 33 inc RoomPtr 9c29: 60 rts 9c2a: a5 2d L9C2A lda FrameCount 9c2c: 29 03 and #$03 9c2e: d0 14 bne L9C44 9c30: e6 fc inc ScrollY 9c32: a5 fc lda ScrollY 9c34: c9 f0 cmp #$f0 9c36: d0 0c bne L9C44 9c38: e6 80 inc CreditPageNumber 9c3a: a9 00 lda #$00 9c3c: 85 fc sta ScrollY 9c3e: a5 ff lda PPUCNT0ZP 9c40: 49 02 eor #$02 9c42: 85 ff sta PPUCNT0ZP 9c44: 60 L9C44 rts 9c45: a4 .dd1 $a4 9c46: 80 .dd1 $80 9c47: f0 .dd1 $f0 9c48: 35 .dd1 $35 9c49: c0 .dd1 $c0 9c4a: 07 .dd1 $07 9c4b: b0 .dd1 $b0 9c4c: 31 .dd1 $31 9c4d: a2 .dd1 $a2 9c4e: 00 .dd1 $00 9c4f: a5 .dd1 $a5 9c50: fc .dd1 $fc 9c51: 10 .dd1 $10 9c52: 04 .dd1 $04 9c53: e8 .dd1 $e8 9c54: 38 .dd1 $38 9c55: e9 .dd1 $e9 9c56: 80 .dd1 $80 9c57: c9 .dd1 $c9 9c58: 04 .dd1 $04 9c59: b0 .dd1 $b0 9c5a: 23 .dd1 $23 9c5b: 85 .dd1 $85 9c5c: 01 .dd1 $01 9c5d: 88 .dd1 $88 9c5e: 8a .dd1 $8a 9c5f: d0 .dd1 $d0 9c60: 0b .dd1 $0b 9c61: 88 .dd1 $88 9c62: 30 .dd1 $30 9c63: 1a .dd1 $1a 9c64: 98 .dd1 $98 9c65: 0a .dd1 $0a 9c66: 0a .dd1 $0a 9c67: 0a .dd1 $0a 9c68: 69 .dd1 $69 9c69: 04 .dd1 $04 9c6a: d0 .dd1 $d0 9c6b: 04 .dd1 $04 9c6c: 98 .dd1 $98 9c6d: 0a .dd1 $0a 9c6e: 0a .dd1 $0a 9c6f: 0a .dd1 $0a 9c70: 65 .dd1 $65 9c71: 01 .dd1 $01 9c72: 0a .dd1 $0a 9c73: a8 .dd1 $a8 9c74: be .dd1 $be 9c75: 91 .dd1 $91 9c76: a2 .dd1 $a2 9c77: b9 .dd1 $b9 9c78: 92 .dd1 $92 9c79: a2 .dd1 $a2 9c7a: a8 .dd1 $a8 9c7b: 4c .dd1 $4c 9c7c: 0e .dd1 $0e 9c7d: c2 .dd1 $c2 9c7e: 60 .dd1 $60 9c7f: a6 83 L9C7F ldx WaveSpritePointer 9c81: bd 12 9d lda L9CFA+24,x 9c84: 85 00 sta $00 9c86: bd 13 9d lda L9CFA+25,x 9c89: 85 01 sta $01 9c8b: a2 20 ldx #$20 9c8d: a0 00 ldy #$00 9c8f: b1 00 L9C8F lda ($00),y 9c91: 9d 00 02 sta Sprite00RAM,x 9c94: e8 inx 9c95: c8 iny 9c96: c4 84 cpy WaveSpriteCounter 9c98: d0 f5 bne L9C8F 9c9a: a2 30 L9C9A ldx #$30 9c9c: a4 7d ldy OnFrozenEnemy 9c9e: b9 5a 9d lda L9D5A,y 9ca1: 85 00 sta $00 9ca3: b9 5b 9d lda L9D5A+1,y 9ca6: 85 01 sta $01 9ca8: a0 00 ldy #$00 9caa: b1 00 L9CAA lda ($00),y 9cac: 9d 00 02 sta Sprite00RAM,x 9caf: e8 inx 9cb0: c8 iny 9cb1: b1 00 lda ($00),y 9cb3: 10 0b bpl L9CC0 9cb5: 29 7f and #$7f 9cb7: 9d 00 02 sta Sprite00RAM,x 9cba: a5 7e lda SpriteAttribByte 9cbc: 49 40 eor #$40 9cbe: d0 05 bne L9CC5 9cc0: 9d 00 02 L9CC0 sta Sprite00RAM,x 9cc3: a5 7e lda SpriteAttribByte 9cc5: e8 L9CC5 inx 9cc6: 9d 00 02 sta Sprite00RAM,x 9cc9: c8 iny 9cca: e8 inx 9ccb: b1 00 lda ($00),y 9ccd: 9d 00 02 sta Sprite00RAM,x 9cd0: c8 iny 9cd1: e8 inx 9cd2: c4 7c cpy SpriteByteCounter 9cd4: d0 d4 bne L9CAA 9cd6: a5 33 lda RoomPtr 9cd8: c9 02 cmp #$02 9cda: 90 1d bcc L9CF9 9cdc: a5 7f lda ColorCntIndex 9cde: c9 08 cmp #$08 9ce0: 90 17 bcc L9CF9 9ce2: ad 72 68 lda EndingType 9ce5: c9 03 cmp #$03 9ce7: d0 10 bne L9CF9 9ce9: a0 00 ldy #$00 9ceb: a2 00 ldx #$00 9ced: b9 fa 9c L9CED lda L9CFA,y 9cf0: 9d 00 02 sta Sprite00RAM,x 9cf3: c8 iny 9cf4: e8 inx 9cf5: c0 18 cpy #$18 9cf7: d0 f4 bne L9CED 9cf9: 60 L9CF9 rts 9cfa: 93 36 01 70+ L9CFA .bulk $93,$36,$01,$70,$93,$37,$01,$78,$93,$38,$01,$80,$9b,$46,$01,$70 + $9b,$47,$01,$78,$9b,$48,$01,$80,$1a,$9d,$2a,$9d,$3a,$9d,$4a,$9d + $9b,$1f,$01,$80,$a3,$2f,$01,$80,$ab,$3f,$01,$80,$f4,$3f,$01,$80 + $9b,$2a,$01,$80,$9b,$2b,$01,$88,$a3,$3a,$01,$80,$ab,$3f,$01,$80 + $9b,$0c,$01,$80,$a3,$1c,$01,$80,$ab,$3f,$01,$80,$f4,$3f,$01,$80 + $9b,$4a,$01,$80,$9b,$4b,$01,$88,$a3,$4d,$01,$80,$ab,$3f,$01,$80 9d5a: 66 9d L9D5A .dd2 L9D66 9d5c: 9c 9d .dd2 L9D66+54 9d5e: d2 9d .dd2 L9D66+108 9d60: 08 9e .dd2 L9D66+162 9d62: 3e 9e .dd2 L9D66+216 9d64: 74 9e .dd2 L9D66+$10e 9d66: 93 00 70 93+ L9D66 .bulk $93,$00,$70,$93,$01,$78,$93,$80,$80,$9b,$10,$70,$9b,$11,$78,$9b + $90,$80,$a3,$20,$70,$a3,$21,$78,$a3,$22,$80,$ab,$30,$70,$ab,$31 + $78,$ab,$32,$80,$b3,$40,$70,$b3,$41,$78,$b3,$c0,$80,$bb,$50,$70 + $bb,$49,$78,$bb,$d0,$80,$93,$02,$70,$93,$03,$78,$93,$04,$80,$9b + $12,$70,$9b,$13,$78,$9b,$14,$80,$a3,$05,$70,$a3,$06,$78,$a3,$07 + $80,$ab,$15,$70,$ab,$16,$78,$ab,$17,$80,$b3,$08,$70,$b3,$09,$78 + $b3,$88,$80,$bb,$18,$70,$bb,$19,$78,$bb,$98,$80,$93,$00,$70,$93 + $01,$78,$93,$34,$80,$9b,$10,$70,$9b,$11,$78,$9b,$44,$80,$a3,$20 + $70,$a3,$21,$78,$a3,$33,$80,$ab,$30,$70,$ab,$31,$78,$ab,$43,$80 + $b3,$40,$70,$b3,$41,$78,$b3,$c0,$80,$bb,$50,$70,$bb,$49,$78,$bb + $d0,$80,$93,$0d,$70,$93,$0e,$78,$93,$0f,$80,$9b,$35,$70,$9b,$27 + $78,$9b,$28,$80,$a3,$20,$70,$a3,$21,$78,$a3,$22,$80,$ab,$30,$70 + $ab,$31,$78,$ab,$32,$80,$b3,$40,$70,$b3,$41,$78,$b3,$c0,$80,$bb + $50,$70,$bb,$49,$78,$bb,$d0,$80,$93,$0d,$70,$93,$0e,$78,$93,$0f + $80,$9b,$1d,$70,$9b,$1e,$78,$a3,$2d,$70,$a3,$2e,$78,$ab,$3d,$70 + $ab,$3e,$78,$b3,$08,$70,$b3,$4e,$78,$b3,$4f,$80,$bb,$45,$70,$bb + $3b,$78,$bb,$51,$80,$9b,$29,$80,$a3,$39,$80,$ab,$4c,$80,$93,$0d + $70,$93,$0e,$78,$93,$0f,$80,$9b,$0a,$70,$9b,$0b,$78,$a3,$1a,$70 + $a3,$1b,$78,$ab,$3d,$70,$ab,$3e,$78,$b3,$08,$70,$b3,$4e,$78,$b3 + $4f,$80,$bb,$45,$70,$bb,$3b,$78,$bb,$51,$80,$9b,$2c,$80,$a3,$3c + $80,$ab,$4c,$80 9eaa: a0 00 L9EAA ldy #$00 9eac: b9 b8 9e L9EAC lda L9EB8,y 9eaf: 99 70 02 sta Sprite1CRAM,y 9eb2: c8 iny 9eb3: c0 9c cpy #$9c 9eb5: d0 f5 bne L9EAC 9eb7: 60 rts 9eb8: 08 23 22 10+ L9EB8 .bulk $08,$23,$22,$10,$68,$23,$23,$60,$00,$23,$22,$60,$7f,$23,$23,$6a + $7f,$23,$22,$d4,$33,$23,$23,$b2,$93,$23,$22,$47,$b3,$23,$23,$95 + $0b,$23,$22,$e2,$1c,$23,$23,$34,$84,$23,$22,$18,$b2,$23,$23,$ee + $40,$23,$22,$22,$5a,$23,$23,$68,$1a,$23,$22,$90,$aa,$23,$23,$22 + $81,$24,$22,$88,$6a,$24,$23,$d0,$a8,$24,$22,$a0,$10,$24,$23,$70 + $15,$25,$22,$42,$4a,$25,$23,$7d,$30,$25,$22,$50,$5a,$25,$23,$49 + $50,$25,$22,$b9,$91,$25,$23,$b0,$19,$25,$22,$c0,$53,$25,$23,$ba + $a4,$25,$22,$d6,$98,$25,$23,$1a,$68,$25,$22,$0c,$97,$25,$23,$ea + $33,$25,$22,$92,$43,$25,$23,$65,$ac,$25,$22,$4a,$2a,$25,$23,$71 + $7c,$26,$22,$b2,$73,$26,$23,$e7,$0c,$26,$22,$aa 9f54: a5 1c TitleFunc lda PalDataPending 9f56: f0 28 beq L9F80 9f58: c9 0c cmp #$0c 9f5a: f0 24 beq L9F80 9f5c: c9 0d cmp #$0d 9f5e: d0 04 bne L9F64 9f60: a0 00 ldy #$00 9f62: 84 1c sty PalDataPending 9f64: 0a L9F64 asl A 9f65: a8 tay 9f66: b9 80 9f lda L9F80,y 9f69: be 7f 9f ldx L9F81-2,y 9f6c: a8 tay 9f6d: 20 0e c2 jsr LC20E 9f70: a9 3f lda #$3f 9f72: 8d 06 20 sta PPUAddress 9f75: a9 00 lda #$00 9f77: 8d 06 20 sta PPUAddress 9f7a: 8d 06 20 sta PPUAddress 9f7d: 8d 06 20 sta PPUAddress 9f80: 60 L9F80 rts 9f81: 9b 9f L9F81 .dd2 L9F9B 9f83: bf 9f .dd2 L9F9B+36 9f85: cb 9f .dd2 L9F9B+48 9f87: d7 9f .dd2 L9F9B+60 9f89: e3 9f .dd2 L9F9B+72 9f8b: ef 9f .dd2 L9F9B+84 9f8d: fb 9f .dd2 L9F9B+96 9f8f: 07 a0 .dd2 L9F9B+108 9f91: 13 a0 .dd2 L9F9B+120 9f93: 2e a0 .dd2 L9F9B+147 9f95: 49 a0 .dd2 L9F9B+174 9f97: 49 a0 .dd2 L9F9B+174 9f99: 06 98 .dd2 L9586+$280 9f9b: 3f 00 20 0f+ L9F9B .bulk $3f,$00,$20,$0f,$21,$11,$02,$0f,$29,$1b,$1a,$0f,$27,$28,$29,$0f + $28,$18,$08,$0f,$16,$19,$27,$0f,$36,$15,$17,$0f,$12,$21,$20,$0f + $35,$12,$16,$00,$3f,$18,$08,$0f,$10,$20,$30,$0f,$0f,$0f,$0f,$00 + $3f,$18,$08,$0f,$12,$22,$32,$0f,$0b,$1b,$2b,$00,$3f,$18,$08,$0f + $14,$24,$34,$0f,$09,$19,$29,$00,$3f,$18,$08,$0f,$16,$26,$36,$0f + $07,$17,$27,$00,$3f,$18,$08,$0f,$18,$28,$38,$0f,$05,$15,$25,$00 + $3f,$18,$08,$0f,$1a,$2a,$3a,$0f,$03,$13,$13,$00,$3f,$18,$08,$0f + $1c,$2c,$3c,$0f,$01,$11,$21,$00,$3f,$0c,$04,$0f,$18,$08,$07,$3f + $10,$10,$0f,$26,$05,$07,$0f,$26,$05,$07,$0f,$01,$01,$05,$0f,$13 + $1c,$0c,$00,$3f,$0c,$04,$0f,$08,$07,$0f,$3f,$10,$10,$0f,$06,$08 + $0f,$0f,$06,$08,$0f,$0f,$00,$10,$0f,$0f,$01,$0c,$0f,$00,$3f,$0c + $44,$0f,$3f,$10,$50,$0f,$00,$23,$00,$20,$30,$31,$30,$31,$30,$31 + $30,$31,$30,$31,$30,$31,$30,$31,$30,$31,$30,$31,$30,$31,$30,$31 + $30,$31,$30,$31,$30,$31,$30,$31,$30,$31,$23,$20,$20,$32,$33,$32 + $33,$32,$33,$32,$33,$32,$33,$32,$33,$32,$33,$32,$33,$32,$33,$32 + $33,$32,$33,$32,$33,$32,$33,$32,$33,$32,$33,$32,$33,$23,$40,$20 + $34,$35,$34,$35,$34,$35,$34,$35,$34,$35,$34,$35,$34,$35,$34,$35 + $34,$35,$34,$35,$34,$35,$34,$35,$34,$35,$34,$35,$34,$35,$34,$35 + $23,$60,$20,$36,$37,$36,$37,$36,$37,$36,$37,$36,$37,$36,$37,$36 + $37,$36,$37,$36,$37,$36,$37,$36,$37,$36,$37,$36,$37,$36,$37,$36 + $37,$36,$37,$23,$80,$20,$38,$39,$38,$39,$38,$39,$38,$39,$38,$39 + $38,$39,$38,$39,$38,$39,$38,$39,$38,$39,$38,$39,$38,$39,$38,$39 + $38,$39,$38,$39,$38,$39,$23,$a0,$20,$3a,$3b,$3a,$3b,$3a,$3b,$3a + $3b,$3a,$3b,$3a,$3b,$3a,$3b,$3a,$3b,$3a,$3b,$3a,$3b,$3a,$3b,$3a + $3b,$3a,$3b,$3a,$3b,$3a,$3b,$3a,$3b,$23,$f0,$50,$ff,$28,$2e,$05 + $1c,$1d,$0a,$0f,$0f,$28,$a8,$13,$1c,$0c,$0e,$17,$0a,$1b,$12,$18 + $ff,$20,$1b,$12,$1d,$1d,$0e,$17,$ff,$0b,$22,$28,$ee,$05,$14,$0a + $17,$18,$11,$29,$66,$15,$0c,$11,$0a,$1b,$0a,$0c,$1d,$0e,$1b,$ff + $0d,$0e,$1c,$12,$10,$17,$0e,$0d,$ff,$0b,$22,$29,$ac,$08,$14,$12 + $22,$18,$1d,$0a,$14,$0e,$2a,$2b,$0c,$17,$0e,$20,$ff,$16,$0a,$1d + $1c,$1e,$18,$14,$0a,$2a,$6c,$09,$1c,$11,$12,$14,$0a,$16,$18,$1d + $18,$2a,$ec,$08,$16,$1e,$1c,$12,$0c,$ff,$0b,$22,$2b,$2b,$0a,$11 + $12,$19,$ff,$1d,$0a,$17,$0a,$14,$0a,$2b,$a7,$12,$ff,$16,$0a,$12 + $17,$ff,$19,$1b,$18,$10,$1b,$0a,$16,$16,$0e,$1b,$1c,$ff,$00,$c2 + $a1,$eb,$a1,$0f,$a2,$40,$a2,$20,$6d,$08,$10,$1b,$0e,$0a,$1d,$ff + $3f,$3f,$20,$c3,$1a,$22,$18,$1e,$ff,$0f,$1e,$15,$0f,$12,$15,$0e + $0d,$ff,$22,$18,$1e,$1b,$ff,$16,$12,$1c,$1c,$12,$18,$17,$07,$00 + $21,$03,$17,$12,$1d,$ff,$20,$12,$15,$15,$ff,$1b,$0e,$1f,$12,$1f + $0e,$ff,$19,$0e,$0a,$0c,$0e,$ff,$12,$17,$21,$42,$06,$1c,$19,$0a + $0c,$0e,$07,$00,$21,$83,$18,$0b,$1e,$1d,$00,$12,$1d,$ff,$16,$0a + $22,$ff,$0b,$0e,$ff,$12,$17,$1f,$0a,$0d,$0e,$0d,$ff,$0b,$22,$21 + $c2,$12,$1d,$11,$0e,$ff,$18,$1d,$11,$0e,$1b,$ff,$16,$0e,$1d,$1b + $18,$12,$0d,$07,$00,$22,$03,$18,$19,$1b,$0a,$22,$ff,$0f,$18,$1b + $ff,$0a,$ff,$1d,$1b,$1e,$0e,$ff,$19,$0e,$0a,$0c,$0e,$ff,$12,$17 + $22,$42,$06,$1c,$19,$0a,$0c,$0e,$3f,$00,$6d,$a2,$76,$a2,$7f,$a2 + $88,$a2,$20,$6d,$48,$ff,$20,$c3,$5a,$ff,$00,$21,$03,$57,$ff,$21 + $42,$4a,$ff,$00,$21,$83,$58,$ff,$21,$c2,$52,$ff,$00,$22,$03,$58 + $ff,$22,$42,$4a,$ff,$00,$e9,$a2,$fb,$a2,$1a,$a3,$1b,$a3,$2d,$a3 + $39,$a3,$4f,$a3,$62,$a3,$75,$a3,$84,$a3,$9f,$a3,$aa,$a3,$c8,$a3 + $d8,$a3,$f1,$a3,$12,$a4,$17,$a4,$26,$a4,$42,$a4,$6b,$a4,$70,$a4 + $93,$a4,$9c,$a4,$ad,$a4,$bd,$a4,$cd,$a4,$d2,$a4,$d7,$a4,$dc,$a4 + $e1,$a4,$e6,$a4,$eb,$a4,$ef,$a4,$f0,$a4,$08,$a5,$1a,$a5,$1f,$a5 + $24,$a5,$1f,$a5,$24,$a5,$38,$a5,$3d,$a5,$38,$a5,$3d,$a5,$20,$2c + $0a,$11,$0a,$12,$ff,$22,$1e,$14,$0a,$16,$12,$23,$c0,$60,$00,$00 + $20,$6a,$0d,$23,$0a,$1b,$1e,$ff,$1c,$18,$0b,$0a,$13,$12,$16,$0a + $20,$ab,$0b,$10,$19,$23,$ff,$1c,$0e,$17,$10,$18,$14,$1e,$00,$00 + $21,$6a,$0a,$17,$07,$1c,$11,$12,$18,$1d,$0a,$17,$12,$23,$e0,$60 + $00,$00,$21,$eb,$08,$16,$07,$11,$18,$1e,$0d,$0a,$12,$00,$22,$a7 + $12,$1c,$19,$0e,$0c,$12,$0a,$15,$ff,$1d,$11,$0a,$17,$14,$1c,$ff + $ff,$1d,$18,$00,$22,$ec,$08,$14,$0e,$17,$ff,$23,$1e,$1b,$12,$23 + $2e,$04,$1c,$1e,$16,$12,$00,$23,$6c,$07,$12,$17,$1e,$1c,$0a,$20 + $0a,$23,$ad,$05,$14,$0a,$0c,$11,$18,$00,$28,$28,$4e,$ff,$28,$6c + $07,$11,$22,$0a,$14,$14,$0a,$17,$00,$28,$a8,$13,$ff,$ff,$ff,$ff + $ff,$10,$18,$22,$0a,$14,$0e,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$28 + $e8,$4f,$ff,$00,$29,$2c,$07,$11,$0a,$1b,$0a,$0d,$0a,$ff,$00,$29 + $66,$16,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$19,$0e,$17,$19,$0e,$17,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$29,$a8,$4f,$ff,$00,$29,$ea,$0c + $0c,$18,$17,$1f,$0e,$1b,$1d,$0e,$0d,$ff,$0b,$22,$00,$2a,$26,$11 + $ff,$ff,$ff,$ff,$ff,$1d,$07,$17,$0a,$1b,$12,$11,$12,$1b,$18,$ff + $ff,$2a,$67,$51,$ff,$00,$2a,$eb,$0b,$0a,$1c,$1c,$12,$1c,$1d,$0e + $0d,$ff,$0b,$22,$2b,$28,$0f,$ff,$ff,$ff,$16,$0a,$14,$18,$1d,$18 + $ff,$14,$0a,$17,$18,$11,$00,$2b,$a6,$53,$ff,$00,$20,$2b,$0b,$0d + $12,$1b,$0e,$0c,$1d,$0e,$0d,$ff,$0b,$22,$00,$20,$67,$14,$ff,$ff + $ff,$ff,$ff,$22,$0a,$16,$0a,$16,$18,$1d,$18,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$20,$aa,$4e,$ff,$00,$21,$27,$11,$ff,$ff,$0c,$11,$12,$0e + $0f,$ff,$0d,$12,$1b,$0e,$0c,$1d,$18,$1b,$ff,$21,$68,$11,$ff,$ff + $1c,$0a,$1d,$18,$1b,$1e,$ff,$18,$14,$0a,$0d,$0a,$ff,$ff,$ff,$00 + $21,$e6,$58,$ff,$00,$22,$2b,$10,$19,$1b,$18,$0d,$1e,$0c,$0e,$0d + $ff,$0b,$22,$ff,$ff,$ff,$ff,$ff,$22,$6a,$0c,$10,$1e,$17,$19,$0e + $12,$ff,$22,$18,$14,$18,$12,$00,$22,$a6,$53,$ff,$22,$e8,$4f,$ff + $00,$23,$29,$4d,$ff,$23,$4b,$09,$0c,$18,$19,$22,$1b,$12,$10,$11 + $1d,$00,$23,$6b,$4a,$ff,$23,$8e,$04,$01,$09,$08,$06,$23,$a8,$4f + $ff,$00,$28,$0c,$08,$17,$12,$17,$1d,$0e,$17,$0d,$18,$28,$66,$51 + $ff,$00,$28,$aa,$4c,$ff,$00,$29,$26,$5b,$ff,$00,$29,$67,$52,$ff + $00,$29,$e6,$54,$ff,$00,$2a,$28,$55,$ff,$00,$2a,$e6,$50,$ff,$00 + $2b,$29,$4e,$ff,$00,$20,$26,$14,$ff,$ff,$ff,$ff,$ff,$24,$25,$26 + $27,$ff,$ff,$2c,$2d,$2e,$2f,$ff,$ff,$ff,$ff,$ff,$00,$20,$4b,$0a + $28,$29,$2a,$2b,$ff,$ff,$02,$03,$04,$05,$20,$6a,$4c,$ff,$00,$21 + $26,$53,$ff,$00,$21,$6a,$4c,$ff,$00,$21,$88,$11,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$22,$26,$4b + $ff,$00,$00 a53e: ff ff ff ff+ .bulk $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$08,$ff,$08,$ff,$ff + $ff,$ff,$ff,$ff,$08,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$2c,$2b,$27,$15,$15,$16,$14,$13,$04,$ff,$06,$08,$0a + $1a,$29,$29,$28,$2e,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$08,$ff + $ff,$0e,$ff,$01,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$06,$ff,$03,$1f,$23 + $25,$24,$26,$20,$1e,$1f,$21,$21,$07,$22,$1d,$1b,$21,$20,$04,$ff + $ff,$10,$ff,$0e,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$06,$ff,$06,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$02,$ff + $ff,$10,$ff,$0b,$ff,$ff,$08,$0a,$1a,$29,$28,$04,$ff,$06,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$08,$0a,$1a,$29,$29,$28,$04,$ff + $ff,$10,$ff,$0b,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$06,$ff,$06,$ff,$ff + $ff,$ff,$08,$ff,$ff,$ff,$08,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$06,$ff + $ff,$10,$ff,$0f,$11,$13,$14,$14,$13,$12,$0d,$03,$00,$05,$0c,$0e + $0e,$0d,$10,$0c,$0f,$0d,$10,$0c,$0e,$1b,$0f,$0e,$0f,$0d,$04,$ff + $ff,$10,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$0c,$06,$ff,$06,$ff,$ff + $ff,$ff,$11,$ff,$ff,$ff,$06,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$08,$ff + $ff,$10,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$0c,$06,$ff,$06,$ff,$ff + $ff,$ff,$11,$0a,$1a,$28,$04,$ff,$06,$ff,$ff,$ff,$ff,$ff,$06,$ff + $ff,$10,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$0c,$06,$ff,$06,$ff,$ff + $ff,$ff,$08,$ff,$ff,$ff,$08,$ff,$08,$1b,$06,$19,$19,$2a,$0b,$ff + $ff,$0f,$04,$03,$02,$05,$06,$07,$08,$09,$0a,$06,$ff,$03,$12,$14 + $15,$14,$07,$16,$15,$13,$0b,$ff,$0c,$07,$19,$19,$19,$2a,$0e,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$06,$ff,$08,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$01,$ff,$0a,$1b,$04,$0f,$06,$2a,$0e,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$06,$ff,$06,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$02,$ff,$06,$ff,$ff,$ff,$ff,$ff,$09,$ff + $ff,$08,$17,$09,$14,$13,$18,$12,$14,$19,$13,$04,$ff,$08,$1d,$1f + $06,$1f,$19,$1e,$1e,$1c,$03,$28,$29,$29,$29,$2b,$29,$2a,$0e,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$06,$ff,$ff,$ff,$ff,$08,$ff,$08,$1d,$1f + $1e,$19,$07,$19,$19,$2c,$06,$06,$2b,$2b,$1a,$1a,$1a,$2a,$0b,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$06,$ff,$0b,$ff,$ff,$0b,$ff,$06,$07,$04 + $0f,$10,$0b,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$09,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$06,$ff,$07,$17,$18,$0c,$ff,$08,$21,$25 + $25,$22,$03,$21,$25,$20,$00,$27,$2c,$2c,$06,$04,$0f,$10,$0e,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$03,$1c,$07,$17,$18,$0c,$ff,$0a,$21,$23 + $25,$22,$03,$21,$24,$24,$24,$23,$23,$06,$24,$25,$22,$11,$2d,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$08,$01,$07,$17,$18,$0c,$ff,$09,$ff,$ff + $ff,$06,$06,$ff,$ff,$ff,$ff,$ff,$ff,$07,$26,$25,$22,$0b,$2d,$ff + $ff,$0b,$ff,$ff,$ff,$ff,$ff,$02,$0b,$ff,$ff,$08,$ff,$0a,$12,$14 + $13,$03,$12,$15,$13,$0d,$12,$14,$06,$14,$18,$15,$19,$07,$09,$ff + $ff,$09,$17,$1c,$10,$19,$18,$03,$13,$10,$18,$0c,$ff,$06,$ff,$ff + $ff,$09,$04,$0f,$10,$0b,$ff,$ff,$08,$12,$16,$16,$16,$13,$0e,$ff + $ff,$0a,$17,$1c,$1c,$1c,$18,$03,$13,$19,$12,$0b,$ff,$00,$ff,$ff + $0b,$08,$12,$19,$19,$07,$ff,$ff,$08,$05,$ff,$ff,$ff,$ff,$06,$ff + $ff,$05,$ff,$ff,$0b,$ff,$ff,$08,$ff,$ff,$ff,$ff,$0b,$ff,$ff,$ff + $ff,$06,$ff,$ff,$ff,$ff,$ff,$05,$06,$01,$ff,$ff,$ff,$ff,$0b,$ff + $ff,$05,$ff,$ff,$07,$17,$18,$04,$13,$14,$14,$16,$0c,$ff,$05,$ff + $ff,$05,$0f,$18,$17,$18,$19,$29,$05,$02,$ff,$ff,$ff,$ff,$05,$ff + $ff,$05,$ff,$ff,$08,$ff,$ff,$05,$ff,$0b,$10,$18,$0d,$ff,$0a,$20 + $22,$0d,$25,$26,$26,$26,$1d,$0e,$0e,$03,$23,$24,$24,$15,$07,$ff + $ff,$05,$ff,$ff,$23,$17,$18,$06,$22,$0c,$ff,$0b,$0e,$ff,$0b,$ff + $ff,$04,$ff,$ff,$ff,$ff,$05,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$08,$ff + $ff,$23,$22,$1a,$13,$10,$14,$1c,$16,$06,$21,$0c,$0e,$ff,$0a,$1c + $1d,$03,$20,$21,$21,$22,$06,$23,$0f,$28,$27,$27,$27,$19,$07,$ff + $ff,$0b,$ff,$1e,$1f,$20,$20,$20,$0f,$15,$21,$24,$0e,$ff,$04,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$04,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$08,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$1d,$1b,$17,$18,$0c,$ff,$04,$11 + $10,$12,$13,$14,$14,$15,$03,$1c,$1e,$1e,$1f,$1f,$1f,$1d,$07,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$0b,$ff,$0c,$16 + $18,$17,$18,$17,$0f,$17,$17,$1a,$1a,$17,$1b,$1b,$17,$19,$09,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff a93e: a9 3e lda #$3e a940: 85 00 sta $00 a942: a9 a5 lda #$a5 a944: 85 01 sta $01 a946: a9 00 lda #$00 a948: 85 02 sta $02 a94a: a9 70 lda #$70 a94c: 85 03 sta $03 a94e: a2 04 ldx #$04 a950: a0 00 LA950 ldy #$00 a952: b1 00 LA952 lda ($00),y a954: 91 02 sta ($02),y a956: c8 iny a957: d0 f9 bne LA952 a959: e6 01 inc $01 a95b: e6 03 inc $03 a95d: ca dex a95e: d0 f0 bne LA950 a960: 60 rts a961: 00 40 90 d0+ .bulk $00,$40,$90,$d0,$08,$5c,$0c,$00,$00,$c0,$70,$f8,$fc,$f4,$fc,$10 + $22,$56,$03,$2b,$74,$37,$0d,$3f,$5f,$7d,$7f,$7f,$5f,$3f,$0f,$68 + $f6,$bc,$5e,$3c,$de,$7c,$f0,$fc,$de,$fe,$fe,$fe,$fe,$fc,$f0,$00 + $00,$7f,$80,$80,$ff,$7f,$00,$00,$7f,$80,$7f,$ff,$ff,$7f,$00,$00 + $00,$fc,$01,$03,$ff,$fe,$00,$00,$fe,$03,$ff,$ff,$ff,$fe,$00,$00 + $10,$20,$20,$00,$20,$00,$00,$3c,$42,$81,$81,$81,$81,$42,$3c,$7f + $7f,$3f,$1f,$80,$0f,$08,$88,$12,$80,$c0,$e0,$e0,$ef,$e8,$e8,$fc + $fc,$fc,$f8,$1c,$dc,$58,$5c,$48,$04,$0c,$18,$1c,$dc,$18,$1c,$0f + $00,$9f,$3f,$7f,$db,$00,$00,$e0,$e0,$ff,$ff,$ff,$db,$00,$00,$dc + $18,$ec,$f4,$f8,$6c,$00,$00,$1c,$18,$fc,$fc,$fc,$6c,$00,$00,$ff + $ff,$c0,$c0,$cf,$cb,$cc,$cc,$00,$00,$1f,$3f,$3f,$38,$3b,$3b,$fc + $fc,$0c,$0c,$cc,$4c,$cc,$cc,$00,$04,$ec,$fc,$fc,$3c,$bc,$bc,$cb + $cf,$c0,$c0,$ff,$ff,$00,$00,$3b,$30,$3f,$1f,$7f,$ff,$00,$00,$4c + $cc,$0c,$0c,$fc,$fc,$00,$00,$3c,$3c,$fc,$ec,$fc,$fc,$00,$00,$fe + $82,$82,$82,$82,$fe,$00,$00,$00,$7e,$56,$56,$7e,$fe,$00,$00,$20 + $00,$00,$18,$20,$00,$00,$18,$1c,$f7,$3c,$18,$1c,$f7,$3c,$18,$e2 + $80,$10,$20,$00,$00,$80,$00,$e2,$98,$2c,$5e,$7e,$3c,$98,$00,$7e + $00,$7e,$00,$7e,$00,$7e,$00,$6e,$00,$6e,$00,$6e,$00,$6e,$00,$10 + $f4,$08,$04,$c5,$24,$23,$05,$e8,$f8,$0e,$e6,$f7,$37,$2e,$fd,$00 + $5f,$20,$48,$d7,$88,$18,$80,$3f,$3f,$e0,$c7,$cf,$b8,$98,$7f,$f8 + $10,$10,$10,$d7,$08,$00,$ef,$f8,$10,$30,$b7,$f7,$30,$df,$ef,$ff + $00,$08,$08,$ef,$08,$10,$ef,$ff,$00,$18,$db,$ff,$38,$f7,$ef,$ff + $7f,$3f,$5f,$4f,$07,$03,$01,$00,$b0,$c0,$e0,$f0,$f8,$fc,$fe,$fe + $fe,$fe,$fa,$fa,$fe,$fe,$fe,$00,$1a,$06,$0a,$1a,$3e,$7e,$fe,$01 + $03,$07,$4f,$5f,$27,$7f,$00,$ff,$ff,$ff,$ff,$ff,$e7,$ff,$00,$7e + $be,$da,$ea,$f6,$ca,$fc,$00,$fe,$fe,$fa,$fa,$fe,$ce,$fe,$00,$cf + $bf,$70,$60,$c4,$c8,$c0,$c0,$47,$bf,$70,$27,$4b,$57,$5f,$df,$cc + $f4,$38,$18,$0c,$0c,$0c,$0c,$cc,$f4,$38,$98,$cc,$ec,$ec,$ec,$c0 + $c0,$60,$70,$bf,$cf,$00,$00,$df,$cf,$67,$70,$bf,$4f,$00,$00,$0c + $0c,$18,$38,$f4,$cc,$00,$00,$ec,$cc,$98,$38,$f4,$cc,$00,$00,$ff + $ff,$c0,$df,$d0,$d0,$df,$c0,$00,$00,$3f,$3f,$35,$35,$20,$3f,$fc + $fc,$0c,$ec,$2c,$2c,$ec,$0c,$00,$04,$fc,$fc,$5c,$5c,$1c,$fc,$ff + $00,$00,$e4,$00,$cf,$00,$00,$7f,$00,$00,$e3,$00,$bf,$00,$00,$fc + $00,$00,$f9,$00,$87,$00,$00,$fc,$00,$00,$f7,$00,$67,$00,$00,$fe + $02,$02,$02,$fe,$00,$00,$7f,$00,$fe,$0e,$fe,$fe,$00,$00,$00,$7f + $40,$40,$40,$7f,$00,$00,$fe,$00,$3f,$30,$3f,$7f,$00,$00,$00,$40 + $40,$40,$7f,$00,$00,$00,$ff,$3f,$30,$3f,$7f,$00,$00,$ff,$ff,$02 + $02,$02,$fe,$00,$00,$00,$ff,$fe,$0e,$fe,$fe,$00,$00,$ff,$ff,$ff + $ff,$c0,$d0,$c0,$c0,$c0,$c0,$00,$00,$3f,$27,$3f,$3f,$3f,$3f,$fc + $fc,$0c,$4c,$0c,$0c,$0c,$0c,$00,$04,$fc,$9c,$fc,$fc,$fc,$fc,$c0 + $c0,$d0,$c0,$ff,$ff,$00,$00,$3f,$3f,$27,$3f,$3f,$7f,$00,$00,$0c + $0c,$4c,$0c,$fc,$fc,$00,$00,$fc,$fc,$9c,$fc,$fc,$fc,$00,$00 ac00: c2 b4 2a 30+ .bulk $c2,$b4,$2a,$30,$2e,$2c,$ff,$2a,$2a,$c2,$b0,$3c,$42,$4c,$54,$b2 + $5a,$56,$54,$b4,$4c,$b0,$38,$3c,$3e,$42,$b2,$4c,$42,$b0,$56,$54 + $4c,$42,$b3,$3e,$4c,$ff,$c2,$b3,$4a,$b2,$4c,$42,$54,$50,$56,$54 + $b1,$50,$4c,$44,$3e,$b2,$3c,$4c,$b1,$40,$46,$b2,$50,$4c,$50,$ff + $c4,$b3,$2a,$30,$2e,$2c,$ff,$b4,$34,$b3,$38,$3e,$b4,$3c,$b3,$3e + $44,$b5,$34,$b1,$2a,$b6,$1c,$b2,$02,$b5,$26,$b1,$24,$b8,$06,$12 + $1c,$b9,$02,$b8,$24,$2a,$34,$b9,$02,$b5,$38,$b1,$2c,$b3,$26,$2a + $b5,$2a,$b1,$02,$b8,$26,$24,$1c,$b9,$02,$b8,$20,$1c,$20,$b9,$02 + $b4,$1c,$b8,$26,$2c,$34,$b9,$02,$b8,$3e,$44,$4c,$b9,$02,$c8,$b0 + $3c,$42,$3c,$42,$42,$46,$42,$46,$4c,$50,$4c,$50,$50,$54,$50,$54 + $ff,$c2,$b4,$2a,$b3,$34,$b5,$32,$b1,$2e,$b4,$2a,$b3,$1c,$b5,$26 + $b1,$24,$ff,$b4,$2a,$b8,$18,$26,$30,$b9,$02,$b8,$1c,$26,$30,$b9 + $02,$b4,$34,$b8,$3a,$30,$26,$b9,$02,$b8,$3e,$38,$30,$b9,$02,$b4 + $34,$b2,$1c,$2a,$26,$30,$c2,$b0,$38,$38,$38,$02,$02,$02,$38,$38 + $38,$02,$38,$38,$38,$38,$38,$02,$ff,$b4,$38,$b2,$02,$b0,$1c,$02 + $1c,$1c,$b2,$06,$00,$ca,$b0,$2a,$2a,$2a,$02,$02,$02,$2a,$2a,$2a + $02,$2a,$2a,$2a,$2a,$2a,$02,$ff,$c2,$b2,$34,$34,$32,$32,$2e,$2e + $2a,$2a,$26,$26,$24,$24,$20,$20,$2a,$2a,$ff,$c2,$26,$26,$24,$24 + $30,$30,$2e,$2e,$2c,$2c,$2a,$2a,$28,$28,$2a,$2a,$ff,$c8,$b0,$1c + $1c,$1c,$02,$02,$02,$1c,$1c,$1c,$02,$1c,$1c,$1c,$1c,$1c,$02,$ff + $d8,$ba,$64,$02,$64,$02,$b9,$02,$ba,$72,$02,$72,$02,$b9,$02,$ba + $7c,$02,$7c,$02,$b9,$02,$ba,$72,$02,$72,$02,$b9,$02,$ff,$c4,$b1 + $34,$34,$34,$34,$02,$24,$24,$24,$20,$20,$20,$20,$2a,$2a,$2a,$2a + $02,$24,$24,$24,$24,$24,$24,$24,$b8,$26,$1c,$20,$b9,$02,$b8,$2c + $2a,$26,$b9,$02,$ff,$c3,$b0,$34,$34,$34,$02,$02,$02,$34,$34,$34 + $02,$34,$34,$34,$34,$34,$02,$2c,$2c,$2c,$02,$02,$02,$2c,$2c,$30 + $02,$30,$30,$30,$30,$30,$02,$ff,$c2,$1c,$1c,$1c,$02,$02,$02,$1c + $1c,$1c,$02,$1c,$1c,$1c,$1c,$1c,$02,$ff,$b4,$1c,$b2,$02,$b0,$1c + $02,$1c,$1c,$b2,$1c,$c2,$b4,$20,$2a,$28,$26,$ff,$20,$20,$c2,$b0 + $34,$3c,$42,$4c,$b2,$54,$50,$4c,$b3,$42,$3c,$b3,$46,$b2,$34,$b1 + $4c,$b0,$42,$3c,$b3,$38,$46,$ff,$c2,$b3,$38,$b2,$3c,$34,$34,$30 + $38,$34,$44,$38,$34,$42,$b1,$3a,$40,$b2,$46,$3e,$3e,$ff,$c4,$b2 + $3c,$42,$4c,$42,$3e,$42,$4c,$3e,$ff,$c2,$72,$6e,$6c,$68,$6e,$6c + $64,$68,$ff,$b4,$4c,$b3,$56,$50,$b4,$54,$b3,$56,$5c,$b4,$4c,$b3 + $50,$56,$b4,$54,$b3,$56,$5c,$c4,$b1,$5a,$42,$56,$42,$54,$42,$50 + $42,$56,$3e,$54,$3e,$4c,$3e,$50,$3e,$ff,$c8,$b0,$3c,$3e,$3c,$3e + $42,$46,$42,$46,$4c,$50,$4c,$50,$50,$54,$50,$54,$ff,$c3,$b0,$42 + $42,$42,$02,$02,$02,$42,$42,$42,$02,$42,$42,$42,$42,$42,$02,$3a + $3a,$3a,$02,$02,$02,$3a,$3a,$3e,$02,$3e,$3e,$3e,$3e,$3e,$02,$ff + $c2,$42,$42,$42,$02,$02,$02,$42,$42,$42,$02,$42,$42,$42,$42,$42 + $02,$ff,$b4,$2a,$b2,$02,$b0,$2a,$02,$2a,$2a,$b2,$2a,$00,$ca,$b0 + $04,$04,$04,$01,$01,$01,$04,$04,$04,$01,$04,$04,$04,$04,$04,$01 + $ff,$d8,$b2,$04,$07,$ff,$c4,$b0,$04,$04,$04,$01,$01,$01,$04,$04 + $04,$01,$04,$04,$04,$04,$04,$01,$ff,$c8,$b1,$04,$b0,$04,$04,$b1 + $04,$b0,$04,$04,$b1,$04,$b0,$04,$04,$b1,$07,$b0,$04,$04,$ff,$d0 + $b2,$04,$ff,$e0,$b1,$04,$04,$ff,$e0,$b0,$04,$04,$b1,$07,$b0,$0a + $04,$b1,$07,$ff,$c8,$b0,$04,$04,$04,$01,$01,$01,$04,$04,$04,$01 + $04,$04,$04,$04,$04,$01,$ff,$b4,$07,$b2,$01,$b0,$07,$01,$07,$07 + $b2,$07,$00,$80,$40,$20,$10,$88,$00,$00,$00,$00,$00,$00,$00,$80 + $04,$00,$02,$02,$00,$00,$00,$00,$07,$03,$03,$03,$01,$00,$00,$00 + $84,$c4,$42,$62,$21,$31,$11,$11,$80,$c0,$c0,$e0,$e0,$f0,$f0,$f0 + $00,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00,$01,$01,$03,$03 + $11,$11,$31,$21,$63,$62,$c4,$84,$f0,$f0,$f0,$e0,$e0,$e0,$c0,$80 + $01,$13,$16,$2c,$78,$b3,$ec,$f0,$07,$1f,$1e,$3c,$78,$f0,$e0,$00 + $08,$10,$20,$40,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $82,$cc,$4e,$4c,$40,$4c,$4c,$4c,$82,$cc,$ce,$cc,$c0,$cc,$cc,$cc + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$01,$03,$06,$0c,$18,$00,$00,$00,$00,$00,$01,$03,$07 + $0f,$3c,$e0,$84,$08,$30,$60,$e0,$00,$02,$1f,$7a,$f4,$c8,$98,$10 + $19,$31,$33,$63,$63,$67,$e7,$e7,$06,$0e,$0c,$1c,$1c,$18,$18,$18 + $c0,$c0,$80,$80,$80,$00,$00,$00,$30,$30,$60,$60,$60,$e0,$e0,$e0 + $c7,$c7,$c7,$c7,$c7,$c7,$c7,$c7,$38,$38,$38,$38,$38,$38,$38,$38 + $20,$20,$20,$20,$20,$20,$20,$20,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 + $c2,$b4,$64,$74,$6a,$02,$64,$78,$74,$02,$ff,$c2,$b2,$72,$5a,$6e + $56,$6c,$54,$68,$50,$6e,$56,$6c,$54,$68,$50,$64,$4c,$ff,$c4,$72 + $5a,$6e,$5a,$6c,$5a,$68,$5a,$6e,$56,$6c,$56,$68,$56,$64,$56,$ff + $b2,$5a,$b1,$42,$b2,$56,$b1,$42,$b2,$54,$b1,$42,$b2,$50,$b1,$42 + $b2,$5a,$b1,$42,$b2,$56,$b1,$42,$b2,$52,$b1,$42,$b2,$50,$b1,$42 + $b2,$5a,$b1,$44,$b2,$56,$b1,$44,$b2,$52,$b1,$44,$b2,$56,$b1,$44 + $c4,$5a,$50,$46,$ff,$c3,$58,$50,$46,$ff,$58,$50,$b0,$46,$02,$e0 + $b6,$1c,$b2,$02,$ff,$00,$d0,$b6,$2a,$b1,$2a,$b1,$02,$ff,$b4,$4c + $60,$5e,$5c,$54,$60,$5c,$56,$c2,$34,$48,$46,$44,$3c,$48,$44,$3e + $ff,$c2,$b2,$34,$b1,$42,$b5,$4c,$ff,$c2,$b2,$2c,$b1,$3a,$b5,$48 + $ff,$c2,$b2,$1e,$b1,$2c,$b5,$36,$ff,$c4,$b2,$20,$b1,$2e,$b5,$38 + $ff,$e0,$b6,$2a,$b1,$2a,$b1,$02,$ff,$d0,$b6,$06,$b2,$02,$ff,$c8 + $b4,$02,$ff,$b2,$24,$26,$2a,$2e,$34,$38,$3c,$3e,$b6,$42,$b1,$3e + $3c,$b6,$3e,$b1,$3c,$38,$b6,$34,$b2,$42,$b4,$4c,$b3,$44,$42,$3e + $3c,$b6,$38,$b2,$3c,$b6,$42,$b2,$4c,$b6,$38,$b2,$3c,$b4,$34,$b3 + $2a,$2e,$34,$38,$b6,$34,$b2,$2c,$b4,$26,$b5,$38,$3c,$42,$4c,$34 + $3a,$48,$42,$36,$3e,$4c,$44,$42,$38,$2e,$38,$40,$38,$2e,$38,$e0 + $b6,$06,$b2,$02,$ff,$d0,$b4,$04,$ff,$cc,$b2,$04,$04,$b5,$07,$b0 + $04,$04,$b6,$04,$b1,$04,$04,$ff,$ca,$b1,$04,$04,$04,$07,$04,$04 + $ff,$e0,$b4,$04,$ff,$e0,$e0,$f0,$00,$00,$00,$00,$00,$00,$00,$00 + $21,$80,$40,$02,$05,$26,$52,$63,$00,$00,$00,$06,$07,$67,$73,$73 + $ff,$af,$2f,$07,$0b,$8d,$a7,$b1,$00,$00,$00,$00,$00,$80,$80,$80 + $f8,$b8,$f8,$f8,$f0,$f0,$f8,$fc,$00,$00,$00,$00,$00,$00,$00,$00 + $07,$07,$07,$07,$07,$03,$03,$01,$00,$00,$00,$00,$00,$00,$00,$80 + $ff,$c7,$83,$03,$c7,$cf,$fe,$ec,$00,$30,$78,$f8,$30,$00,$01,$12 + $f5,$ea,$fb,$fd,$f9,$1e,$0e,$44,$07,$03,$03,$01,$01,$e0,$10,$48 + $2b,$3b,$1b,$5a,$d0,$d1,$c3,$c3,$3b,$3b,$9b,$da,$d0,$d0,$c0,$c0 + $2c,$23,$20,$20,$30,$98,$cf,$c7,$00,$00,$00,$00,$00,$00,$00,$30 + $1f,$80,$c0,$c0,$60,$70,$fc,$c0,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$00,$00,$00,$00,$00,$00,$00,$80,$80,$c0,$78,$4c,$c7,$80,$80 + $c4,$a5,$45,$0b,$1b,$03,$03,$00,$3a,$13,$31,$63,$c3,$83,$03,$04 + $e6,$e6,$c4,$8e,$1c,$3c,$18,$30,$e8,$e8,$c8,$90,$60,$00,$00,$00 b200: 00 10 01 18+ LB200 .bulk $00,$10,$01,$18,$00,$01,$38,$01,$02,$40,$00,$09,$58,$80,$7f,$80 + $48,$35,$7f,$00,$b0,$19,$7f,$0e,$a0,$0d,$7f,$0f,$08,$16,$7f,$0b + $18,$13,$7f,$0e,$f8,$c1,$89,$02,$0f,$34,$ba,$e0,$05,$34,$bb,$ce + $05,$b6,$7f,$00,$c2,$b6,$7f,$04,$c2,$17,$7f,$66,$89,$89,$7f,$67 + $18,$8b,$7f,$fd,$28,$02,$7f,$a8,$f8,$d7,$83,$58,$f8,$d6,$82,$58 + $f8,$95,$8c,$40,$b9,$1d,$9a,$20,$8f,$16,$8d,$e0,$42,$19,$7f,$6f + $40,$18,$7f,$80,$40,$07,$7f,$40,$28,$07,$7f,$45,$28,$7f,$7f,$dd + $3b,$7f,$7f,$ff,$98,$7f,$7f,$40,$08,$09,$7f,$30,$48,$03,$7f,$42 + $18,$03,$7f,$11,$09,$7f,$7f,$30,$b2,$bb,$b2,$22,$b3,$00,$cb,$b2 + $ee,$b4,$00,$db,$b2,$30,$b3,$01,$eb,$b2,$ee,$b4,$01,$fb,$b2,$44 + $b3,$03,$0b,$b3,$ee,$b4,$03,$06,$bc,$5c,$b3,$04,$16,$bc,$64,$b3 + $04,$26,$bc,$4b,$bc,$00,$26,$bc,$3d,$bc,$00 b2bb: ee b4 .dd2 TB4EE b2bd: 2b b5 .dd2 TB52B b2bf: 6e b5 .dd2 TB56E b2c1: 83 b5 .dd2 TB583 b2c3: 98 b5 .dd2 TB598 b2c5: 0f b5 .dd2 TB50F b2c7: ee b4 .dd2 TB4EE b2c9: ee b4 .dd2 TB4EE b2cb: ee b4 .dd2 TB4EE b2cd: 39 b5 .dd2 TB539 b2cf: 7b b5 .dd2 TB57B b2d1: 8a b5 .dd2 TB58A b2d3: 8a b5 .dd2 TB58A b2d5: 16 b5 .dd2 TB516 b2d7: ee b4 .dd2 TB4EE b2d9: ee b4 .dd2 TB4EE b2db: cd b6 .dd2 TB6CD b2dd: e7 b6 .dd2 TB6E7 b2df: 35 b7 .dd2 TB735 b2e1: 16 b7 .dd2 TB716 b2e3: 3c b7 .dd2 TB73C b2e5: 10 b7 .dd2 TB710 b2e7: 03 b7 .dd2 TB703 b2e9: 7a b7 .dd2 TB77A b2eb: b0 b6 .dd2 TB6B0 b2ed: d3 b6 .dd2 TB6D3 b2ef: ed b6 .dd2 TB6ED b2f1: 4f b7 .dd2 TB74F b2f3: ed b6 .dd2 TB6ED b2f5: ed b6 .dd2 TB6ED b2f7: ed b6 .dd2 TB6ED b2f9: 81 b7 .dd2 TB781 b2fb: d2 b8 .dd2 TB8D2 b2fd: ac b7 .dd2 TB7AC b2ff: a7 b8 .dd2 TB8A7 b301: 21 b9 .dd2 TB921 b303: d9 b7 .dd2 TB7D9 b305: ef b7 .dd2 TB7EF b307: 34 b8 .dd2 TB834 b309: 78 b8 .dd2 TB878 b30b: ed b8 .dd2 TB8ED b30d: cb b7 .dd2 TB7CB b30f: b1 b8 .dd2 TB8B1 b311: 40 b9 .dd2 TB940 b313: e7 b7 .dd2 TB7E7 b315: 0e b8 .dd2 TB80E b317: 4f b8 .dd2 TB84F b319: 7f b8 .dd2 TB87F b31b: ad .dd1 $ad b31c: 80 .dd1 $80 b31d: 06 .dd1 $06 b31e: a2 .dd1 $a2 b31f: 89 .dd1 $89 b320: d0 .dd1 $d0 b321: 15 .dd1 $15 b322: ad 88 06 lda NoiseContSFX b325: a2 8e ldx #$8e b327: d0 0e bne LB337 b329: ad 81 06 LB329 lda SQ1SFXFlag b32c: a2 93 ldx #$93 b32e: d0 07 bne LB337 b330: ad 89 06 lda SQ1ContSFX b333: a2 98 ldx #$98 b335: d0 00 bne LB337 b337: 20 bd b4 LB337 jsr LB4BD b33a: 6c e2 00 jmp ($00e2) b33d: ad .dd1 $ad b33e: 83 .dd1 $83 b33f: 06 .dd1 $06 b340: a2 .dd1 $a2 b341: 9d .dd1 $9d b342: d0 .dd1 $d0 b343: f3 .dd1 $f3 b344: ad 8b 06 lda TriangleContSFX b347: a2 a2 ldx #$a2 b349: d0 ec bne LB337 b34b: ad .dd1 $ad b34c: 84 .dd1 $84 b34d: 06 .dd1 $06 b34e: a2 .dd1 $a2 b34f: a7 .dd1 $a7 b350: 20 .dd1 $20 b351: bd .dd1 $bd b352: b4 .dd1 $b4 b353: 20 .dd1 $20 b354: 53 .dd1 $53 b355: bc .dd1 $bc b356: 20 .dd1 $20 b357: 64 .dd1 $64 b358: bc .dd1 $bc b359: 6c .dd1 $6c b35a: e2 .dd1 $e2 b35b: 00 .dd1 $00 b35c: ad 8c 06 lda MultiContSFX b35f: a2 ac ldx #$ac b361: 4c 37 b3 jmp LB337 b364: 20 29 b3 jsr LB329 b367: 60 rts b368: a9 00 LB368 lda #$00 b36a: f0 0a beq LB376 b36c: a9 08 LB36C lda #$08 b36e: d0 06 bne LB376 b370: a9 0c LB370 lda #$0c b372: d0 02 bne LB376 b374: a9 04 LB374 lda #$04 b376: 85 e0 LB376 sta $e0 b378: a9 40 lda #$40 b37a: 85 e1 sta $e1 b37c: 84 e2 sty $e2 b37e: a9 b2 lda #$b2 b380: 85 e3 sta $e3 b382: a0 00 ldy #$00 b384: b1 e2 LB384 lda ($e2),y b386: 91 e0 sta ($e0),y b388: c8 iny b389: 98 tya b38a: c9 04 cmp #$04 b38c: d0 f6 bne LB384 b38e: 60 rts b38f: ee .dd1 $ee b390: 02 .dd1 $02 b391: 06 .dd1 $06 b392: 20 .dd1 $20 b393: 3e .dd1 $3e b394: b4 .dd1 $b4 b395: 8d .dd1 $8d b396: 03 .dd1 $03 b397: 06 .dd1 $06 b398: 60 .dd1 $60 b399: ad .dd1 $ad b39a: 02 .dd1 $02 b39b: 06 .dd1 $06 b39c: f0 .dd1 $f0 b39d: f1 .dd1 $f1 b39e: ad .dd1 $ad b39f: 03 .dd1 $03 b3a0: 06 .dd1 $06 b3a1: c9 .dd1 $c9 b3a2: 12 .dd1 $12 b3a3: f0 .dd1 $f0 b3a4: 0e .dd1 $0e b3a5: 29 .dd1 $29 b3a6: 03 .dd1 $03 b3a7: c9 .dd1 $c9 b3a8: 03 .dd1 $03 b3a9: d0 .dd1 $d0 b3aa: 05 .dd1 $05 b3ab: a0 .dd1 $a0 b3ac: 0d .dd1 $0d b3ad: 20 .dd1 $20 b3ae: 68 .dd1 $68 b3af: b3 .dd1 $b3 b3b0: ee .dd1 $ee b3b1: 03 .dd1 $03 b3b2: 06 .dd1 $06 b3b3: 60 .dd1 $60 b3b4: a9 .dd1 $a9 b3b5: c0 .dd1 $c0 b3b6: 8d .dd1 $8d b3b7: 17 .dd1 $17 b3b8: 40 .dd1 $40 b3b9: ad .dd1 $ad b3ba: 80 .dd1 $80 b3bb: 06 .dd1 $06 b3bc: 4a .dd1 $4a b3bd: b0 .dd1 $b0 b3be: 2c .dd1 $2c b3bf: a5 .dd1 $a5 b3c0: 1e .dd1 $1e b3c1: c9 .dd1 $c9 b3c2: 05 .dd1 $05 b3c3: f0 .dd1 $f0 b3c4: d4 .dd1 $d4 b3c5: a9 .dd1 $a9 b3c6: 00 .dd1 $00 b3c7: 8d .dd1 $8d b3c8: 02 .dd1 $02 b3c9: 06 .dd1 $06 b3ca: 20 .dd1 $20 b3cb: 1b .dd1 $1b b3cc: b3 .dd1 $b3 b3cd: 20 .dd1 $20 b3ce: 4b .dd1 $4b b3cf: b3 .dd1 $b3 b3d0: 20 .dd1 $20 b3d1: 3d .dd1 $3d b3d2: b3 .dd1 $b3 b3d3: 20 .dd1 $20 b3d4: 36 .dd1 $36 b3d5: bc .dd1 $bc b3d6: a9 .dd1 $a9 b3d7: 00 .dd1 $00 b3d8: 8d .dd1 $8d b3d9: 80 .dd1 $80 b3da: 06 .dd1 $06 b3db: 8d .dd1 $8d b3dc: 81 .dd1 $81 b3dd: 06 .dd1 $06 b3de: 8d .dd1 $8d b3df: 82 .dd1 $82 b3e0: 06 .dd1 $06 b3e1: 8d .dd1 $8d b3e2: 83 .dd1 $83 b3e3: 06 .dd1 $06 b3e4: 8d .dd1 $8d b3e5: 84 .dd1 $84 b3e6: 06 .dd1 $06 b3e7: 8d .dd1 $8d b3e8: 85 .dd1 $85 b3e9: 06 .dd1 $06 b3ea: 60 .dd1 $60 b3eb: 20 .dd1 $20 b3ec: 04 .dd1 $04 b3ed: b4 .dd1 $b4 b3ee: f0 .dd1 $f0 b3ef: e6 .dd1 $e6 b3f0: ad 2c 06 LB3F0 lda MusicRepeat b3f3: f0 0f beq LB404 b3f5: ad 8d 06 lda CurrentMusic b3f8: 8d 5d 06 sta CurrentMusicRepeat b3fb: 60 rts b3fc: ad 8d 06 LB3FC lda CurrentMusic b3ff: cd 4d 06 cmp CurrentSFXFlags b402: f0 06 beq LB40A b404: 20 1d b4 LB404 jsr LB41D b407: 20 3e b4 jsr LB43E b40a: 20 0e b4 LB40A jsr LB40E b40d: 60 rts b40e: a9 00 LB40E lda #$00 b410: 8d 2d 06 sta TriangleCounterCntrl b413: 8d 02 06 sta SFXPaused b416: 8d 5d 06 sta CurrentMusicRepeat b419: 8d 2c 06 sta MusicRepeat b41c: 60 rts b41d: a9 00 LB41D lda #$00 b41f: 8d 53 06 sta SQ1InUse b422: 8d 54 06 sta SQ2InUse b425: 8d 55 06 sta TriangleInUse b428: 8d 07 06 sta WriteMultiChannelData b42b: 8d 88 06 sta NoiseContSFX b42e: 8d 89 06 sta SQ1ContSFX b431: 8d 8a 06 sta SQ2ContSFX b434: 8d 8b 06 sta TriangleContSFX b437: 8d 8c 06 sta MultiContSFX b43a: 8d 8d 06 sta CurrentMusic b43d: 60 rts b43e: a9 10 LB43E lda #$10 b440: 8d 00 40 sta SQ1Cntrl0 b443: 8d 04 40 sta SQ2Cntrl0 b446: 8d 0c 40 sta NoiseCntrl0 b449: a9 00 lda #$00 b44b: 8d 08 40 sta TriangleCntrl0 b44e: 8d 11 40 sta DMCCntrl1 b451: 60 rts b452: ae 5c 06 LB452 ldx ChannelType b455: 9d 60 06 sta NoiseSFXLength,x b458: 8a txa b459: f0 1c beq LB477 b45b: c9 01 cmp #$01 b45d: f0 09 beq LB468 b45f: c9 02 cmp #$02 b461: f0 0a beq LB46D b463: c9 03 cmp #$03 b465: f0 0b beq LB472 b467: 60 rts b468: 20 68 b3 LB468 jsr LB368 b46b: f0 0d beq LB47A b46d: 20 74 b3 LB46D jsr LB374 b470: f0 08 beq LB47A b472: 20 6c b3 LB472 jsr LB36C b475: f0 03 beq LB47A b477: 20 70 b3 LB477 jsr LB370 b47a: 20 93 b4 LB47A jsr LB493 b47d: 8a txa b47e: 9d 52 06 sta NoiseInUse,x b481: a9 00 lda #$00 b483: 9d 65 06 sta ThisNoiseFrame,x b486: 9d 70 06 sta NoiseSFXData,x b489: 9d 74 06 sta MultiSFXData,x b48c: 9d 78 06 sta ScrewAttackSFXData,x b48f: 8d 07 06 sta WriteMultiChannelData b492: 60 rts b493: ae 5c 06 LB493 ldx ChannelType b496: bd 88 06 lda NoiseContSFX,x b499: 29 00 and #$00 b49b: 0d 4d 06 ora CurrentSFXFlags b49e: 9d 88 06 sta NoiseContSFX,x b4a1: 60 rts b4a2: a9 00 LB4A2 lda #$00 b4a4: 8d 4d 06 sta CurrentSFXFlags b4a7: f0 ea beq LB493 b4a9: ae 5c 06 LB4A9 ldx ChannelType b4ac: fe 65 06 inc ThisNoiseFrame,x b4af: bd 65 06 lda ThisNoiseFrame,x b4b2: dd 60 06 cmp NoiseSFXLength,x b4b5: d0 05 bne LB4BC b4b7: a9 00 lda #$00 b4b9: 9d 65 06 sta ThisNoiseFrame,x b4bc: 60 LB4BC rts b4bd: 8d 4d 06 LB4BD sta CurrentSFXFlags b4c0: 86 e4 stx $e4 b4c2: a0 b2 ldy #$b2 b4c4: 84 e5 sty $e5 b4c6: a0 00 ldy #$00 b4c8: b1 e4 LB4C8 lda ($e4),y b4ca: 99 e0 00 sta $00e0,y b4cd: c8 iny b4ce: 98 tya b4cf: c9 04 cmp #$04 b4d1: d0 f5 bne LB4C8 b4d3: b1 e4 lda ($e4),y b4d5: 8d 5c 06 sta ChannelType b4d8: a0 00 ldy #$00 b4da: ad 4d 06 lda CurrentSFXFlags b4dd: 48 pha b4de: 0e 4d 06 LB4DE asl CurrentSFXFlags b4e1: b0 0c bcs LB4EF b4e3: c8 iny b4e4: c8 iny b4e5: 98 tya b4e6: c9 10 cmp #$10 b4e8: d0 f4 bne LB4DE b4ea: 68 LB4EA pla b4eb: 8d 4d 06 sta CurrentSFXFlags b4ee: 60 TB4EE rts b4ef: b1 e0 LB4EF lda ($e0),y b4f1: 85 e2 sta $e2 b4f3: c8 iny b4f4: b1 e0 lda ($e0),y b4f6: 85 e3 sta $e3 b4f8: 4c ea b4 jmp LB4EA b4fb: 12 13 14 15+ LB4FB .bulk $12,$13,$14,$15,$16,$17,$18,$19,$1a,$1b,$1c,$1d,$1b,$1a,$19,$17 + $16,$15,$14,$12 b50f: a9 14 TB50F lda #$14 b511: a0 21 ldy #$21 b513: 4c 52 b4 jmp LB452 b516: 20 a9 b4 TB516 jsr LB4A9 b519: d0 03 bne LB51E b51b: 4c 8f b5 jmp LB58F b51e: ac 70 06 LB51E ldy NoiseSFXData b521: b9 fb b4 lda LB4FB,y b524: 8d 0c 40 sta NoiseCntrl0 b527: ee 70 06 inc NoiseSFXData b52a: 60 rts b52b: a9 05 TB52B lda #$05 b52d: a0 11 ldy #$11 b52f: 20 52 b4 jsr LB452 b532: ad 13 b2 lda LB200+19 b535: 8d 70 06 sta NoiseSFXData b538: 60 LB538 rts b539: ad 78 06 TB539 lda ScrewAttackSFXData b53c: c9 02 cmp #$02 b53e: f0 09 beq LB549 b540: 20 a9 b4 jsr LB4A9 b543: d0 f3 bne LB538 b545: ee 78 06 inc ScrewAttackSFXData b548: 60 rts b549: 20 a9 b4 LB549 jsr LB4A9 b54c: d0 16 bne LB564 b54e: ce 70 06 dec NoiseSFXData b551: ce 70 06 dec NoiseSFXData b554: ce 70 06 dec NoiseSFXData b557: ee 74 06 inc MultiSFXData b55a: ad 74 06 lda MultiSFXData b55d: c9 0f cmp #$0f b55f: d0 d7 bne LB538 b561: 4c 8f b5 jmp LB58F b564: ee 70 06 LB564 inc NoiseSFXData b567: ad 70 06 lda NoiseSFXData b56a: 8d 0e 40 sta NoiseCntrl2 b56d: 60 rts b56e: a9 18 TB56E lda #$18 b570: a0 15 ldy #$15 b572: 20 87 b5 jsr LB587 b575: a9 0a lda #$0a b577: 8d 70 06 sta NoiseSFXData b57a: 60 rts b57b: 20 a9 b4 TB57B jsr LB4A9 b57e: d0 e4 bne LB564 b580: 4c 8f b5 jmp LB58F b583: a9 30 TB583 lda #$30 b585: a0 19 ldy #$19 b587: 4c 52 b4 LB587 jmp LB452 b58a: 20 a9 b4 TB58A jsr LB4A9 b58d: d0 08 bne LB597 b58f: 20 a2 b4 LB58F jsr LB4A2 b592: a9 10 lda #$10 b594: 8d 0c 40 sta NoiseCntrl0 b597: 60 LB597 rts b598: ad 88 06 TB598 lda NoiseContSFX b59b: 29 34 and #$34 b59d: d0 f8 bne LB597 b59f: a9 03 lda #$03 b5a1: a0 1d ldy #$1d b5a3: d0 e2 bne LB587 b5a5: 8d 64 06 LB5A5 sta MultiSFXLength b5a8: 20 74 b3 jsr LB374 b5ab: 20 93 b4 jsr LB493 b5ae: a9 01 lda #$01 b5b0: 8d 53 06 sta SQ1InUse b5b3: a9 02 lda #$02 b5b5: 8d 54 06 sta SQ2InUse b5b8: a9 00 lda #$00 b5ba: 8d 89 06 sta SQ1ContSFX b5bd: 8d 71 06 sta SQ1SFXData b5c0: 8d 75 06 sta SQ1SQ2SFXData b5c3: 8d 79 06 sta SQ1SFXPeriodLow b5c6: 8d 69 06 sta ThisMultiFrame b5c9: 8d 07 06 sta WriteMultiChannelData b5cc: 60 rts b5cd: a9 10 LB5CD lda #$10 b5cf: 8d 00 40 sta SQ1Cntrl0 b5d2: 8d 04 40 sta SQ2Cntrl0 b5d5: a9 7f lda #$7f b5d7: 8d 01 40 sta SQ1Cntrl1 b5da: 8d 05 40 sta SQ2Cntrl1 b5dd: 20 a2 b4 jsr LB4A2 b5e0: a9 00 lda #$00 b5e2: 8d 53 06 sta SQ1InUse b5e5: 8d 54 06 sta SQ2InUse b5e8: ee 07 06 inc WriteMultiChannelData b5eb: 60 rts b5ec: a0 2d TB5EC ldy #$2d b5ee: 20 68 b3 jsr LB368 b5f1: a0 29 ldy #$29 b5f3: 4c a5 b5 jmp LB5A5 b5f6: ee 71 06 TB5F6 inc SQ1SFXData b5f9: ac 71 06 ldy SQ1SFXData b5fc: b9 3c b6 lda LB63C,y b5ff: 8d 00 40 sta SQ1Cntrl0 b602: 8d 04 40 sta SQ2Cntrl0 b605: ad 71 06 lda SQ1SFXData b608: c9 14 cmp #$14 b60a: f0 2d beq LB639 b60c: c9 06 cmp #$06 b60e: 90 10 bcc LB620 b610: a5 2e lda RandomNumber1 b612: 09 10 ora #$10 b614: 29 7f and #$7f b616: 8d 79 06 sta SQ1SFXPeriodLow b619: 2a rol A b61a: 8d 75 06 sta SQ1SQ2SFXData b61d: 4c 2c b6 jmp LB62C b620: ee 75 06 LB620 inc SQ1SQ2SFXData b623: ee 75 06 inc SQ1SQ2SFXData b626: ee 79 06 inc SQ1SFXPeriodLow b629: ee 79 06 inc SQ1SFXPeriodLow b62c: ad 75 06 LB62C lda SQ1SQ2SFXData b62f: 8d 06 40 sta SQ2Cntrl2 b632: ad 79 06 lda SQ1SFXPeriodLow b635: 8d 02 40 sta SQ1Cntrl2 b638: 60 rts b639: 4c cd b5 LB639 jmp LB5CD b63c: 38 3d 3f 3f+ LB63C .bulk $38,$3d,$3f,$3f,$3f,$3f,$3f,$3d,$3b,$39,$3b,$3d,$3f,$3d,$3b,$39 + $3b,$3d,$3f,$39 b650: 20 a9 b4 TB650 jsr LB4A9 b653: d0 03 bne LB658 b655: 4c cd b5 jmp LB5CD b658: a0 25 LB658 ldy #$25 b65a: 20 68 b3 jsr LB368 b65d: a5 2e lda RandomNumber1 b65f: 29 0f and #$0f b661: 8d 02 40 sta SQ1Cntrl2 b664: a0 25 ldy #$25 b666: 20 74 b3 jsr LB374 b669: a5 2e lda RandomNumber1 b66b: 4a lsr A b66c: 4a lsr A b66d: 29 0f and #$0f b66f: 8d 06 40 sta SQ2Cntrl2 b672: 60 rts b673: a0 25 TB673 ldy #$25 b675: 20 68 b3 jsr LB368 b678: a5 2e lda RandomNumber1 b67a: 29 0f and #$0f b67c: 8d 02 40 sta SQ1Cntrl2 b67f: 18 clc b680: a5 2e lda RandomNumber1 b682: 29 03 and #$03 b684: 69 01 adc #$01 b686: a0 25 ldy #$25 b688: 20 a5 b5 jsr LB5A5 b68b: a5 2e lda RandomNumber1 b68d: 4a lsr A b68e: 4a lsr A b68f: 29 0f and #$0f b691: 8d 06 40 sta SQ2Cntrl2 b694: 60 LB694 rts b695: a0 31 TB695 ldy #$31 b697: 20 68 b3 jsr LB368 b69a: a9 20 lda #$20 b69c: a0 35 ldy #$35 b69e: 4c a5 b5 jmp LB5A5 b6a1: 20 a9 b4 TB6A1 jsr LB4A9 b6a4: d0 ee bne LB694 b6a6: 4c cd b5 jmp LB5CD b6a9: bd 8d 7e 5e+ LB6A9 .bulk $bd,$8d,$7e,$5e,$46,$3e,$00 b6b0: 20 a9 b4 TB6B0 jsr LB4A9 b6b3: d0 17 bne LB6CC b6b5: ac 71 06 ldy SQ1SFXData b6b8: b9 a9 b6 lda LB6A9,y b6bb: d0 03 bne LB6C0 b6bd: 4c f2 b6 jmp LB6F2 b6c0: 8d 02 40 LB6C0 sta SQ1Cntrl2 b6c3: ad 44 b2 lda LB200+68 b6c6: 8d 03 40 sta SQ1Cntrl3 b6c9: ee 71 06 inc SQ1SFXData b6cc: 60 LB6CC rts b6cd: a9 05 TB6CD lda #$05 b6cf: a0 41 ldy #$41 b6d1: d0 66 bne LB739 b6d3: 20 a9 b4 TB6D3 jsr LB4A9 b6d6: d0 f4 bne LB6CC b6d8: ee 71 06 inc SQ1SFXData b6db: ad 71 06 lda SQ1SFXData b6de: c9 03 cmp #$03 b6e0: f0 10 beq LB6F2 b6e2: a0 3d ldy #$3d b6e4: 4c 68 b3 jmp LB368 b6e7: a9 06 TB6E7 lda #$06 b6e9: a0 3d ldy #$3d b6eb: d0 4c bne LB739 b6ed: 20 a9 b4 TB6ED jsr LB4A9 b6f0: d0 da bne LB6CC b6f2: a9 10 LB6F2 lda #$10 b6f4: 8d 00 40 sta SQ1Cntrl0 b6f7: a9 00 lda #$00 b6f9: 8d 53 06 sta SQ1InUse b6fc: 20 a2 b4 jsr LB4A2 b6ff: ee 07 06 inc WriteMultiChannelData b702: 60 rts b703: ad 8d 06 TB703 lda CurrentMusic b706: c9 04 cmp #$04 b708: f0 c2 beq LB6CC b70a: a9 0c lda #$0c b70c: a0 51 ldy #$51 b70e: d0 29 bne LB739 b710: a9 08 TB710 lda #$08 b712: a0 55 ldy #$55 b714: d0 23 bne LB739 b716: ad 1f 06 TB716 lda HasBeamSFX b719: 4a lsr A b71a: b0 42 bcs LB75E b71c: ad 89 06 lda SQ1ContSFX b71f: 29 cc and #$cc b721: d0 a9 bne LB6CC b723: ad 1f 06 lda HasBeamSFX b726: 0a asl A b727: b0 06 bcs LB72F b729: a9 03 lda #$03 b72b: a0 4d ldy #$4d b72d: d0 0a bne LB739 b72f: a9 07 LB72F lda #$07 b731: a0 49 ldy #$49 b733: d0 04 bne LB739 b735: a9 0b TB735 lda #$0b b737: a0 45 ldy #$45 b739: 4c 52 b4 LB739 jmp LB452 b73c: ad 8d 06 TB73C lda CurrentMusic b73f: c9 04 cmp #$04 b741: f0 06 beq LB749 b743: a9 16 lda #$16 b745: a0 59 ldy #$59 b747: d0 f0 bne LB739 b749: a9 07 LB749 lda #$07 b74b: a0 39 ldy #$39 b74d: d0 ea bne LB739 b74f: ad 1f 06 TB74F lda HasBeamSFX b752: 4a lsr A b753: b0 10 bcs LB765 b755: 20 a9 b4 jsr LB4A9 b758: d0 03 bne LB75D b75a: 4c f2 b6 jmp LB6F2 b75d: 60 LB75D rts b75e: a9 07 LB75E lda #$07 b760: a0 61 ldy #$61 b762: 4c 52 b4 jmp LB452 b765: 20 a9 b4 LB765 jsr LB4A9 b768: d0 03 bne LB76D b76a: 4c f2 b6 jmp LB6F2 b76d: ad 71 06 LB76D lda SQ1SFXData b770: 29 01 and #$01 b772: a8 tay b773: b9 78 b7 lda LB778,y b776: d0 28 bne LB7A0 b778: 93 LB778 .dd1 $93 b779: 81 .dd1 $81 b77a: a9 08 TB77A lda #$08 b77c: a0 5d ldy #$5d b77e: 4c 52 b4 jmp LB452 b781: 20 a9 b4 TB781 jsr LB4A9 b784: d0 11 bne LB797 b786: ac 75 06 ldy SQ1SQ2SFXData b789: ee 75 06 inc SQ1SQ2SFXData b78c: b9 a9 b7 lda LB7A9,y b78f: 8d 00 40 sta SQ1Cntrl0 b792: d0 12 bne LB7A6 b794: 4c f2 b6 jmp LB6F2 b797: ad 71 06 LB797 lda SQ1SFXData b79a: 29 01 and #$01 b79c: a8 tay b79d: b9 a7 b7 lda LB7A7,y b7a0: 8d 02 40 LB7A0 sta SQ1Cntrl2 b7a3: ee 71 06 inc SQ1SFXData b7a6: 60 LB7A6 rts b7a7: 58 LB7A7 .dd1 $58 b7a8: 6f .dd1 $6f b7a9: 93 LB7A9 .dd1 $93 b7aa: 91 .dd1 $91 b7ab: 00 .dd1 $00 b7ac: ad 87 b2 TB7AC lda LB200+135 b7af: 8d 10 06 sta TrianglePeriodLow b7b2: ad 88 b2 lda LB200+136 b7b5: 29 07 and #$07 b7b7: 8d 11 06 sta TrianglePeriodHigh b7ba: a9 0f lda #$0f b7bc: 8d 12 06 sta TriangleChangeLow b7bf: a9 00 lda #$00 b7c1: 8d 13 06 sta TriangleChangeHigh b7c4: a9 1f lda #$1f b7c6: a0 85 ldy #$85 b7c8: 4c 52 b4 jmp LB452 b7cb: 20 a9 b4 TB7CB jsr LB4A9 b7ce: d0 03 bne LB7D3 b7d0: 4c 96 b8 jmp LB896 b7d3: 20 8c b9 LB7D3 jsr LB98C b7d6: 4c 69 b8 jmp LB869 b7d9: ad 8b 06 TB7D9 lda TriangleContSFX b7dc: 29 80 and #$80 b7de: d0 c6 bne LB7A6 b7e0: a9 03 lda #$03 b7e2: a0 79 ldy #$79 b7e4: 4c 52 b4 jmp LB452 b7e7: 20 a9 b4 TB7E7 jsr LB4A9 b7ea: d0 ba bne LB7A6 b7ec: 4c 96 b8 jmp LB896 b7ef: a9 12 TB7EF lda #$12 b7f1: 8d 12 06 sta TriangleChangeLow b7f4: a9 00 lda #$00 b7f6: 8d 13 06 sta TriangleChangeHigh b7f9: ad 7f b2 lda LB200+127 b7fc: 8d 10 06 sta TrianglePeriodLow b7ff: ad 80 b2 lda LB200+128 b802: 29 07 and #$07 b804: 8d 11 06 sta TrianglePeriodHigh b807: a9 0a lda #$0a b809: a0 7d ldy #$7d b80b: 4c 52 b4 jmp LB452 b80e: 20 a9 b4 TB80E jsr LB4A9 b811: d0 03 bne LB816 b813: 4c 96 b8 jmp LB896 b816: 20 78 b9 LB816 jsr LB978 b819: a5 2e lda RandomNumber1 b81b: 29 3c and #$3c b81d: 8d 73 06 sta TriangleSFXData b820: ad 10 06 lda TrianglePeriodLow b823: 29 c3 and #$c3 b825: 0d 73 06 ora TriangleSFXData b828: 8d 0a 40 sta TriangleCntrl2 b82b: ad 11 06 lda TrianglePeriodHigh b82e: 09 40 ora #$40 b830: 8d 0b 40 sta TriangleCntrl3 b833: 60 rts b834: a9 08 TB834 lda #$08 b836: a0 6d ldy #$6d b838: 20 52 b4 jsr LB452 b83b: a9 05 lda #$05 b83d: 8d 16 06 sta PercentDifference b840: ad 6f b2 lda LB200+111 b843: 8d 10 06 sta TrianglePeriodLow b846: ad 70 b2 lda LB200+112 b849: 29 07 and #$07 b84b: 8d 11 06 sta TrianglePeriodHigh b84e: 60 rts b84f: 20 a9 b4 TB84F jsr LB4A9 b852: d0 03 bne LB857 b854: 4c 96 b8 jmp LB896 b857: 20 a0 b9 LB857 jsr LB9A0 b85a: ad 14 06 lda TriangleLowPercentage b85d: 8d 12 06 sta TriangleChangeLow b860: ad 15 06 lda TriangleHighPercentage b863: 8d 13 06 sta TriangleChangeHigh b866: 20 8c b9 jsr LB98C b869: ad 10 06 LB869 lda TrianglePeriodLow b86c: 8d 0a 40 sta TriangleCntrl2 b86f: ad 11 06 lda TrianglePeriodHigh b872: 09 08 ora #$08 b874: 8d 0b 40 sta TriangleCntrl3 b877: 60 rts b878: a9 04 TB878 lda #$04 b87a: a0 65 ldy #$65 b87c: 4c 52 b4 jmp LB452 b87f: 20 a9 b4 TB87F jsr LB4A9 b882: d0 22 bne LB8A6 b884: ee 73 06 inc TriangleSFXData b887: ad 73 06 lda TriangleSFXData b88a: c9 02 cmp #$02 b88c: d0 03 bne LB891 b88e: 4c 96 b8 jmp LB896 b891: a0 69 LB891 ldy #$69 b893: 4c 6c b3 jmp LB36C b896: a9 00 LB896 lda #$00 b898: 8d 08 40 sta TriangleCntrl0 b89b: 8d 55 06 sta TriangleInUse b89e: a9 18 lda #$18 b8a0: 8d 0b 40 sta TriangleCntrl3 b8a3: 20 a2 b4 jsr LB4A2 b8a6: 60 LB8A6 rts b8a7: a9 03 TB8A7 lda #$03 b8a9: a0 71 ldy #$71 b8ab: 20 52 b4 jsr LB452 b8ae: 4c c3 b8 jmp LB8C3 b8b1: 20 a9 b4 TB8B1 jsr LB4A9 b8b4: f0 0d beq LB8C3 b8b6: ee 73 06 inc TriangleSFXData b8b9: ad 73 06 lda TriangleSFXData b8bc: c9 09 cmp #$09 b8be: d0 e6 bne LB8A6 b8c0: 4c 96 b8 jmp LB896 b8c3: a5 2e LB8C3 lda RandomNumber1 b8c5: 09 6c ora #$6c b8c7: 8d 0a 40 sta TriangleCntrl2 b8ca: 29 01 and #$01 b8cc: 09 f8 ora #$f8 b8ce: 8d 0b 40 sta TriangleCntrl3 b8d1: 60 rts b8d2: 20 04 b4 TB8D2 jsr LB404 b8d5: a9 0e lda #$0e b8d7: a0 75 ldy #$75 b8d9: 20 52 b4 jsr LB452 b8dc: a9 15 lda #$15 b8de: 8d 16 06 sta PercentDifference b8e1: ad 77 b2 lda LB200+119 b8e4: 8d 10 06 sta TrianglePeriodLow b8e7: a9 00 lda #$00 b8e9: 8d 11 06 sta TrianglePeriodHigh b8ec: 60 LB8EC rts b8ed: 20 a9 b4 TB8ED jsr LB4A9 b8f0: d0 1a bne LB90C b8f2: a9 20 lda #$20 b8f4: 8d 12 06 sta TriangleChangeLow b8f7: a9 00 lda #$00 b8f9: 8d 13 06 sta TriangleChangeHigh b8fc: 20 8c b9 jsr LB98C b8ff: ee 73 06 inc TriangleSFXData b902: ad 73 06 lda TriangleSFXData b905: c9 06 cmp #$06 b907: d0 e3 bne LB8EC b909: 4c 96 b8 jmp LB896 b90c: 20 a0 b9 LB90C jsr LB9A0 b90f: ad 14 06 lda TriangleLowPercentage b912: 8d 12 06 sta TriangleChangeLow b915: ad 15 06 lda TriangleHighPercentage b918: 8d 13 06 sta TriangleChangeHigh b91b: 20 78 b9 jsr LB978 b91e: 4c 69 b8 jmp LB869 b921: ad 83 b2 TB921 lda LB200+131 b924: 8d 10 06 sta TrianglePeriodLow b927: ad 84 b2 lda LB200+132 b92a: 29 07 and #$07 b92c: 8d 11 06 sta TrianglePeriodHigh b92f: a9 00 lda #$00 b931: 8d 13 06 sta TriangleChangeHigh b934: a9 0b lda #$0b b936: 8d 12 06 sta TriangleChangeLow b939: a9 06 lda #$06 b93b: a0 81 ldy #$81 b93d: 4c 52 b4 jmp LB452 b940: 20 a9 b4 TB940 jsr LB4A9 b943: d0 2d bne LB972 b945: ee 73 06 inc TriangleSFXData b948: ad 73 06 lda TriangleSFXData b94b: c9 09 cmp #$09 b94d: d0 03 bne LB952 b94f: 4c 96 b8 jmp LB896 b952: ad 12 06 LB952 lda TriangleChangeLow b955: 48 pha b956: ad 13 06 lda TriangleChangeHigh b959: 48 pha b95a: a9 25 lda #$25 b95c: 8d 12 06 sta TriangleChangeLow b95f: a9 00 lda #$00 b961: 8d 13 06 sta TriangleChangeHigh b964: 20 78 b9 jsr LB978 b967: 68 pla b968: 8d 13 06 sta TriangleChangeHigh b96b: 68 pla b96c: 8d 12 06 sta TriangleChangeLow b96f: 4c 69 b8 jmp LB869 b972: 20 8c b9 LB972 jsr LB98C b975: 4c 69 b8 jmp LB869 b978: 18 LB978 clc b979: ad 10 06 lda TrianglePeriodLow b97c: 6d 12 06 adc TriangleChangeLow b97f: 8d 10 06 sta TrianglePeriodLow b982: ad 11 06 lda TrianglePeriodHigh b985: 6d 13 06 adc TriangleChangeHigh b988: 8d 11 06 sta TrianglePeriodHigh b98b: 60 rts b98c: 38 LB98C sec b98d: ad 10 06 lda TrianglePeriodLow b990: ed 12 06 sbc TriangleChangeLow b993: 8d 10 06 sta TrianglePeriodLow b996: ad 11 06 lda TrianglePeriodHigh b999: ed 13 06 sbc TriangleChangeHigh b99c: 8d 11 06 sta TrianglePeriodHigh b99f: 60 rts b9a0: ad 10 06 LB9A0 lda TrianglePeriodLow b9a3: 48 pha b9a4: ad 11 06 lda TrianglePeriodHigh b9a7: 48 pha b9a8: a9 00 lda #$00 b9aa: 8d 17 06 sta DivideData b9ad: a2 10 ldx #$10 b9af: 2e 10 06 rol TrianglePeriodLow b9b2: 2e 11 06 rol TrianglePeriodHigh b9b5: 2e 17 06 LB9B5 rol DivideData b9b8: ad 17 06 lda DivideData b9bb: cd 16 06 cmp PercentDifference b9be: 90 06 bcc LB9C6 b9c0: ed 16 06 sbc PercentDifference b9c3: 8d 17 06 sta DivideData b9c6: 2e 10 06 LB9C6 rol TrianglePeriodLow b9c9: 2e 11 06 rol TrianglePeriodHigh b9cc: ca dex b9cd: d0 e6 bne LB9B5 b9cf: ad 10 06 lda TrianglePeriodLow b9d2: 8d 14 06 sta TriangleLowPercentage b9d5: ad 11 06 lda TrianglePeriodHigh b9d8: 8d 15 06 sta TriangleHighPercentage b9db: 68 pla b9dc: 8d 11 06 sta TrianglePeriodHigh b9df: 68 pla b9e0: 8d 10 06 sta TrianglePeriodLow b9e3: 60 rts b9e4: a9 7f LB9E4 lda #$7f b9e6: 8d 48 06 sta MusicSQ1Sweep b9e9: 8d 49 06 sta MusicSQ2Sweep b9ec: 8e 28 06 stx SQ1DutyEnvelope b9ef: 8c 29 06 sty SQ2DutyEnvelope b9f2: 60 rts b9f3: ad 40 06 LB9F3 lda SQ1MusicFrameCount b9f6: c9 01 cmp #$01 b9f8: d0 03 bne LB9FD b9fa: 8d 6a 06 sta SQ1VolumeIndex b9fd: ad 41 06 LB9FD lda SQ2MusicFrameCount ba00: c9 01 cmp #$01 ba02: d0 03 bne LBA07 ba04: 8d 6b 06 sta SQ2VolumeIndex ba07: 60 LBA07 rts ba08: ad 07 06 LBA08 lda WriteMultiChannelData ba0b: f0 29 beq LBA36 ba0d: a9 00 lda #$00 ba0f: 8d 07 06 sta WriteMultiChannelData ba12: ad 48 06 lda MusicSQ1Sweep ba15: 8d 01 40 sta SQ1Cntrl1 ba18: ad 00 06 lda MusicSQ1PeriodLow ba1b: 8d 02 40 sta SQ1Cntrl2 ba1e: ad 01 06 lda MusicSQ1PeriodHigh ba21: 8d 03 40 sta SQ1Cntrl3 ba24: ad 49 06 lda MusicSQ2Sweep ba27: 8d 05 40 sta SQ2Cntrl1 ba2a: ad 04 06 lda MusicSQ2PeriodLow ba2d: 8d 06 40 sta SQ2Cntrl2 ba30: ad 05 06 lda MusicSQ2PeriodHigh ba33: 8d 07 40 sta SQ2Cntrl3 ba36: 60 LBA36 rts ba37: a2 00 LBA37 ldx #$00 ba39: 20 41 ba jsr LBA41 ba3c: e8 inx ba3d: 20 41 ba jsr LBA41 ba40: 60 rts ba41: bd 2e 06 LBA41 lda SQ1VolumeCntrl,x ba44: f0 45 beq LBA8B ba46: 85 eb sta VolumeCntrlAddress ba48: 20 08 ba jsr LBA08 ba4b: bd 6c 06 lda SQ1VolumeData,x ba4e: c9 10 cmp #$10 ba50: f0 47 beq LBA99 ba52: a0 00 ldy #$00 ba54: c6 eb LBA54 dec VolumeCntrlAddress ba56: f0 04 beq LBA5C ba58: c8 iny ba59: c8 iny ba5a: d0 f8 bne LBA54 ba5c: b9 b0 bc LBA5C lda LBCB0,y ba5f: 85 ec sta $ec ba61: b9 b1 bc lda LBCB0+1,y ba64: 85 ed sta $ed ba66: bc 6a 06 ldy SQ1VolumeIndex,x ba69: b1 ec lda ($ec),y ba6b: 85 ea sta Cntrl0Data ba6d: c9 ff cmp #$ff ba6f: f0 1f beq LBA90 ba71: c9 f0 cmp #$f0 ba73: f0 20 beq LBA95 ba75: bd 28 06 lda SQ1DutyEnvelope,x ba78: 29 f0 and #$f0 ba7a: 05 ea ora Cntrl0Data ba7c: a8 tay ba7d: fe 6a 06 LBA7D inc SQ1VolumeIndex,x ba80: bd 53 06 LBA80 lda SQ1InUse,x ba83: d0 06 bne LBA8B ba85: 8a txa ba86: f0 04 beq LBA8C ba88: 8c 04 40 sty SQ2Cntrl0 ba8b: 60 LBA8B rts ba8c: 8c 00 40 LBA8C sty SQ1Cntrl0 ba8f: 60 rts ba90: bc 28 06 LBA90 ldy SQ1DutyEnvelope,x ba93: d0 eb bne LBA80 ba95: a0 10 LBA95 ldy #$10 ba97: d0 e7 bne LBA80 ba99: a0 10 LBA99 ldy #$10 ba9b: d0 e0 bne LBA7D ba9d: 20 f0 b3 LBA9D jsr LB3F0 baa0: 60 rts baa1: 20 37 ba LBAA1 jsr LBA37 baa4: 60 rts baa5: 20 f3 b9 LBAA5 jsr LB9F3 baa8: a9 00 lda #$00 baaa: aa tax baab: 8d 4b 06 sta ThisSoundChannel baae: f0 12 beq LBAC2 bab0: 8a LBAB0 txa bab1: 4a lsr A bab2: aa tax bab3: e8 LBAB3 inx bab4: 8a txa bab5: c9 04 cmp #$04 bab7: f0 e8 beq LBAA1 bab9: ad 4b 06 lda ThisSoundChannel babc: 18 clc babd: 69 04 adc #$04 babf: 8d 4b 06 sta ThisSoundChannel bac2: 8a LBAC2 txa bac3: 0a asl A bac4: aa tax bac5: bd 30 06 lda SQ1LowBaseByte,x bac8: 85 e6 sta $e6 baca: bd 31 06 lda SQ1HighBaseByte,x bacd: 85 e7 sta $e7 bacf: bd 31 06 lda SQ1HighBaseByte,x bad2: f0 dc beq LBAB0 bad4: 8a txa bad5: 4a lsr A bad6: aa tax bad7: de 40 06 dec SQ1MusicFrameCount,x bada: d0 d7 bne LBAB3 badc: bc 38 06 LBADC ldy SQ1MusicIndexIndex,x badf: fe 38 06 inc SQ1MusicIndexIndex,x bae2: b1 e6 lda ($e6),y bae4: f0 b7 beq LBA9D bae6: a8 tay bae7: c9 ff cmp #$ff bae9: f0 09 beq LBAF4 baeb: 29 c0 and #$c0 baed: c9 c0 cmp #$c0 baef: f0 13 beq LBB04 baf1: 4c 1c bb jmp LBB1C baf4: bd 24 06 LBAF4 lda SQ1RepeatCounter,x baf7: f0 1a beq LBB13 baf9: de 24 06 dec SQ1RepeatCounter,x bafc: bd 3c 06 lda SQ1LoopIndex,x baff: 9d 38 06 sta SQ1MusicIndexIndex,x bb02: d0 0f bne LBB13 bb04: 98 LBB04 tya bb05: 29 3f and #$3f bb07: 9d 24 06 sta SQ1RepeatCounter,x bb0a: de 24 06 dec SQ1RepeatCounter,x bb0d: bd 38 06 lda SQ1MusicIndexIndex,x bb10: 9d 3c 06 sta SQ1LoopIndex,x bb13: 4c dc ba LBB13 jmp LBADC bb16: 4c de bb LBB16 jmp LBBDE bb19: 4c b7 bb LBB19 jmp LBBB7 bb1c: 98 LBB1C tya bb1d: 29 b0 and #$b0 bb1f: c9 b0 cmp #$b0 bb21: d0 1d bne LBB40 bb23: 98 tya bb24: 29 0f and #$0f bb26: 18 clc bb27: 6d 2b 06 adc NoteLengthTblOffset bb2a: a8 tay bb2b: b9 f7 be lda LBEF7,y bb2e: 9d 20 06 sta SQ1FrameCountInit,x bb31: a8 tay bb32: 8a txa bb33: c9 02 cmp #$02 bb35: f0 e2 beq LBB19 bb37: bc 38 06 LBB37 ldy SQ1MusicIndexIndex,x bb3a: fe 38 06 inc SQ1MusicIndexIndex,x bb3d: b1 e6 lda ($e6),y bb3f: a8 tay bb40: 8a LBB40 txa bb41: c9 03 cmp #$03 bb43: f0 d1 beq LBB16 bb45: 48 pha bb46: ae 4b 06 ldx ThisSoundChannel bb49: b9 78 be lda LBCBA+$1be,y bb4c: f0 0b beq LBB59 bb4e: 9d 00 06 sta MusicSQ1PeriodLow,x bb51: b9 77 be lda LBCBA+$1bd,y bb54: 09 08 ora #$08 bb56: 9d 01 06 sta MusicSQ1PeriodHigh,x bb59: a8 LBB59 tay bb5a: 68 pla bb5b: aa tax bb5c: 98 tya bb5d: d0 0f bne LBB6E bb5f: a9 00 lda #$00 bb61: 85 ea sta Cntrl0Data bb63: 8a txa bb64: c9 02 cmp #$02 bb66: f0 0b beq LBB73 bb68: a9 10 lda #$10 bb6a: 85 ea sta Cntrl0Data bb6c: d0 05 bne LBB73 bb6e: bd 28 06 LBB6E lda SQ1DutyEnvelope,x bb71: 85 ea sta Cntrl0Data bb73: 8a LBB73 txa bb74: de 53 06 dec SQ1InUse,x bb77: dd 53 06 cmp SQ1InUse,x bb7a: f0 35 beq LBBB1 bb7c: fe 53 06 inc SQ1InUse,x bb7f: ac 4b 06 ldy ThisSoundChannel bb82: 8a txa bb83: c9 02 cmp #$02 bb85: f0 05 beq LBB8C bb87: bd 2e 06 lda SQ1VolumeCntrl,x bb8a: d0 05 bne LBB91 bb8c: a5 ea LBB8C lda Cntrl0Data bb8e: 99 00 40 sta SQ1Cntrl0,y bb91: a5 ea LBB91 lda Cntrl0Data bb93: 9d 6c 06 sta SQ1VolumeData,x bb96: b9 00 06 lda MusicSQ1PeriodLow,y bb99: 99 02 40 sta SQ1Cntrl2,y bb9c: b9 01 06 lda MusicSQ1PeriodHigh,y bb9f: 99 03 40 sta SQ1Cntrl3,y bba2: bd 48 06 lda MusicSQ1Sweep,x bba5: 99 01 40 sta SQ1Cntrl1,y bba8: bd 20 06 LBBA8 lda SQ1FrameCountInit,x bbab: 9d 40 06 sta SQ1MusicFrameCount,x bbae: 4c b3 ba jmp LBAB3 bbb1: fe 53 06 LBBB1 inc SQ1InUse,x bbb4: 4c a8 bb jmp LBBA8 bbb7: ad 2d 06 LBBB7 lda TriangleCounterCntrl bbba: 29 0f and #$0f bbbc: d0 1a bne LBBD8 bbbe: ad 2d 06 lda TriangleCounterCntrl bbc1: 29 f0 and #$f0 bbc3: d0 04 bne LBBC9 bbc5: 98 tya bbc6: 4c cd bb jmp LBBCD bbc9: a9 ff LBBC9 lda #$ff bbcb: d0 0b bne LBBD8 bbcd: 18 LBBCD clc bbce: 69 ff adc #$ff bbd0: 0a asl A bbd1: 0a asl A bbd2: c9 3c cmp #$3c bbd4: 90 02 bcc LBBD8 bbd6: a9 3c lda #$3c bbd8: 8d 2a 06 LBBD8 sta TriLinearCount bbdb: 4c 37 bb jmp LBB37 bbde: ad 88 06 LBBDE lda NoiseContSFX bbe1: 29 fc and #$fc bbe3: d0 12 bne LBBF7 bbe5: b9 00 b2 lda LB200,y bbe8: 8d 0c 40 sta NoiseCntrl0 bbeb: b9 01 b2 lda LB200+1,y bbee: 8d 0e 40 sta NoiseCntrl2 bbf1: b9 02 b2 lda LB200+2,y bbf4: 8d 0f 40 sta NoiseCntrl3 bbf7: 4c a8 bb LBBF7 jmp LBBA8 bbfa: 41 LBBFA .dd1 $41 bbfb: 8f .dd1 $8f bbfc: 34 .dd1 $34 bbfd: 27 .dd1 $27 bbfe: 1a .dd1 $1a bbff: 0d .dd1 $0d bc00: 00 .dd1 $00 bc01: 82 .dd1 $82 bc02: 68 .dd1 $68 bc03: 75 .dd1 $75 bc04: 4e .dd1 $4e bc05: 5b .dd1 $5b bc06: 80 bc .dd2 TBC80 bc08: 7a bc .dd2 TBC7A bc0a: 86 bc .dd2 TBC86 bc0c: 7a bc .dd2 TBC7A bc0e: ee b4 .dd2 TB4EE bc10: 73 b6 .dd2 TB673 bc12: ec b5 .dd2 TB5EC bc14: 95 b6 .dd2 TB695 bc16: ee b4 .dd2 TB4EE bc18: ee b4 .dd2 TB4EE bc1a: ee b4 .dd2 TB4EE bc1c: ee b4 .dd2 TB4EE bc1e: ee b4 .dd2 TB4EE bc20: 50 b6 .dd2 TB650 bc22: f6 b5 .dd2 TB5F6 bc24: a1 b6 .dd2 TB6A1 bc26: 83 bc .dd2 TBC83 bc28: 77 bc .dd2 TBC77 bc2a: 77 bc .dd2 TBC77 bc2c: 77 bc .dd2 TBC77 bc2e: 80 bc .dd2 TBC80 bc30: 7d bc .dd2 TBC7D bc32: 77 bc .dd2 TBC77 bc34: 80 bc .dd2 TBC80 bc36: ad .dd1 $ad bc37: 5d .dd1 $5d bc38: 06 .dd1 $06 bc39: a2 .dd1 $a2 bc3a: b6 .dd1 $b6 bc3b: d0 .dd1 $d0 bc3c: 05 .dd1 $05 bc3d: ad .dd1 $ad bc3e: 85 .dd1 $85 bc3f: 06 .dd1 $06 bc40: a2 .dd1 $a2 bc41: b1 .dd1 $b1 bc42: 20 .dd1 $20 bc43: bd .dd1 $bd bc44: b4 .dd1 $b4 bc45: 20 .dd1 $20 bc46: 53 .dd1 $53 bc47: bc .dd1 $bc bc48: 6c .dd1 $6c bc49: e2 .dd1 $e2 bc4a: 00 .dd1 $00 bc4b: ad 8d 06 lda CurrentMusic bc4e: f0 26 beq LBC76 bc50: 4c a5 ba jmp LBAA5 bc53: a9 .dd1 $a9 bc54: ff .dd1 $ff bc55: 8d .dd1 $8d bc56: 5e .dd1 $5e bc57: 06 .dd1 $06 bc58: ad .dd1 $ad bc59: 4d .dd1 $4d bc5a: 06 .dd1 $06 bc5b: f0 .dd1 $f0 bc5c: 06 .dd1 $06 bc5d: ee .dd1 $ee bc5e: 5e .dd1 $5e bc5f: 06 .dd1 $06 bc60: 0a .dd1 $0a bc61: 90 .dd1 $90 bc62: fa .dd1 $fa bc63: 60 .dd1 $60 bc64: ad .dd1 $ad bc65: 5e .dd1 $5e bc66: 06 .dd1 $06 bc67: 18 .dd1 $18 bc68: 69 .dd1 $69 bc69: 08 .dd1 $08 bc6a: 8d .dd1 $8d bc6b: 5e .dd1 $5e bc6c: 06 .dd1 $06 bc6d: 60 .dd1 $60 bc6e: ad 8d 06 lda CurrentMusic bc71: 09 f0 ora #$f0 bc73: 8d 8d 06 sta CurrentMusic bc76: 60 LBC76 rts bc77: 4c aa bc TBC77 jmp LBCAA bc7a: 4c a4 bc TBC7A jmp LBCA4 bc7d: 4c 9a bc TBC7D jmp LBC9A bc80: 4c 96 bc TBC80 jmp LBC96 bc83: 4c 89 bc TBC83 jmp LBC89 bc86: 4c 9e bc TBC86 jmp LBC9E bc89: a9 b3 LBC89 lda #$b3 bc8b: aa LBC8B tax bc8c: a8 tay bc8d: 20 e4 b9 LBC8D jsr LB9E4 bc90: 20 19 bf jsr LBF19 bc93: 4c a5 ba jmp LBAA5 bc96: a9 34 LBC96 lda #$34 bc98: d0 f1 bne LBC8B bc9a: a9 f4 LBC9A lda #$f4 bc9c: d0 ed bne LBC8B bc9e: a2 f5 LBC9E ldx #$f5 bca0: a0 f6 ldy #$f6 bca2: d0 e9 bne LBC8D bca4: a2 b6 LBCA4 ldx #$b6 bca6: a0 f6 ldy #$f6 bca8: d0 e3 bne LBC8D bcaa: a2 92 LBCAA ldx #$92 bcac: a0 96 ldy #$96 bcae: d0 dd bne LBC8D bcb0: ba bc LBCB0 .dd2 LBCBA bcb2: c5 bc .dd2 LBCBA+11 bcb4: cf bc .dd2 LBCBA+21 bcb6: da bc .dd2 LBCBA+32 bcb8: 03 bd .dd2 LBCBA+73 bcba: 01 02 02 03+ LBCBA .bulk $01,$02,$02,$03,$03,$04,$05,$06,$07,$08,$ff,$02,$04,$05,$06,$07 + $08,$07,$06,$05,$ff,$00,$0d,$09,$07,$06,$05,$05,$05,$04,$04,$ff + $02,$06,$07,$07,$07,$06,$06,$06,$06,$05,$05,$05,$04,$04,$04,$03 + $03,$03,$03,$02,$03,$03,$03,$03,$03,$02,$02,$02,$02,$02,$02,$02 + $02,$02,$02,$01,$01,$01,$01,$01,$f0,$0a,$0a,$09,$08,$07,$06,$05 + $04,$03,$02,$07,$07,$06,$05,$04,$04,$03,$02,$02,$02,$05,$05,$05 + $04,$03,$02,$02,$02,$01,$01,$04,$04,$03,$02,$01,$02,$02,$01,$01 + $01,$02,$02,$02,$01,$01,$f0,$0b,$ff,$f5,$00,$00,$00,$01,$00,$03 + $00,$05,$00,$00,$0b,$ff,$00,$02,$02,$00,$01,$00,$03,$00,$05,$00 + $07,$0b,$ff,$f0,$04,$04,$00,$01,$00,$03,$00,$05,$00,$07,$00,$ff + $f0,$00,$00,$00,$01,$00,$03,$00,$05,$00,$00,$0b,$ff,$03,$00,$00 + $da,$bd,$dc,$bd,$cd,$bd,$00,$00,$0b,$ff,$f0,$01,$01,$00,$01,$00 + $03,$00,$05,$00,$00,$17,$00,$00,$02,$01,$00,$ac,$c5,$ad,$f5,$ac + $8e,$ae,$17,$00,$f0,$02,$05,$b9,$b0,$00,$b0,$76,$b0,$15,$b1,$0b + $00,$f0,$02,$00,$3e,$be,$1d,$be,$36,$be,$00,$00,$00,$00,$f0,$01 + $00,$f7,$bd,$0d,$be,$08,$be,$00,$00,$0b,$ff,$00,$02,$03,$00,$01 + $00,$03,$00,$05,$00,$07,$0b,$ff,$03,$00,$00,$59,$be,$47,$be,$62 + $be,$00,$00,$c8,$b0,$38,$3a,$3c,$3e,$40,$3e,$3c,$3a,$b6,$02,$ff + $b8,$02,$b3,$02,$b2,$74,$02,$6a,$02,$72,$02,$62,$b4,$02,$b2,$60 + $02,$6c,$02,$76,$b3,$02,$b2,$7e,$02,$7c,$b3,$02,$00,$b3,$48,$42 + $b2,$3e,$38,$30,$38,$4c,$44,$3e,$36,$c8,$b0,$38,$3c,$ff,$b4,$2c + $2a,$1e,$1c,$b2,$22,$2c,$30,$34,$38,$30,$26,$30,$3a,$34,$2c,$26 + $b4,$2a,$00,$c4,$b0,$3e,$30,$ff,$c4,$42,$30,$ff,$c4,$3a,$2c,$ff + $c4,$38,$26,$ff,$c4,$34,$20,$ff,$e0,$34,$24,$ff,$b3,$36,$34,$30 + $2a,$b4,$1c,$1c,$b3,$34,$3a,$34,$30,$b4,$2a,$2a,$00,$b4,$12,$b3 + $10,$18,$16,$0a,$b4,$14,$12,$b3,$10,$06,$0e,$04,$b4,$0c,$00,$e0 + $b0,$54,$4e,$48,$42,$48,$4e,$ff,$e0,$b3,$02,$b0,$3c,$40,$44,$4a + $4e,$54,$58,$5c,$62,$66,$6c,$70,$74,$7a,$b3,$02,$ff,$07,$f0,$00 + $00,$06,$4e,$05,$f3,$05,$4d,$05,$01,$04,$b9,$04,$75,$04,$35,$03 + $f8,$03,$bf,$03,$89,$03,$57,$03,$27,$02,$f9,$02,$cf,$02,$a6,$02 + $80,$02,$5c,$02,$3a,$02,$1a,$01,$fc,$01,$df,$01,$c4,$01,$ab,$01 + $93,$01,$7c,$01,$67,$01,$52,$01,$3f,$01,$2d,$01,$1c,$01,$0c,$00 + $fd,$00,$ee,$00,$e1,$00,$d4,$00,$c8,$00,$bd,$00,$b2,$00,$a8,$00 + $9f,$00,$96,$00,$8d,$00,$85,$00,$7e,$00,$76,$00,$70,$00,$69,$00 + $63,$00,$5e,$00,$58,$00,$53,$00,$4f,$00,$4a,$00,$46,$00,$42,$00 + $3e,$00,$3a,$00,$37,$00,$34,$00,$31,$00,$2e,$00,$27 bef7: 04 08 10 20+ LBEF7 .bulk $04,$08,$10,$20,$40,$18,$30,$0c,$0b,$05,$02,$06,$0c,$18,$30,$60 + $24,$48,$12,$10,$08,$03,$10,$07,$0e,$1c,$38,$70,$2a,$54,$15,$12 + $02,$03 bf19: 20 fc b3 LBF19 jsr LB3FC bf1c: ad 4d 06 lda CurrentSFXFlags bf1f: 8d 8d 06 sta CurrentMusic bf22: ad 5e 06 lda MusicInitIndex bf25: a8 tay bf26: b9 fa bb lda LBBFA,y bf29: a8 tay bf2a: a2 00 ldx #$00 bf2c: b9 31 bd LBF2C lda LBCBA+119,y bf2f: 9d 2b 06 sta NoteLengthTblOffset,x bf32: c8 iny bf33: e8 inx bf34: 8a txa bf35: c9 0d cmp #$0d bf37: d0 f3 bne LBF2C bf39: a9 01 lda #$01 bf3b: 8d 40 06 sta SQ1MusicFrameCount bf3e: 8d 41 06 sta SQ2MusicFrameCount bf41: 8d 42 06 sta TriangleMusicFrameCount bf44: 8d 43 06 sta NoiseMusicFrameCount bf47: a9 00 lda #$00 bf49: 8d 38 06 sta SQ1MusicIndexIndex bf4c: 8d 39 06 sta SQ2MusicIndexIndex bf4f: 8d 3a 06 sta TriangleMusicIndexIndex bf52: 8d 3b 06 sta NoiseMusicIndexIndex bf55: 60 rts bf56: 10 07 0e 1c+ .junk 90 bfb0: 78 LBFB0 sei bfb1: d8 cld bfb2: a2 00 ldx #$00 bfb4: 8e 00 20 stx PPUControl0 bfb7: 8e 01 20 stx PPUControl1 bfba: ad 02 20 LBFBA lda PPUStatus bfbd: 10 fb bpl LBFBA bfbf: ad 02 20 LBFBF lda PPUStatus bfc2: 10 fb bpl LBFBF bfc4: 09 ff ora #$ff bfc6: 8d 00 80 sta MMC1Reg0 bfc9: 8d 00 a0 sta MMC1Reg1 bfcc: 8d 00 c0 sta MMC1Reg2 bfcf: 8d 00 e0 sta MMC1Reg3 bfd2: 4c 1a c0 jmp Startup bfd5: ff ff ff ff+ .junk 37 bffa: d9 c0 .dd2 NMI bffc: b0 bf .dd2 LBFB0 bffe: b0 bf .dd2 LBFB0 .adrend β $8000 .addrs $8000 8000: 4c 10 f4 L8000 jmp LF410 8003: 4c 38 f4 L8003 jmp LF438 8006: 4c 16 f4 L8006 jmp LF416 8009: 4c 52 f8 L8009 jmp LF852 800c: 4c 94 e0 L800C jmp UpdateEnemyAnim 800f: 4c 8d f6 L800F jmp LF68D 8012: 4c 3e f8 jmp LF83E 8015: 4c 5a f8 jmp LF85A 8018: 4c b9 fb jmp LFBB9 801b: 4c 88 fb L801B jmp LFB88 801e: 4c ca fb L801E jmp LFBCA 8021: 4c 70 f8 jmp LF870 8024: 4c 7c c2 ChooseRoutineB jmp ChooseRoutine 8027: 4c 8f fd L8027_0 jmp LFD8F 802a: 4c 6e eb L802A jmp LEB6E 802d: 4c 44 82 L802D jmp L8244 8030: 4c 18 83 L8030 jmp L8318 8033: 4c 1e fa L8033 jmp LFA1E 8036: 4c 3f 83 L8036 jmp L833F 8039: 4c 95 83 L8039 jmp L8395 803c: 4c 8b dd jmp LDD8B 803f: 4c dc fe jmp LFEDC 8042: 4c 92 ce jmp LCE92 8045: 4c fb c3 jmp LC3FB 8048: fd 84 L8048 .dd2 T84FE-1 804a: a6 84 .dd2 T84A7-1 804c: 4a 84 .dd2 T844B-1 804e: 4a 84 .dd2 T844B-1 8050: a6 84 .dd2 T84A7-1 8052: fd 84 .dd2 T84FE-1 8054: f4 83 .dd2 T83F5-1 8056: f4 83 .dd2 T83F5-1 8058: a6 4b L8058 ldx PageIndex 805a: bd 05 04 lda EnCounter-1,x 805d: 0a asl A 805e: 30 4f bmi L80AF 8060: bd f4 6a lda Enstatus,x 8063: c9 02 cmp #$02 8065: d0 48 bne L80AF 8067: 20 44 82 jsr L8244 806a: a5 00 lda $00 806c: 10 0f bpl L807D 806e: 20 d4 c3 jsr LC3D4 8071: 85 66 sta $66 8073: 20 f5 83 L8073 jsr T83F5 8076: 20 b8 80 jsr L80B8 8079: c6 66 dec $66 807b: d0 f6 bne L8073 807d: f0 0c L807D beq L808B 807f: 85 66 sta $66 8081: 20 4b 84 L8081 jsr T844B 8084: 20 fb 80 jsr L80FB 8087: c6 66 dec $66 8089: d0 f6 bne L8081 808b: 20 18 83 L808B jsr L8318 808e: a5 00 lda $00 8090: 10 0f bpl L80A1 8092: 20 d4 c3 jsr LC3D4 8095: 85 66 sta $66 8097: 20 a7 84 L8097 jsr T84A7 809a: 20 6e 81 jsr L816E 809d: c6 66 dec $66 809f: d0 f6 bne L8097 80a1: f0 0c L80A1 beq L80AF 80a3: 85 66 sta $66 80a5: 20 fe 84 L80A5 jsr T84FE 80a8: 20 34 81 jsr L8134 80ab: c6 66 dec $66 80ad: d0 f6 bne L80A5 80af: 60 L80AF rts 80b0: bc 02 6b Brinstar80b0 ldy EnDataIndex,x 80b3: b9 7b 97 lda L9601+$17a,y 80b6: 0a asl A 80b7: 60 rts 80b8: a6 4b L80B8 ldx PageIndex 80ba: b0 3e bcs L80FA 80bc: bd 05 04 lda EnCounter-1,x 80bf: 10 06 bpl L80C7 80c1: 20 fc 81 L80C1 jsr L81FC 80c4: 4c f6 80 jmp L80F6 80c7: 20 b0 80 L80C7 jsr Brinstar80b0 80ca: 10 1e bpl L80EA 80cc: bd 03 6b lda $6b03,x 80cf: f0 f0 beq L80C1 80d1: 10 05 bpl L80D8 80d3: 20 b1 81 jsr L81B1 80d6: f0 0a beq L80E2 80d8: 38 L80D8 sec 80d9: 7e 02 04 ror $0402,x 80dc: 7e 06 04 ror EnCounter,x 80df: 4c f6 80 jmp L80F6 80e2: 9d 02 04 L80E2 sta $0402,x 80e5: 9d 06 04 sta EnCounter,x 80e8: f0 0c beq L80F6 80ea: b9 7b 97 L80EA lda L9601+$17a,y 80ed: 4a lsr A 80ee: 4a lsr A 80ef: 90 05 bcc L80F6 80f1: a9 04 lda #$04 80f3: 20 6b 85 jsr L856B 80f6: a9 01 L80F6 lda #$01 80f8: 85 66 sta $66 80fa: 60 L80FA rts 80fb: a6 4b L80FB ldx PageIndex 80fd: b0 34 bcs L8133 80ff: bd 05 04 lda EnCounter-1,x 8102: 10 06 bpl L810A 8104: 20 fc 81 L8104 jsr L81FC 8107: 4c 2f 81 jmp L812F 810a: 20 b0 80 L810A jsr Brinstar80b0 810d: 10 14 bpl L8123 810f: bd 03 6b lda $6b03,x 8112: f0 f0 beq L8104 8114: 10 0a bpl L8120 8116: 18 clc 8117: 7e 02 04 ror $0402,x 811a: 7e 06 04 ror EnCounter,x 811d: 4c 2f 81 jmp L812F 8120: 20 b1 81 L8120 jsr L81B1 8123: b9 7b 97 L8123 lda L9601+$17a,y 8126: 4a lsr A 8127: 4a lsr A 8128: 90 05 bcc L812F 812a: a9 04 lda #$04 812c: 20 6b 85 jsr L856B 812f: a9 01 L812F lda #$01 8131: 85 66 sta $66 8133: 60 L8133 rts 8134: a6 4b L8134 ldx PageIndex 8136: b0 35 bcs L816D 8138: 20 b0 80 jsr Brinstar80b0 813b: 10 21 bpl L815E 813d: bd 05 04 lda EnCounter-1,x 8140: 30 06 bmi L8148 8142: 20 c7 81 L8142 jsr L81C7 8145: 4c 69 81 jmp L8169 8148: bd 03 6b L8148 lda $6b03,x 814b: f0 f5 beq L8142 814d: 10 0a bpl L8159 814f: 18 clc 8150: 7e 03 04 ror $0403,x 8153: 7e 07 04 ror $0407,x 8156: 4c 69 81 jmp L8169 8159: 20 c0 81 L8159 jsr L81C0 815c: f0 0b beq L8169 815e: b9 7b 97 L815E lda L9601+$17a,y 8161: 4a lsr A 8162: 90 05 bcc L8169 8164: a9 01 lda #$01 8166: 20 6b 85 jsr L856B 8169: a9 01 L8169 lda #$01 816b: 85 66 sta $66 816d: 60 L816D rts 816e: a6 4b L816E ldx PageIndex 8170: b0 3e bcs L81B0 8172: 20 b0 80 jsr Brinstar80b0 8175: 10 29 bpl L81A0 8177: bd 05 04 lda EnCounter-1,x 817a: 30 06 bmi L8182 817c: 20 c7 81 L817C jsr L81C7 817f: 4c ac 81 jmp L81AC 8182: bd 03 6b L8182 lda $6b03,x 8185: f0 f5 beq L817C 8187: 10 05 bpl L818E 8189: 20 c0 81 jsr L81C0 818c: f0 0a beq L8198 818e: 38 L818E sec 818f: 7e 03 04 ror $0403,x 8192: 7e 07 04 ror $0407,x 8195: 4c ac 81 jmp L81AC 8198: 9d 03 04 L8198 sta $0403,x 819b: 9d 07 04 sta $0407,x 819e: f0 0c beq L81AC 81a0: 20 b0 80 L81A0 jsr Brinstar80b0 81a3: 4a lsr A 81a4: 4a lsr A 81a5: 90 05 bcc L81AC 81a7: a9 01 lda #$01 81a9: 20 6b 85 jsr L856B 81ac: a9 01 L81AC lda #$01 81ae: 85 66 sta $66 81b0: 60 L81B0 rts 81b1: 20 b8 81 L81B1 jsr L81B8 81b4: 9d fe 6a sta $6afe,x 81b7: 60 rts 81b8: a9 20 L81B8 lda #$20 81ba: 20 44 f7 jsr LF744 81bd: a9 00 lda #$00 81bf: 60 rts 81c0: 20 b8 81 L81C0 jsr L81B8 81c3: 9d ff 6a sta $6aff,x 81c6: 60 rts 81c7: 20 f6 81 L81C7 jsr L81F6 81ca: d0 29 bne L81F5 81cc: a9 01 lda #$01 81ce: 20 6b 85 jsr L856B 81d1: bd ff 6a L81D1 lda $6aff,x 81d4: 20 d4 c3 jsr LC3D4 81d7: 9d ff 6a sta $6aff,x 81da: 20 f6 81 L81DA jsr L81F6 81dd: d0 16 bne L81F5 81df: 20 b0 80 jsr Brinstar80b0 81e2: 38 sec 81e3: 10 08 bpl L81ED 81e5: a9 00 lda #$00 81e7: fd 07 04 sbc $0407,x 81ea: 9d 07 04 sta $0407,x 81ed: a9 00 L81ED lda #$00 81ef: fd 03 04 sbc $0403,x 81f2: 9d 03 04 sta $0403,x 81f5: 60 L81F5 rts 81f6: 20 4b f7 L81F6 jsr LF74B 81f9: 29 20 and #$20 81fb: 60 rts 81fc: 20 f6 81 L81FC jsr L81F6 81ff: d0 f4 bne L81F5 8201: a9 04 lda #$04 8203: 20 6b 85 jsr L856B 8206: bd fe 6a L8206 lda $6afe,x 8209: 20 d4 c3 jsr LC3D4 820c: 9d fe 6a sta $6afe,x 820f: 20 f6 81 L820F jsr L81F6 8212: d0 16 bne L822A 8214: 20 b0 80 jsr Brinstar80b0 8217: 38 sec 8218: 10 08 bpl L8222 821a: a9 00 lda #$00 821c: fd 06 04 sbc EnCounter,x 821f: 9d 06 04 sta EnCounter,x 8222: a9 00 L8222 lda #$00 8224: fd 02 04 sbc $0402,x 8227: 9d 02 04 sta $0402,x 822a: 60 L822A rts 822b: bd 05 04 L822B lda EnCounter-1,x 822e: 10 02 bpl L8232 8230: 4a lsr A 8231: 4a lsr A 8232: 4a L8232 lsr A 8233: bd 08 04 lda EnDelay-1,x 8236: 2a rol A 8237: 0a asl A 8238: a8 tay 8239: b9 db 96 lda L9601+218,y 823c: 85 81 sta HideShowEndMsg 823e: b9 dc 96 lda L9601+219,y 8241: 85 82 sta ClrChangeCounter 8243: 60 rts 8244: 20 b0 80 L8244 jsr Brinstar80b0 8247: 10 03 bpl L824C 8249: 4c 3f 83 jmp L833F 824c: bd 05 04 L824C lda EnCounter-1,x 824f: 29 20 and #$20 8251: 49 20 eor #$20 8253: f0 4d beq L82A2_0 8255: 20 2b 82 jsr L822B 8258: bc 06 04 L8258 ldy EnCounter,x 825b: b1 81 L825B lda (HideShowEndMsg),y 825d: c9 f0 cmp #$f0 825f: 90 1e bcc L827F_0 8261: c9 fa cmp #$fa 8263: f0 17 beq L827C 8265: c9 fb cmp #$fb 8267: f0 47 beq L82B0 8269: c9 fc cmp #$fc 826b: f0 46 beq L82B3 826d: c9 fd cmp #$fd 826f: f0 34 beq L82A5 8271: c9 fe cmp #$fe 8273: f0 69 beq L82DE 8275: a9 00 lda #$00 8277: 9d 06 04 sta EnCounter,x 827a: f0 dc beq L8258 827c: 4c 12 83 L827C jmp L8312 827f: 38 L827F_0 sec 8280: fd 09 04 sbc EnDelay,x 8283: d0 0b bne L8290 8285: 9d 09 04 sta EnDelay,x 8288: c8 iny 8289: c8 iny 828a: 98 tya 828b: 9d 06 04 sta EnCounter,x 828e: d0 cb bne L825B 8290: fe 09 04 L8290 inc EnDelay,x 8293: c8 iny 8294: b1 81 lda (HideShowEndMsg),y 8296: 0a L8296 asl A 8297: 08 php 8298: 20 be c2 jsr LC2BE 829b: 28 plp 829c: 90 04 bcc L82A2_0 829e: 49 ff eor #$ff 82a0: 69 00 adc #$00 82a2: 85 00 L82A2_0 sta $00 82a4: 60 rts 82a5: fe 06 04 L82A5 inc EnCounter,x 82a8: c8 iny 82a9: a9 00 lda #$00 82ab: 9d 01 6b sta EnDataIndex-1,x 82ae: f0 ab beq L825B 82b0: 68 L82B0 pla 82b1: 68 pla 82b2: 60 rts 82b3: bd 03 6b L82B3 lda $6b03,x 82b6: 10 06 bpl L82BE 82b8: 20 70 e7 jsr LE770 82bb: 4c c3 82 jmp L82C3 82be: f0 12 L82BE beq L82D2 82c0: 20 7b e7 jsr LE77B 82c3: a6 4b L82C3 ldx PageIndex 82c5: b0 0b bcs L82D2 82c7: bc 06 04 ldy EnCounter,x 82ca: c8 iny 82cb: a9 00 lda #$00 82cd: 9d 03 6b sta $6b03,x 82d0: f0 05 beq L82D7 82d2: bc 06 04 L82D2 ldy EnCounter,x 82d5: 88 dey 82d6: 88 dey 82d7: 98 L82D7 tya 82d8: 9d 06 04 sta EnCounter,x 82db: 4c 5b 82 jmp L825B 82de: 88 L82DE dey 82df: 88 dey 82e0: 98 tya 82e1: 9d 06 04 sta EnCounter,x 82e4: bd 03 6b lda $6b03,x 82e7: 10 06 bpl L82EF 82e9: 20 70 e7 jsr LE770 82ec: 4c f4 82 jmp L82F4 82ef: f0 0a L82EF beq L82FB 82f1: 20 7b e7 jsr LE77B 82f4: a6 4b L82F4 ldx PageIndex 82f6: 90 03 bcc L82FB 82f8: 4c 58 82 jmp L8258 82fb: bc 02 6b L82FB ldy EnDataIndex,x 82fe: b9 8b 96 lda L9601+138,y 8301: 29 20 and #$20 8303: f0 0d beq L8312 8305: bd 05 04 lda EnCounter-1,x 8308: 49 05 eor #$05 830a: 19 8b 96 ora L9601+138,y 830d: 29 1f and #$1f 830f: 9d 05 04 sta EnCounter-1,x 8312: 20 b1 81 L8312 jsr L81B1 8315: 4c a2 82 jmp L82A2_0 8318: 20 b0 80 L8318 jsr Brinstar80b0 831b: 10 03 bpl L8320 831d: 4c 95 83 jmp L8395 8320: bd 05 04 L8320 lda EnCounter-1,x 8323: 29 20 and #$20 8325: 49 20 eor #$20 8327: f0 13 beq L833C 8329: bc 06 04 ldy EnCounter,x 832c: c8 iny 832d: b1 81 lda (HideShowEndMsg),y 832f: aa L832F tax 8330: 29 08 and #$08 8332: 08 php 8333: 8a txa 8334: 29 07 and #$07 8336: 28 plp 8337: f0 03 beq L833C 8339: 20 d4 c3 jsr LC3D4 833c: 85 00 L833C sta $00 833e: 60 rts 833f: a0 0e L833F ldy #$0e 8341: bd fe 6a lda $6afe,x 8344: 30 18 bmi L835E 8346: 18 clc 8347: 7d 06 04 adc EnCounter,x 834a: 9d 06 04 sta EnCounter,x 834d: bd 02 04 lda $0402,x 8350: 69 00 adc #$00 8352: 9d 02 04 sta $0402,x 8355: 10 1f bpl L8376 8357: 20 d4 c3 L8357 jsr LC3D4 835a: a0 f2 ldy #$f2 835c: d0 18 bne L8376 835e: 20 d4 c3 L835E jsr LC3D4 8361: 38 sec 8362: 85 00 sta $00 8364: bd 06 04 lda EnCounter,x 8367: e5 00 sbc $00 8369: 9d 06 04 sta EnCounter,x 836c: bd 02 04 lda $0402,x 836f: e9 00 sbc #$00 8371: 9d 02 04 sta $0402,x 8374: 30 e1 bmi L8357 8376: c9 0e L8376 cmp #$0e 8378: 90 09 bcc L8383 837a: a9 00 lda #$00 837c: 9d 06 04 sta EnCounter,x 837f: 98 tya 8380: 9d 02 04 sta $0402,x 8383: bd fc 6a L8383 lda $6afc,x 8386: 18 clc 8387: 7d 06 04 adc EnCounter,x 838a: 9d fc 6a sta $6afc,x 838d: a9 00 lda #$00 838f: 7d 02 04 adc $0402,x 8392: 85 00 sta $00 8394: 60 rts 8395: a9 00 L8395 lda #$00 8397: 85 00 sta $00 8399: 85 02 sta $02 839b: a9 0e lda #$0e 839d: 85 01 sta $01 839f: 85 03 sta $03 83a1: bd 07 04 lda $0407,x 83a4: 18 clc 83a5: 7d ff 6a adc $6aff,x 83a8: 9d 07 04 sta $0407,x 83ab: 85 04 sta $04 83ad: a9 00 lda #$00 83af: bc ff 6a ldy $6aff,x 83b2: 10 02 bpl L83B6 83b4: a9 ff lda #$ff 83b6: 7d 03 04 L83B6 adc $0403,x 83b9: 9d 03 04 sta $0403,x 83bc: a8 tay 83bd: 10 11 bpl L83D0 83bf: a9 00 lda #$00 83c1: 38 sec 83c2: fd 07 04 sbc $0407,x 83c5: 85 04 sta $04 83c7: a9 00 lda #$00 83c9: fd 03 04 sbc $0403,x 83cc: a8 tay 83cd: 20 49 e4 jsr LE449 83d0: a5 04 L83D0 lda $04 83d2: c5 02 cmp $02 83d4: 98 tya 83d5: e5 03 sbc $03 83d7: 90 0a bcc L83E3 83d9: a5 00 lda $00 83db: 9d 07 04 sta $0407,x 83de: a5 01 lda $01 83e0: 9d 03 04 sta $0403,x 83e3: bd fd 6a L83E3 lda $6afd,x 83e6: 18 clc 83e7: 7d 07 04 adc $0407,x 83ea: 9d fd 6a sta $6afd,x 83ed: a9 00 lda #$00 83ef: 7d 03 04 adc $0403,x 83f2: 85 00 sta $00 83f4: 60 rts 83f5: a6 4b T83F5 ldx PageIndex 83f7: bd 00 04 lda EnYRoomPos,x 83fa: 38 sec 83fb: fd f5 6a sbc EnRadY,x 83fe: 29 07 and #$07 8400: 38 sec 8401: d0 03 bne L8406 8403: 20 70 e7 jsr LE770 8406: a0 00 L8406 ldy #$00 8408: 84 00 sty $00 840a: a6 4b ldx PageIndex 840c: 90 3c bcc L844A 840e: e6 00 inc $00 8410: bc 00 04 ldy EnYRoomPos,x 8413: d0 14 bne L8429 8415: a0 f0 ldy #$f0 8417: a5 49 lda ScrollDir 8419: c9 02 cmp #$02 841b: b0 0c bcs L8429 841d: a5 fc lda ScrollY 841f: f0 29 beq L844A 8421: 20 63 85 jsr L8563 8424: f0 24 beq L844A 8426: 20 5a 85 jsr L855A 8429: 88 L8429 dey 842a: 98 tya 842b: 9d 00 04 sta EnYRoomPos,x 842e: dd f5 6a cmp EnRadY,x 8431: d0 0e bne L8441 8433: a5 fc lda ScrollY 8435: f0 05 beq L843C 8437: 20 63 85 jsr L8563 843a: d0 05 bne L8441 843c: fe 00 04 L843C inc EnYRoomPos,x 843f: 18 clc 8440: 60 rts 8441: bd 05 04 L8441 lda EnCounter-1,x 8444: 30 03 bmi L8449 8446: fe 01 6b inc EnDataIndex-1,x 8449: 38 L8449 sec 844a: 60 L844A rts 844b: a6 4b T844B ldx PageIndex 844d: bd 00 04 lda EnYRoomPos,x 8450: 18 clc 8451: 7d f5 6a adc EnRadY,x 8454: 29 07 and #$07 8456: 38 sec 8457: d0 03 bne L845C 8459: 20 7b e7 jsr LE77B 845c: a0 00 L845C ldy #$00 845e: 84 00 sty $00 8460: a6 4b ldx PageIndex 8462: 90 42 bcc L84A6 8464: e6 00 inc $00 8466: bc 00 04 ldy EnYRoomPos,x 8469: c0 ef cpy #$ef 846b: d0 14 bne L8481 846d: a0 ff ldy #$ff 846f: a5 49 lda ScrollDir 8471: c9 02 cmp #$02 8473: b0 0c bcs L8481 8475: a5 fc lda ScrollY 8477: f0 2d beq L84A6 8479: 20 63 85 jsr L8563 847c: d0 28 bne L84A6 847e: 20 5a 85 jsr L855A 8481: c8 L8481 iny 8482: 98 tya 8483: 9d 00 04 sta EnYRoomPos,x 8486: 18 clc 8487: 7d f5 6a adc EnRadY,x 848a: c9 ef cmp #$ef 848c: d0 0f bne L849D 848e: a5 fc lda ScrollY 8490: f0 05 beq L8497 8492: 20 63 85 jsr L8563 8495: f0 06 beq L849D 8497: de 00 04 L8497 dec EnYRoomPos,x 849a: 18 clc 849b: 90 09 bcc L84A6 849d: bd 05 04 L849D lda EnCounter-1,x 84a0: 30 03 bmi L84A5 84a2: de 01 6b dec EnDataIndex-1,x 84a5: 38 L84A5 sec 84a6: 60 L84A6 rts 84a7: a6 4b T84A7 ldx PageIndex 84a9: bd 01 04 lda EnXRoomPos,x 84ac: 38 sec 84ad: fd f6 6a sbc EnRadX,x 84b0: 29 07 and #$07 84b2: 38 sec 84b3: d0 03 bne L84B8 84b5: 20 f1 e8 jsr LE8F1 84b8: a0 00 L84B8 ldy #$00 84ba: 84 00 sty $00 84bc: a6 4b ldx PageIndex 84be: 90 3d bcc L84FD 84c0: e6 00 inc $00 84c2: bc 01 04 ldy EnXRoomPos,x 84c5: d0 13 bne L84DA 84c7: a5 49 lda ScrollDir 84c9: c9 02 cmp #$02 84cb: 90 0d bcc L84DA 84cd: a5 fd lda ScrollX 84cf: f0 03 beq L84D4 84d1: 20 63 85 jsr L8563 84d4: 18 L84D4 clc 84d5: f0 26 beq L84FD 84d7: 20 5a 85 jsr L855A 84da: de 01 04 L84DA dec EnXRoomPos,x 84dd: bd 01 04 lda EnXRoomPos,x 84e0: dd f6 6a cmp EnRadX,x 84e3: d0 0f bne L84F4 84e5: a5 fd lda ScrollX 84e7: f0 05 beq L84EE 84e9: 20 63 85 jsr L8563 84ec: d0 06 bne L84F4 84ee: fe 01 04 L84EE inc EnXRoomPos,x 84f1: 18 clc 84f2: 90 09 bcc L84FD 84f4: bd 05 04 L84F4 lda EnCounter-1,x 84f7: 10 03 bpl L84FC 84f9: fe 01 6b inc EnDataIndex-1,x 84fc: 38 L84FC sec 84fd: 60 L84FD rts 84fe: a6 4b T84FE ldx PageIndex 8500: bd 01 04 lda EnXRoomPos,x 8503: 18 clc 8504: 7d f6 6a adc EnRadX,x 8507: 29 07 and #$07 8509: 38 sec 850a: d0 03 bne L850F 850c: 20 fc e8 jsr LE8FC 850f: a0 00 L850F ldy #$00 8511: 84 00 sty $00 8513: a6 4b ldx PageIndex 8515: 90 42 bcc L8559 8517: e6 00 inc $00 8519: fe 01 04 inc EnXRoomPos,x 851c: d0 18 bne L8536 851e: a5 49 lda ScrollDir 8520: c9 02 cmp #$02 8522: 90 12 bcc L8536 8524: a5 fd lda ScrollX 8526: f0 05 beq L852D 8528: 20 63 85 jsr L8563 852b: f0 06 beq L8533 852d: de 01 04 L852D dec EnXRoomPos,x 8530: 18 clc 8531: 90 26 bcc L8559 8533: 20 5a 85 L8533 jsr L855A 8536: bd 01 04 L8536 lda EnXRoomPos,x 8539: 18 clc 853a: 7d f6 6a adc EnRadX,x 853d: c9 ff cmp #$ff 853f: d0 0f bne L8550 8541: a5 fd lda ScrollX 8543: f0 05 beq L854A 8545: 20 63 85 jsr L8563 8548: f0 06 beq L8550 854a: de 01 04 L854A dec EnXRoomPos,x 854d: 18 clc 854e: 90 09 bcc L8559 8550: bd 05 04 L8550 lda EnCounter-1,x 8553: 10 03 bpl L8558 8555: de 01 6b dec EnDataIndex-1,x 8558: 38 L8558 sec 8559: 60 L8559 rts 855a: bd fb 6a L855A lda EnNameTable,x 855d: 49 01 eor #$01 855f: 9d fb 6a sta EnNameTable,x 8562: 60 rts 8563: bd fb 6a L8563 lda EnNameTable,x 8566: 45 ff eor PPUCNT0ZP 8568: 29 01 and #$01 856a: 60 rts 856b: 5d 05 04 L856B eor EnCounter-1,x 856e: 9d 05 04 sta EnCounter-1,x 8571: 60 rts 8572: 03 04 05 ff+ L8572 .bulk $03,$04,$05,$ff,$07,$ff,$17,$08,$ff,$22,$ff,$04,$10,$ff,$17,$18 + $19,$1a,$ff,$03,$17,$ff,$1e,$1d,$1c,$1b,$ff,$28,$ff,$2a,$f7,$ff + $12,$ff,$0c,$0d,$0e,$ff,$30,$2b,$ff,$31,$31,$33,$f7,$ff,$33,$33 + $31,$ff,$35,$ff,$39,$38,$ff,$40,$41,$42,$ff,$46,$ff,$47,$ff,$48 + $ff,$07,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$f7,$f7,$07,$f7,$ff + $23,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$f7,$f7,$23,$f7,$ff,$07 + $f7,$f7,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$07,$f7,$ff,$23,$f7 + $f7,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$23,$f7,$ff,$4b,$ff,$4e + $4f,$ff,$3c,$4a,$49,$4a,$4d,$4a,$4d,$f7,$ff,$26,$ff,$25,$ff,$27 + $ff,$67,$67,$67,$68,$68,$69,$f7,$ff,$cb,$87,$cb,$87,$cb,$87,$cb + $87,$dd,$87,$f0,$87,$02,$88,$02,$88,$18,$88,$2c,$88,$2c,$88,$2c + $88,$2c,$88,$3e,$88,$51,$88,$63,$88,$63,$88,$74,$88,$74,$88,$85 + $88,$85,$88,$85,$88,$85,$88,$85,$88,$8f,$88,$99,$88,$a3,$88,$ad + $88,$b8,$88,$c3,$88,$ce,$88,$d9,$88,$d9,$88,$d9,$88,$d9,$88,$ee + $88,$f8,$88,$f8,$88,$fe,$88,$04,$89,$0a,$89,$0f,$89,$0f,$89,$14 + $89,$28,$89,$28,$89,$28,$89,$28,$89,$28,$89,$3c,$89,$48,$89,$48 + $89,$54,$89,$54,$89,$61,$89,$61,$89,$61,$89,$74,$89,$87,$89,$87 + $89,$87,$89,$95,$89,$95,$89,$95,$89,$95,$89,$a9,$89,$be,$89,$d2 + $89,$d2,$89,$d2,$89,$d2,$89,$e6,$89,$fb,$89,$0f,$8a,$1d,$8a,$21 + $8a,$26,$8a,$26,$8a,$3c,$8a,$41,$8a,$46,$8a,$4e,$8a,$56,$8a,$5e + $8a,$66,$8a,$6e,$8a,$76,$8a,$7e,$8a,$86,$8a,$8e,$8a,$9c,$8a,$a1 + $8a,$a6,$8a,$ae,$8a,$ba,$8a,$c4,$8a,$c4,$8a,$c4,$8a,$c4,$8a,$c4 + $8a,$c4,$8a,$c4,$8a,$d8,$8a,$e9,$8a,$f3,$8a,$03,$8b,$01,$87,$1f + $87,$2b,$87,$37,$87,$47,$87,$51,$87,$fd,$86,$5d,$87,$75,$87,$8d + $87,$91,$87,$99,$87,$a5,$87,$49,$87,$b1,$87,$e8,$fc,$ea,$fc,$f0 + $f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$00,$f8,$00,$00,$00,$08,$08 + $f8,$08,$00,$08,$08,$f8,$f4,$f8,$f6,$ec,$f4,$ee,$f4,$f3,$f8,$f3 + $00,$fb,$f8,$fb,$00,$03,$f8,$03,$00,$f8,$f6,$f8,$fe,$f8,$06,$00 + $f6,$00,$fe,$00,$06,$fc,$f0,$fc,$f8,$fc,$00,$fc,$08,$fc,$10,$fc + $18,$fc,$20,$fc,$28,$fc,$fc,$f8,$f8,$f8,$00,$00,$f8,$00,$00,$e8 + $00,$f0,$00,$f8,$00,$00,$00,$08,$00,$10,$00,$80,$80,$81,$81,$82 + $82,$83,$83,$84,$84,$85,$85,$f4,$f8,$f4,$00,$fc,$f8,$fc,$00,$04 + $f8,$04,$00,$f0,$00,$f0,$08,$f8,$08,$f0,$f0,$f0,$f8,$f8,$f0,$00 + $f0,$08,$f0,$08,$f8,$00,$08,$08,$00,$08,$08,$f8,$fc,$00,$fc,$fc + $f8,$fc,$00,$fc,$10,$fc,$18,$fc,$f0,$f4,$f8,$f4,$00,$fc,$08,$04 + $f8,$04,$00,$fc,$e8,$ec,$f0,$ec,$08,$fc,$10,$0c,$f0,$0c,$08,$00 + $f8,$00,$00,$08,$f8,$08,$00,$e8,$f0,$e8,$f8,$e8,$00,$f0,$f0,$f0 + $f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$40,$0f,$04,$00,$01,$fd,$20 + $fe,$41,$40,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$40,$0f,$04,$02,$03 + $fd,$20,$fe,$43,$42,$fd,$60,$22,$23,$fe,$32,$33,$34,$ff,$40,$0f + $04,$05,$06,$fd,$20,$fe,$45,$44,$fd,$60,$25,$26,$27,$35,$36,$ff + $00,$0f,$04,$09,$fd,$60,$09,$fd,$20,$fe,$19,$1a,$fd,$20,$29,$2a + $fe,$39,$fd,$60,$39,$ff,$40,$0f,$04,$fd,$20,$0e,$0d,$fe,$1e,$1d + $2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$17,$ff,$40,$0f,$04,$00,$01,$fd + $20,$4b,$4a,$49,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$40,$0f,$04,$00 + $01,$fd,$20,$4b,$4a,$49,$fd,$60,$22,$23,$fe,$32,$33,$34,$ff,$40 + $0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$25,$26,$27,$35,$36 + $ff,$40,$0f,$04,$00,$01,$fd,$20,$fe,$41,$40,$fd,$60,$22,$07,$08 + $32,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$22,$07 + $08,$32,$ff,$41,$0f,$04,$52,$53,$62,$63,$72,$73,$ff,$42,$0f,$04 + $54,$55,$56,$64,$65,$66,$ff,$81,$0f,$04,$52,$53,$62,$63,$72,$73 + $ff,$82,$0f,$04,$54,$55,$56,$64,$65,$66,$ff,$01,$08,$04,$fc,$03 + $00,$50,$51,$60,$61,$ff,$81,$08,$04,$fc,$fd,$00,$50,$51,$60,$61 + $ff,$c1,$08,$04,$fc,$fd,$00,$50,$51,$60,$61,$ff,$41,$08,$04,$fc + $03,$00,$50,$51,$60,$61,$ff,$40,$0f,$04,$fd,$20,$0e,$0d,$fe,$1e + $1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$fe,$17,$ff,$03,$04,$10,$28 + $38,$38,$fd,$60,$28,$ff,$4a,$04,$08,$5e,$5f,$ff,$0a,$04,$08,$5e + $5f,$ff,$09,$08,$04,$14,$24,$ff,$04,$02,$02,$30,$ff,$04,$00,$00 + $04,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79,$fe,$78,$77,$2e,$2d + $fe,$fd,$60,$3b,$3c,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79,$fe + $78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$35,$18,$08,$0f,$1f,$2f + $fd,$a3,$2f,$1f,$0f,$ff,$35,$18,$04,$6a,$6b,$6c,$fd,$a3,$6c,$6b + $6a,$ff,$07,$00,$00,$fc,$fc,$00,$0b,$0c,$1b,$1c,$2b,$2c,$ff,$46 + $0f,$04,$69,$fd,$20,$fe,$7a,$79,$fe,$78,$77,$fd,$60,$22,$07,$08 + $32,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60 + $22,$07,$08,$32,$ff,$0d,$0c,$0c,$74,$fd,$60,$74,$fd,$a0,$74,$fd + $e0,$74,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd + $60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79 + $fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34,$ff,$46,$0f,$04,$69 + $fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25,$26,$27,$35,$36,$ff + $46,$0f,$04,$fe,$69,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$20,$21 + $fe,$fe,$31,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79,$fe,$78,$77 + $fd,$60,$22,$23,$fe,$32,$33,$34,$ff,$46,$0f,$04,$fe,$69,$fd,$20 + $7a,$79,$fe,$78,$77,$fd,$60,$25,$26,$27,$35,$36,$ff,$0d,$0c,$0c + $75,$fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff,$00,$00,$00,$ff,$04 + $04,$04,$4c,$ff,$08,$10,$10,$3d,$3e,$4e,$fd,$60,$3e,$3d,$4e,$fd + $e0,$4e,$3e,$3d,$fd,$a0,$4e,$3d,$3e,$ff,$04,$04,$04,$70,$ff,$04 + $04,$04,$71,$ff,$0d,$03,$03,$86,$87,$96,$97,$ff,$0d,$03,$03,$7b + $7c,$8b,$8c,$ff,$0d,$03,$03,$88,$67,$98,$99,$ff,$0d,$03,$03,$80 + $81,$90,$91,$ff,$0d,$03,$03,$7d,$7e,$8d,$8e,$ff,$0d,$03,$03,$82 + $83,$92,$93,$ff,$0d,$03,$03,$88,$89,$98,$99,$ff,$0d,$03,$03,$88 + $68,$98,$99,$ff,$0d,$03,$03,$84,$85,$94,$95,$ff,$0d,$03,$03,$3f + $fd,$40,$3f,$fd,$00,$4f,$fd,$40,$4f,$ff,$34,$04,$04,$f2,$ff,$04 + $00,$00,$5a,$ff,$13,$00,$00,$b0,$b1,$b2,$b3,$ff,$13,$00,$00,$b4 + $b5,$b6,$b7,$b8,$b6,$b9,$b3,$ff,$13,$00,$00,$b3,$ba,$ba,$fe,$80 + $80,$ff,$1e,$00,$08,$fa,$fb,$fa,$fb,$fc,$00,$04,$c5,$c6,$c7,$d5 + $d6,$d7,$e5,$e6,$e7,$ff,$1e,$00,$08,$fa,$fb,$fa,$fb,$fe,$c8,$c9 + $eb,$d8,$d9,$ea,$e8,$e9,$ff,$0a,$04,$08,$fd,$00,$57,$fd,$40,$57 + $ff,$0b,$04,$0c,$fd,$00,$57,$18,$fd,$40,$18,$57,$fd,$c0,$18,$18 + $ff,$0c,$04,$10,$fd,$00,$57,$18,$fd,$40,$18,$57,$fd,$c0,$18,$18 + $ff 8b13: a5 56 L8B13 lda DoorStatus 8b15: d0 55 bne L8B6C_0 8b17: a4 58 ldy SamusDoorData 8b19: f0 51 beq L8B6C_0 8b1b: 85 95 sta CurrentMissilePickups 8b1d: 85 96 sta CurrentEnergyPickups 8b1f: a5 2e lda RandomNumber1 8b21: 29 0f and #$0f 8b23: 85 93 sta MaxMissilePickup 8b25: 0a asl A 8b26: 09 40 ora #$40 8b28: 85 94 sta MaxEnergyPickup 8b2a: a5 ff lda PPUCNT0ZP 8b2c: 49 01 eor #$01 8b2e: 29 01 and #$01 8b30: a8 tay 8b31: 4a lsr A 8b32: 99 6c 00 sta DoorOnNameTable3,y 8b35: a5 49 lda ScrollDir 8b37: 29 02 and #$02 8b39: d0 10 bne L8B4B 8b3b: a2 04 ldx #$04 8b3d: a5 fc lda ScrollY 8b3f: f0 2c beq L8B6D_0 8b41: a5 ff lda PPUCNT0ZP 8b43: 4d 0c 03 eor ObjectHi 8b46: 4a lsr A 8b47: 90 0a bcc L8B53 8b49: b0 07 bcs L8B52 8b4b: a2 02 L8B4B ldx #$02 8b4d: ad 0e 03 lda ObjectX 8b50: 10 01 bpl L8B53 8b52: ca L8B52 dex 8b53: 8a L8B53 txa 8b54: 85 57 sta DoorScrollStatus 8b56: 20 74 8b jsr L8B74 8b59: a9 12 lda #$12 8b5b: 85 59 sta DoorDelay 8b5d: a5 58 lda SamusDoorData 8b5f: 20 c5 c2 jsr LC2C5 8b62: 0d 00 03 ora ObjAction 8b65: 85 58 sta SamusDoorData 8b67: a9 05 lda #$05 8b69: 8d 00 03 sta ObjAction 8b6c: 60 L8B6C_0 rts 8b6d: 20 53 8b L8B6D_0 jsr L8B53 8b70: 20 1b e2 jsr LE21B 8b73: 8a txa 8b74: 09 80 L8B74 ora #$80 8b76: 85 56 sta DoorStatus 8b78: 60 rts 8b79: a2 b0 unref_8b79 ldx #$b0 8b7b: 20 87 8b L8B7B jsr L8B87 8b7e: a5 4b lda PageIndex 8b80: 38 sec 8b81: e9 10 sbc #$10 8b83: aa tax 8b84: 30 f5 bmi L8B7B 8b86: 60 rts 8b87: 86 4b L8B87 stx PageIndex 8b89: bd 00 03 lda ObjAction,x 8b8c: 20 7c c2 jsr ChooseRoutine 8b8f: 5c c4 .dd2 TC45C 8b91: 9d 8b .dd2 T8B9D 8b93: d5 8b .dd2 T8BD5 8b95: 01 8c .dd2 T8C01 8b97: 84 8c .dd2 T8C84 8b99: c6 8c .dd2 T8CC6 8b9b: f0 8c .dd2 T8CF0 8b9d: fe 00 03 T8B9D inc ObjAction,x 8ba0: a9 30 lda #$30 8ba2: 20 fa d2 jsr LD2FA 8ba5: 20 fb 8c jsr L8CFB 8ba8: bc 07 03 ldy SamusOnElevator,x 8bab: b9 d1 8b lda L8BD1,y 8bae: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bb1: bd 07 03 L8BB1 lda SamusOnElevator,x 8bb4: c9 03 cmp #$03 8bb6: d0 02 bne L8BBA 8bb8: a9 01 lda #$01 8bba: 09 a0 L8BBA ora #$a0 8bbc: 85 6b sta ObjectCntrl 8bbe: a9 00 lda #$00 8bc0: 9d 0a 03 sta SamusHit,x 8bc3: 8a txa 8bc4: 29 10 and #$10 8bc6: 49 10 eor #$10 8bc8: 05 6b ora ObjectCntrl 8bca: 85 6b sta ObjectCntrl 8bcc: a9 06 lda #$06 8bce: 4c 47 de jmp LDE47 8bd1: 05 L8BD1 .dd1 $05 8bd2: 01 .dd1 $01 8bd3: 0a .dd1 $0a 8bd4: 01 .dd1 $01 8bd5: bd 0a 03 T8BD5 lda SamusHit,x 8bd8: 29 04 and #$04 8bda: f0 d5 beq L8BB1 8bdc: de 0f 03 dec SamusJumpDsplcmnt,x 8bdf: d0 d0 bne L8BB1 8be1: a9 03 lda #$03 8be3: dd 07 03 cmp SamusOnElevator,x 8be6: d0 06 bne L8BEE 8be8: ac 0b 01 ldy EndTimerHi 8beb: c8 iny 8bec: d0 c3 bne L8BB1 8bee: 9d 00 03 L8BEE sta ObjAction,x 8bf1: a9 50 lda #$50 8bf3: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bf6: a9 2c lda #$2c 8bf8: 9d 05 03 sta AnimResetIndex,x 8bfb: 38 sec 8bfc: e9 03 sbc #$03 8bfe: 4c 7e 8c jmp L8C7E_0 8c01: a5 56 T8C01 lda DoorStatus 8c03: f0 18 beq L8C1D 8c05: ad 0c 03 lda ObjectHi 8c08: 5d 0c 03 eor ObjectHi,x 8c0b: 4a lsr A 8c0c: b0 0f bcs L8C1D 8c0e: ad 0e 03 lda ObjectX 8c11: 5d 0e 03 eor ObjectX,x 8c14: 30 07 bmi L8C1D 8c16: a9 04 lda #$04 8c18: 9d 00 03 sta ObjAction,x 8c1b: d0 56 bne L8C73 8c1d: bd 06 03 L8C1D lda AnimIndex,x 8c20: dd 05 03 cmp AnimResetIndex,x 8c23: 90 4e bcc L8C73 8c25: bd 0f 03 lda SamusJumpDsplcmnt,x 8c28: c9 50 cmp #$50 8c2a: d0 2b bne L8C57 8c2c: 20 f7 8c jsr L8CF7_0 8c2f: bd 07 03 lda SamusOnElevator,x 8c32: c9 01 cmp #$01 8c34: f0 21 beq L8C57 8c36: c9 03 cmp #$03 8c38: f0 1d beq L8C57 8c3a: a9 0a lda #$0a 8c3c: 85 09 sta $09 8c3e: bd 0c 03 lda ObjectHi,x 8c41: 85 08 sta $08 8c43: a4 50 ldy MapPosX 8c45: 8a txa 8c46: 20 c5 c2 jsr LC2C5 8c49: 90 01 bcc L8C4C 8c4b: 88 dey 8c4c: 98 L8C4C tya 8c4d: 20 1e dc jsr LDC1E 8c50: a9 00 lda #$00 8c52: 9d 00 03 sta ObjAction,x 8c55: f0 1c beq L8C73 8c57: a5 2d L8C57 lda FrameCount 8c59: 4a lsr A 8c5a: b0 17 bcs L8C73 8c5c: de 0f 03 dec SamusJumpDsplcmnt,x 8c5f: d0 12 bne L8C73 8c61: a9 01 L8C61 lda #$01 8c63: 9d 0f 03 sta SamusJumpDsplcmnt,x 8c66: 20 fb 8c jsr L8CFB 8c69: a9 02 lda #$02 8c6b: 9d 00 03 sta ObjAction,x 8c6e: 20 76 8c jsr L8C76 8c71: a6 4b L8C71 ldx PageIndex 8c73: 4c b1 8b L8C73 jmp L8BB1 8c76: a9 30 L8C76 lda #$30 8c78: 9d 05 03 sta AnimResetIndex,x 8c7b: 38 sec 8c7c: e9 02 sbc #$02 8c7e: 20 fd d2 L8C7E_0 jsr LD2FD 8c81: 4c da cb jmp LCBDA 8c84: a5 56 T8C84 lda DoorStatus 8c86: c9 05 cmp #$05 8c88: b0 39 bcs L8CC3 8c8a: 20 fb 8c jsr L8CFB 8c8d: 20 76 8c jsr L8C76 8c90: a6 4b ldx PageIndex 8c92: a5 91 lda $91 8c94: f0 11 beq L8CA7 8c96: 8a txa 8c97: 20 bf c2 jsr LC2BF 8c9a: 45 91 eor $91 8c9c: 4a lsr A 8c9d: 90 08 bcc L8CA7 8c9f: a5 76 lda PalToggle 8ca1: 49 07 eor #$07 8ca3: 85 76 sta PalToggle 8ca5: 85 1c sta PalDataPending 8ca7: fe 00 03 L8CA7 inc ObjAction,x 8caa: a9 00 lda #$00 8cac: 85 91 sta $91 8cae: bd 07 03 lda SamusOnElevator,x 8cb1: c9 03 cmp #$03 8cb3: d0 0e bne L8CC3 8cb5: 8a txa 8cb6: 20 c5 c2 jsr LC2C5 8cb9: b0 05 bcs L8CC0 8cbb: 20 07 cc jsr LCC07 8cbe: d0 03 bne L8CC3 8cc0: 20 03 cc L8CC0 jsr LCC03 8cc3: 4c 71 8c L8CC3 jmp L8C71 8cc6: a5 56 T8CC6 lda DoorStatus 8cc8: c9 05 cmp #$05 8cca: d0 21 bne L8CED 8ccc: 8a txa 8ccd: 49 10 eor #$10 8ccf: aa tax 8cd0: a9 06 lda #$06 8cd2: 9d 00 03 sta ObjAction,x 8cd5: a9 2c lda #$2c 8cd7: 9d 05 03 sta AnimResetIndex,x 8cda: 38 sec 8cdb: e9 03 sbc #$03 8cdd: 20 fd d2 jsr LD2FD 8ce0: 20 da cb jsr LCBDA 8ce3: 20 73 cb jsr LCB73 8ce6: a6 4b ldx PageIndex 8ce8: a9 02 lda #$02 8cea: 9d 00 03 sta ObjAction,x 8ced: 4c b1 8b L8CED jmp L8BB1 8cf0: a5 56 T8CF0 lda DoorStatus 8cf2: d0 f9 bne L8CED 8cf4: 4c 61 8c jmp L8C61 8cf7: a9 ff L8CF7_0 lda #$ff 8cf9: d0 02 bne L8CFD 8cfb: a9 4e L8CFB lda #$4e 8cfd: 48 L8CFD pha 8cfe: a9 50 lda #$50 8d00: 85 02 sta $02 8d02: 8a txa 8d03: 20 bf c2 jsr LC2BF 8d06: 29 01 and #$01 8d08: a8 tay 8d09: b9 3a 8d lda L8D3A,y 8d0c: 85 03 sta $03 8d0e: bd 0c 03 lda ObjectHi,x 8d11: 85 0b sta $0b 8d13: 20 6a e9 jsr LE96A 8d16: a0 00 ldy #$00 8d18: 68 pla 8d19: 91 04 L8D19 sta ($04),y 8d1b: aa tax 8d1c: 98 tya 8d1d: 18 clc 8d1e: 69 20 adc #$20 8d20: a8 tay 8d21: 8a txa 8d22: c0 c0 cpy #$c0 8d24: d0 f3 bne L8D19 8d26: a6 4b ldx PageIndex 8d28: 8a txa 8d29: 20 c0 c2 jsr LC2C0 8d2c: 29 06 and #$06 8d2e: a8 tay 8d2f: a5 04 lda $04 8d31: 99 5c 00 sta $005c,y 8d34: a5 05 lda $05 8d36: 99 5d 00 sta $005d,y 8d39: 60 rts 8d3a: e8 10 60 ad+ L8D3A .bulk $e8,$10,$60,$ad,$91,$69,$8d,$78,$68,$ad,$92,$69,$8d,$79,$68,$a9 + $00,$85,$00,$85,$02,$ad,$97,$69,$29,$80,$f0,$06,$a5,$00,$09,$80 + $85,$00,$ad,$97,$69,$29,$00,$00,$00,$00,$00,$18,$18,$08,$00,$00 + $00,$00,$00,$00,$00,$00,$18,$38,$18,$18,$18,$18,$7e,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$78,$70 + $f0,$f0,$78,$79,$1f,$00,$00,$00,$00,$00,$00,$00,$00,$00,$03,$87 + $46,$4e,$4c,$8c,$08,$00,$00,$00,$00,$00,$00,$00,$00,$00,$39,$99 + $3b,$33,$73,$79,$30,$00,$00,$00,$00,$00,$00,$00,$00,$00,$fc,$dc + $98,$b8,$b8,$fd,$66,$00,$3c,$60,$c0,$fc,$c6,$c6,$7c,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$18,$18,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$7c,$c6,$c6,$7c,$c6,$c6,$7c,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$7c,$c6,$c6,$7e,$06,$0c,$78,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$38,$6c,$c6,$c6,$fe,$c6,$c6,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$fc,$c6,$c6,$fc,$c6,$c6,$fc,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$3c,$66,$c0,$c0,$c0,$66,$3c,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$f8,$cc,$c6,$c6,$c6,$cc,$f8,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$fe,$c0,$c0,$fc,$c0,$c0,$fe,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$fe,$c0,$c0,$fc,$c0,$c0,$c0,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$3e,$60,$c0,$ce,$c6,$66,$3e,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$c6,$c6,$c6,$fe,$c6,$c6,$c6,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$7e,$18,$18,$18,$18,$18,$7e,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$1e,$06,$06,$06,$c6,$c6,$7c,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$c6,$cc,$d8,$f0,$f8,$dc,$ce,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$60,$60,$60,$60,$60,$60,$7e,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$c6,$ee,$fe,$fe,$d6,$c6,$c6,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$c6,$e6,$f6,$fe,$de,$ce,$c6,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$7c,$c6,$c6,$c6,$c6,$c6,$7c,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$fc,$c6,$c6,$c6,$fc,$c0,$c0,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$7c,$c6,$c6,$c6,$de,$cc,$7a,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$fc,$c6,$c6,$ce,$f8,$dc,$ce,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$78,$cc,$c0,$7c,$06,$c6,$7c,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$7e,$18,$18,$18,$18,$18,$18,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$c6,$c6,$c6,$c6,$c6,$c6,$7c,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$c6,$c6,$c6,$ee,$7c,$38,$10,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$c6,$c6,$d6,$fe,$fe,$ee,$c6,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$c6,$ee,$7c,$38,$7c,$ee,$c6,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$66,$66,$66,$3c,$18,$18,$18,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$fe,$0e,$1c,$38,$70,$e0,$fe,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$07 + $0f,$0c,$08,$08,$04,$03,$00,$00,$00,$00,$00,$00,$00,$00,$c1,$ff + $ff,$3e,$00,$08,$88,$19,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $20,$60,$60,$e0,$c0,$c8,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$38,$00,$00,$00,$00,$00,$00,$00,$00,$30,$48 + $40,$61,$3f,$3f,$1f,$00,$00,$00,$00,$00,$00,$00,$00,$00,$11,$33 + $73,$e7,$e6,$c6,$04,$00,$00,$00,$00,$00,$00,$00,$00,$00,$9c,$cc + $1c,$19,$3a,$3c,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00,$7c,$74 + $e4,$f8,$e0,$72,$3c,$00,$00,$00,$00,$00,$00,$00,$00,$00,$03,$06 + $0c,$0c,$06,$02,$1e,$3c,$00,$00,$00,$00,$00,$00,$00,$00,$80,$40 + $20,$20,$40,$03,$01,$03,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$80,$90,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$03,$03,$07,$06,$ee,$32,$ff,$f7,$ff,$7f,$ff,$db,$ff,$73,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$b4,$ff,$ff,$ff,$fe,$7b,$ff,$fd,$b6,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$b5,$ff,$7f,$9d,$f6,$7f,$dd,$77,$ff,$ff + $ff,$ff,$ef,$ff,$bb,$fe,$d7,$ff,$79,$de,$f5,$3f,$ed,$bf,$ff,$ff + $ff,$ff,$bf,$ff,$fb,$ff,$89,$f7,$5f,$f3,$e7,$fd,$70,$cf,$ff,$bf + $ec,$ff,$9f,$fe,$af,$f9,$9f,$f9,$3d,$f7,$3f,$99,$fd,$cf,$f6,$7f + $ff,$fd,$cf,$ff,$ff,$fb,$b9,$59,$cc,$7f,$df,$9f,$bf,$1e,$7f,$ff + $b7,$f3,$fd,$6f,$ff,$e7,$7f,$f9,$f3,$ff,$ff,$ff,$ff,$bb,$9f,$ff + $cf,$9f,$fd,$ff,$27,$df,$63,$ef,$ee,$1f,$b9,$1c,$f7,$ff,$9d,$38 + $ff,$ff,$c7,$e3,$ff,$bf,$ff,$9d,$7e,$ff,$b3,$c7,$ff,$a1,$3c,$7e + $ff,$e7,$cf,$ff,$fb,$7f,$c8,$ed,$be,$dc,$9e,$f8,$36,$cc,$3f,$1e + $7f,$ff,$ef,$07,$cf,$ff,$c7,$bf,$3a,$7f,$bd,$a3,$7f,$fc,$3c,$7c + $fd,$e7,$cf,$fe,$8c,$0f,$00,$00,$18,$18,$3c,$7e,$5e,$ff,$10,$10 + $18,$38,$7c,$7e,$fe,$ff,$00,$10,$10,$10,$10,$30,$30,$10,$10,$10 + $10,$10,$30,$30,$30,$30,$20,$30,$30,$20,$60,$30,$70,$f8,$20,$30 + $30,$60,$60,$70,$f0,$f8,$10,$10,$10,$10,$10,$10,$00,$10,$00,$00 + $00,$00,$00,$00,$00,$00,$03,$0f,$05,$32,$d1,$48,$12,$24,$01,$02 + $02,$11,$48,$20,$00,$00,$e0,$f0,$ec,$de,$92,$8d,$a0,$3c,$c0,$00 + $0c,$02,$01,$0c,$02,$00,$00,$00,$f8,$3e,$1f,$0f,$0f,$0e,$00,$00 + $00,$08,$04,$00,$00,$00,$18,$30,$6c,$7c,$5c,$78,$70,$21,$00,$00 + $0c,$1c,$1c,$38,$30,$3c,$18,$30,$60,$60,$40,$40,$40,$01,$00,$00 + $00,$00,$00,$00,$00,$3c,$00,$01,$00,$00,$03,$04,$48,$3c,$00,$01 + $00,$03,$0c,$08,$10,$03,$48,$2f,$b3,$4d,$32,$cc,$84,$6f,$48,$28 + $af,$3d,$78,$cd,$b6,$6f,$00,$50,$00,$c8,$74,$34,$90,$38,$00,$00 + $b0,$e8,$74,$bc,$18,$18,$3c,$7f,$ff,$ff,$ff,$7e,$7b,$3d,$3c,$7f + $ff,$fc,$d1,$50,$69,$0e,$00,$00,$c0,$e0,$b0,$08,$07,$87,$00,$00 + $c0,$60,$b0,$68,$73,$b2,$01,$00,$1c,$0f,$07,$03,$0f,$3f,$01,$00 + $10,$08,$04,$00,$08,$20,$80,$c0,$f8,$c8,$88,$32,$51,$68,$0c,$10 + $a0,$06,$01,$32,$11,$00,$00,$01,$21,$33,$3b,$1f,$9f,$ff,$00,$01 + $20,$12,$08,$00,$80,$20,$00,$00,$08,$98,$b8,$f0,$f2,$fe,$00,$00 + $08,$90,$20,$00,$02,$04,$81,$a5,$e7,$00,$00,$24,$18,$24,$81,$a5 + $e7,$42,$66,$c3,$66,$18,$00,$24,$1b,$1f,$3b,$44,$5b,$3f,$bd,$9b + $e4,$c0,$c4,$98,$83,$c7,$00,$20,$60,$c3,$cc,$60,$20,$00,$0a,$0f + $0f,$1c,$13,$0f,$0f,$0a,$00,$00,$00,$00,$e0,$00,$00,$00,$40,$e8 + $fa,$ff,$1f,$fa,$e8,$40,$1e,$1c,$18,$3a,$36,$60,$00,$00,$00,$00 + $00,$02,$06,$00,$03,$00,$43,$c6,$fe,$f8,$f6,$a9,$21,$20,$38,$00 + $00,$00,$66,$ad,$f9,$20,$73,$de,$ef,$f8,$f6,$a9,$21,$20,$38,$1e + $0f,$00,$66,$ad,$f9,$20,$03,$02,$30,$7e,$70,$d0,$6c,$1d,$04,$30 + $48,$00,$80,$11,$30,$21,$61,$30,$1e,$81,$28,$ff,$ff,$f1,$61,$32 + $1e,$81,$f8,$ff,$ff,$f9,$b8,$d0,$6c,$36,$9e,$0c,$c0,$e8,$fc,$fc + $7e,$36,$be,$0c,$e0,$f8,$1f,$0f,$07,$03,$01,$0e,$1f,$3f,$07,$03 + $03,$01,$00,$06,$17,$13,$c3,$66,$9e,$de,$ef,$f7,$73,$b9,$da,$66 + $de,$c6,$e3,$61,$25,$b9,$0f,$03,$07,$0f,$1d,$00,$01,$03,$08,$00 + $04,$08,$10,$00,$01,$02,$60,$51,$32,$88,$c8,$f8,$c0,$00,$0c,$11 + $32,$00,$04,$02,$12,$20,$78,$33,$65,$26,$19,$00,$04,$02,$00,$00 + $04,$46,$80,$90,$14,$0a,$1c,$c8,$a4,$64,$18,$00,$20,$40,$00,$00 + $25,$62,$80,$88,$26,$40,$00,$02,$0d,$17,$2d,$62,$6d,$2e,$83,$c5 + $f2,$e0,$c2,$81,$8c,$ce,$00,$40,$b0,$e8,$b4,$46,$b6,$74,$c1,$a3 + $4f,$07,$43,$81,$31,$73,$00,$00,$00,$00,$00,$20,$73,$df,$00,$00 + $0a,$0f,$1f,$14,$11,$18,$00,$00,$00,$00,$00,$00,$12,$c0,$00,$00 + $40,$e8,$fa,$ff,$70,$00,$24,$3c,$5a,$db,$66,$99,$5a,$24,$00,$00 + $42,$c3,$66,$00,$00,$42,$00,$00,$44,$ee,$b2,$82,$84,$40,$04,$38 + $54,$ee,$b2,$80,$00,$00,$00,$00,$0c,$04,$62,$12,$1f,$01,$00,$b0 + $50,$78,$9c,$6c,$20,$00,$38,$72,$c5,$73,$72,$6f,$22,$00,$40,$82 + $05,$23,$42,$07,$1e,$00,$c3,$e0,$7c,$8f,$c7,$f3,$72,$00,$e3,$f0 + $7e,$8f,$c7,$f2,$71,$01,$f0,$e8,$3c,$9c,$80,$18,$1c,$00,$f0,$e8 + $3c,$9e,$42,$5a,$5c,$00,$3b,$7d,$7b,$7d,$7e,$ff,$ff,$00,$31,$3d + $3b,$1c,$6e,$37,$79,$00,$f9,$b9,$50,$e0,$7c,$8c,$e0,$00,$f9,$b1 + $40,$60,$3c,$8e,$c2,$02,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$60,$71,$30,$18,$0c,$00,$00,$00,$62,$72 + $37,$93,$81,$7e,$34,$06,$00,$01,$00,$08,$1c,$30,$70,$60,$02,$02 + $07,$83,$91,$7e,$74,$66,$26,$31,$10,$1c,$18,$0c,$00,$00,$c6,$c0 + $60,$60,$20,$30,$18,$08,$5e,$2c,$20,$3c,$24,$18,$00,$00,$87,$c3 + $42,$42,$42,$66,$24,$24,$00,$00,$00,$00,$0b,$27,$73,$df,$0a,$0f + $1f,$34,$0b,$07,$11,$18,$00,$00,$00,$00,$00,$8c,$f2,$e0,$40,$e8 + $fa,$ff,$60,$80,$30,$00,$00,$00,$1c,$3e,$3e,$3e,$1c,$00,$00,$1c + $26,$69,$55,$53,$32,$1c,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$1d,$1d,$1d,$1d,$1d,$1d,$1d,$1d,$0f,$0f + $0f,$0f,$0f,$0f,$0f,$0f,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$a0,$a0 + $a0,$a0,$a0,$a0,$a0,$a0,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00 9560: 71 a2 L9560 .dd2 LA271 9562: 95 a2 .dd2 LA295 9564: a1 a2 .dd2 LA2A1 9566: 9b a2 .dd2 LA29B 9568: a7 a2 .dd2 LA2A7 956a: ad a2 .dd2 LA2AD 956c: d0 a2 .dd2 LA2D0 956e: d0 a2 .dd2 LA2D0 9570: d0 a2 .dd2 LA2D0 9572: d0 a2 .dd2 LA2D0 9574: d0 a2 .dd2 LA2D0 9576: d0 a2 .dd2 LA2D0 9578: d0 a2 .dd2 LA2D0 957a: d0 a2 .dd2 LA2D0 957c: d0 a2 .dd2 LA2D0 957e: d0 a2 .dd2 LA2D0 9580: d0 a2 .dd2 LA2D0 9582: d0 a2 .dd2 LA2D0 9584: d0 a2 .dd2 LA2D0 9586: d0 a2 .dd2 LA2D0 9588: d7 a2 .dd2 LA2D7 958a: de a2 .dd2 LA2DE 958c: e5 a2 .dd2 LA2E5 958e: ec a2 .dd2 LA2EC 9590: f4 a2 .dd2 LA2F4 9592: fc a2 .dd2 LA2FC 9594: 04 a3 .dd2 LA304 9596: 0c a3 .dd2 LA30C 9598: d6 a3 L9598 .dd2 LA3D6 959a: 14 a3 L959A .dd2 LA314 959c: 72 a3 .dd2 LA372 959e: f0 ae .dd2 LAEF0 95a0: e0 9d .dd2 L9DE0 95a2: e0 9e .dd2 L9EE0 95a4: 0e 9f .dd2 L9F0E 95a6: 6a 9d .dd2 L9D6A 95a8: 60 L95A8 rts 95a9: ea .dd1 $ea 95aa: ea .dd1 $ea 95ab: 60 L95AB rts 95ac: ea .dd1 $ea 95ad: ea .dd1 $ea 95ae: 60 L95AE rts 95af: ea .dd1 $ea 95b0: ea .dd1 $ea 95b1: 60 L95B1 rts 95b2: ea .dd1 $ea 95b3: ea .dd1 $ea 95b4: 60 L95B4 rts 95b5: ea .dd1 $ea 95b6: ea .dd1 $ea 95b7: 60 L95B7 rts 95b8: ea .dd1 $ea 95b9: ea .dd1 $ea 95ba: 60 L95BA rts 95bb: ea .dd1 $ea 95bc: ea .dd1 $ea 95bd: 60 L95BD rts 95be: ea .dd1 $ea 95bf: ea .dd1 $ea 95c0: 60 L95C0 rts 95c1: ea .dd1 $ea 95c2: ea .dd1 $ea 95c3: 4c 35 9d L95C3 jmp L9D35 95c6: 49 ff L95C6 eor #$ff 95c8: 18 clc 95c9: 69 01 adc #$01 95cb: 60 rts 95cc: ff 01 80 00+ L95CC .bulk $ff,$01,$80,$00,$2b,$2c,$28,$0b,$1c,$0a,$1a,$03,$0e,$b0,$01,$00 + $03,$43,$00,$00,$00,$00,$00,$00,$69 95e5: bd 02 6b L95E5 lda EnDataIndex,x 95e8: 20 24 80 jsr ChooseRoutineB 95eb: b8 99 .dd2 T99B8 95ed: d3 99 .dd2 T99D3 95ef: e5 99 .dd2 T99E5 95f1: d8 99 .dd2 T99D8 95f3: fa 99 .dd2 T99FA 95f5: 4c 9a .dd2 T9A4C 95f7: f5 9a .dd2 T9AF5 95f9: 32 9b .dd2 T9B32 95fb: a2 9b .dd2 T9BA2 95fd: d2 9b .dd2 T9BD2 95ff: 1a 9c .dd2 T9C1A 9601: 00 00 00 00+ L9601 .bulk $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$27,$27,$29,$29,$2d,$2b + $31,$2f,$33,$33,$41,$41,$4b,$4b,$55,$53,$72,$74,$00,$00,$00,$00 + $69,$69,$69,$69,$00,$00,$00,$00,$00,$00,$08,$08,$04,$ff,$02,$02 + $04,$01,$20,$ff,$ff,$04,$01,$00,$00,$00,$05,$05,$0b,$0b,$17,$13 + $1b,$19,$23,$23,$35,$35,$48,$48,$59,$57,$6c,$6f,$5b,$5d,$62,$67 + $69,$69,$69,$69,$00,$00,$00,$00,$00,$00,$05,$05,$0b,$0b,$17,$13 + $1b,$19,$23,$23,$35,$35,$48,$48,$50,$4d,$6c,$6f,$5b,$5d,$5f,$64 + $69,$69,$69,$69,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$00 + $00,$00,$00,$00,$00,$00,$80,$00,$00,$00,$01,$01,$01,$00,$86,$04 + $89,$80,$81,$00,$00,$00,$82,$00,$00,$00,$01,$01,$01,$01,$01,$01 + $01,$01,$20,$01,$01,$01,$40,$00,$00,$00,$00,$00,$06,$00,$83,$00 + $88,$00,$00,$00,$00,$00,$00,$00,$00,$00,$08,$08,$01,$01,$01,$01 + $10,$08,$10,$00,$00,$01,$01,$00,$00,$00,$00,$03,$06,$08,$0a,$10 + $0c,$0e,$14,$17,$19,$10,$12,$00,$00,$00,$ef,$97,$f2,$97,$f5,$97 + $f5,$97,$f5,$97,$f5,$97,$f5,$97,$f5,$97,$f5,$97,$f5,$97,$f5,$97 + $40,$98,$8b,$98,$8e,$98,$91,$98,$a5,$98,$b9,$98,$b9,$98,$b9,$98 + $b9,$98,$b9,$98,$b9,$98,$b9,$98,$b9,$98,$b9,$98,$c0,$98,$c7,$98 + $ce,$98,$d5,$98,$d8,$98,$db,$98,$f2,$98,$09,$99,$20,$99,$37,$99 + $4e,$99,$00,$00,$00,$00,$00,$00,$00,$00,$7f,$40,$30,$c0,$d0,$00 + $00,$7f,$80,$00,$54,$70,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$f6,$fc,$fe,$04,$02,$00,$00,$00,$0c,$fc,$fc,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$02,$02,$02,$02,$00,$00,$00,$02,$00 + $02,$02,$00,$00,$00,$00,$00,$00,$00,$00,$64,$6c,$21,$01,$04,$00 + $4c,$40,$04,$00,$00,$40,$40,$00,$00,$00,$00,$00,$64,$67,$69,$69 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0c,$f4,$00,$00,$00,$00 + $00,$00,$f4,$00,$00,$00,$65,$99,$74,$99,$83,$99,$92,$99,$36,$9d + $3b,$9d,$40,$9d,$45,$9d,$4a,$9d,$4f,$9d,$54,$9d,$59,$9d,$5e,$9d + $63,$9d,$6a,$9d,$6a,$9d,$6a,$9d,$6a,$9d,$6a,$9d,$6a,$9d,$6a,$9d + $01,$01,$02,$01,$03,$04,$00,$05,$00,$06,$00,$07,$00,$08,$00,$09 + $00,$00,$00,$0b,$01,$0c,$0d,$00,$0e,$03,$0f,$10,$11,$0f,$20,$22 + $fe,$20,$2a,$fe,$02,$f2,$04,$e2,$04,$d2,$05,$b2,$03,$92,$04,$02 + $05,$12,$03,$32,$05,$52,$04,$62,$02,$72,$02,$72,$04,$62,$04,$52 + $05,$32,$03,$12,$04,$02,$05,$92,$03,$b2,$05,$d2,$04,$e2,$02,$f2 + $fd,$03,$d2,$06,$b2,$08,$92,$05,$02,$07,$12,$05,$32,$04,$52,$03 + $52,$06,$32,$08,$12,$05,$02,$07,$92,$05,$b2,$04,$d2,$fd,$ff,$02 + $fa,$04,$ea,$04,$da,$05,$ba,$03,$9a,$04,$0a,$05,$1a,$03,$3a,$05 + $5a,$04,$6a,$02,$7a,$02,$7a,$04,$6a,$04,$5a,$05,$3a,$03,$1a,$04 + $0a,$05,$9a,$03,$ba,$05,$da,$04,$ea,$02,$fa,$fd,$03,$da,$06,$ba + $08,$9a,$05,$0a,$07,$1a,$05,$3a,$04,$5a,$03,$5a,$06,$3a,$08,$1a + $05,$0a,$07,$9a,$05,$ba,$04,$da,$fd,$ff,$01,$01,$ff,$01,$09,$ff + $04,$22,$01,$42,$01,$22,$01,$42,$01,$62,$01,$42,$04,$62,$fc,$01 + $00,$64,$00,$fb,$04,$2a,$01,$4a,$01,$2a,$01,$4a,$01,$6a,$01,$4a + $04,$6a,$fc,$01,$00,$64,$00,$fb,$14,$11,$0a,$00,$14,$19,$fe,$14 + $19,$0a,$00,$14,$11,$fe,$1e,$11,$0a,$00,$1e,$19,$fe,$1e,$19,$0a + $00,$1e,$11,$fe,$50,$04,$ff,$50,$0c,$ff,$02,$f3,$04,$e3,$04,$d3 + $05,$b3,$03,$93,$04,$03,$05,$13,$03,$33,$05,$53,$04,$63,$50,$73 + $ff,$02,$fb,$04,$eb,$04,$db,$05,$bb,$03,$9b,$04,$0b,$05,$1b,$03 + $3b,$05,$5b,$04,$6b,$50,$7b,$ff,$02,$f4,$04,$e4,$04,$d4,$05,$b4 + $03,$94,$04,$04,$05,$14,$03,$34,$05,$54,$04,$64,$50,$74,$ff,$02 + $fc,$04,$ec,$04,$dc,$05,$bc,$03,$9c,$04,$0c,$05,$1c,$03,$3c,$05 + $5c,$04,$6c,$50,$7c,$ff,$02,$f2,$04,$e2,$04,$d2,$05,$b2,$03,$92 + $04,$02,$05,$12,$03,$32,$05,$52,$04,$62,$50,$72,$ff,$02,$fa,$04 + $ea,$04,$da,$05,$ba,$03,$9a,$04,$0a,$05,$1a,$03,$3a,$05,$5a,$04 + $6a,$50,$7a,$ff,$04,$b3,$05,$a3,$06,$93,$07,$03,$06,$13,$05,$23 + $50,$33,$ff,$09,$c2,$08,$a2,$07,$92,$07,$12,$08,$22,$09,$42,$50 + $72,$ff,$07,$c2,$06,$a2,$05,$92,$05,$12,$06,$22,$07,$42,$50,$72 + $ff,$05,$c2,$04,$a2,$03,$92,$03,$12,$04,$22,$05,$42,$50,$72,$ff 99a1: a5 81 L99A1 lda HideShowEndMsg 99a3: c9 01 cmp #$01 99a5: f0 09 beq L99B0 99a7: c9 03 cmp #$03 99a9: f0 0a beq L99B5 99ab: a5 00 lda $00 99ad: 4c 00 80 jmp L8000 99b0: a5 01 L99B0 lda $01 99b2: 4c 03 80 jmp L8003 99b5: 4c 06 80 L99B5 jmp L8006 99b8: a9 09 T99B8 lda #$09 99ba: 85 85 L99BA sta $85 99bc: 85 86 sta $86 99be: bd f4 6a lda Enstatus,x 99c1: c9 03 cmp #$03 99c3: f0 03 beq L99C8 99c5: 20 1b 80 jsr L801B 99c8: a9 06 L99C8 lda #$06 99ca: 85 00 sta $00 99cc: a9 08 L99CC lda #$08 99ce: 85 01 sta $01 99d0: 4c a1 99 jmp L99A1 99d3: a9 0f T99D3 lda #$0f 99d5: 4c ba 99 jmp L99BA 99d8: bd f4 6a T99D8 lda Enstatus,x 99db: c9 03 cmp #$03 99dd: f0 03 beq L99E2 99df: 20 1e 80 jsr L801E 99e2: 4c c8 99 L99E2 jmp L99C8 99e5: a9 21 T99E5 lda #$21 99e7: 85 85 sta $85 99e9: a9 1e lda #$1e 99eb: 85 86 sta $86 99ed: bd f4 6a lda Enstatus,x 99f0: c9 03 cmp #$03 99f2: f0 03 beq L99F7 99f4: 20 1b 80 jsr L801B 99f7: 4c c8 99 L99F7 jmp L99C8 99fa: a5 81 T99FA lda HideShowEndMsg 99fc: c9 01 cmp #$01 99fe: f0 44 beq L9A44 9a00: c9 03 cmp #$03 9a02: f0 45 beq L9A49 9a04: bd 06 04 lda EnCounter,x 9a07: c9 0f L9A07 cmp #$0f 9a09: 90 34 bcc L9A3F 9a0b: c9 11 cmp #$11 9a0d: b0 07 bcs L9A16 9a0f: a9 3a lda #$3a 9a11: 9d 01 6b sta EnDataIndex-1,x 9a14: d0 29 bne L9A3F 9a16: de 01 6b L9A16 dec EnDataIndex-1,x 9a19: d0 24 bne L9A3F 9a1b: a9 00 lda #$00 9a1d: 9d f4 6a sta Enstatus,x 9a20: a0 0c ldy #$0c 9a22: a9 0a L9A22 lda #$0a 9a24: 99 a0 00 sta $00a0,y 9a27: bd 00 04 lda EnYRoomPos,x 9a2a: 99 a1 00 sta $00a1,y 9a2d: bd 01 04 lda EnXRoomPos,x 9a30: 99 a2 00 sta $00a2,y 9a33: bd fb 6a lda EnNameTable,x 9a36: 99 a3 00 sta $00a3,y 9a39: 88 dey 9a3a: 88 dey 9a3b: 88 dey 9a3c: 88 dey 9a3d: 10 e3 bpl L9A22 9a3f: a9 02 L9A3F lda #$02 9a41: 4c 00 80 jmp L8000 9a44: a9 08 L9A44 lda #$08 9a46: 4c 03 80 jmp L8003 9a49: 4c 06 80 L9A49 jmp L8006 9a4c: 20 09 80 T9A4C jsr L8009 9a4f: 29 03 and #$03 9a51: f0 34 beq L9A87 9a53: a5 81 lda HideShowEndMsg 9a55: c9 01 cmp #$01 9a57: f0 eb beq L9A44 9a59: c9 03 cmp #$03 9a5b: f0 ec beq L9A49 9a5d: bd f4 6a lda Enstatus,x 9a60: c9 03 cmp #$03 9a62: f0 23 beq L9A87 9a64: bd 0a 04 lda EnHitPoints-1,x 9a67: 29 03 and #$03 9a69: c9 01 cmp #$01 9a6b: d0 11 bne L9A7E 9a6d: bc 00 04 ldy EnYRoomPos,x 9a70: c0 e4 cpy #$e4 9a72: d0 0a bne L9A7E 9a74: 20 bd 9a jsr L9ABD 9a77: a9 03 lda #$03 9a79: 9d 0a 04 sta EnHitPoints-1,x 9a7c: d0 06 bne L9A84 9a7e: 20 e2 9a L9A7E jsr L9AE2 9a81: 20 a8 9a jsr L9AA8 9a84: 20 c6 9a L9A84 jsr L9AC6 9a87: a9 03 L9A87 lda #$03 9a89: 20 0c 80 jsr L800C 9a8c: 4c 06 80 jmp L8006 9a8f: bd 05 04 L9A8F lda EnCounter-1,x 9a92: 4a lsr A 9a93: bd 0a 04 lda EnHitPoints-1,x 9a96: 29 03 and #$03 9a98: 2a rol A 9a99: a8 tay 9a9a: b9 a0 9a lda L9AA0,y 9a9d: 4c 0f 80 jmp L800F 9aa0: 35 L9AA0 .dd1 $35 9aa1: 35 .dd1 $35 9aa2: 3e .dd1 $3e 9aa3: 38 .dd1 $38 9aa4: 3b .dd1 $3b 9aa5: 3b .dd1 $3b 9aa6: 38 .dd1 $38 9aa7: 3e .dd1 $3e 9aa8: a6 4b L9AA8 ldx PageIndex 9aaa: b0 19 bcs L9AC5 9aac: a5 00 lda $00 9aae: d0 0d bne L9ABD 9ab0: bc 0a 04 ldy EnHitPoints-1,x 9ab3: 88 dey 9ab4: 98 tya 9ab5: 29 03 and #$03 9ab7: 9d 0a 04 sta EnHitPoints-1,x 9aba: 4c 8f 9a jmp L9A8F 9abd: bd 05 04 L9ABD lda EnCounter-1,x 9ac0: 49 01 eor #$01 9ac2: 9d 05 04 sta EnCounter-1,x 9ac5: 60 L9AC5 rts 9ac6: 20 da 9a L9AC6 jsr L9ADA 9ac9: 20 e2 9a jsr L9AE2 9acc: a6 4b ldx PageIndex 9ace: 90 09 bcc L9AD9 9ad0: 20 da 9a jsr L9ADA 9ad3: 9d 0a 04 sta EnHitPoints-1,x 9ad6: 20 8f 9a jsr L9A8F 9ad9: 60 L9AD9 rts 9ada: bc 0a 04 L9ADA ldy EnHitPoints-1,x 9add: c8 iny 9ade: 98 tya 9adf: 29 03 and #$03 9ae1: 60 rts 9ae2: bc 05 04 L9AE2 ldy EnCounter-1,x 9ae5: 84 00 sty $00 9ae7: 46 00 lsr $00 9ae9: 2a rol A 9aea: 0a asl A 9aeb: a8 tay 9aec: b9 49 80 lda L8048+1,y 9aef: 48 pha 9af0: b9 48 80 lda L8048,y 9af3: 48 pha 9af4: 60 rts 9af5: a5 81 T9AF5 lda HideShowEndMsg 9af7: c9 01 cmp #$01 9af9: f0 32 beq L9B2D_0 9afb: c9 03 cmp #$03 9afd: f0 2b beq L9B2A 9aff: a9 80 lda #$80 9b01: 9d fe 6a sta $6afe,x 9b04: bd 02 04 lda $0402,x 9b07: 30 1c bmi L9B25 9b09: bd 05 04 lda EnCounter-1,x 9b0c: 29 10 and #$10 9b0e: f0 15 beq L9B25 9b10: bd 00 04 lda EnYRoomPos,x 9b13: 38 sec 9b14: ed 0d 03 sbc ObjectY 9b17: 10 03 bpl L9B1C 9b19: 20 c6 95 jsr L95C6 9b1c: c9 10 L9B1C cmp #$10 9b1e: b0 05 bcs L9B25 9b20: a9 00 lda #$00 9b22: 9d fe 6a sta $6afe,x 9b25: a9 03 L9B25 lda #$03 9b27: 4c 00 80 jmp L8000 9b2a: 4c 06 80 L9B2A jmp L8006 9b2d: a9 08 L9B2D_0 lda #$08 9b2f: 4c 03 80 jmp L8003 9b32: bd f4 6a T9B32 lda Enstatus,x 9b35: c9 02 cmp #$02 9b37: d0 38 bne L9B71 9b39: bd 03 04 lda $0403,x 9b3c: d0 33 bne L9B71 9b3e: bd fe 6a lda $6afe,x 9b41: d0 12 bne L9B55 9b43: ad 0d 03 lda ObjectY 9b46: 38 sec 9b47: fd 00 04 sbc EnYRoomPos,x 9b4a: c9 40 cmp #$40 9b4c: b0 23 bcs L9B71 9b4e: a9 7f lda #$7f 9b50: 9d fe 6a sta $6afe,x 9b53: d0 1c bne L9B71 9b55: bd 02 04 L9B55 lda $0402,x 9b58: 30 17 bmi L9B71 9b5a: a9 00 lda #$00 9b5c: 9d 02 04 sta $0402,x 9b5f: 9d 06 04 sta EnCounter,x 9b62: 9d fe 6a sta $6afe,x 9b65: bd 05 04 lda EnCounter-1,x 9b68: 29 01 and #$01 9b6a: a8 tay 9b6b: b9 a0 9b lda L9BA0,y 9b6e: 9d 03 04 sta $0403,x 9b71: bd 05 04 L9B71 lda EnCounter-1,x 9b74: 0a asl A 9b75: 30 1e bmi L9B95 9b77: bd f4 6a lda Enstatus,x 9b7a: c9 02 cmp #$02 9b7c: d0 17 bne L9B95 9b7e: 20 36 80 jsr L8036 9b81: 48 pha 9b82: 20 39 80 jsr L8039 9b85: 85 05 sta $05 9b87: 68 pla 9b88: 85 04 sta $04 9b8a: 20 a8 9c jsr L9CA8 9b8d: 20 27 80 jsr L8027_0 9b90: 90 08 bcc L9B9A 9b92: 20 96 9c jsr L9C96 9b95: a9 03 L9B95 lda #$03 9b97: 4c 03 80 jmp L8003 9b9a: a9 00 L9B9A lda #$00 9b9c: 9d f4 6a sta Enstatus,x 9b9f: 60 rts 9ba0: 04 L9BA0 .dd1 $04 9ba1: fc .dd1 $fc 9ba2: bd f4 6a T9BA2 lda Enstatus,x 9ba5: c9 03 cmp #$03 9ba7: 90 19 bcc L9BC2 9ba9: f0 04 beq L9BAF 9bab: c9 05 cmp #$05 9bad: d0 1c bne L9BCB 9baf: a9 00 L9BAF lda #$00 9bb1: 8d 04 6b sta $6b04 9bb4: 8d 14 6b sta $6b14 9bb7: 8d 24 6b sta $6b24 9bba: 8d 34 6b sta $6b34 9bbd: 8d 44 6b sta $6b44 9bc0: f0 09 beq L9BCB 9bc2: 20 1d 9c L9BC2 jsr L9C1D_0 9bc5: 20 cc 9c jsr L9CCC 9bc8: 20 05 9d jsr L9D05 9bcb: a9 0a L9BCB lda #$0a 9bcd: 85 00 sta $00 9bcf: 4c cc 99 jmp L99CC 9bd2: bd 05 04 T9BD2 lda EnCounter-1,x 9bd5: 29 02 and #$02 9bd7: f0 07 beq L9BE0 9bd9: bd f4 6a lda Enstatus,x 9bdc: c9 03 cmp #$03 9bde: d0 07 bne L9BE7 9be0: a9 00 L9BE0 lda #$00 9be2: 9d f4 6a sta Enstatus,x 9be5: f0 2b beq L9C12 9be7: bd 05 04 L9BE7 lda EnCounter-1,x 9bea: 0a asl A 9beb: 30 25 bmi L9C12 9bed: bd f4 6a lda Enstatus,x 9bf0: c9 02 cmp #$02 9bf2: d0 1e bne L9C12 9bf4: 20 2d 80 jsr L802D 9bf7: a6 4b ldx PageIndex 9bf9: a5 00 lda $00 9bfb: 9d 02 04 sta $0402,x 9bfe: 20 30 80 jsr L8030 9c01: a6 4b ldx PageIndex 9c03: a5 00 lda $00 9c05: 9d 03 04 sta $0403,x 9c08: 20 33 80 jsr L8033 9c0b: b0 05 bcs L9C12 9c0d: a9 03 lda #$03 9c0f: 9d f4 6a sta Enstatus,x 9c12: a9 01 L9C12 lda #$01 9c14: 20 0c 80 jsr L800C 9c17: 4c 06 80 jmp L8006 9c1a: 4c d2 9b T9C1A jmp T9BD2 9c1d: a2 50 L9C1D_0 ldx #$50 9c1f: 20 2a 9c L9C1F jsr L9C2A_0 9c22: 8a txa 9c23: 38 sec 9c24: e9 10 sbc #$10 9c26: aa tax 9c27: d0 f6 bne L9C1F 9c29: 60 rts 9c2a: bc f4 6a L9C2A_0 ldy Enstatus,x 9c2d: f0 26 beq L9C55 9c2f: bd 02 6b lda EnDataIndex,x 9c32: c9 0a cmp #$0a 9c34: f0 04 beq L9C3A 9c36: c9 09 cmp #$09 9c38: d0 6d bne L9CA7 9c3a: bd 05 04 L9C3A lda EnCounter-1,x 9c3d: 29 02 and #$02 9c3f: f0 14 beq L9C55 9c41: 88 dey 9c42: f0 1c beq L9C60 9c44: c0 02 cpy #$02 9c46: f0 0d beq L9C55 9c48: c0 03 cpy #$03 9c4a: d0 5b bne L9CA7 9c4c: bd 0c 04 lda $040c,x 9c4f: c9 01 cmp #$01 9c51: d0 54 bne L9CA7 9c53: f0 0b beq L9C60 9c55: a9 00 L9C55 lda #$00 9c57: 9d f4 6a sta Enstatus,x 9c5a: 9d 0f 04 sta EnSpecialAttribs,x 9c5d: 20 2a 80 jsr L802A 9c60: ad 05 04 L9C60 lda EnCounter-1 9c63: 9d 05 04 sta EnCounter-1,x 9c66: 4a lsr A 9c67: 08 php 9c68: 8a txa 9c69: 4a lsr A 9c6a: 4a lsr A 9c6b: 4a lsr A 9c6c: 4a lsr A 9c6d: a8 tay 9c6e: b9 b7 9c lda L9CB8-1,y 9c71: 85 04 sta $04 9c73: b9 c6 9c lda L9CB8+14,y 9c76: 9d 02 6b sta EnDataIndex,x 9c79: 98 tya 9c7a: 28 plp 9c7b: 2a rol A 9c7c: a8 tay 9c7d: b9 bb 9c lda L9CB8+3,y 9c80: 85 05 sta $05 9c82: a2 00 ldx #$00 9c84: 20 a8 9c jsr L9CA8 9c87: 20 27 80 jsr L8027_0 9c8a: a6 4b ldx PageIndex 9c8c: 90 19 bcc L9CA7 9c8e: bd f4 6a lda Enstatus,x 9c91: d0 03 bne L9C96 9c93: fe f4 6a inc Enstatus,x 9c96: a5 08 L9C96 lda $08 9c98: 9d 00 04 sta EnYRoomPos,x 9c9b: a5 09 lda $09 9c9d: 9d 01 04 sta EnXRoomPos,x 9ca0: a5 0b lda $0b 9ca2: 29 01 and #$01 9ca4: 9d fb 6a sta EnNameTable,x 9ca7: 60 L9CA7 rts 9ca8: bd 00 04 L9CA8 lda EnYRoomPos,x 9cab: 85 08 sta $08 9cad: bd 01 04 lda EnXRoomPos,x 9cb0: 85 09 sta $09 9cb2: bd fb 6a lda EnNameTable,x 9cb5: 85 0b sta $0b 9cb7: 60 rts 9cb8: f5 fd 05 f6+ L9CB8 .bulk $f5,$fd,$05,$f6,$fe,$0a,$f6,$0c,$f4,$0e,$f2,$f8,$08,$f4,$0c,$09 + $09,$09,$0a,$0a 9ccc: a4 7e L9CCC ldy SpriteAttribByte 9cce: d0 02 bne L9CD2 9cd0: a0 80 ldy #$80 9cd2: a5 2d L9CD2 lda FrameCount 9cd4: 29 02 and #$02 9cd6: d0 2c bne L9D04 9cd8: 88 dey 9cd9: 84 7e sty SpriteAttribByte 9cdb: 98 tya 9cdc: 0a asl A 9cdd: 30 25 bmi L9D04 9cdf: 29 0f and #$0f 9ce1: c9 0a cmp #$0a 9ce3: d0 1f bne L9D04 9ce5: a9 01 lda #$01 9ce7: a2 10 ldx #$10 9ce9: dd f4 6a cmp Enstatus,x 9cec: f0 11 beq L9CFF 9cee: a2 20 ldx #$20 9cf0: dd f4 6a cmp Enstatus,x 9cf3: f0 0a beq L9CFF 9cf5: a2 30 ldx #$30 9cf7: dd f4 6a cmp Enstatus,x 9cfa: f0 03 beq L9CFF 9cfc: e6 7e inc SpriteAttribByte 9cfe: 60 rts 9cff: a9 08 L9CFF lda #$08 9d01: 9d 09 04 sta EnDelay,x 9d04: 60 L9D04 rts 9d05: a4 7f L9D05 ldy ColorCntIndex 9d07: d0 02 bne L9D0B 9d09: a0 60 ldy #$60 9d0b: a5 2d L9D0B lda FrameCount 9d0d: 29 02 and #$02 9d0f: d0 23 bne L9D34 9d11: 88 dey 9d12: 84 7f sty ColorCntIndex 9d14: 98 tya 9d15: 0a asl A 9d16: 30 1c bmi L9D34 9d18: 29 0f and #$0f 9d1a: d0 18 bne L9D34 9d1c: a9 01 lda #$01 9d1e: a2 40 ldx #$40 9d20: dd f4 6a cmp Enstatus,x 9d23: f0 0a beq L9D2F 9d25: a2 50 ldx #$50 9d27: dd f4 6a cmp Enstatus,x 9d2a: f0 03 beq L9D2F 9d2c: e6 7f inc ColorCntIndex 9d2e: 60 rts 9d2f: a9 08 L9D2F lda #$08 9d31: 9d 09 04 sta EnDelay,x 9d34: 60 L9D34 rts 9d35: 60 L9D35 rts 9d36: 22 ff ff ff+ .bulk $22,$ff,$ff,$ff,$ff,$22,$80,$81,$82,$83,$22,$84,$85,$86,$87,$22 + $88,$89,$8a,$8b,$22,$8c,$8d,$8e,$8f,$22,$94,$95,$96,$97,$22,$9c + $9d,$9d,$9c,$22,$9e,$9f,$9f,$9e,$22,$90,$91,$92,$93,$32,$4e,$4e + $4e,$4e,$4e,$4e 9d6a: 00 01 ff 02+ L9D6A .bulk $00,$01,$ff,$02,$ff,$19,$1a,$ff,$1a,$1b,$ff,$1c,$1d,$ff,$1d,$1e + $ff,$22,$23,$24,$ff,$1f,$20,$21,$ff,$22,$ff,$1f,$ff,$23,$04,$ff + $20,$03,$ff,$27,$28,$29,$ff,$37,$ff,$38,$ff,$39,$ff,$3a,$ff,$3b + $ff,$3c,$ff,$3d,$ff,$58,$59,$ff,$5a,$5b,$ff,$5c,$5d,$ff,$5e,$5f + $ff,$60,$ff,$61,$f7,$62,$f7,$ff,$63,$64,$ff,$65,$ff,$66,$67,$ff + $69,$6a,$ff,$68,$ff,$6b,$ff,$66,$ff,$69,$ff,$6c,$ff,$6d,$ff,$6f + $70,$71,$6e,$ff,$73,$74,$75,$72,$ff,$8f,$90,$ff,$91,$92,$ff,$93 + $94,$ff,$95,$ff,$96,$ff 9de0: c2 9f c7 9f+ L9DE0 .bulk $c2,$9f,$c7,$9f,$cc,$9f,$d1,$9f,$da,$9f,$e3,$9f,$e3,$9f,$e3,$9f + $e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f + $e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f,$e3,$9f + $e3,$9f,$e3,$9f,$f1,$9f,$ff,$9f,$0b,$a0,$19,$a0,$27,$a0,$33,$a0 + $3c,$a0,$46,$a0,$50,$a0,$59,$a0,$63,$a0,$6d,$a0,$6d,$a0,$6d,$a0 + $7b,$a0,$82,$a0,$8b,$a0,$8b,$a0,$8b,$a0,$8b,$a0,$8b,$a0,$8b,$a0 + $8b,$a0,$8b,$a0,$8b,$a0,$8b,$a0,$8b,$a0,$8b,$a0,$8b,$a0,$8b,$a0 + $9f,$a0,$b3,$a0,$be,$a0,$c9,$a0,$d2,$a0,$db,$a0,$e6,$a0,$e6,$a0 + $e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0 + $e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0 + $e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0 + $e6,$a0,$ee,$a0,$f6,$a0,$fe,$a0,$06,$a1,$0e,$a1,$16,$a1,$1e,$a1 + $26,$a1,$2e,$a1,$3c,$a1,$56,$a1,$62,$a1,$6f,$a1,$77,$a1,$7f,$a1 + $87,$a1,$8f,$a1,$97,$a1,$9f,$a1,$a7,$a1,$af,$a1,$b7,$a1,$bf,$a1 + $c7,$a1,$cf,$a1,$d7,$a1,$df,$a1,$e7,$a1,$ef,$a1,$f7,$a1,$f7,$a1 + $f7,$a1,$f7,$a1,$f7,$a1,$f7,$a1,$f7,$a1,$f7,$a1,$f7,$a1,$f7,$a1 9ee0: f7 a1 ff a1+ L9EE0 .bulk $f7,$a1,$ff,$a1,$04,$a2,$04,$a2,$04,$a2,$04,$a2,$04,$a2,$04,$a2 + $04,$a2,$04,$a2,$09,$a2,$09,$a2,$09,$a2,$09,$a2,$09,$a2,$09,$a2 + $13,$a2,$1d,$a2,$2d,$a2,$3d,$a2,$4d,$a2,$5d,$a2,$67,$a2 9f0e: 2e 9f 30 9f+ L9F0E .bulk $2e,$9f,$30,$9f,$48,$9f,$60,$9f,$60,$9f,$60,$9f,$70,$9f,$7c,$9f + $84,$9f,$90,$9f,$90,$9f,$b0,$9f,$be,$9f,$be,$9f,$be,$9f,$be,$9f + $fc,$fc,$80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8 + $f4,$00,$fc,$f8,$fc,$00,$04,$f8,$04,$00,$f0,$f4,$f0,$fc,$f0,$04 + $f8,$f4,$f8,$fc,$f8,$04 9f54: 00 brk 9f55: f4 00 fc 00+ .bulk $f4,$00,$fc,$00,$04,$08,$f4,$08,$fc,$08,$04,$f8,$f4,$00,$f4,$f8 + $fc,$00,$fc,$f4,$fc,$fc,$fc,$f8,$04,$00,$04,$02,$f4,$0a,$f4,$f8 + $fc,$00,$fc,$02,$04,$0a,$04,$f8,$f8,$f8,$00,$00,$f8,$00,$00,$f4 + $fc,$fc,$fc,$04,$fc,$fc,$04,$04,$04,$0c,$fc,$f8,$f8,$f8,$00,$00 + $f8,$00,$00,$f0,$00,$f0,$08,$f8,$08,$f0,$f0,$f0,$f8,$f8,$f0,$00 + $f0,$08,$f0,$08,$f8,$00,$08,$08,$00,$08,$08,$f8,$fc,$00,$f8,$f4 + $f4,$fc,$f4,$00,$00,$f4,$04,$fc,$04,$fc,$f8,$fc,$00,$00,$02,$02 + $14,$ff,$00,$02,$02,$24,$ff,$00,$00,$00,$04,$ff,$27,$06,$08,$fc + $04,$00,$d0,$d1,$ff,$67,$06,$08,$fc,$04,$00,$d0,$d1,$ff,$25,$08 + $0a,$a3,$b3,$a4,$b4,$fe,$fe,$fd,$62,$a3,$b3,$ff,$25,$08,$0a,$a5 + $b3,$fe,$fe,$a4,$b4,$fd,$62,$a5,$b3,$ff,$26,$08,$0a,$b5,$b3,$a4 + $b4,$fd,$62,$b5,$b3,$ff,$a5,$08,$0a,$a3,$b3,$a4,$b4,$fe,$fe,$fd + $e2,$a3,$b3,$ff,$a5,$08,$0a,$a5,$b3,$fe,$fe,$a4,$b4,$fd,$e2,$a5 + $b3,$ff,$a6,$08,$0a,$b5,$b3,$a4,$b4,$fd,$e2,$b5,$b3,$ff,$27,$06 + $08,$fc,$04,$00,$c0,$c1,$ff,$27,$06,$08,$e0,$e1,$fd,$a2,$e0,$e1 + $ff,$27,$06,$08,$f0,$f1,$fd,$a2,$f0,$f1,$ff,$67,$06,$08,$fc,$04 + $00,$c0,$c1,$ff,$67,$06,$08,$e0,$e1,$fd,$e2,$e0,$e1,$ff,$67,$06 + $08,$f0,$f1,$fd,$e2,$f0,$f1,$ff,$28,$0c,$08,$ce,$fc,$00,$fc,$de + $ee,$df,$fd,$62,$ee,$ff,$28,$0c,$08,$ce,$cf,$ef,$ff,$28,$0c,$08 + $ce,$fd,$62,$cf,$ef,$ff,$21,$00,$00,$fc,$08,$fc,$a3,$fc,$00,$08 + $a3,$fc,$00,$f8,$b3,$fc,$00,$08,$b3,$ff,$21,$00,$00,$fc,$00,$fc + $b3,$fc,$00,$08,$b3,$fc,$00,$f8,$a3,$fc,$00,$08,$a3,$ff,$21,$00 + $00,$fc,$04,$00,$f1,$f0,$f1,$f0,$ff,$21,$00,$00,$fc,$04,$00,$f0 + $f1,$f0,$f1,$ff,$21,$00,$00,$fc,$08,$00,$d1,$d0,$ff,$21,$00,$00 + $fc,$08,$00,$d0,$d1,$ff,$21,$00,$00,$fc,$08,$00,$de,$df,$ee,$ee + $ff,$27,$08,$08,$cc,$cd,$dc,$dd,$ff,$67,$08,$08,$cc,$cd,$dc,$dd + $ff,$27,$08,$08,$ca,$cb,$da,$db,$ff,$a7,$08,$08,$ca,$cb,$da,$db + $ff,$a7,$08,$08,$cc,$cd,$dc,$dd,$ff,$e7,$08,$08,$cc,$cd,$dc,$dd + $ff,$67,$08,$08,$ca,$cb,$da,$db,$ff,$e7,$08,$08,$ca,$cb,$da,$db + $ff,$21,$00,$00,$cc,$cd,$dc,$dd,$ff,$0a,$00,$00,$75,$fd,$60,$75 + $fd,$a0,$75,$fd,$e0,$75,$ff,$0a,$00,$00,$fe,$fe,$fe,$fe,$3d,$3e + $4e,$fd,$60,$3e,$3d,$4e,$fd,$e0,$4e,$3e,$3d,$fd,$a0,$4e,$3d,$3e + $ff,$2b,$08,$08,$e2,$e3,$e4,$fe,$fd,$62,$e3,$e4,$ff,$2b,$08,$08 + $e2,$e3,$fe,$e4,$fd,$62,$e3,$fe,$e4,$ff,$21,$00,$00,$96,$96,$98 + $98,$ff,$2a,$08,$08,$c2,$c3,$d2,$d3,$ff,$2a,$08,$08,$c2,$c4,$d2 + $d4,$ff,$21,$08,$08,$c2,$c4,$d2,$d4,$ff,$6a,$08,$08,$c2,$c3,$d2 + $d3,$ff,$6a,$08,$08,$c2,$c4,$d2,$d4,$ff,$61,$08,$08,$c2,$c4,$d2 + $d4,$ff,$20,$02,$04,$fc,$ff,$00,$f8,$ff,$60,$02,$04,$fc,$ff,$00 + $f8,$ff,$20,$02,$02,$fc,$fe,$00,$d9,$ff,$e0,$02,$02,$fc,$00,$02 + $d8,$ff,$e0,$02,$02,$fc,$02,$00,$d9,$ff,$20,$02,$02,$fc,$00,$fe + $d8,$ff,$60,$02,$02,$fc,$fe,$00,$d9,$ff,$a0,$02,$02,$fc,$00,$fe + $d8,$ff,$a0,$02,$02,$fc,$02,$00,$d9,$ff,$60,$02,$02,$fc,$00,$02 + $d8,$ff,$06,$08,$04,$fe,$fe,$14,$24,$ff,$00,$04,$04,$8a,$ff,$00 + $04,$04,$8a,$ff,$3f,$04,$08,$fd,$03,$ec,$fd,$43,$ec,$ff,$3f,$04 + $08,$fd,$03,$ed,$fd,$43,$ed,$ff,$22,$10,$0c,$c5,$c6,$c7,$d5,$d6 + $d7,$e5,$e6,$e7,$f5,$f6,$f7,$ff,$22,$10,$0c,$c5,$c6,$c7,$d5,$d6 + $d7,$e5,$e6,$e7,$e8,$e9,$f9,$ff,$62,$10,$0c,$c5,$c6,$c7,$d5,$d6 + $d7,$e5,$e6,$e7,$f5,$f6,$f7,$ff,$62,$10,$0c,$c5,$c6,$c7,$d5,$d6 + $d7,$e5,$e6,$e7,$e8,$e9,$f9,$ff,$21,$00,$00,$c5,$c7,$d5,$d7,$e5 + $e7,$ff,$21,$00,$00,$c7,$c5,$d7,$d5,$e7,$e5,$ff a271: 3f 00 20 0f+ LA271 .bulk $3f,$00,$20,$0f,$22,$12,$1c,$0f,$22,$12,$1c,$0f,$27,$11,$07,$0f + $22,$12,$1c,$0f,$16,$19,$27,$0f,$12,$30,$21,$0f,$27,$2a,$3c,$0f + $15,$21,$38,$00 a295: 3f 12 02 19+ LA295 .bulk $3f,$12,$02,$19,$27,$00 a29b: 3f 12 02 2c+ LA29B .bulk $3f,$12,$02,$2c,$27,$00 a2a1: 3f 12 02 19+ LA2A1 .bulk $3f,$12,$02,$19,$35,$00 a2a7: 3f 12 02 2c+ LA2A7 .bulk $3f,$12,$02,$2c,$24,$00 a2ad: 3f 00 10 0f+ LA2AD .bulk $3f,$00,$10,$0f,$20,$10,$00,$0f,$28,$19,$17,$0f,$27,$11,$07,$0f + $28,$16,$17,$3f,$14,$0c,$0f,$12,$30,$21,$0f,$26,$1a,$31,$0f,$15 + $21,$38,$00 a2d0: 3f 11 03 04+ LA2D0 .bulk $3f,$11,$03,$04,$09,$07,$00 a2d7: 3f 11 03 05+ LA2D7 .bulk $3f,$11,$03,$05,$09,$17,$00 a2de: 3f 11 03 06+ LA2DE .bulk $3f,$11,$03,$06,$0a,$26,$00 a2e5: 3f 11 03 16+ LA2E5 .bulk $3f,$11,$03,$16,$19,$27,$00 a2ec: 3f 00 04 0f+ LA2EC .bulk $3f,$00,$04,$0f,$30,$30,$21,$00 a2f4: 3f 10 04 0f+ LA2F4 .bulk $3f,$10,$04,$0f,$15,$34,$17,$00 a2fc: 3f 10 04 0f+ LA2FC .bulk $3f,$10,$04,$0f,$15,$34,$19,$00 a304: 3f 10 04 0f+ LA304 .bulk $3f,$10,$04,$0f,$15,$34,$28,$00 a30c: 3f 10 04 0f+ LA30C .bulk $3f,$10,$04,$0f,$15,$34,$29,$00 a314: 41 a4 54 a4+ LA314 .bulk $41,$a4,$54,$a4,$5c,$a4,$80,$a4,$bb,$a4,$ed,$a4,$24,$a5,$5a,$a5 + $87,$a5,$b9,$a5,$dd,$a5,$15,$a6,$35,$a6,$61,$a6,$8d,$a6,$b1,$a6 + $db,$a6,$15,$a7,$3c,$a7,$68,$a7,$8b,$a7,$a3,$a7,$d0,$a7,$f1,$a7 + $1b,$a8,$5b,$a8,$8b,$a8,$b1,$a8,$e7,$a8,$10,$a9,$2b,$a9,$6b,$a9 + $97,$a9,$c6,$a9,$f6,$a9,$20,$aa,$56,$aa,$a4,$aa,$e6,$aa,$19,$ab + $48,$ab,$71,$ab,$92,$ab,$bf,$ab,$24,$ac,$4d,$ac,$6a,$ac a372: 84 ac 97 ac+ LA372 .bulk $84,$ac,$97,$ac,$b0,$ac,$c9,$ac,$d0,$ac,$d7,$ac,$db,$ac,$e6,$ac + $f3,$ac,$ff,$ac,$05,$ad,$0a,$ad,$1a,$ad,$1e,$ad,$28,$ad,$4d,$ad + $57,$ad,$6a,$ad,$7f,$ad,$8e,$ad,$98,$ad,$a2,$ad,$ad,$ad,$be,$ad + $e3,$ad,$e6,$ad,$ec,$ad,$f9,$ad,$09,$ae,$13,$ae,$18,$ae,$2d,$ae + $42,$ae,$48,$ae,$4b,$ae,$5f,$ae,$70,$ae,$85,$ae,$8e,$ae,$92,$ae + $a5,$ae,$b0,$ae,$b3,$ae,$be,$ae,$c8,$ae,$cb,$ae,$de,$ae,$e1,$ae + $e4,$ae,$ed,$ae a3d6: 02 e4 a3 03+ LA3D6 .bulk $02,$e4,$a3,$03,$05,$04,$03,$00,$0f,$ff,$02,$05,$37,$00,$03,$f3 + $a3,$18,$06,$02,$09,$67,$00,$1b,$ff,$02,$08,$87,$00,$05,$02,$a4 + $07,$06,$02,$02,$37,$00,$19,$ff,$02,$00,$37,$00,$07,$0f,$a4,$0c + $04,$0a,$00,$19,$ff,$02,$08,$87,$00,$09,$1c,$a4,$13,$06,$02,$07 + $37,$00,$15,$ff,$03,$00,$0b,$2a,$a4,$12,$06,$02,$09,$67,$00,$16 + $ff,$04,$01,$00,$0e,$39,$a4,$02,$06,$02,$04,$96,$00,$09,$ff,$02 + $08,$12,$00,$12,$ff,$ff,$07,$ff,$04,$02,$00,$02,$40,$01,$02,$48 + $01,$02,$50,$03,$02,$5f,$03,$02,$fd,$02,$a1,$02,$b1,$ff,$02,$07 + $02,$02,$87,$02,$02,$ff,$03,$00,$0b,$03,$0e,$0b,$03,$50,$0b,$03 + $5e,$0b,$03,$a0,$0b,$03,$ae,$0b,$03,$fd,$01,$03,$42,$11,$83,$8a + $21,$03,$b5,$31,$02,$59,$41,$02,$a3,$ff,$02,$00,$0b,$03,$02,$09 + $03,$0e,$0b,$03,$50,$0b,$03,$56,$0a,$03,$5f,$03,$02,$8b,$0a,$03 + $8e,$0b,$03,$92,$0a,$03,$a0,$0b,$03,$c7,$09,$03,$de,$0b,$03,$fd + $02,$a1,$01,$85,$47,$11,$05,$ba,$21,$03,$08,$31,$83,$53,$41,$83 + $97,$51,$03,$c5,$ff,$03,$00,$0b,$03,$04,$0a,$03,$0e,$0b,$03,$47 + $09,$03,$50,$03,$02,$5e,$0b,$03,$80,$0b,$03,$82,$0a,$03,$9c,$0a + $03,$ae,$0b,$03,$b6,$0a,$03,$c0,$0b,$03,$fd,$02,$b1,$41,$03,$45 + $51,$03,$bb,$31,$05,$39,$ff,$03,$00,$0b,$03,$0e,$0b,$03,$15,$09 + $03,$50,$03,$02,$57,$0a,$03,$5f,$03,$02,$80,$0b,$03,$82,$0a,$03 + $8b,$0a,$03,$8e,$0b,$03,$b0,$0b,$03,$c6,$09,$03,$ce,$0b,$03,$fd + $02,$a1,$02,$b1,$01,$83,$43,$31,$85,$48,$51,$05,$b7,$ff,$03,$00 + $0b,$03,$0e,$0b,$03,$12,$0a,$03,$37,$0a,$03,$50,$0b,$03,$5e,$0b + $03,$73,$0a,$03,$8a,$0a,$03,$a0,$0b,$03,$ae,$0b,$03,$b6,$09,$03 + $fd,$01,$03,$b3,$11,$03,$3c,$21,$05,$a8,$31,$05,$64,$51,$85,$7b + $41,$05,$28,$ff,$03,$00,$0d,$03,$08,$0d,$03,$54,$06,$03,$5a,$06 + $03,$67,$07,$03,$a0,$0b,$03,$ae,$0b,$03,$c2,$06,$03,$cd,$06,$03 + $d2,$00,$02,$d6,$00,$02,$fd,$51,$05,$b2,$41,$05,$bd,$31,$05,$67 + $ff,$03,$00,$1e,$03,$04,$1e,$03,$08,$1e,$03,$0c,$1e,$03,$38,$1e + $03,$40,$1e,$03,$44,$1e,$03,$4c,$1e,$03,$74,$1e,$03,$78,$1e,$03 + $80,$1e,$03,$8c,$1e,$03,$b0,$1e,$03,$b4,$1e,$03,$b8,$1e,$03,$cc + $1e,$03,$ff,$03,$00,$11,$01,$08,$11,$01,$35,$1d,$03,$3b,$1d,$03 + $55,$0b,$03,$5a,$0b,$03,$c5,$16,$00,$d0,$10,$03,$d8,$10,$03,$fd + $51,$05,$25,$41,$05,$2b,$ff,$00,$00,$14,$00,$08,$14,$00,$0f,$15 + $00,$10,$15,$00,$14,$15,$00,$25,$08,$03,$50,$14,$00,$58,$0c,$00 + $5f,$04,$02,$60,$14,$00,$70,$13,$00,$80,$14,$00,$88,$14,$00,$90 + $16,$00,$99,$16,$00,$b3,$15,$00,$bc,$15,$00,$fd,$02,$a0,$ff,$00 + $00,$15,$00,$01,$16,$00,$08,$16,$00,$0f,$15,$00,$4f,$15,$00,$50 + $04,$02,$80,$16,$00,$87,$02,$02,$89,$16,$00,$fd,$02,$b1,$ff,$02 + $00,$1b,$02,$08,$1b,$02,$10,$1a,$02,$50,$03,$02,$80,$1a,$02,$82 + $19,$02,$bc,$19,$02,$c0,$1a,$02,$c6,$1b,$02,$d1,$00,$02,$d9,$00 + $02,$fd,$02,$b1,$51,$02,$5a,$31,$02,$aa,$ff,$02,$00,$1b,$02,$08 + $1b,$02,$1e,$1a,$02,$5f,$03,$02,$8c,$19,$02,$8e,$1a,$02,$b7,$1a + $02,$c2,$1a,$02,$ce,$1a,$02,$d0,$00,$02,$d7,$00,$02,$fd,$02,$a1 + $31,$05,$b3,$51,$02,$44,$ff,$02,$00,$1b,$02,$08,$1b,$02,$ac,$19 + $02,$b4,$19,$02,$b8,$1a,$02,$d0,$00,$02,$d8,$00,$02,$fd,$01,$82 + $28,$11,$05,$a5,$21,$02,$8b,$31,$02,$bd,$ff,$03,$00,$1b,$02,$08 + $1b,$02,$59,$06,$03,$92,$19,$02,$ac,$19,$02,$bb,$19,$02,$c0,$06 + $03,$d0,$00,$02,$d8,$00,$02,$fd,$01,$02,$3b,$11,$02,$b8,$51,$85 + $84,$41,$05,$49,$ff,$02,$00,$17,$02,$08,$17,$02,$10,$17,$02,$18 + $17,$02,$50,$03,$02,$5f,$03,$02,$80,$1a,$02,$82,$19,$02,$86,$2e + $02,$87,$1b,$02,$8e,$1a,$02,$c0,$1a,$02,$ce,$1a,$02,$d2,$12,$02 + $d8,$12,$02,$fd,$02,$a1,$02,$b1,$01,$02,$5c,$11,$02,$a7,$ff,$03 + $00,$0b,$03,$02,$06,$03,$0e,$0b,$03,$50,$0b,$03,$52,$06,$03,$5e + $0b,$03,$a0,$0b,$03,$a2,$06,$03,$ae,$0b,$03,$fd,$01,$83,$dd,$11 + $03,$35,$21,$02,$7d,$ff,$03,$00,$0b,$03,$02,$11,$01,$0a,$11,$01 + $50,$03,$02,$80,$0b,$03,$82,$0a,$03,$d0,$10,$03,$d8,$10,$03,$fd + $02,$b1,$01,$05,$c7,$11,$05,$cb,$51,$04,$3a,$41,$04,$29,$31,$04 + $1e,$ff,$03,$00,$11,$01,$07,$10,$03,$0e,$0b,$03,$5f,$03,$02,$8a + $09,$03,$8e,$0b,$03,$d0,$10,$03,$d8,$10,$03,$fd,$02,$a1,$01,$05 + $7b,$11,$05,$c8,$ff,$01,$00,$11,$01,$08,$11,$01,$d0,$10,$03,$d8 + $10,$03,$fd,$51,$04,$14,$21,$04,$38,$41,$04,$2e,$ff,$03,$00,$10 + $03,$08,$10,$03,$90,$1f,$01,$96,$1f,$01,$aa,$05,$03,$ac,$1f,$01 + $ba,$10,$03,$c4,$05,$03,$d0,$10,$03,$d8,$10,$03,$fd,$51,$05,$89 + $37,$87,$ab,$21,$06,$23,$17,$07,$c5,$ff,$01,$00,$11,$01,$08,$11 + $01,$b0,$1f,$01,$b6,$05,$03,$b8,$05,$03,$bc,$1f,$01,$c6,$1f,$01 + $d4,$00,$02,$fd,$07,$07,$b7,$47,$87,$b9,$ff,$03,$00,$11,$01,$08 + $10,$03,$4a,$1e,$03,$6b,$1e,$03,$8c,$1e,$03,$a6,$15,$00,$b3,$1d + $03,$b9,$1d,$03,$c3,$0c,$00,$c8,$0c,$00,$d0,$10,$03,$d8,$10,$03 + $fd,$41,$05,$b4,$ff,$01,$00,$0b,$03,$01,$11,$01,$09,$11,$01,$0e + $0b,$03,$50,$03,$02,$5f,$03,$02,$64,$0d,$03,$66,$20,$01,$80,$1f + $01,$84,$20,$01,$88,$20,$01,$8c,$1e,$03,$a6,$20,$01,$b0,$0b,$03 + $be,$0b,$03,$e6,$20,$01,$fd,$02,$a1,$02,$b1,$31,$05,$56,$01,$85 + $5a,$21,$05,$d9,$ff,$01,$00,$10,$03,$04,$1f,$01,$08,$1f,$01,$0c + $11,$01,$12,$31,$03,$44,$1f,$01,$48,$1f,$01,$84,$1f,$01,$88,$1f + $01,$d0,$1f,$01,$d4,$1f,$01,$d8,$10,$03,$fd,$51,$05,$c0,$41,$05 + $ca,$31,$06,$3c,$ff,$02,$00,$28,$02,$01,$2d,$02,$09,$2d,$02,$50 + $04,$02,$80,$28,$02,$81,$14,$00,$95,$15,$00,$d0,$2d,$02,$d8,$2d + $02,$fd,$02,$b0,$01,$05,$c7,$11,$85,$ca,$ff,$00,$00,$14,$00,$04 + $15,$00,$08,$14,$00,$0a,$15,$00,$97,$06,$03,$a0,$0b,$03,$a6,$15 + $00,$a8,$15,$00,$ae,$0b,$03,$b4,$06,$03,$ba,$06,$03,$c2,$06,$03 + $d2,$00,$02,$d6,$00,$02,$fd,$41,$05,$aa,$21,$06,$17,$11,$05,$a4 + $ff,$00,$00,$15,$00,$01,$0d,$03,$09,$0e,$01,$2a,$23,$01,$37,$22 + $03,$4d,$0e,$01,$50,$03,$02,$6a,$16,$00,$6d,$0e,$01,$80,$14,$00 + $87,$02,$02,$89,$14,$00,$fd,$02,$b1,$ff,$01,$00,$0e,$01,$08,$0e + $01,$44,$0e,$01,$84,$0f,$01,$94,$0e,$01,$b0,$0e,$01,$b8,$0e,$01 + $fd,$31,$06,$42,$ff,$01,$00,$0e,$01,$02,$2a,$01,$07,$25,$01,$08 + $0e,$01,$10,$0e,$01,$12,$2a,$01 a93e: 17 25 01 18+ LA93E .bulk $17,$25,$01,$18,$0e,$01,$50,$03,$02,$5f,$03,$02,$74,$26,$01,$78 + $26,$01,$80,$0e,$01,$88,$0e,$01,$c0,$24,$01,$cc,$24,$01,$d4,$00 + $02,$fd,$02,$a1,$02,$b1,$11,$02,$52,$01,$03,$c8,$ff,$01,$00,$27 + $01,$08,$27,$01,$10,$24,$01,$50,$03,$02,$80,$24,$01,$a6,$26,$01 + $b0,$0e,$01,$ca,$26,$01,$d8,$0e,$01,$fd,$02,$b1,$01,$02,$2b,$11 + $02,$bb,$21,$82,$5b,$31,$02,$8b,$ff,$01,$00,$27,$01,$08,$27,$01 + $1c,$24,$01,$20,$24,$01,$5f,$03,$02,$8c,$24,$01,$ba,$26,$01,$c4 + $26,$01,$c8,$0e,$01,$d0,$0e,$01,$fd,$02,$a1,$51,$02,$85,$41,$02 + $c5,$31,$05,$ba,$21,$05,$c5,$ff,$01,$00,$0e,$01,$08,$0e,$01,$30 + $0e,$01,$38,$0e,$01,$a7,$26,$01,$b0,$24,$01,$b6,$24,$01,$bc,$24 + $01,$c4,$05,$03,$d4,$27,$01,$da,$00,$02,$fd,$07,$07,$c5,$11,$05 + $ac,$21,$05,$a8,$51,$06,$7a,$ff,$01,$00,$0e,$01,$08,$0e,$01,$30 + $0e,$01,$37,$25,$01,$48,$2a,$01,$4c,$2a,$01,$68,$0e,$01,$78,$0e + $01,$a3,$26,$01,$b0,$0e,$01,$b8,$0e,$01,$fd,$41,$06,$75,$21,$03 + $85,$ff,$02,$00,$27,$01,$08,$27,$01,$63,$29,$01,$73,$28,$02,$8b + $29,$01,$9b,$28,$02,$c0,$26,$01,$c6,$26,$01,$d0,$0e,$01,$d8,$00 + $02,$d9,$0e,$01,$de,$05,$03,$fd,$01,$85,$63,$11,$05,$8b,$21,$02 + $6e,$47,$07,$df,$31,$83,$a8,$ff,$01,$00,$0e,$01,$08,$0e,$01,$40 + $2b,$00,$48,$2b,$00,$50,$0e,$01,$53,$20,$01,$58,$0e,$01,$5b,$20 + $01,$60,$2b,$00,$68,$13,$00,$70,$27,$01,$78,$27,$01,$80,$2b,$00 + $88,$2b,$00,$90,$27,$01,$98,$27,$01,$a0,$13,$00,$a8,$2b,$00,$b0 + $0e,$01,$b8,$0e,$01,$fd,$01,$05,$4d,$11,$85,$6c,$21,$05,$8a,$31 + $85,$af,$41,$05,$47,$ff,$02,$00,$27,$01,$05,$27,$01,$0a,$0e,$01 + $23,$24,$01,$4a,$13,$00,$52,$24,$01,$59,$20,$01,$5a,$0e,$01,$6a + $2b,$00,$79,$0e,$01,$89,$2b,$00,$90,$28,$02,$94,$06,$03,$98,$0e + $01,$a8,$13,$00,$b0,$0e,$01,$b8,$0e,$01,$fd,$51,$05,$4f,$41,$05 + $6e,$31,$05,$8e,$21,$02,$48,$ff,$01,$00,$0e,$01,$08,$27,$01,$40 + $2b,$00,$50,$0e,$01,$56,$20,$01,$60,$2b,$00,$68,$2c,$00,$80,$27 + $01,$8b,$24,$01,$d0,$00,$02,$d8,$00,$02,$fd,$51,$05,$67,$41,$05 + $7e,$21,$05,$7b,$31,$03,$49,$11,$02,$c6,$ff,$03,$00,$0b,$03,$02 + $11,$01,$09,$11,$01,$50,$04,$02,$80,$0b,$03,$82,$1e,$03,$b6,$1d + $03,$b7,$1d,$03,$c2,$09,$03,$c8,$1d,$03,$d0,$10,$03,$d8,$10,$03 + $fd,$02,$b0,$11,$04,$38,$31,$06,$27,$ff,$00,$00,$2d,$02,$08,$2d + $02,$0f,$28,$02,$5f,$03,$02,$87,$14,$00,$8f,$28,$02,$9a,$15,$00 + $c3,$26,$01,$d0,$2d,$02,$d8,$2d,$02,$fd,$02,$a1,$01,$06,$23,$31 + $05,$7d,$ff,$02,$00,$2d,$02,$08,$2d,$02,$c2,$26,$01,$c7,$26,$01 + $c9,$26,$01,$d0,$2d,$02,$d8,$2d,$02,$fd,$41,$86,$25,$51,$06,$2a + $21,$05,$cb,$ff,$00,$00,$11,$01,$08,$11,$01,$68,$21,$02,$78,$15 + $00,$95,$15,$00,$a0,$0b,$03,$ae,$0b,$03,$bb,$15,$00,$c2,$06,$03 + $d2,$00,$02,$d6,$00,$02,$fd,$01,$05,$58,$11,$05,$85,$31,$06,$26 + $ff,$02,$00,$30,$00,$01,$1a,$02,$02,$30,$00,$03,$1a,$02,$05,$1c + $02,$0a,$1b,$02,$0f,$30,$00,$10,$30,$00,$14,$30,$00,$1f,$30,$00 + $2c,$18,$02,$35,$18,$02,$41,$19,$02,$44,$2f,$02,$45,$18,$02,$46 + $2f,$02,$50,$04,$02,$53,$19,$02,$5f,$04,$02,$64,$1c,$02,$65,$1c + $02,$68,$2f,$02,$80,$15,$00,$81,$19,$02,$8d,$19,$02,$9c,$19,$02 + $9f,$15,$00,$c0,$30,$00,$d1,$00,$02,$d7,$00,$02,$df,$30,$00,$fd + $02,$a0,$02,$b1,$06,$ff,$00,$00,$16,$00,$07,$16,$00,$0e,$16,$00 + $1f,$15,$00,$20,$15,$00,$40,$30,$00,$5f,$04,$02,$80,$16,$00,$87 + $02,$02,$89,$16,$00,$a0,$15,$00,$af,$15,$00,$fd,$02,$a1,$ff,$03 + $00,$11,$01,$08,$11,$01,$1e,$1e,$03,$5f,$04,$02,$8b,$10,$03,$9e + $0b,$03,$d0,$10,$03,$d8,$10,$03,$fd,$02,$a1,$ff,$03,$00,$0b,$03 + $0e,$0b,$03,$50,$03,$02,$5e,$0b,$03,$80,$0b,$03,$ae,$0b,$03,$d0 + $0b,$03,$fd,$02,$b1,$ff,$08,$01,$01,$01,$01,$01,$01,$01,$01,$08 + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$08,$02,$02,$02,$02,$02,$02 + $02,$02,$01,$28,$01,$28,$01,$28,$08,$02,$02,$02,$02,$02,$02,$02 + $02,$ff,$02,$04,$05,$02,$04,$05,$02,$04,$05,$02,$04,$05,$02,$04 + $05,$02,$04,$05,$02,$04,$05,$02,$04,$05,$ff,$01,$06,$01,$06,$01 + $06,$ff,$01,$07,$01,$07,$01,$07,$ff,$02,$31,$32,$ff,$01,$08,$01 + $33,$01,$33,$01,$33,$01,$33,$ff,$01,$28,$01,$08,$01,$1f,$01,$17 + $01,$17,$01,$1f,$ff,$02,$0e,$11,$03,$0f,$12,$22,$03,$10,$13,$14 + $ff,$04,$08,$35,$35,$08,$ff,$03,$08,$35,$08,$ff,$02,$36,$36,$02 + $1c,$08,$02,$08,$34,$02,$34,$34,$02,$08,$08,$ff,$02,$20,$20,$ff + $08,$08,$1c,$08,$35,$08,$35,$1c,$08,$ff,$08,$1e,$1e,$1c,$1c,$1e + $1e,$1e,$1e,$08,$1e,$1e,$1e,$1e,$1c,$1e,$1e,$1e,$08,$1c,$1e,$1e + $1e,$1e,$1e,$1c,$1e,$08,$1e,$1e,$1e,$1c,$1e,$1c,$1c,$1e,$ff,$08 + $2e,$2e,$2e,$2e,$2e,$2e,$2e,$2e,$ff,$08,$08,$0b,$0b,$0b,$0b,$08 + $0b,$0b,$08,$08,$08,$1c,$1c,$08,$08,$1c,$08,$ff,$08,$1c,$08,$08 + $08,$08,$0a,$08,$1c,$08,$08,$0a,$09,$0a,$28,$28,$08,$08,$01,$08 + $ff,$06,$2c,$2c,$2c,$2c,$15,$2c,$06,$2d,$2d,$2d,$2d,$16,$2d,$ff + $08,$2b,$2b,$2b,$2b,$2b,$2b,$2b,$2b,$ff,$08,$1a,$1a,$1a,$1a,$1a + $1a,$1a,$1a,$ff,$01,$20,$01,$20,$01,$17,$01,$17,$01,$20,$ff,$07 + $20,$20,$20,$20,$20,$20,$20,$07,$20,$1a,$20,$1f,$20,$1a,$20,$ff + $08,$0d,$0d,$0d,$0d,$0d,$0d,$0d,$0d,$08,$0d,$0d,$0d,$0d,$0d,$0d + $0d,$0d,$08,$0d,$0d,$0d,$0d,$0d,$0d,$0d,$0d,$08,$0d,$0d,$0d,$0d + $0d,$0d,$0d,$0d,$ff,$01,$0d,$ff,$04,$0d,$0d,$0d,$0d,$ff,$02,$0d + $0d,$02,$0d,$0d,$02,$0d,$0d,$02,$0d,$0d,$ff,$08,$0d,$0d,$0d,$0d + $0d,$0d,$0d,$0d,$05,$27,$30,$0d,$0d,$30,$ff,$08,$0d,$0d,$0d,$0d + $0d,$0d,$0d,$0d,$ff,$01,$0c,$01,$1f,$ff,$04,$08,$35,$08,$08,$04 + $08,$1c,$08,$34,$04,$34,$08,$08,$08,$04,$08,$08,$1c,$08,$ff,$04 + $1d,$1d,$1d,$1d,$04,$1d,$1c,$1c,$1d,$04,$1c,$1d,$1c,$1c,$04,$1d + $1c,$1d,$1d,$ff,$04,$33,$33,$33,$33,$ff,$01,$22,$ff,$03,$28,$0e + $08,$03,$37,$08,$39,$03,$38,$39,$39,$03,$28,$3a,$0a,$02,$3b,$3c + $ff,$03,$1e,$1e,$1c,$03,$39,$08,$1e,$03,$0a,$09,$1e,$03,$3d,$0b + $0a,$ff,$04,$1e,$1e,$1c,$1e,$04,$1e,$1e,$1e,$1e,$04,$1c,$1e,$1e + $1e,$04,$1e,$1e,$1c,$1e,$ff,$01,$23,$01,$23,$01,$23,$01,$23,$ff + $02,$3e,$3f,$ff,$08,$1e,$1e,$1e,$1e,$1e,$1e,$1e,$1e,$08,$1e,$1e + $1e,$1e,$1e,$1e,$1e,$1e,$ff,$01,$1f,$01,$1f,$01,$1f,$01,$1f,$01 + $1f,$ff,$01,$3e,$ff,$04,$2e,$2a,$2e,$2e,$04,$2e,$2e,$2e,$2a,$ff + $08,$2b,$03,$03,$2b,$03,$03,$03,$2b,$ff,$01,$1b,$ff,$08,$1f,$1f + $1f,$1f,$1f,$1f,$1f,$1f,$08,$1f,$1f,$1f,$1f,$1f,$1f,$1f,$1f,$ff + $01,$2f,$ff,$01,$1f,$ff,$01,$17,$01,$17,$01,$17,$01,$17,$ff,$01 + $24,$ff aef0: f1 f1 f1 f1+ LAEF0 .bulk $f1,$f1,$f1,$f1,$ff,$ff,$f0,$f0,$64,$64,$64,$64,$d5,$d6,$cb,$cc + $a4,$ff,$a4,$ff,$ff,$a5,$ff,$a5,$a0,$a0,$a0,$a0,$a1,$a1,$a1,$a1 + $00,$01,$02,$03,$0b,$00,$ff,$0b,$03,$0a,$0a,$ff,$08,$09,$02,$03 + $0e,$0f,$10,$11,$12,$13,$14,$0c,$ff,$ff,$ff,$30,$ff,$33,$ff,$36 + $ff,$39,$ff,$3d,$ff,$ff,$31,$32,$34,$35,$37,$38,$3a,$3b,$3e,$3f + $3c,$41,$40,$42,$ff,$ff,$43,$43,$44,$44,$44,$44,$45,$46,$45,$46 + $ff,$47,$47,$48,$48,$ff,$47,$48,$48,$47,$47,$48,$49,$49,$4a,$4a + $4b,$4c,$4d,$50,$51,$52,$53,$54,$55,$56,$57,$58,$59,$5b,$59,$5b + $5c,$5d,$5e,$5f,$4f,$4f,$4f,$4f,$88,$89,$8a,$8b,$84,$85,$86,$87 + $8c,$8d,$8e,$8f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$b0,$b1,$b2,$b3,$b4,$b5,$b6,$b7,$b8,$b8,$b9,$b9 + $ff,$ff,$ba,$ba,$bb,$bb,$bb,$bb,$c7,$c8,$c9,$ca,$94,$95,$96,$97 + $0d,$ff,$ff,$ff,$ff,$ff,$59,$5a,$ff,$ff,$5a,$5b,$80,$81,$82,$83 + $04,$05,$04,$05,$06,$06,$07,$07,$60,$61,$62,$63,$c1,$00,$00,$08 + $0b,$be,$bc,$bd,$bf,$01,$02,$03,$c0,$01,$c0,$03,$ff,$c1,$ff,$ff + $c2,$01,$ff,$ff,$30,$00,$bc,$bd,$cd,$ce,$cf,$d0,$d1,$d2,$d3,$d4 + $90,$91,$92,$93,$20,$20,$20,$20,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 + $c2,$b4,$2e,$30,$ff,$c3,$b3,$2e,$34,$30,$3a,$ff,$b4,$2e,$b3,$30 + $34,$c3,$b6,$38,$b9,$30,$26,$30,$b3,$3a,$34,$ff,$b4,$38,$38,$b2 + $3a,$30,$2a,$b9,$30,$2c,$30,$b2,$34,$3a,$b3,$30,$b2,$36,$2a,$22 + $b9,$18,$2c,$18,$b2,$1c,$22,$2c,$b9,$18,$22,$2a,$b3,$2e,$2a,$26 + $34,$b2,$36,$3a,$28,$b9,$26,$22,$1e,$b2,$22,$2c,$26,$b9,$22,$44 + $34,$b4,$34,$b3,$2e,$26,$00,$c2,$b2,$0e,$b9,$0e,$06,$0e,$b2,$0e + $b9,$0e,$06,$0e,$b2,$14,$b9,$14,$0a,$14,$b2,$14,$b9,$14,$0a,$14 + $ff,$c3,$b4,$3e,$b6,$44,$b0,$42,$44,$42,$3a,$ff,$b4,$3e,$3e,$c3 + $b6,$48,$b2,$3e,$b6,$44,$b0,$42,$44,$42,$3a,$ff,$b4,$3e,$26,$b6 + $42,$b9,$42,$3e,$42,$b3,$44,$b2,$3a,$b9,$30,$3a,$3e,$b6,$42,$b9 + $42,$3e,$42,$b3,$44,$b2,$3a,$b9,$3a,$44,$48,$b4,$4c,$b3,$48,$46 + $b6,$48,$b9,$4e,$4c,$48,$b3,$4c,$b2,$44,$b9,$44,$4c,$52,$b4,$54 + $54,$c4,$b4,$02,$ff,$c3,$b2,$26,$b9,$26,$3e,$34,$b2,$26,$b9,$26 + $34,$26,$b2,$2c,$b9,$2c,$3a,$2c,$b2,$2c,$b9,$2c,$3a,$2c,$ff,$c4 + $b2,$26,$b9,$34,$26,$26,$ff,$d0,$b9,$18,$26,$18,$b2,$18,$ff,$c2 + $b2,$1e,$b9,$1e,$18,$1e,$b2,$1e,$b9,$1e,$18,$1e,$b2,$1c,$b9,$1c + $14,$1c,$b2,$1c,$b9,$1c,$14,$1c,$ff,$b2,$26,$12,$16,$18,$1c,$20 + $24,$26,$b2,$28,$b9,$28,$1e,$18,$b2,$10,$b9,$30,$2c,$28,$b2,$1e + $1c,$18,$14,$2a,$2a,$2a,$2a,$cc,$b9,$2a,$ff,$e8,$b2,$04,$04,$04 + $b9,$04,$04,$04,$ff,$e0,$e0,$f0,$00,$00,$00,$00,$00,$00,$00,$00 + $21,$80,$40,$02,$05,$26,$52,$63,$00,$00,$00,$06,$07,$67,$73,$73 + $ff,$af,$2f,$07,$0b,$8d,$a7,$b1,$00,$00,$00,$00,$00,$80,$80,$80 + $f8,$b8,$f8,$f8,$f0,$f0,$f8,$fc,$00,$00,$00,$00,$00,$00,$00,$00 + $07,$07,$07,$07,$07,$03,$03,$01,$00,$00,$00,$00,$00,$00,$00,$80 + $ff,$c7,$83,$03,$c7,$cf,$fe,$ec,$00,$30,$78,$f8,$30,$00,$01,$12 + $f5,$ea,$fb,$fd,$f9,$1e,$0e,$44,$07,$03,$03,$01,$01,$e0,$10,$48 + $2b,$3b,$1b,$5a,$d0,$d1,$c3,$c3,$3b,$3b,$9b,$da,$d0,$d0,$c0,$c0 + $2c,$23,$20,$20,$30,$98,$cf,$c7,$00,$00,$00,$00,$00,$00,$00,$30 + $1f,$80,$c0,$c0,$60,$70,$fc,$c0,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$00,$00,$00,$00,$00,$00,$00,$80,$80,$c0,$78,$4c,$c7,$80,$80 + $c4,$a5,$45,$0b,$1b,$03,$03,$00,$3a,$13,$31,$63,$c3,$83,$03,$04 + $e6,$e6,$c4,$8e,$1c,$3c,$18,$30,$e8,$e8,$c8,$90,$60,$00,$00,$00 + $00,$10,$01,$18,$00,$01,$38,$01,$02,$40,$00,$09,$58,$80,$7f,$80 + $48,$35,$7f,$00,$b0,$19,$7f,$0e,$a0,$0d,$7f,$0f,$08,$16,$7f,$0b + $18,$13,$7f,$0e,$f8,$c1,$89,$02,$0f,$34,$ba,$e0,$05,$34,$bb,$ce + $05,$b6,$7f,$00,$c2,$b6,$7f,$04,$c2,$17,$7f,$66,$89,$89,$7f,$67 + $18,$8b,$7f,$fd,$28,$02,$7f,$a8,$f8,$d7,$83,$58,$f8,$d6,$82,$58 + $f8,$95,$8c,$40,$b9,$1d,$9a,$20,$8f,$16,$8d,$e0,$42,$19,$7f,$6f + $40,$18,$7f,$80,$40,$07,$7f,$40,$28,$07,$7f,$45,$28,$7f,$7f,$dd + $3b,$7f,$7f,$ff,$98,$7f,$7f,$40,$08,$09,$7f,$30,$48,$03,$7f,$42 + $18,$03,$7f,$11,$09,$7f,$7f,$30,$b2,$bb,$b2,$22,$b3,$00,$cb,$b2 + $ee,$b4,$00,$db,$b2,$30,$b3,$01,$eb,$b2,$ee,$b4,$01,$fb,$b2,$44 + $b3,$03,$0b,$b3,$ee,$b4,$03,$06,$bc,$5c,$b3,$04,$16,$bc,$64,$b3 + $04,$26,$bc,$4b,$bc,$00,$26,$bc,$3d,$bc,$00 b2bb: ee b4 .dd2 TB4EE_0 b2bd: 2b b5 .dd2 TB52B_0 b2bf: 6e b5 .dd2 TB56E_0 b2c1: 83 b5 .dd2 TB583_0 b2c3: 98 b5 .dd2 TB598_0 b2c5: 0f b5 .dd2 TB50F_0 b2c7: ee b4 .dd2 TB4EE_0 b2c9: ee b4 .dd2 TB4EE_0 b2cb: ee b4 .dd2 TB4EE_0 b2cd: 39 b5 .dd2 TB539_0 b2cf: 7b b5 .dd2 TB57B_0 b2d1: 8a b5 .dd2 TB58A_0 b2d3: 8a b5 .dd2 TB58A_0 b2d5: 16 b5 .dd2 TB516_0 b2d7: ee b4 .dd2 TB4EE_0 b2d9: ee b4 .dd2 TB4EE_0 b2db: cd b6 .dd2 TB6CD_0 b2dd: e7 b6 .dd2 TB6E7_0 b2df: 35 b7 .dd2 TB735_0 b2e1: 16 b7 .dd2 TB716_0 b2e3: 3c b7 .dd2 TB73C_0 b2e5: 10 b7 .dd2 TB710_0 b2e7: 03 b7 .dd2 TB703_0 b2e9: 7a b7 .dd2 TB77A_0 b2eb: b0 b6 .dd2 TB6B0_0 b2ed: d3 b6 .dd2 TB6D3_0 b2ef: ed b6 .dd2 TB6ED_0 b2f1: 4f b7 .dd2 TB74F_0 b2f3: ed b6 .dd2 TB6ED_0 b2f5: ed b6 .dd2 TB6ED_0 b2f7: ed b6 .dd2 TB6ED_0 b2f9: 81 b7 .dd2 TB781_0 b2fb: d2 b8 .dd2 TB8D2_0 b2fd: ac b7 .dd2 TB7AC_0 b2ff: a7 b8 .dd2 TB8A7_0 b301: 21 b9 .dd2 TB921_0 b303: d9 b7 .dd2 TB7D9_0 b305: ef b7 .dd2 TB7EF_0 b307: 34 b8 .dd2 TB834_0 b309: 78 b8 .dd2 TB878_0 b30b: ed b8 .dd2 TB8ED_0 b30d: cb b7 .dd2 TB7CB_0 b30f: b1 b8 .dd2 TB8B1_0 b311: 40 b9 .dd2 TB940_0 b313: e7 b7 .dd2 TB7E7_0 b315: 0e b8 .dd2 TB80E_0 b317: 4f b8 .dd2 TB84F_0 b319: 7f b8 .dd2 TB87F_0 b31b: ad 80 06 LB31B lda NoiseSFXFlag b31e: a2 89 ldx #$89 b320: d0 15 bne LB337_0 b322: ad 88 06 lda NoiseContSFX b325: a2 8e ldx #$8e b327: d0 0e bne LB337_0 b329: ad 81 06 LB329_0 lda SQ1SFXFlag b32c: a2 93 ldx #$93 b32e: d0 07 bne LB337_0 b330: ad 89 06 lda SQ1ContSFX b333: a2 98 ldx #$98 b335: d0 00 bne LB337_0 b337: 20 bd b4 LB337_0 jsr LB4BD_0 b33a: 6c e2 00 jmp ($00e2) b33d: ad 83 06 LB33D lda TriangleSFXFlag b340: a2 9d ldx #$9d b342: d0 f3 bne LB337_0 b344: ad 8b 06 lda TriangleContSFX b347: a2 a2 ldx #$a2 b349: d0 ec bne LB337_0 b34b: ad 84 06 LB34B lda MultiSFXFlag b34e: a2 a7 ldx #$a7 b350: 20 bd b4 jsr LB4BD_0 b353: 20 53 bc jsr LBC53 b356: 20 64 bc jsr LBC64 b359: 6c e2 00 jmp ($00e2) b35c: ad 8c 06 lda MultiContSFX b35f: a2 ac ldx #$ac b361: 4c 37 b3 jmp LB337_0 b364: 20 29 b3 jsr LB329_0 b367: 60 rts b368: a9 00 LB368_0 lda #$00 b36a: f0 0a beq LB376_0 b36c: a9 08 LB36C_0 lda #$08 b36e: d0 06 bne LB376_0 b370: a9 0c LB370_0 lda #$0c b372: d0 02 bne LB376_0 b374: a9 04 LB374_0 lda #$04 b376: 85 e0 LB376_0 sta $e0 b378: a9 40 lda #$40 b37a: 85 e1 sta $e1 b37c: 84 e2 sty $e2 b37e: a9 b2 lda #$b2 b380: 85 e3 sta $e3 b382: a0 00 ldy #$00 b384: b1 e2 LB384_0 lda ($e2),y b386: 91 e0 sta ($e0),y b388: c8 iny b389: 98 tya b38a: c9 04 cmp #$04 b38c: d0 f6 bne LB384_0 b38e: 60 rts b38f: ee 02 06 LB38F inc SFXPaused b392: 20 3e b4 jsr LB43E_0 b395: 8d 03 06 sta PauseSFXStatus b398: 60 rts b399: ad 02 06 LB399 lda SFXPaused b39c: f0 f1 beq LB38F b39e: ad 03 06 lda PauseSFXStatus b3a1: c9 12 cmp #$12 b3a3: f0 0e beq LB3B3 b3a5: 29 03 and #$03 b3a7: c9 03 cmp #$03 b3a9: d0 05 bne LB3B0 b3ab: a0 0d ldy #$0d b3ad: 20 68 b3 jsr LB368_0 b3b0: ee 03 06 LB3B0 inc PauseSFXStatus b3b3: 60 LB3B3 rts b3b4: a9 c0 LB3B4 lda #$c0 b3b6: 8d 17 40 sta APUCommonCntrl1 b3b9: ad 80 06 lda NoiseSFXFlag b3bc: 4a lsr A b3bd: b0 2c bcs LB3EB b3bf: a5 1e lda MainRoutine b3c1: c9 05 cmp #$05 b3c3: f0 d4 beq LB399 b3c5: a9 00 lda #$00 b3c7: 8d 02 06 sta SFXPaused b3ca: 20 1b b3 jsr LB31B b3cd: 20 4b b3 jsr LB34B b3d0: 20 3d b3 jsr LB33D b3d3: 20 36 bc jsr LBC36 b3d6: a9 00 LB3D6 lda #$00 b3d8: 8d 80 06 sta NoiseSFXFlag b3db: 8d 81 06 sta SQ1SFXFlag b3de: 8d 82 06 sta SQ2SFXFlag b3e1: 8d 83 06 sta TriangleSFXFlag b3e4: 8d 84 06 sta MultiSFXFlag b3e7: 8d 85 06 sta MusicInitFlag b3ea: 60 rts b3eb: 20 04 b4 LB3EB jsr LB404_0 b3ee: f0 e6 beq LB3D6 b3f0: ad 2c 06 LB3F0_0 lda MusicRepeat b3f3: f0 0f beq LB404_0 b3f5: ad 8d 06 lda CurrentMusic b3f8: 8d 5d 06 sta CurrentMusicRepeat b3fb: 60 rts b3fc: ad 8d 06 LB3FC_0 lda CurrentMusic b3ff: cd 4d 06 cmp CurrentSFXFlags b402: f0 06 beq LB40A_0 b404: 20 1d b4 LB404_0 jsr LB41D_0 b407: 20 3e b4 jsr LB43E_0 b40a: 20 0e b4 LB40A_0 jsr LB40E_0 b40d: 60 rts b40e: a9 00 LB40E_0 lda #$00 b410: 8d 2d 06 sta TriangleCounterCntrl b413: 8d 02 06 sta SFXPaused b416: 8d 5d 06 sta CurrentMusicRepeat b419: 8d 2c 06 sta MusicRepeat b41c: 60 rts b41d: a9 00 LB41D_0 lda #$00 b41f: 8d 53 06 sta SQ1InUse b422: 8d 54 06 sta SQ2InUse b425: 8d 55 06 sta TriangleInUse b428: 8d 07 06 sta WriteMultiChannelData b42b: 8d 88 06 sta NoiseContSFX b42e: 8d 89 06 sta SQ1ContSFX b431: 8d 8a 06 sta SQ2ContSFX b434: 8d 8b 06 sta TriangleContSFX b437: 8d 8c 06 sta MultiContSFX b43a: 8d 8d 06 sta CurrentMusic b43d: 60 rts b43e: a9 10 LB43E_0 lda #$10 b440: 8d 00 40 sta SQ1Cntrl0 b443: 8d 04 40 sta SQ2Cntrl0 b446: 8d 0c 40 sta NoiseCntrl0 b449: a9 00 lda #$00 b44b: 8d 08 40 sta TriangleCntrl0 b44e: 8d 11 40 sta DMCCntrl1 b451: 60 rts b452: ae 5c 06 LB452_0 ldx ChannelType b455: 9d 60 06 sta NoiseSFXLength,x b458: 8a txa b459: f0 1c beq LB477_0 b45b: c9 01 cmp #$01 b45d: f0 09 beq LB468_0 b45f: c9 02 cmp #$02 b461: f0 0a beq LB46D_0 b463: c9 03 cmp #$03 b465: f0 0b beq LB472_0 b467: 60 rts b468: 20 68 b3 LB468_0 jsr LB368_0 b46b: f0 0d beq LB47A_0 b46d: 20 74 b3 LB46D_0 jsr LB374_0 b470: f0 08 beq LB47A_0 b472: 20 6c b3 LB472_0 jsr LB36C_0 b475: f0 03 beq LB47A_0 b477: 20 70 b3 LB477_0 jsr LB370_0 b47a: 20 93 b4 LB47A_0 jsr LB493_0 b47d: 8a txa b47e: 9d 52 06 sta NoiseInUse,x b481: a9 00 lda #$00 b483: 9d 65 06 sta ThisNoiseFrame,x b486: 9d 70 06 sta NoiseSFXData,x b489: 9d 74 06 sta MultiSFXData,x b48c: 9d 78 06 sta ScrewAttackSFXData,x b48f: 8d 07 06 sta WriteMultiChannelData b492: 60 rts b493: ae 5c 06 LB493_0 ldx ChannelType b496: bd 88 06 lda NoiseContSFX,x b499: 29 00 and #$00 b49b: 0d 4d 06 ora CurrentSFXFlags b49e: 9d 88 06 sta NoiseContSFX,x b4a1: 60 rts b4a2: a9 00 LB4A2_0 lda #$00 b4a4: 8d 4d 06 sta CurrentSFXFlags b4a7: f0 ea beq LB493_0 b4a9: ae 5c 06 LB4A9_0 ldx ChannelType b4ac: fe 65 06 inc ThisNoiseFrame,x b4af: bd 65 06 lda ThisNoiseFrame,x b4b2: dd 60 06 cmp NoiseSFXLength,x b4b5: d0 05 bne LB4BC_0 b4b7: a9 00 lda #$00 b4b9: 9d 65 06 sta ThisNoiseFrame,x b4bc: 60 LB4BC_0 rts b4bd: 8d 4d 06 LB4BD_0 sta CurrentSFXFlags b4c0: 86 e4 stx $e4 b4c2: a0 b2 ldy #$b2 b4c4: 84 e5 sty $e5 b4c6: a0 00 ldy #$00 b4c8: b1 e4 LB4C8_0 lda ($e4),y b4ca: 99 e0 00 sta $00e0,y b4cd: c8 iny b4ce: 98 tya b4cf: c9 04 cmp #$04 b4d1: d0 f5 bne LB4C8_0 b4d3: b1 e4 lda ($e4),y b4d5: 8d 5c 06 sta ChannelType b4d8: a0 00 ldy #$00 b4da: ad 4d 06 lda CurrentSFXFlags b4dd: 48 pha b4de: 0e 4d 06 LB4DE_0 asl CurrentSFXFlags b4e1: b0 0c bcs LB4EF_0 b4e3: c8 iny b4e4: c8 iny b4e5: 98 tya b4e6: c9 10 cmp #$10 b4e8: d0 f4 bne LB4DE_0 b4ea: 68 LB4EA_0 pla b4eb: 8d 4d 06 sta CurrentSFXFlags b4ee: 60 TB4EE_0 rts b4ef: b1 e0 LB4EF_0 lda ($e0),y b4f1: 85 e2 sta $e2 b4f3: c8 iny b4f4: b1 e0 lda ($e0),y b4f6: 85 e3 sta $e3 b4f8: 4c ea b4 jmp LB4EA_0 b4fb: 12 13 14 15+ LB4FB_0 .bulk $12,$13,$14,$15,$16,$17,$18,$19,$1a,$1b,$1c,$1d,$1b,$1a,$19,$17 + $16,$15,$14,$12 b50f: a9 14 TB50F_0 lda #$14 b511: a0 21 ldy #$21 b513: 4c 52 b4 jmp LB452_0 b516: 20 a9 b4 TB516_0 jsr LB4A9_0 b519: d0 03 bne LB51E_0 b51b: 4c 8f b5 jmp LB58F_0 b51e: ac 70 06 LB51E_0 ldy NoiseSFXData b521: b9 fb b4 lda LB4FB_0,y b524: 8d 0c 40 sta NoiseCntrl0 b527: ee 70 06 inc NoiseSFXData b52a: 60 rts b52b: a9 05 TB52B_0 lda #$05 b52d: a0 11 ldy #$11 b52f: 20 52 b4 jsr LB452_0 b532: ad 13 b2 lda LAEF0+$323 b535: 8d 70 06 sta NoiseSFXData b538: 60 LB538_0 rts b539: ad 78 06 TB539_0 lda ScrewAttackSFXData b53c: c9 02 cmp #$02 b53e: f0 09 beq LB549_0 b540: 20 a9 b4 jsr LB4A9_0 b543: d0 f3 bne LB538_0 b545: ee 78 06 inc ScrewAttackSFXData b548: 60 rts b549: 20 a9 b4 LB549_0 jsr LB4A9_0 b54c: d0 16 bne LB564_0 b54e: ce 70 06 dec NoiseSFXData b551: ce 70 06 dec NoiseSFXData b554: ce 70 06 dec NoiseSFXData b557: ee 74 06 inc MultiSFXData b55a: ad 74 06 lda MultiSFXData b55d: c9 0f cmp #$0f b55f: d0 d7 bne LB538_0 b561: 4c 8f b5 jmp LB58F_0 b564: ee 70 06 LB564_0 inc NoiseSFXData b567: ad 70 06 lda NoiseSFXData b56a: 8d 0e 40 sta NoiseCntrl2 b56d: 60 rts b56e: a9 18 TB56E_0 lda #$18 b570: a0 15 ldy #$15 b572: 20 87 b5 jsr LB587_0 b575: a9 0a lda #$0a b577: 8d 70 06 sta NoiseSFXData b57a: 60 rts b57b: 20 a9 b4 TB57B_0 jsr LB4A9_0 b57e: d0 e4 bne LB564_0 b580: 4c 8f b5 jmp LB58F_0 b583: a9 30 TB583_0 lda #$30 b585: a0 19 ldy #$19 b587: 4c 52 b4 LB587_0 jmp LB452_0 b58a: 20 a9 b4 TB58A_0 jsr LB4A9_0 b58d: d0 08 bne LB597_0 b58f: 20 a2 b4 LB58F_0 jsr LB4A2_0 b592: a9 10 lda #$10 b594: 8d 0c 40 sta NoiseCntrl0 b597: 60 LB597_0 rts b598: ad 88 06 TB598_0 lda NoiseContSFX b59b: 29 34 and #$34 b59d: d0 f8 bne LB597_0 b59f: a9 03 lda #$03 b5a1: a0 1d ldy #$1d b5a3: d0 e2 bne LB587_0 b5a5: 8d 64 06 LB5A5_0 sta MultiSFXLength b5a8: 20 74 b3 jsr LB374_0 b5ab: 20 93 b4 jsr LB493_0 b5ae: a9 01 lda #$01 b5b0: 8d 53 06 sta SQ1InUse b5b3: a9 02 lda #$02 b5b5: 8d 54 06 sta SQ2InUse b5b8: a9 00 lda #$00 b5ba: 8d 89 06 sta SQ1ContSFX b5bd: 8d 71 06 sta SQ1SFXData b5c0: 8d 75 06 sta SQ1SQ2SFXData b5c3: 8d 79 06 sta SQ1SFXPeriodLow b5c6: 8d 69 06 sta ThisMultiFrame b5c9: 8d 07 06 sta WriteMultiChannelData b5cc: 60 rts b5cd: a9 10 LB5CD_0 lda #$10 b5cf: 8d 00 40 sta SQ1Cntrl0 b5d2: 8d 04 40 sta SQ2Cntrl0 b5d5: a9 7f lda #$7f b5d7: 8d 01 40 sta SQ1Cntrl1 b5da: 8d 05 40 sta SQ2Cntrl1 b5dd: 20 a2 b4 jsr LB4A2_0 b5e0: a9 00 lda #$00 b5e2: 8d 53 06 sta SQ1InUse b5e5: 8d 54 06 sta SQ2InUse b5e8: ee 07 06 inc WriteMultiChannelData b5eb: 60 rts b5ec: a0 2d TB5EC_0 ldy #$2d b5ee: 20 68 b3 jsr LB368_0 b5f1: a0 29 ldy #$29 b5f3: 4c a5 b5 jmp LB5A5_0 b5f6: ee 71 06 TB5F6_0 inc SQ1SFXData b5f9: ac 71 06 ldy SQ1SFXData b5fc: b9 3c b6 lda LB63C_0,y b5ff: 8d 00 40 sta SQ1Cntrl0 b602: 8d 04 40 sta SQ2Cntrl0 b605: ad 71 06 lda SQ1SFXData b608: c9 14 cmp #$14 b60a: f0 2d beq LB639_0 b60c: c9 06 cmp #$06 b60e: 90 10 bcc LB620_0 b610: a5 2e lda RandomNumber1 b612: 09 10 ora #$10 b614: 29 7f and #$7f b616: 8d 79 06 sta SQ1SFXPeriodLow b619: 2a rol A b61a: 8d 75 06 sta SQ1SQ2SFXData b61d: 4c 2c b6 jmp LB62C_0 b620: ee 75 06 LB620_0 inc SQ1SQ2SFXData b623: ee 75 06 inc SQ1SQ2SFXData b626: ee 79 06 inc SQ1SFXPeriodLow b629: ee 79 06 inc SQ1SFXPeriodLow b62c: ad 75 06 LB62C_0 lda SQ1SQ2SFXData b62f: 8d 06 40 sta SQ2Cntrl2 b632: ad 79 06 lda SQ1SFXPeriodLow b635: 8d 02 40 sta SQ1Cntrl2 b638: 60 rts b639: 4c cd b5 LB639_0 jmp LB5CD_0 b63c: 38 3d 3f 3f+ LB63C_0 .bulk $38,$3d,$3f,$3f,$3f,$3f,$3f,$3d,$3b,$39,$3b,$3d,$3f,$3d,$3b,$39 + $3b,$3d,$3f,$39 b650: 20 a9 b4 TB650_0 jsr LB4A9_0 b653: d0 03 bne LB658_0 b655: 4c cd b5 jmp LB5CD_0 b658: a0 25 LB658_0 ldy #$25 b65a: 20 68 b3 jsr LB368_0 b65d: a5 2e lda RandomNumber1 b65f: 29 0f and #$0f b661: 8d 02 40 sta SQ1Cntrl2 b664: a0 25 ldy #$25 b666: 20 74 b3 jsr LB374_0 b669: a5 2e lda RandomNumber1 b66b: 4a lsr A b66c: 4a lsr A b66d: 29 0f and #$0f b66f: 8d 06 40 sta SQ2Cntrl2 b672: 60 rts b673: a0 25 TB673_0 ldy #$25 b675: 20 68 b3 jsr LB368_0 b678: a5 2e lda RandomNumber1 b67a: 29 0f and #$0f b67c: 8d 02 40 sta SQ1Cntrl2 b67f: 18 clc b680: a5 2e lda RandomNumber1 b682: 29 03 and #$03 b684: 69 01 adc #$01 b686: a0 25 ldy #$25 b688: 20 a5 b5 jsr LB5A5_0 b68b: a5 2e lda RandomNumber1 b68d: 4a lsr A b68e: 4a lsr A b68f: 29 0f and #$0f b691: 8d 06 40 sta SQ2Cntrl2 b694: 60 LB694_0 rts b695: a0 31 TB695_0 ldy #$31 b697: 20 68 b3 jsr LB368_0 b69a: a9 20 lda #$20 b69c: a0 35 ldy #$35 b69e: 4c a5 b5 jmp LB5A5_0 b6a1: 20 a9 b4 TB6A1_0 jsr LB4A9_0 b6a4: d0 ee bne LB694_0 b6a6: 4c cd b5 jmp LB5CD_0 b6a9: bd LB6A9_0 .dd1 $bd b6aa: 8d .dd1 $8d b6ab: 7e .dd1 $7e b6ac: 5e .dd1 $5e b6ad: 46 .dd1 $46 b6ae: 3e .dd1 $3e b6af: 00 .dd1 $00 b6b0: 20 a9 b4 TB6B0_0 jsr LB4A9_0 b6b3: d0 17 bne LB6CC_0 b6b5: ac 71 06 ldy SQ1SFXData b6b8: b9 a9 b6 lda LB6A9_0,y b6bb: d0 03 bne LB6C0_0 b6bd: 4c f2 b6 jmp LB6F2_0 b6c0: 8d 02 40 LB6C0_0 sta SQ1Cntrl2 b6c3: ad 44 b2 lda LAEF0+$354 b6c6: 8d 03 40 sta SQ1Cntrl3 b6c9: ee 71 06 inc SQ1SFXData b6cc: 60 LB6CC_0 rts b6cd: a9 05 TB6CD_0 lda #$05 b6cf: a0 41 ldy #$41 b6d1: d0 66 bne LB739_0 b6d3: 20 a9 b4 TB6D3_0 jsr LB4A9_0 b6d6: d0 f4 bne LB6CC_0 b6d8: ee 71 06 inc SQ1SFXData b6db: ad 71 06 lda SQ1SFXData b6de: c9 03 cmp #$03 b6e0: f0 10 beq LB6F2_0 b6e2: a0 3d ldy #$3d b6e4: 4c 68 b3 jmp LB368_0 b6e7: a9 06 TB6E7_0 lda #$06 b6e9: a0 3d ldy #$3d b6eb: d0 4c bne LB739_0 b6ed: 20 a9 b4 TB6ED_0 jsr LB4A9_0 b6f0: d0 da bne LB6CC_0 b6f2: a9 10 LB6F2_0 lda #$10 b6f4: 8d 00 40 sta SQ1Cntrl0 b6f7: a9 00 lda #$00 b6f9: 8d 53 06 sta SQ1InUse b6fc: 20 a2 b4 jsr LB4A2_0 b6ff: ee 07 06 inc WriteMultiChannelData b702: 60 rts b703: ad 8d 06 TB703_0 lda CurrentMusic b706: c9 04 cmp #$04 b708: f0 c2 beq LB6CC_0 b70a: a9 0c lda #$0c b70c: a0 51 ldy #$51 b70e: d0 29 bne LB739_0 b710: a9 08 TB710_0 lda #$08 b712: a0 55 ldy #$55 b714: d0 23 bne LB739_0 b716: ad 1f 06 TB716_0 lda HasBeamSFX b719: 4a lsr A b71a: b0 42 bcs LB75E_0 b71c: ad 89 06 lda SQ1ContSFX b71f: 29 cc and #$cc b721: d0 a9 bne LB6CC_0 b723: ad 1f 06 lda HasBeamSFX b726: 0a asl A b727: b0 06 bcs LB72F_0 b729: a9 03 lda #$03 b72b: a0 4d ldy #$4d b72d: d0 0a bne LB739_0 b72f: a9 07 LB72F_0 lda #$07 b731: a0 49 ldy #$49 b733: d0 04 bne LB739_0 b735: a9 0b TB735_0 lda #$0b b737: a0 45 ldy #$45 b739: 4c 52 b4 LB739_0 jmp LB452_0 b73c: ad 8d 06 TB73C_0 lda CurrentMusic b73f: c9 04 cmp #$04 b741: f0 06 beq LB749_0 b743: a9 16 lda #$16 b745: a0 59 ldy #$59 b747: d0 f0 bne LB739_0 b749: a9 07 LB749_0 lda #$07 b74b: a0 39 ldy #$39 b74d: d0 ea bne LB739_0 b74f: ad 1f 06 TB74F_0 lda HasBeamSFX b752: 4a lsr A b753: b0 10 bcs LB765_0 b755: 20 a9 b4 jsr LB4A9_0 b758: d0 03 bne LB75D_0 b75a: 4c f2 b6 jmp LB6F2_0 b75d: 60 LB75D_0 rts b75e: a9 07 LB75E_0 lda #$07 b760: a0 61 ldy #$61 b762: 4c 52 b4 jmp LB452_0 b765: 20 a9 b4 LB765_0 jsr LB4A9_0 b768: d0 03 bne LB76D_0 b76a: 4c f2 b6 jmp LB6F2_0 b76d: ad 71 06 LB76D_0 lda SQ1SFXData b770: 29 01 and #$01 b772: a8 tay b773: b9 78 b7 lda LB778_0,y b776: d0 28 bne LB7A0_0 b778: 93 LB778_0 .dd1 $93 b779: 81 .dd1 $81 b77a: a9 08 TB77A_0 lda #$08 b77c: a0 5d ldy #$5d b77e: 4c 52 b4 jmp LB452_0 b781: 20 a9 b4 TB781_0 jsr LB4A9_0 b784: d0 11 bne LB797_0 b786: ac 75 06 ldy SQ1SQ2SFXData b789: ee 75 06 inc SQ1SQ2SFXData b78c: b9 a9 b7 lda LB7A9_0,y b78f: 8d 00 40 sta SQ1Cntrl0 b792: d0 12 bne LB7A6_0 b794: 4c f2 b6 jmp LB6F2_0 b797: ad 71 06 LB797_0 lda SQ1SFXData b79a: 29 01 and #$01 b79c: a8 tay b79d: b9 a7 b7 lda LB7A7_0,y b7a0: 8d 02 40 LB7A0_0 sta SQ1Cntrl2 b7a3: ee 71 06 inc SQ1SFXData b7a6: 60 LB7A6_0 rts b7a7: 58 LB7A7_0 .dd1 $58 b7a8: 6f .dd1 $6f b7a9: 93 LB7A9_0 .dd1 $93 b7aa: 91 .dd1 $91 b7ab: 00 .dd1 $00 b7ac: ad 87 b2 TB7AC_0 lda LAEF0+$397 b7af: 8d 10 06 sta TrianglePeriodLow b7b2: ad 88 b2 lda LAEF0+$398 b7b5: 29 07 and #$07 b7b7: 8d 11 06 sta TrianglePeriodHigh b7ba: a9 0f lda #$0f b7bc: 8d 12 06 sta TriangleChangeLow b7bf: a9 00 lda #$00 b7c1: 8d 13 06 sta TriangleChangeHigh b7c4: a9 1f lda #$1f b7c6: a0 85 ldy #$85 b7c8: 4c 52 b4 jmp LB452_0 b7cb: 20 a9 b4 TB7CB_0 jsr LB4A9_0 b7ce: d0 03 bne LB7D3_0 b7d0: 4c 96 b8 jmp LB896_0 b7d3: 20 8c b9 LB7D3_0 jsr LB98C_0 b7d6: 4c 69 b8 jmp LB869_0 b7d9: ad 8b 06 TB7D9_0 lda TriangleContSFX b7dc: 29 80 and #$80 b7de: d0 c6 bne LB7A6_0 b7e0: a9 03 lda #$03 b7e2: a0 79 ldy #$79 b7e4: 4c 52 b4 jmp LB452_0 b7e7: 20 a9 b4 TB7E7_0 jsr LB4A9_0 b7ea: d0 ba bne LB7A6_0 b7ec: 4c 96 b8 jmp LB896_0 b7ef: a9 12 TB7EF_0 lda #$12 b7f1: 8d 12 06 sta TriangleChangeLow b7f4: a9 00 lda #$00 b7f6: 8d 13 06 sta TriangleChangeHigh b7f9: ad 7f b2 lda LAEF0+$38f b7fc: 8d 10 06 sta TrianglePeriodLow b7ff: ad 80 b2 lda LAEF0+$390 b802: 29 07 and #$07 b804: 8d 11 06 sta TrianglePeriodHigh b807: a9 0a lda #$0a b809: a0 7d ldy #$7d b80b: 4c 52 b4 jmp LB452_0 b80e: 20 a9 b4 TB80E_0 jsr LB4A9_0 b811: d0 03 bne LB816_0 b813: 4c 96 b8 jmp LB896_0 b816: 20 78 b9 LB816_0 jsr LB978_0 b819: a5 2e lda RandomNumber1 b81b: 29 3c and #$3c b81d: 8d 73 06 sta TriangleSFXData b820: ad 10 06 lda TrianglePeriodLow b823: 29 c3 and #$c3 b825: 0d 73 06 ora TriangleSFXData b828: 8d 0a 40 sta TriangleCntrl2 b82b: ad 11 06 lda TrianglePeriodHigh b82e: 09 40 ora #$40 b830: 8d 0b 40 sta TriangleCntrl3 b833: 60 rts b834: a9 08 TB834_0 lda #$08 b836: a0 6d ldy #$6d b838: 20 52 b4 jsr LB452_0 b83b: a9 05 lda #$05 b83d: 8d 16 06 sta PercentDifference b840: ad 6f b2 lda LAEF0+$37f b843: 8d 10 06 sta TrianglePeriodLow b846: ad 70 b2 lda LAEF0+$380 b849: 29 07 and #$07 b84b: 8d 11 06 sta TrianglePeriodHigh b84e: 60 rts b84f: 20 a9 b4 TB84F_0 jsr LB4A9_0 b852: d0 03 bne LB857_0 b854: 4c 96 b8 jmp LB896_0 b857: 20 a0 b9 LB857_0 jsr LB9A0_0 b85a: ad 14 06 lda TriangleLowPercentage b85d: 8d 12 06 sta TriangleChangeLow b860: ad 15 06 lda TriangleHighPercentage b863: 8d 13 06 sta TriangleChangeHigh b866: 20 8c b9 jsr LB98C_0 b869: ad 10 06 LB869_0 lda TrianglePeriodLow b86c: 8d 0a 40 sta TriangleCntrl2 b86f: ad 11 06 lda TrianglePeriodHigh b872: 09 08 ora #$08 b874: 8d 0b 40 sta TriangleCntrl3 b877: 60 rts b878: a9 04 TB878_0 lda #$04 b87a: a0 65 ldy #$65 b87c: 4c 52 b4 jmp LB452_0 b87f: 20 a9 b4 TB87F_0 jsr LB4A9_0 b882: d0 22 bne LB8A6_0 b884: ee 73 06 inc TriangleSFXData b887: ad 73 06 lda TriangleSFXData b88a: c9 02 cmp #$02 b88c: d0 03 bne LB891_0 b88e: 4c 96 b8 jmp LB896_0 b891: a0 69 LB891_0 ldy #$69 b893: 4c 6c b3 jmp LB36C_0 b896: a9 00 LB896_0 lda #$00 b898: 8d 08 40 sta TriangleCntrl0 b89b: 8d 55 06 sta TriangleInUse b89e: a9 18 lda #$18 b8a0: 8d 0b 40 sta TriangleCntrl3 b8a3: 20 a2 b4 jsr LB4A2_0 b8a6: 60 LB8A6_0 rts b8a7: a9 03 TB8A7_0 lda #$03 b8a9: a0 71 ldy #$71 b8ab: 20 52 b4 jsr LB452_0 b8ae: 4c c3 b8 jmp LB8C3_0 b8b1: 20 a9 b4 TB8B1_0 jsr LB4A9_0 b8b4: f0 0d beq LB8C3_0 b8b6: ee 73 06 inc TriangleSFXData b8b9: ad 73 06 lda TriangleSFXData b8bc: c9 09 cmp #$09 b8be: d0 e6 bne LB8A6_0 b8c0: 4c 96 b8 jmp LB896_0 b8c3: a5 2e LB8C3_0 lda RandomNumber1 b8c5: 09 6c ora #$6c b8c7: 8d 0a 40 sta TriangleCntrl2 b8ca: 29 01 and #$01 b8cc: 09 f8 ora #$f8 b8ce: 8d 0b 40 sta TriangleCntrl3 b8d1: 60 rts b8d2: 20 04 b4 TB8D2_0 jsr LB404_0 b8d5: a9 0e lda #$0e b8d7: a0 75 ldy #$75 b8d9: 20 52 b4 jsr LB452_0 b8dc: a9 15 lda #$15 b8de: 8d 16 06 sta PercentDifference b8e1: ad 77 b2 lda LAEF0+$387 b8e4: 8d 10 06 sta TrianglePeriodLow b8e7: a9 00 lda #$00 b8e9: 8d 11 06 sta TrianglePeriodHigh b8ec: 60 LB8EC_0 rts b8ed: 20 a9 b4 TB8ED_0 jsr LB4A9_0 b8f0: d0 1a bne LB90C_0 b8f2: a9 20 lda #$20 b8f4: 8d 12 06 sta TriangleChangeLow b8f7: a9 00 lda #$00 b8f9: 8d 13 06 sta TriangleChangeHigh b8fc: 20 8c b9 jsr LB98C_0 b8ff: ee 73 06 inc TriangleSFXData b902: ad 73 06 lda TriangleSFXData b905: c9 06 cmp #$06 b907: d0 e3 bne LB8EC_0 b909: 4c 96 b8 jmp LB896_0 b90c: 20 a0 b9 LB90C_0 jsr LB9A0_0 b90f: ad 14 06 lda TriangleLowPercentage b912: 8d 12 06 sta TriangleChangeLow b915: ad 15 06 lda TriangleHighPercentage b918: 8d 13 06 sta TriangleChangeHigh b91b: 20 78 b9 jsr LB978_0 b91e: 4c 69 b8 jmp LB869_0 b921: ad 83 b2 TB921_0 lda LAEF0+$393 b924: 8d 10 06 sta TrianglePeriodLow b927: ad 84 b2 lda LAEF0+$394 b92a: 29 07 and #$07 b92c: 8d 11 06 sta TrianglePeriodHigh b92f: a9 00 lda #$00 b931: 8d 13 06 sta TriangleChangeHigh b934: a9 0b lda #$0b b936: 8d 12 06 sta TriangleChangeLow b939: a9 06 lda #$06 b93b: a0 81 ldy #$81 b93d: 4c 52 b4 jmp LB452_0 b940: 20 a9 b4 TB940_0 jsr LB4A9_0 b943: d0 2d bne LB972_0 b945: ee 73 06 inc TriangleSFXData b948: ad 73 06 lda TriangleSFXData b94b: c9 09 cmp #$09 b94d: d0 03 bne LB952_0 b94f: 4c 96 b8 jmp LB896_0 b952: ad 12 06 LB952_0 lda TriangleChangeLow b955: 48 pha b956: ad 13 06 lda TriangleChangeHigh b959: 48 pha b95a: a9 25 lda #$25 b95c: 8d 12 06 sta TriangleChangeLow b95f: a9 00 lda #$00 b961: 8d 13 06 sta TriangleChangeHigh b964: 20 78 b9 jsr LB978_0 b967: 68 pla b968: 8d 13 06 sta TriangleChangeHigh b96b: 68 pla b96c: 8d 12 06 sta TriangleChangeLow b96f: 4c 69 b8 jmp LB869_0 b972: 20 8c b9 LB972_0 jsr LB98C_0 b975: 4c 69 b8 jmp LB869_0 b978: 18 LB978_0 clc b979: ad 10 06 lda TrianglePeriodLow b97c: 6d 12 06 adc TriangleChangeLow b97f: 8d 10 06 sta TrianglePeriodLow b982: ad 11 06 lda TrianglePeriodHigh b985: 6d 13 06 adc TriangleChangeHigh b988: 8d 11 06 sta TrianglePeriodHigh b98b: 60 rts b98c: 38 LB98C_0 sec b98d: ad 10 06 lda TrianglePeriodLow b990: ed 12 06 sbc TriangleChangeLow b993: 8d 10 06 sta TrianglePeriodLow b996: ad 11 06 lda TrianglePeriodHigh b999: ed 13 06 sbc TriangleChangeHigh b99c: 8d 11 06 sta TrianglePeriodHigh b99f: 60 rts b9a0: ad 10 06 LB9A0_0 lda TrianglePeriodLow b9a3: 48 pha b9a4: ad 11 06 lda TrianglePeriodHigh b9a7: 48 pha b9a8: a9 00 lda #$00 b9aa: 8d 17 06 sta DivideData b9ad: a2 10 ldx #$10 b9af: 2e 10 06 rol TrianglePeriodLow b9b2: 2e 11 06 rol TrianglePeriodHigh b9b5: 2e 17 06 LB9B5_0 rol DivideData b9b8: ad 17 06 lda DivideData b9bb: cd 16 06 cmp PercentDifference b9be: 90 06 bcc LB9C6_0 b9c0: ed 16 06 sbc PercentDifference b9c3: 8d 17 06 sta DivideData b9c6: 2e 10 06 LB9C6_0 rol TrianglePeriodLow b9c9: 2e 11 06 rol TrianglePeriodHigh b9cc: ca dex b9cd: d0 e6 bne LB9B5_0 b9cf: ad 10 06 lda TrianglePeriodLow b9d2: 8d 14 06 sta TriangleLowPercentage b9d5: ad 11 06 lda TrianglePeriodHigh b9d8: 8d 15 06 sta TriangleHighPercentage b9db: 68 pla b9dc: 8d 11 06 sta TrianglePeriodHigh b9df: 68 pla b9e0: 8d 10 06 sta TrianglePeriodLow b9e3: 60 rts b9e4: a9 7f LB9E4_0 lda #$7f b9e6: 8d 48 06 sta MusicSQ1Sweep b9e9: 8d 49 06 sta MusicSQ2Sweep b9ec: 8e 28 06 stx SQ1DutyEnvelope b9ef: 8c 29 06 sty SQ2DutyEnvelope b9f2: 60 rts b9f3: ad 40 06 LB9F3_0 lda SQ1MusicFrameCount b9f6: c9 01 cmp #$01 b9f8: d0 03 bne LB9FD_0 b9fa: 8d 6a 06 sta SQ1VolumeIndex b9fd: ad 41 06 LB9FD_0 lda SQ2MusicFrameCount ba00: c9 01 cmp #$01 ba02: d0 03 bne LBA07_0 ba04: 8d 6b 06 sta SQ2VolumeIndex ba07: 60 LBA07_0 rts ba08: ad 07 06 LBA08_0 lda WriteMultiChannelData ba0b: f0 29 beq LBA36_0 ba0d: a9 00 lda #$00 ba0f: 8d 07 06 sta WriteMultiChannelData ba12: ad 48 06 lda MusicSQ1Sweep ba15: 8d 01 40 sta SQ1Cntrl1 ba18: ad 00 06 lda MusicSQ1PeriodLow ba1b: 8d 02 40 sta SQ1Cntrl2 ba1e: ad 01 06 lda MusicSQ1PeriodHigh ba21: 8d 03 40 sta SQ1Cntrl3 ba24: ad 49 06 lda MusicSQ2Sweep ba27: 8d 05 40 sta SQ2Cntrl1 ba2a: ad 04 06 lda MusicSQ2PeriodLow ba2d: 8d 06 40 sta SQ2Cntrl2 ba30: ad 05 06 lda MusicSQ2PeriodHigh ba33: 8d 07 40 sta SQ2Cntrl3 ba36: 60 LBA36_0 rts ba37: a2 00 LBA37_0 ldx #$00 ba39: 20 41 ba jsr LBA41_0 ba3c: e8 inx ba3d: 20 41 ba jsr LBA41_0 ba40: 60 rts ba41: bd 2e 06 LBA41_0 lda SQ1VolumeCntrl,x ba44: f0 45 beq LBA8B_0 ba46: 85 eb sta VolumeCntrlAddress ba48: 20 08 ba jsr LBA08_0 ba4b: bd 6c 06 lda SQ1VolumeData,x ba4e: c9 10 cmp #$10 ba50: f0 47 beq LBA99_0 ba52: a0 00 ldy #$00 ba54: c6 eb LBA54_0 dec VolumeCntrlAddress ba56: f0 04 beq LBA5C_0 ba58: c8 iny ba59: c8 iny ba5a: d0 f8 bne LBA54_0 ba5c: b9 b0 bc LBA5C_0 lda LBCB0_0,y ba5f: 85 ec sta $ec ba61: b9 b1 bc lda LBCB0_0+1,y ba64: 85 ed sta $ed ba66: bc 6a 06 ldy SQ1VolumeIndex,x ba69: b1 ec lda ($ec),y ba6b: 85 ea sta Cntrl0Data ba6d: c9 ff cmp #$ff ba6f: f0 1f beq LBA90_0 ba71: c9 f0 cmp #$f0 ba73: f0 20 beq LBA95_0 ba75: bd 28 06 lda SQ1DutyEnvelope,x ba78: 29 f0 and #$f0 ba7a: 05 ea ora Cntrl0Data ba7c: a8 tay ba7d: fe 6a 06 LBA7D_0 inc SQ1VolumeIndex,x ba80: bd 53 06 LBA80_0 lda SQ1InUse,x ba83: d0 06 bne LBA8B_0 ba85: 8a txa ba86: f0 04 beq LBA8C_0 ba88: 8c 04 40 sty SQ2Cntrl0 ba8b: 60 LBA8B_0 rts ba8c: 8c 00 40 LBA8C_0 sty SQ1Cntrl0 ba8f: 60 rts ba90: bc 28 06 LBA90_0 ldy SQ1DutyEnvelope,x ba93: d0 eb bne LBA80_0 ba95: a0 10 LBA95_0 ldy #$10 ba97: d0 e7 bne LBA80_0 ba99: a0 10 LBA99_0 ldy #$10 ba9b: d0 e0 bne LBA7D_0 ba9d: 20 f0 b3 LBA9D_0 jsr LB3F0_0 baa0: 60 rts baa1: 20 37 ba LBAA1_0 jsr LBA37_0 baa4: 60 rts baa5: 20 f3 b9 LBAA5_0 jsr LB9F3_0 baa8: a9 00 lda #$00 baaa: aa tax baab: 8d 4b 06 sta ThisSoundChannel baae: f0 12 beq LBAC2_0 bab0: 8a LBAB0_0 txa bab1: 4a lsr A bab2: aa tax bab3: e8 LBAB3_0 inx bab4: 8a txa bab5: c9 04 cmp #$04 bab7: f0 e8 beq LBAA1_0 bab9: ad 4b 06 lda ThisSoundChannel babc: 18 clc babd: 69 04 adc #$04 babf: 8d 4b 06 sta ThisSoundChannel bac2: 8a LBAC2_0 txa bac3: 0a asl A bac4: aa tax bac5: bd 30 06 lda SQ1LowBaseByte,x bac8: 85 e6 sta $e6 baca: bd 31 06 lda SQ1HighBaseByte,x bacd: 85 e7 sta $e7 bacf: bd 31 06 lda SQ1HighBaseByte,x bad2: f0 dc beq LBAB0_0 bad4: 8a txa bad5: 4a lsr A bad6: aa tax bad7: de 40 06 dec SQ1MusicFrameCount,x bada: d0 d7 bne LBAB3_0 badc: bc 38 06 LBADC_0 ldy SQ1MusicIndexIndex,x badf: fe 38 06 inc SQ1MusicIndexIndex,x bae2: b1 e6 lda ($e6),y bae4: f0 b7 beq LBA9D_0 bae6: a8 tay bae7: c9 ff cmp #$ff bae9: f0 09 beq LBAF4_0 baeb: 29 c0 and #$c0 baed: c9 c0 cmp #$c0 baef: f0 13 beq LBB04_0 baf1: 4c 1c bb jmp LBB1C_0 baf4: bd 24 06 LBAF4_0 lda SQ1RepeatCounter,x baf7: f0 1a beq LBB13_0 baf9: de 24 06 dec SQ1RepeatCounter,x bafc: bd 3c 06 lda SQ1LoopIndex,x baff: 9d 38 06 sta SQ1MusicIndexIndex,x bb02: d0 0f bne LBB13_0 bb04: 98 LBB04_0 tya bb05: 29 3f and #$3f bb07: 9d 24 06 sta SQ1RepeatCounter,x bb0a: de 24 06 dec SQ1RepeatCounter,x bb0d: bd 38 06 lda SQ1MusicIndexIndex,x bb10: 9d 3c 06 sta SQ1LoopIndex,x bb13: 4c dc ba LBB13_0 jmp LBADC_0 bb16: 4c de bb LBB16_0 jmp LBBDE_0 bb19: 4c b7 bb LBB19_0 jmp LBBB7_0 bb1c: 98 LBB1C_0 tya bb1d: 29 b0 and #$b0 bb1f: c9 b0 cmp #$b0 bb21: d0 1d bne LBB40_0 bb23: 98 tya bb24: 29 0f and #$0f bb26: 18 clc bb27: 6d 2b 06 adc NoteLengthTblOffset bb2a: a8 tay bb2b: b9 f7 be lda LBCBA_0+$23d,y bb2e: 9d 20 06 sta SQ1FrameCountInit,x bb31: a8 tay bb32: 8a txa bb33: c9 02 cmp #$02 bb35: f0 e2 beq LBB19_0 bb37: bc 38 06 LBB37_0 ldy SQ1MusicIndexIndex,x bb3a: fe 38 06 inc SQ1MusicIndexIndex,x bb3d: b1 e6 lda ($e6),y bb3f: a8 tay bb40: 8a LBB40_0 txa bb41: c9 03 cmp #$03 bb43: f0 d1 beq LBB16_0 bb45: 48 pha bb46: ae 4b 06 ldx ThisSoundChannel bb49: b9 78 be lda LBCBA_0+$1be,y bb4c: f0 0b beq LBB59_0 bb4e: 9d 00 06 sta MusicSQ1PeriodLow,x bb51: b9 77 be lda LBCBA_0+$1bd,y bb54: 09 08 ora #$08 bb56: 9d 01 06 sta MusicSQ1PeriodHigh,x bb59: a8 LBB59_0 tay bb5a: 68 pla bb5b: aa tax bb5c: 98 tya bb5d: d0 0f bne LBB6E_0 bb5f: a9 00 lda #$00 bb61: 85 ea sta Cntrl0Data bb63: 8a txa bb64: c9 02 cmp #$02 bb66: f0 0b beq LBB73_0 bb68: a9 10 lda #$10 bb6a: 85 ea sta Cntrl0Data bb6c: d0 05 bne LBB73_0 bb6e: bd 28 06 LBB6E_0 lda SQ1DutyEnvelope,x bb71: 85 ea sta Cntrl0Data bb73: 8a LBB73_0 txa bb74: de 53 06 dec SQ1InUse,x bb77: dd 53 06 cmp SQ1InUse,x bb7a: f0 35 beq LBBB1_0 bb7c: fe 53 06 inc SQ1InUse,x bb7f: ac 4b 06 ldy ThisSoundChannel bb82: 8a txa bb83: c9 02 cmp #$02 bb85: f0 05 beq LBB8C_0 bb87: bd 2e 06 lda SQ1VolumeCntrl,x bb8a: d0 05 bne LBB91_0 bb8c: a5 ea LBB8C_0 lda Cntrl0Data bb8e: 99 00 40 sta SQ1Cntrl0,y bb91: a5 ea LBB91_0 lda Cntrl0Data bb93: 9d 6c 06 sta SQ1VolumeData,x bb96: b9 00 06 lda MusicSQ1PeriodLow,y bb99: 99 02 40 sta SQ1Cntrl2,y bb9c: b9 01 06 lda MusicSQ1PeriodHigh,y bb9f: 99 03 40 sta SQ1Cntrl3,y bba2: bd 48 06 lda MusicSQ1Sweep,x bba5: 99 01 40 sta SQ1Cntrl1,y bba8: bd 20 06 LBBA8_0 lda SQ1FrameCountInit,x bbab: 9d 40 06 sta SQ1MusicFrameCount,x bbae: 4c b3 ba jmp LBAB3_0 bbb1: fe 53 06 LBBB1_0 inc SQ1InUse,x bbb4: 4c a8 bb jmp LBBA8_0 bbb7: ad 2d 06 LBBB7_0 lda TriangleCounterCntrl bbba: 29 0f and #$0f bbbc: d0 1a bne LBBD8_0 bbbe: ad 2d 06 lda TriangleCounterCntrl bbc1: 29 f0 and #$f0 bbc3: d0 04 bne LBBC9_0 bbc5: 98 tya bbc6: 4c cd bb jmp LBBCD_0 bbc9: a9 ff LBBC9_0 lda #$ff bbcb: d0 0b bne LBBD8_0 bbcd: 18 LBBCD_0 clc bbce: 69 ff adc #$ff bbd0: 0a asl A bbd1: 0a asl A bbd2: c9 3c cmp #$3c bbd4: 90 02 bcc LBBD8_0 bbd6: a9 3c lda #$3c bbd8: 8d 2a 06 LBBD8_0 sta TriLinearCount bbdb: 4c 37 bb jmp LBB37_0 bbde: ad 88 06 LBBDE_0 lda NoiseContSFX bbe1: 29 fc and #$fc bbe3: d0 12 bne LBBF7_0 bbe5: b9 00 b2 lda LAEF0+$310,y bbe8: 8d 0c 40 sta NoiseCntrl0 bbeb: b9 01 b2 lda LAEF0+$311,y bbee: 8d 0e 40 sta NoiseCntrl2 bbf1: b9 02 b2 lda LAEF0+$312,y bbf4: 8d 0f 40 sta NoiseCntrl3 bbf7: 4c a8 bb LBBF7_0 jmp LBBA8_0 bbfa: 41 8f 34 27+ LBBFA_0 .bulk $41,$8f,$34,$27,$1a,$0d,$00,$82,$68,$75,$4e,$5b bc06: 80 bc .dd2 TBC80_0 bc08: 7a bc .dd2 TBC7A_0 bc0a: 86 bc .dd2 TBC86_0 bc0c: 7a bc .dd2 TBC7A_0 bc0e: ee b4 .dd2 TB4EE_0 bc10: 73 b6 .dd2 TB673_0 bc12: ec b5 .dd2 TB5EC_0 bc14: 95 b6 .dd2 TB695_0 bc16: ee b4 .dd2 TB4EE_0 bc18: ee b4 .dd2 TB4EE_0 bc1a: ee b4 .dd2 TB4EE_0 bc1c: ee b4 .dd2 TB4EE_0 bc1e: ee b4 .dd2 TB4EE_0 bc20: 50 b6 .dd2 TB650_0 bc22: f6 b5 .dd2 TB5F6_0 bc24: a1 b6 .dd2 TB6A1_0 bc26: 83 bc .dd2 TBC83_0 bc28: 77 bc .dd2 TBC77_0 bc2a: 77 bc .dd2 TBC77_0 bc2c: 77 bc .dd2 TBC77_0 bc2e: 80 bc .dd2 TBC80_0 bc30: 7d bc .dd2 TBC7D_0 bc32: 77 bc .dd2 TBC77_0 bc34: 80 bc .dd2 TBC80_0 bc36: ad 5d 06 LBC36 lda CurrentMusicRepeat bc39: a2 b6 ldx #$b6 bc3b: d0 05 bne LBC42 bc3d: ad 85 06 lda MusicInitFlag bc40: a2 b1 ldx #$b1 bc42: 20 bd b4 LBC42 jsr LB4BD_0 bc45: 20 53 bc jsr LBC53 bc48: 6c e2 00 jmp ($00e2) bc4b: ad 8d 06 lda CurrentMusic bc4e: f0 26 beq LBC76_0 bc50: 4c a5 ba jmp LBAA5_0 bc53: a9 ff LBC53 lda #$ff bc55: 8d 5e 06 sta MusicInitIndex bc58: ad 4d 06 lda CurrentSFXFlags bc5b: f0 06 beq LBC63 bc5d: ee 5e 06 LBC5D inc MusicInitIndex bc60: 0a asl A bc61: 90 fa bcc LBC5D bc63: 60 LBC63 rts bc64: ad 5e 06 LBC64 lda MusicInitIndex bc67: 18 clc bc68: 69 08 adc #$08 bc6a: 8d 5e 06 sta MusicInitIndex bc6d: 60 rts bc6e: ad 8d 06 lda CurrentMusic bc71: 09 f0 ora #$f0 bc73: 8d 8d 06 sta CurrentMusic bc76: 60 LBC76_0 rts bc77: 4c aa bc TBC77_0 jmp LBCAA_0 bc7a: 4c a4 bc TBC7A_0 jmp LBCA4_0 bc7d: 4c 9a bc TBC7D_0 jmp LBC9A_0 bc80: 4c 96 bc TBC80_0 jmp LBC96_0 bc83: 4c 89 bc TBC83_0 jmp LBC89_0 bc86: 4c 9e bc TBC86_0 jmp LBC9E_0 bc89: a9 b3 LBC89_0 lda #$b3 bc8b: aa LBC8B_0 tax bc8c: a8 tay bc8d: 20 e4 b9 LBC8D_0 jsr LB9E4_0 bc90: 20 19 bf jsr LBF19_0 bc93: 4c a5 ba jmp LBAA5_0 bc96: a9 34 LBC96_0 lda #$34 bc98: d0 f1 bne LBC8B_0 bc9a: a9 f4 LBC9A_0 lda #$f4 bc9c: d0 ed bne LBC8B_0 bc9e: a2 f5 LBC9E_0 ldx #$f5 bca0: a0 f6 ldy #$f6 bca2: d0 e9 bne LBC8D_0 bca4: a2 b6 LBCA4_0 ldx #$b6 bca6: a0 f6 ldy #$f6 bca8: d0 e3 bne LBC8D_0 bcaa: a2 92 LBCAA_0 ldx #$92 bcac: a0 96 ldy #$96 bcae: d0 dd bne LBC8D_0 bcb0: ba bc LBCB0_0 .dd2 LBCBA_0 bcb2: c5 bc .dd2 LBCBA_0+11 bcb4: cf bc .dd2 LBCBA_0+21 bcb6: da bc .dd2 LBCBA_0+32 bcb8: 03 bd .dd2 LBCBA_0+73 bcba: 01 02 02 03+ LBCBA_0 .bulk $01,$02,$02,$03,$03,$04,$05,$06,$07,$08,$ff,$02,$04,$05,$06,$07 + $08,$07,$06,$05,$ff,$00,$0d,$09,$07,$06,$05,$05,$05,$04,$04,$ff + $02,$06,$07,$07,$07,$06,$06,$06,$06,$05,$05,$05,$04,$04,$04,$03 + $03,$03,$03,$02,$03,$03,$03,$03,$03,$02,$02,$02,$02,$02,$02,$02 + $02,$02,$02,$01,$01,$01,$01,$01,$f0,$0a,$0a,$09,$08,$07,$06,$05 + $04,$03,$02,$07,$07,$06,$05,$04,$04,$03,$02,$02,$02,$05,$05,$05 + $04,$03,$02,$02,$02,$01,$01,$04,$04,$03,$02,$01,$02,$02,$01,$01 + $01,$02,$02,$02,$01,$01,$f0,$0b,$ff,$f5,$00,$00,$00,$01,$00,$03 + $00,$05,$00,$00,$0b,$ff,$00,$02,$02,$00,$01,$00,$03,$00,$05,$00 + $07,$0b,$ff,$f0,$04,$04,$00,$01,$00,$03,$00,$05,$00,$07,$00,$ff + $f0,$00,$00,$00,$01,$00,$03,$00,$05,$00,$00,$0b,$ff,$03,$00,$00 + $da,$bd,$dc,$bd,$cd,$bd,$00,$00,$0b,$ff,$f0,$01,$01,$00,$01,$00 + $03,$00,$05,$00,$00,$17,$00,$00,$02,$01,$00,$01,$00,$03,$00,$05 + $00,$07,$17,$00,$f0,$02,$05,$00,$01,$00,$03,$00,$05,$00,$07,$0b + $00,$f0,$02,$00,$3e,$be,$1d,$be,$36,$be,$00,$00,$00,$00,$f0,$01 + $00,$f7,$bd,$0d,$be,$08,$be,$00,$00,$0b,$ff,$00,$02,$03,$00,$b0 + $57,$b0,$c1,$b0,$2b,$b1,$0b,$ff,$03,$00,$00,$59,$be,$47,$be,$62 + $be,$00,$00,$c8,$b0,$38,$3a,$3c,$3e,$40,$3e,$3c,$3a,$b6,$02,$ff + $b8,$02,$b3,$02,$b2,$74,$02,$6a,$02,$72,$02,$62,$b4,$02,$b2,$60 + $02,$6c,$02,$76,$b3,$02,$b2,$7e,$02,$7c,$b3,$02,$00,$b3,$48,$42 + $b2,$3e,$38,$30,$38,$4c,$44,$3e,$36,$c8,$b0,$38,$3c,$ff,$b4,$2c + $2a,$1e,$1c,$b2,$22,$2c,$30,$34,$38,$30,$26,$30,$3a,$34,$2c,$26 + $b4,$2a,$00,$c4,$b0,$3e,$30,$ff,$c4,$42,$30,$ff,$c4,$3a,$2c,$ff + $c4,$38,$26,$ff,$c4,$34,$20,$ff,$e0,$34,$24,$ff,$b3,$36,$34,$30 + $2a,$b4,$1c,$1c,$b3,$34,$3a,$34,$30,$b4,$2a,$2a,$00,$b4,$12,$b3 + $10,$18,$16,$0a,$b4,$14,$12,$b3,$10,$06,$0e,$04,$b4,$0c,$00,$e0 + $b0,$54,$4e,$48,$42,$48,$4e,$ff,$e0,$b3,$02,$b0,$3c,$40,$44,$4a + $4e,$54,$58,$5c,$62,$66,$6c,$70,$74,$7a,$b3,$02,$ff,$07,$f0,$00 + $00,$06,$4e,$05,$f3,$05,$4d,$05,$01,$04,$b9,$04,$75,$04,$35,$03 + $f8,$03,$bf,$03,$89,$03,$57,$03,$27,$02,$f9,$02,$cf,$02,$a6,$02 + $80,$02,$5c,$02,$3a,$02,$1a,$01,$fc,$01,$df,$01,$c4,$01,$ab,$01 + $93,$01,$7c,$01,$67,$01,$52,$01,$3f,$01,$2d,$01,$1c,$01,$0c,$00 + $fd,$00,$ee,$00,$e1,$00,$d4,$00,$c8,$00,$bd,$00,$b2,$00,$a8,$00 + $9f,$00,$96,$00,$8d,$00,$85,$00,$7e,$00,$76,$00,$70,$00,$69,$00 + $63,$00,$5e,$00,$58,$00,$53,$00,$4f,$00,$4a,$00,$46,$00,$42,$00 + $3e,$00,$3a,$00,$37,$00,$34,$00,$31,$00,$2e,$00,$27,$04,$08,$10 + $20,$40,$18,$30,$0c,$0b,$05,$02,$06,$0c,$18,$30,$60,$24,$48,$12 + $10,$08,$03,$10,$07,$0e,$1c,$38,$70,$2a,$54,$15,$12,$02,$03 bf19: 20 fc b3 LBF19_0 jsr LB3FC_0 bf1c: ad 4d 06 lda CurrentSFXFlags bf1f: 8d 8d 06 sta CurrentMusic bf22: ad 5e 06 lda MusicInitIndex bf25: a8 tay bf26: b9 fa bb lda LBBFA_0,y bf29: a8 tay bf2a: a2 00 ldx #$00 bf2c: b9 31 bd LBF2C_0 lda LBCBA_0+119,y bf2f: 9d 2b 06 sta NoteLengthTblOffset,x bf32: c8 iny bf33: e8 inx bf34: 8a txa bf35: c9 0d cmp #$0d bf37: d0 f3 bne LBF2C_0 bf39: a9 01 lda #$01 bf3b: 8d 40 06 sta SQ1MusicFrameCount bf3e: 8d 41 06 sta SQ2MusicFrameCount bf41: 8d 42 06 sta TriangleMusicFrameCount bf44: 8d 43 06 sta NoiseMusicFrameCount bf47: a9 00 lda #$00 bf49: 8d 38 06 sta SQ1MusicIndexIndex bf4c: 8d 39 06 sta SQ2MusicIndexIndex bf4f: 8d 3a 06 sta TriangleMusicIndexIndex bf52: 8d 3b 06 sta NoiseMusicIndexIndex bf55: 60 rts bf56: 10 07 0e 1c+ .junk 90 bfb0: 78 RESET_B sei bfb1: d8 cld bfb2: a2 00 ldx #$00 bfb4: 8e 00 20 stx PPUControl0 bfb7: 8e 01 20 stx PPUControl1 bfba: ad 02 20 LBFBA_0 lda PPUStatus bfbd: 10 fb bpl LBFBA_0 bfbf: ad 02 20 LBFBF_0 lda PPUStatus bfc2: 10 fb bpl LBFBF_0 bfc4: 09 ff ora #$ff bfc6: 8d 00 80 sta MMC1Reg0 bfc9: 8d 00 a0 sta MMC1Reg1 bfcc: 8d 00 c0 sta MMC1Reg2 bfcf: 8d 00 e0 sta MMC1Reg3 bfd2: 4c 1a c0 jmp Startup bfd5: ff ff ff ff+ .junk 37 bffa: d9 c0 .dd2 NMI bffc: b0 bf .dd2 RESET_B bffe: b0 bf .dd2 RESET_B .adrend β $8000 .addrs $8000 8000: 4c 10 f4 L8000_0 jmp LF410 8003: 4c 38 f4 L8003_0 jmp LF438 8006: 4c 16 f4 L8006_0 jmp LF416 8009: 4c 52 f8 L8009_0 jmp LF852 800c: 4c 94 e0 L800C_0 jmp UpdateEnemyAnim 800f: 4c 8d f6 L800F_0 jmp LF68D 8012: 4c 3e f8 jmp LF83E 8015: 4c 5a f8 jmp LF85A 8018: 4c b9 fb jmp LFBB9 801b: 4c 88 fb L801B_0 jmp LFB88 801e: 4c ca fb L801E_0 jmp LFBCA 8021: 4c 70 f8 L8021 jmp LF870 8024: 4c 7c c2 ChooseRoutineN jmp ChooseRoutine 8027: 4c 8f fd L8027_1 jmp LFD8F 802a: 4c 6e eb L802A_0 jmp LEB6E 802d: 4c 44 82 jmp L8244_0 8030: 4c 18 83 jmp L8318_0 8033: 4c 1e fa jmp LFA1E 8036: 4c 3f 83 L8036_0 jmp L833F_0 8039: 4c 95 83 L8039_0 jmp L8395_0 803c: 4c 8b dd jmp LDD8B 803f: 4c dc fe jmp LFEDC 8042: 4c 92 ce jmp LCE92 8045: 4c fb c3 jmp LC3FB 8048: fd 84 L8048_0 .dd2 T84FE_1-1 804a: a6 84 .dd2 T84A7_1-1 804c: 4a 84 .dd2 T844B_1-1 804e: 4a 84 .dd2 T844B_1-1 8050: a6 84 .dd2 T84A7_1-1 8052: fd 84 .dd2 T84FE_1-1 8054: f4 83 .dd2 T83F5_1-1 8056: f4 83 .dd2 T83F5_1-1 8058: a6 4b ldx PageIndex 805a: bd 05 04 lda EnCounter-1,x 805d: 0a asl A 805e: 30 4f bmi L80AF_0 8060: bd f4 6a lda Enstatus,x 8063: c9 02 cmp #$02 8065: d0 48 bne L80AF_0 8067: 20 44 82 jsr L8244_0 806a: a5 00 lda $00 806c: 10 0f bpl L807D_0 806e: 20 d4 c3 jsr LC3D4 8071: 85 66 sta $66 8073: 20 f5 83 L8073_0 jsr T83F5_1 8076: 20 b8 80 jsr L80B8_0 8079: c6 66 dec $66 807b: d0 f6 bne L8073_0 807d: f0 0c L807D_0 beq L808B_0 807f: 85 66 sta $66 8081: 20 4b 84 L8081_0 jsr T844B_1 8084: 20 fb 80 jsr L80FB_0 8087: c6 66 dec $66 8089: d0 f6 bne L8081_0 808b: 20 18 83 L808B_0 jsr L8318_0 808e: a5 00 lda $00 8090: 10 0f bpl L80A1_0 8092: 20 d4 c3 jsr LC3D4 8095: 85 66 sta $66 8097: 20 a7 84 L8097_0 jsr T84A7_1 809a: 20 6e 81 jsr L816E_0 809d: c6 66 dec $66 809f: d0 f6 bne L8097_0 80a1: f0 0c L80A1_0 beq L80AF_0 80a3: 85 66 sta $66 80a5: 20 fe 84 L80A5_0 jsr T84FE_1 80a8: 20 34 81 jsr L8134_0 80ab: c6 66 dec $66 80ad: d0 f6 bne L80A5_0 80af: 60 L80AF_0 rts 80b0: bc 02 6b L80B0 ldy EnDataIndex,x 80b3: b9 7b 97 lda L960B+$170,y 80b6: 0a asl A 80b7: 60 rts 80b8: a6 4b L80B8_0 ldx PageIndex 80ba: b0 3e bcs L80FA_0 80bc: bd 05 04 lda EnCounter-1,x 80bf: 10 06 bpl L80C7_0 80c1: 20 fc 81 L80C1_0 jsr L81FC_0 80c4: 4c f6 80 jmp L80F6_0 80c7: 20 b0 80 L80C7_0 jsr L80B0 80ca: 10 1e bpl L80EA_0 80cc: bd 03 6b lda $6b03,x 80cf: f0 f0 beq L80C1_0 80d1: 10 05 bpl L80D8_0 80d3: 20 b1 81 jsr L81B1_0 80d6: f0 0a beq L80E2_0 80d8: 38 L80D8_0 sec 80d9: 7e 02 04 ror $0402,x 80dc: 7e 06 04 ror EnCounter,x 80df: 4c f6 80 jmp L80F6_0 80e2: 9d 02 04 L80E2_0 sta $0402,x 80e5: 9d 06 04 sta EnCounter,x 80e8: f0 0c beq L80F6_0 80ea: b9 7b 97 L80EA_0 lda L960B+$170,y 80ed: 4a lsr A 80ee: 4a lsr A 80ef: 90 05 bcc L80F6_0 80f1: a9 04 lda #$04 80f3: 20 6b 85 jsr L856B_0 80f6: a9 01 L80F6_0 lda #$01 80f8: 85 66 sta $66 80fa: 60 L80FA_0 rts 80fb: a6 4b L80FB_0 ldx PageIndex 80fd: b0 34 bcs L8133_0 80ff: bd 05 04 lda EnCounter-1,x 8102: 10 06 bpl L810A_0 8104: 20 fc 81 L8104_0 jsr L81FC_0 8107: 4c 2f 81 jmp L812F_0 810a: 20 b0 80 L810A_0 jsr L80B0 810d: 10 14 bpl L8123_0 810f: bd 03 6b lda $6b03,x 8112: f0 f0 beq L8104_0 8114: 10 0a bpl L8120_0 8116: 18 clc 8117: 7e 02 04 ror $0402,x 811a: 7e 06 04 ror EnCounter,x 811d: 4c 2f 81 jmp L812F_0 8120: 20 b1 81 L8120_0 jsr L81B1_0 8123: b9 7b 97 L8123_0 lda L960B+$170,y 8126: 4a lsr A 8127: 4a lsr A 8128: 90 05 bcc L812F_0 812a: a9 04 lda #$04 812c: 20 6b 85 jsr L856B_0 812f: a9 01 L812F_0 lda #$01 8131: 85 66 sta $66 8133: 60 L8133_0 rts 8134: a6 4b L8134_0 ldx PageIndex 8136: b0 35 bcs L816D_0 8138: 20 b0 80 jsr L80B0 813b: 10 21 bpl L815E_0 813d: bd 05 04 lda EnCounter-1,x 8140: 30 06 bmi L8148_0 8142: 20 c7 81 L8142_0 jsr L81C7_0 8145: 4c 69 81 jmp L8169_0 8148: bd 03 6b L8148_0 lda $6b03,x 814b: f0 f5 beq L8142_0 814d: 10 0a bpl L8159_0 814f: 18 clc 8150: 7e 03 04 ror $0403,x 8153: 7e 07 04 ror $0407,x 8156: 4c 69 81 jmp L8169_0 8159: 20 c0 81 L8159_0 jsr L81C0_0 815c: f0 0b beq L8169_0 815e: b9 7b 97 L815E_0 lda L960B+$170,y 8161: 4a lsr A 8162: 90 05 bcc L8169_0 8164: a9 01 lda #$01 8166: 20 6b 85 jsr L856B_0 8169: a9 01 L8169_0 lda #$01 816b: 85 66 sta $66 816d: 60 L816D_0 rts 816e: a6 4b L816E_0 ldx PageIndex 8170: b0 3e bcs L81B0_0 8172: 20 b0 80 jsr L80B0 8175: 10 29 bpl L81A0_0 8177: bd 05 04 lda EnCounter-1,x 817a: 30 06 bmi L8182_0 817c: 20 c7 81 L817C_0 jsr L81C7_0 817f: 4c ac 81 jmp L81AC_0 8182: bd 03 6b L8182_0 lda $6b03,x 8185: f0 f5 beq L817C_0 8187: 10 05 bpl L818E_0 8189: 20 c0 81 jsr L81C0_0 818c: f0 0a beq L8198_0 818e: 38 L818E_0 sec 818f: 7e 03 04 ror $0403,x 8192: 7e 07 04 ror $0407,x 8195: 4c ac 81 jmp L81AC_0 8198: 9d 03 04 L8198_0 sta $0403,x 819b: 9d 07 04 sta $0407,x 819e: f0 0c beq L81AC_0 81a0: 20 b0 80 L81A0_0 jsr L80B0 81a3: 4a lsr A 81a4: 4a lsr A 81a5: 90 05 bcc L81AC_0 81a7: a9 01 lda #$01 81a9: 20 6b 85 jsr L856B_0 81ac: a9 01 L81AC_0 lda #$01 81ae: 85 66 sta $66 81b0: 60 L81B0_0 rts 81b1: 20 b8 81 L81B1_0 jsr L81B8_0 81b4: 9d fe 6a sta $6afe,x 81b7: 60 rts 81b8: a9 20 L81B8_0 lda #$20 81ba: 20 44 f7 jsr LF744 81bd: a9 00 lda #$00 81bf: 60 rts 81c0: 20 b8 81 L81C0_0 jsr L81B8_0 81c3: 9d ff 6a sta $6aff,x 81c6: 60 rts 81c7: 20 f6 81 L81C7_0 jsr L81F6_0 81ca: d0 29 bne L81F5_0 81cc: a9 01 lda #$01 81ce: 20 6b 85 jsr L856B_0 81d1: bd ff 6a lda $6aff,x 81d4: 20 d4 c3 jsr LC3D4 81d7: 9d ff 6a sta $6aff,x 81da: 20 f6 81 jsr L81F6_0 81dd: d0 16 bne L81F5_0 81df: 20 b0 80 jsr L80B0 81e2: 38 sec 81e3: 10 08 bpl L81ED_0 81e5: a9 00 lda #$00 81e7: fd 07 04 sbc $0407,x 81ea: 9d 07 04 sta $0407,x 81ed: a9 00 L81ED_0 lda #$00 81ef: fd 03 04 sbc $0403,x 81f2: 9d 03 04 sta $0403,x 81f5: 60 L81F5_0 rts 81f6: 20 4b f7 L81F6_0 jsr LF74B 81f9: 29 20 and #$20 81fb: 60 rts 81fc: 20 f6 81 L81FC_0 jsr L81F6_0 81ff: d0 f4 bne L81F5_0 8201: a9 04 lda #$04 8203: 20 6b 85 jsr L856B_0 8206: bd fe 6a lda $6afe,x 8209: 20 d4 c3 jsr LC3D4 820c: 9d fe 6a sta $6afe,x 820f: 20 f6 81 jsr L81F6_0 8212: d0 16 bne L822A_0 8214: 20 b0 80 jsr L80B0 8217: 38 sec 8218: 10 08 bpl L8222_0 821a: a9 00 lda #$00 821c: fd 06 04 sbc EnCounter,x 821f: 9d 06 04 sta EnCounter,x 8222: a9 00 L8222_0 lda #$00 8224: fd 02 04 sbc $0402,x 8227: 9d 02 04 sta $0402,x 822a: 60 L822A_0 rts 822b: bd 05 04 L822B_0 lda EnCounter-1,x 822e: 10 02 bpl L8232_0 8230: 4a lsr A 8231: 4a lsr A 8232: 4a L8232_0 lsr A 8233: bd 08 04 lda EnDelay-1,x 8236: 2a rol A 8237: 0a asl A 8238: a8 tay 8239: b9 db 96 lda L960B+208,y 823c: 85 81 sta HideShowEndMsg 823e: b9 dc 96 lda L960B+209,y 8241: 85 82 sta ClrChangeCounter 8243: 60 rts 8244: 20 b0 80 L8244_0 jsr L80B0 8247: 10 03 bpl L824C_0 8249: 4c 3f 83 jmp L833F_0 824c: bd 05 04 L824C_0 lda EnCounter-1,x 824f: 29 20 and #$20 8251: 49 20 eor #$20 8253: f0 4d beq L82A2_1 8255: 20 2b 82 jsr L822B_0 8258: bc 06 04 L8258_0 ldy EnCounter,x 825b: b1 81 L825B_0 lda (HideShowEndMsg),y 825d: c9 f0 cmp #$f0 825f: 90 1e bcc L827F_1 8261: c9 fa cmp #$fa 8263: f0 17 beq L827C_0 8265: c9 fb cmp #$fb 8267: f0 47 beq L82B0_0 8269: c9 fc cmp #$fc 826b: f0 46 beq L82B3_0 826d: c9 fd cmp #$fd 826f: f0 34 beq L82A5_0 8271: c9 fe cmp #$fe 8273: f0 69 beq L82DE_0 8275: a9 00 lda #$00 8277: 9d 06 04 sta EnCounter,x 827a: f0 dc beq L8258_0 827c: 4c 12 83 L827C_0 jmp L8312_0 827f: 38 L827F_1 sec 8280: fd 09 04 sbc EnDelay,x 8283: d0 0b bne L8290_0 8285: 9d 09 04 sta EnDelay,x 8288: c8 iny 8289: c8 iny 828a: 98 tya 828b: 9d 06 04 sta EnCounter,x 828e: d0 cb bne L825B_0 8290: fe 09 04 L8290_0 inc EnDelay,x 8293: c8 iny 8294: b1 81 lda (HideShowEndMsg),y 8296: 0a asl A 8297: 08 php 8298: 20 be c2 jsr LC2BE 829b: 28 plp 829c: 90 04 bcc L82A2_1 829e: 49 ff eor #$ff 82a0: 69 00 adc #$00 82a2: 85 00 L82A2_1 sta $00 82a4: 60 rts 82a5: fe 06 04 L82A5_0 inc EnCounter,x 82a8: c8 iny 82a9: a9 00 lda #$00 82ab: 9d 01 6b sta EnDataIndex-1,x 82ae: f0 ab beq L825B_0 82b0: 68 L82B0_0 pla 82b1: 68 pla 82b2: 60 rts 82b3: bd 03 6b L82B3_0 lda $6b03,x 82b6: 10 06 bpl L82BE_0 82b8: 20 70 e7 jsr LE770 82bb: 4c c3 82 jmp L82C3_0 82be: f0 12 L82BE_0 beq L82D2_0 82c0: 20 7b e7 jsr LE77B 82c3: a6 4b L82C3_0 ldx PageIndex 82c5: b0 0b bcs L82D2_0 82c7: bc 06 04 ldy EnCounter,x 82ca: c8 iny 82cb: a9 00 lda #$00 82cd: 9d 03 6b sta $6b03,x 82d0: f0 05 beq L82D7_0 82d2: bc 06 04 L82D2_0 ldy EnCounter,x 82d5: 88 dey 82d6: 88 dey 82d7: 98 L82D7_0 tya 82d8: 9d 06 04 sta EnCounter,x 82db: 4c 5b 82 jmp L825B_0 82de: 88 L82DE_0 dey 82df: 88 dey 82e0: 98 tya 82e1: 9d 06 04 sta EnCounter,x 82e4: bd 03 6b lda $6b03,x 82e7: 10 06 bpl L82EF_0 82e9: 20 70 e7 jsr LE770 82ec: 4c f4 82 jmp L82F4_0 82ef: f0 0a L82EF_0 beq L82FB_0 82f1: 20 7b e7 jsr LE77B 82f4: a6 4b L82F4_0 ldx PageIndex 82f6: 90 03 bcc L82FB_0 82f8: 4c 58 82 jmp L8258_0 82fb: bc 02 6b L82FB_0 ldy EnDataIndex,x 82fe: b9 8b 96 lda L960B+128,y 8301: 29 20 and #$20 8303: f0 0d beq L8312_0 8305: bd 05 04 lda EnCounter-1,x 8308: 49 05 eor #$05 830a: 19 8b 96 ora L960B+128,y 830d: 29 1f and #$1f 830f: 9d 05 04 sta EnCounter-1,x 8312: 20 b1 81 L8312_0 jsr L81B1_0 8315: 4c a2 82 jmp L82A2_1 8318: 20 b0 80 L8318_0 jsr L80B0 831b: 10 03 bpl L8320_0 831d: 4c 95 83 jmp L8395_0 8320: bd 05 04 L8320_0 lda EnCounter-1,x 8323: 29 20 and #$20 8325: 49 20 eor #$20 8327: f0 13 beq L833C_0 8329: bc 06 04 ldy EnCounter,x 832c: c8 iny 832d: b1 81 lda (HideShowEndMsg),y 832f: aa tax 8330: 29 08 and #$08 8332: 08 php 8333: 8a txa 8334: 29 07 and #$07 8336: 28 plp 8337: f0 03 beq L833C_0 8339: 20 d4 c3 jsr LC3D4 833c: 85 00 L833C_0 sta $00 833e: 60 rts 833f: a0 0e L833F_0 ldy #$0e 8341: bd fe 6a lda $6afe,x 8344: 30 18 bmi L835E_0 8346: 18 clc 8347: 7d 06 04 adc EnCounter,x 834a: 9d 06 04 sta EnCounter,x 834d: bd 02 04 lda $0402,x 8350: 69 00 adc #$00 8352: 9d 02 04 sta $0402,x 8355: 10 1f bpl L8376_0 8357: 20 d4 c3 L8357_0 jsr LC3D4 835a: a0 f2 ldy #$f2 835c: d0 18 bne L8376_0 835e: 20 d4 c3 L835E_0 jsr LC3D4 8361: 38 sec 8362: 85 00 sta $00 8364: bd 06 04 lda EnCounter,x 8367: e5 00 sbc $00 8369: 9d 06 04 sta EnCounter,x 836c: bd 02 04 lda $0402,x 836f: e9 00 sbc #$00 8371: 9d 02 04 sta $0402,x 8374: 30 e1 bmi L8357_0 8376: c9 0e L8376_0 cmp #$0e 8378: 90 09 bcc L8383_0 837a: a9 00 lda #$00 837c: 9d 06 04 sta EnCounter,x 837f: 98 tya 8380: 9d 02 04 sta $0402,x 8383: bd fc 6a L8383_0 lda $6afc,x 8386: 18 clc 8387: 7d 06 04 adc EnCounter,x 838a: 9d fc 6a sta $6afc,x 838d: a9 00 lda #$00 838f: 7d 02 04 adc $0402,x 8392: 85 00 sta $00 8394: 60 rts 8395: a9 00 L8395_0 lda #$00 8397: 85 00 sta $00 8399: 85 02 sta $02 839b: a9 0e lda #$0e 839d: 85 01 sta $01 839f: 85 03 sta $03 83a1: bd 07 04 lda $0407,x 83a4: 18 clc 83a5: 7d ff 6a adc $6aff,x 83a8: 9d 07 04 sta $0407,x 83ab: 85 04 sta $04 83ad: a9 00 lda #$00 83af: bc ff 6a ldy $6aff,x 83b2: 10 02 bpl L83B6_0 83b4: a9 ff lda #$ff 83b6: 7d 03 04 L83B6_0 adc $0403,x 83b9: 9d 03 04 sta $0403,x 83bc: a8 tay 83bd: 10 11 bpl L83D0_0 83bf: a9 00 lda #$00 83c1: 38 sec 83c2: fd 07 04 sbc $0407,x 83c5: 85 04 sta $04 83c7: a9 00 lda #$00 83c9: fd 03 04 sbc $0403,x 83cc: a8 tay 83cd: 20 49 e4 jsr LE449 83d0: a5 04 L83D0_0 lda $04 83d2: c5 02 cmp $02 83d4: 98 tya 83d5: e5 03 sbc $03 83d7: 90 0a bcc L83E3_0 83d9: a5 00 lda $00 83db: 9d 07 04 sta $0407,x 83de: a5 01 lda $01 83e0: 9d 03 04 sta $0403,x 83e3: bd fd 6a L83E3_0 lda $6afd,x 83e6: 18 clc 83e7: 7d 07 04 adc $0407,x 83ea: 9d fd 6a sta $6afd,x 83ed: a9 00 lda #$00 83ef: 7d 03 04 adc $0403,x 83f2: 85 00 sta $00 83f4: 60 rts 83f5: a6 4b T83F5_1 ldx PageIndex 83f7: bd 00 04 lda EnYRoomPos,x 83fa: 38 sec 83fb: fd f5 6a sbc EnRadY,x 83fe: 29 07 and #$07 8400: 38 sec 8401: d0 03 bne L8406_0 8403: 20 70 e7 jsr LE770 8406: a0 00 L8406_0 ldy #$00 8408: 84 00 sty $00 840a: a6 4b ldx PageIndex 840c: 90 3c bcc L844A_0 840e: e6 00 inc $00 8410: bc 00 04 ldy EnYRoomPos,x 8413: d0 14 bne L8429_0 8415: a0 f0 ldy #$f0 8417: a5 49 lda ScrollDir 8419: c9 02 cmp #$02 841b: b0 0c bcs L8429_0 841d: a5 fc lda ScrollY 841f: f0 29 beq L844A_0 8421: 20 63 85 jsr L8563_0 8424: f0 24 beq L844A_0 8426: 20 5a 85 jsr L855A_0 8429: 88 L8429_0 dey 842a: 98 tya 842b: 9d 00 04 sta EnYRoomPos,x 842e: dd f5 6a cmp EnRadY,x 8431: d0 0e bne L8441_0 8433: a5 fc lda ScrollY 8435: f0 05 beq L843C_0 8437: 20 63 85 jsr L8563_0 843a: d0 05 bne L8441_0 843c: fe 00 04 L843C_0 inc EnYRoomPos,x 843f: 18 clc 8440: 60 rts 8441: bd 05 04 L8441_0 lda EnCounter-1,x 8444: 30 03 bmi L8449_0 8446: fe 01 6b inc EnDataIndex-1,x 8449: 38 L8449_0 sec 844a: 60 L844A_0 rts 844b: a6 4b T844B_1 ldx PageIndex 844d: bd 00 04 lda EnYRoomPos,x 8450: 18 clc 8451: 7d f5 6a adc EnRadY,x 8454: 29 07 and #$07 8456: 38 sec 8457: d0 03 bne L845C_0 8459: 20 7b e7 jsr LE77B 845c: a0 00 L845C_0 ldy #$00 845e: 84 00 sty $00 8460: a6 4b ldx PageIndex 8462: 90 42 bcc L84A6_0 8464: e6 00 inc $00 8466: bc 00 04 ldy EnYRoomPos,x 8469: c0 ef cpy #$ef 846b: d0 14 bne L8481_0 846d: a0 ff ldy #$ff 846f: a5 49 lda ScrollDir 8471: c9 02 cmp #$02 8473: b0 0c bcs L8481_0 8475: a5 fc lda ScrollY 8477: f0 2d beq L84A6_0 8479: 20 63 85 jsr L8563_0 847c: d0 28 bne L84A6_0 847e: 20 5a 85 jsr L855A_0 8481: c8 L8481_0 iny 8482: 98 tya 8483: 9d 00 04 sta EnYRoomPos,x 8486: 18 clc 8487: 7d f5 6a adc EnRadY,x 848a: c9 ef cmp #$ef 848c: d0 0f bne L849D_0 848e: a5 fc lda ScrollY 8490: f0 05 beq L8497_0 8492: 20 63 85 jsr L8563_0 8495: f0 06 beq L849D_0 8497: de 00 04 L8497_0 dec EnYRoomPos,x 849a: 18 clc 849b: 90 09 bcc L84A6_0 849d: bd 05 04 L849D_0 lda EnCounter-1,x 84a0: 30 03 bmi L84A5_0 84a2: de 01 6b dec EnDataIndex-1,x 84a5: 38 L84A5_0 sec 84a6: 60 L84A6_0 rts 84a7: a6 4b T84A7_1 ldx PageIndex 84a9: bd 01 04 lda EnXRoomPos,x 84ac: 38 sec 84ad: fd f6 6a sbc EnRadX,x 84b0: 29 07 and #$07 84b2: 38 sec 84b3: d0 03 bne L84B8_0 84b5: 20 f1 e8 jsr LE8F1 84b8: a0 00 L84B8_0 ldy #$00 84ba: 84 00 sty $00 84bc: a6 4b ldx PageIndex 84be: 90 3d bcc L84FD_0 84c0: e6 00 inc $00 84c2: bc 01 04 ldy EnXRoomPos,x 84c5: d0 13 bne L84DA_0 84c7: a5 49 lda ScrollDir 84c9: c9 02 cmp #$02 84cb: 90 0d bcc L84DA_0 84cd: a5 fd lda ScrollX 84cf: f0 03 beq L84D4_0 84d1: 20 63 85 jsr L8563_0 84d4: 18 L84D4_0 clc 84d5: f0 26 beq L84FD_0 84d7: 20 5a 85 jsr L855A_0 84da: de 01 04 L84DA_0 dec EnXRoomPos,x 84dd: bd 01 04 lda EnXRoomPos,x 84e0: dd f6 6a cmp EnRadX,x 84e3: d0 0f bne L84F4_0 84e5: a5 fd lda ScrollX 84e7: f0 05 beq L84EE_0 84e9: 20 63 85 jsr L8563_0 84ec: d0 06 bne L84F4_0 84ee: fe 01 04 L84EE_0 inc EnXRoomPos,x 84f1: 18 clc 84f2: 90 09 bcc L84FD_0 84f4: bd 05 04 L84F4_0 lda EnCounter-1,x 84f7: 10 03 bpl L84FC_0 84f9: fe 01 6b inc EnDataIndex-1,x 84fc: 38 L84FC_0 sec 84fd: 60 L84FD_0 rts 84fe: a6 4b T84FE_1 ldx PageIndex 8500: bd 01 04 lda EnXRoomPos,x 8503: 18 clc 8504: 7d f6 6a adc EnRadX,x 8507: 29 07 and #$07 8509: 38 sec 850a: d0 03 bne L850F_0 850c: 20 fc e8 jsr LE8FC 850f: a0 00 L850F_0 ldy #$00 8511: 84 00 sty $00 8513: a6 4b ldx PageIndex 8515: 90 42 bcc L8559_0 8517: e6 00 inc $00 8519: fe 01 04 inc EnXRoomPos,x 851c: d0 18 bne L8536_0 851e: a5 49 lda ScrollDir 8520: c9 02 cmp #$02 8522: 90 12 bcc L8536_0 8524: a5 fd lda ScrollX 8526: f0 05 beq L852D_0 8528: 20 63 85 jsr L8563_0 852b: f0 06 beq L8533_0 852d: de 01 04 L852D_0 dec EnXRoomPos,x 8530: 18 clc 8531: 90 26 bcc L8559_0 8533: 20 5a 85 L8533_0 jsr L855A_0 8536: bd 01 04 L8536_0 lda EnXRoomPos,x 8539: 18 clc 853a: 7d f6 6a adc EnRadX,x 853d: c9 ff cmp #$ff 853f: d0 0f bne L8550_0 8541: a5 fd lda ScrollX 8543: f0 05 beq L854A_0 8545: 20 63 85 jsr L8563_0 8548: f0 06 beq L8550_0 854a: de 01 04 L854A_0 dec EnXRoomPos,x 854d: 18 clc 854e: 90 09 bcc L8559_0 8550: bd 05 04 L8550_0 lda EnCounter-1,x 8553: 10 03 bpl L8558_0 8555: de 01 6b dec EnDataIndex-1,x 8558: 38 L8558_0 sec 8559: 60 L8559_0 rts 855a: bd fb 6a L855A_0 lda EnNameTable,x 855d: 49 01 eor #$01 855f: 9d fb 6a sta EnNameTable,x 8562: 60 rts 8563: bd fb 6a L8563_0 lda EnNameTable,x 8566: 45 ff eor PPUCNT0ZP 8568: 29 01 and #$01 856a: 60 rts 856b: 5d 05 04 L856B_0 eor EnCounter-1,x 856e: 9d 05 04 sta EnCounter-1,x 8571: 60 rts 8572: 03 04 05 ff+ .bulk $03,$04,$05,$ff,$07,$ff,$17,$08,$ff,$22,$ff,$04,$10,$ff,$17,$18 + $19,$1a,$ff,$03,$17,$ff,$1e,$1d,$1c,$1b,$ff,$28,$ff,$2a,$f7,$ff + $12,$ff,$0c,$0d,$0e,$ff,$30,$2b,$ff,$31,$31,$33,$f7,$ff,$33,$33 + $31,$ff,$35,$ff,$39,$38,$ff,$40,$41,$42,$ff,$46,$ff,$47,$ff,$48 + $ff,$07,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$f7,$f7,$07,$f7,$ff + $23,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$f7,$f7,$23,$f7,$ff,$07 + $f7,$f7,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$07,$f7,$ff,$23,$f7 + $f7,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$23,$f7,$ff,$4b,$ff,$4e + $4f,$ff,$3c,$4a,$49,$4a,$4d,$4a,$4d,$f7,$ff,$26,$ff,$25,$ff,$27 + $ff,$67,$67,$67,$68,$68,$69,$f7,$ff 860b: cb 87 .dd2 L86FD+206 860d: cb 87 .dd2 L86FD+206 860f: cb 87 .dd2 L86FD+206 8611: cb 87 .dd2 L86FD+206 8613: dd 87 .dd2 L86FD+224 8615: f0 87 .dd2 L86FD+243 8617: 02 88 .dd2 L86FD+$105 8619: 02 88 .dd2 L86FD+$105 861b: 18 88 .dd2 L86FD+$11b 861d: 2c 88 .dd2 L86FD+$12f 861f: 2c 88 .dd2 L86FD+$12f 8621: 2c 88 .dd2 L86FD+$12f 8623: 2c 88 .dd2 L86FD+$12f 8625: 3e 88 .dd2 L86FD+$141 8627: 51 88 .dd2 L86FD+$154 8629: 63 88 .dd2 L86FD+$166 862b: 63 88 .dd2 L86FD+$166 862d: 74 88 .dd2 L86FD+$177 862f: 74 88 .dd2 L86FD+$177 8631: 85 88 .dd2 L86FD+$188 8633: 85 88 .dd2 L86FD+$188 8635: 85 88 .dd2 L86FD+$188 8637: 85 88 .dd2 L86FD+$188 8639: 85 88 .dd2 L86FD+$188 863b: 8f 88 .dd2 L86FD+$192 863d: 99 88 .dd2 L86FD+$19c 863f: a3 88 .dd2 L86FD+$1a6 8641: ad 88 .dd2 L86FD+$1b0 8643: b8 88 .dd2 L86FD+$1bb 8645: c3 88 .dd2 L86FD+$1c6 8647: ce 88 .dd2 L86FD+$1d1 8649: d9 88 .dd2 L86FD+$1dc 864b: d9 88 .dd2 L86FD+$1dc 864d: d9 88 .dd2 L86FD+$1dc 864f: d9 88 .dd2 L86FD+$1dc 8651: ee 88 .dd2 L86FD+$1f1 8653: f8 88 .dd2 L86FD+$1fb 8655: f8 88 .dd2 L86FD+$1fb 8657: fe 88 .dd2 L86FD+$201 8659: 04 89 .dd2 L86FD+$207 865b: 0a 89 .dd2 L86FD+$20d 865d: 0f 89 .dd2 L86FD+$212 865f: 0f 89 .dd2 L86FD+$212 8661: 14 89 .dd2 L86FD+$217 8663: 28 89 .dd2 L86FD+$22b 8665: 28 89 .dd2 L86FD+$22b 8667: 28 89 .dd2 L86FD+$22b 8669: 28 89 .dd2 L86FD+$22b 866b: 28 89 .dd2 L86FD+$22b 866d: 3c 89 .dd2 L86FD+$23f 866f: 48 89 .dd2 L86FD+$24b 8671: 48 89 .dd2 L86FD+$24b 8673: 54 89 .dd2 L86FD+$257 8675: 54 89 .dd2 L86FD+$257 8677: 61 89 .dd2 L86FD+$264 8679: 61 89 .dd2 L86FD+$264 867b: 61 89 .dd2 L86FD+$264 867d: 74 89 .dd2 L86FD+$277 867f: 87 89 .dd2 L86FD+$28a 8681: 87 89 .dd2 L86FD+$28a 8683: 87 89 .dd2 L86FD+$28a 8685: 95 89 .dd2 L86FD+$298 8687: 95 89 .dd2 L86FD+$298 8689: 95 89 .dd2 L86FD+$298 868b: 95 89 .dd2 L86FD+$298 868d: a9 89 .dd2 L86FD+$2ac 868f: be 89 .dd2 L86FD+$2c1 8691: d2 89 .dd2 L86FD+$2d5 8693: d2 89 .dd2 L86FD+$2d5 8695: d2 89 .dd2 L86FD+$2d5 8697: d2 89 .dd2 L86FD+$2d5 8699: e6 89 .dd2 L86FD+$2e9 869b: fb 89 .dd2 L86FD+$2fe 869d: 0f 8a .dd2 L86FD+$312 869f: 1d 8a .dd2 L86FD+$320 86a1: 21 8a .dd2 L86FD+$324 86a3: 26 8a .dd2 L86FD+$329 86a5: 26 8a .dd2 L86FD+$329 86a7: 3c 8a .dd2 L86FD+$33f 86a9: 41 8a .dd2 L86FD+$344 86ab: 46 8a .dd2 L86FD+$349 86ad: 4e 8a .dd2 L86FD+$351 86af: 56 8a .dd2 L86FD+$359 86b1: 5e 8a .dd2 L86FD+$361 86b3: 66 8a .dd2 L86FD+$369 86b5: 6e 8a .dd2 L86FD+$371 86b7: 76 8a .dd2 L86FD+$379 86b9: 7e 8a .dd2 L86FD+$381 86bb: 86 8a .dd2 L86FD+$389 86bd: 8e 8a .dd2 L86FD+$391 86bf: 9c 8a .dd2 L86FD+$39f 86c1: a1 8a .dd2 L86FD+$3a4 86c3: a6 8a .dd2 L86FD+$3a9 86c5: ae 8a .dd2 L86FD+$3b1 86c7: ba 8a .dd2 L86FD+$3bd 86c9: c4 8a .dd2 L86FD+$3c7 86cb: c4 8a .dd2 L86FD+$3c7 86cd: c4 8a .dd2 L86FD+$3c7 86cf: c4 8a .dd2 L86FD+$3c7 86d1: c4 8a .dd2 L86FD+$3c7 86d3: c4 8a .dd2 L86FD+$3c7 86d5: c4 8a .dd2 L86FD+$3c7 86d7: d8 8a .dd2 L86FD+$3db 86d9: e9 8a .dd2 L86FD+$3ec 86db: f3 8a .dd2 L86FD+$3f6 86dd: 03 8b .dd2 L86FD+$406 86df: 01 87 .dd2 L86FD+4 86e1: 1f 87 .dd2 L86FD+34 86e3: 2b 87 .dd2 L86FD+46 86e5: 37 87 .dd2 L86FD+58 86e7: 47 87 .dd2 L86FD+74 86e9: 51 87 .dd2 L86FD+84 86eb: fd 86 .dd2 L86FD 86ed: 5d 87 .dd2 L86FD+96 86ef: 75 87 .dd2 L86FD+120 86f1: 8d 87 .dd2 L86FD+144 86f3: 91 87 .dd2 L86FD+148 86f5: 99 87 .dd2 L86FD+156 86f7: a5 87 .dd2 L86FD+168 86f9: 49 87 .dd2 L86FD+76 86fb: b1 87 .dd2 L86FD+180 86fd: e8 fc ea fc+ L86FD .bulk $e8,$fc,$ea,$fc,$f0,$f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$00,$f8 + $00,$00,$00,$08,$08,$f8,$08,$00,$08,$08,$f8,$f4,$f8,$f6,$ec,$f4 + $ee,$f4,$f3,$f8,$f3,$00,$fb,$f8,$fb,$00,$03,$f8,$03,$00,$f8,$f6 + $f8,$fe,$f8,$06,$00,$f6,$00,$fe,$00,$06,$fc,$f0,$fc,$f8,$fc,$00 + $fc,$08,$fc,$10,$fc,$18,$fc,$20,$fc,$28,$fc,$fc,$f8,$f8,$f8,$00 + $00,$f8,$00,$00,$e8,$00,$f0,$00,$f8,$00,$00,$00,$08,$00,$10,$00 + $80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8,$f4,$00 + $fc,$f8,$fc,$00,$04,$f8,$04,$00,$f0,$00,$f0,$08,$f8,$08,$f0,$f0 + $f0,$f8,$f8,$f0,$00,$f0,$08,$f0,$08,$f8,$00,$08,$08,$00,$08,$08 + $f8,$fc,$00,$fc,$fc,$f8,$fc,$00,$fc,$10,$fc,$18,$fc,$f0,$f4,$f8 + $f4,$00,$fc,$08,$04,$f8,$04,$00,$fc,$e8,$ec,$f0,$ec,$08,$fc,$10 + $0c,$f0,$0c,$08,$00,$f8,$00,$00,$08,$f8,$08,$00,$e8,$f0,$e8,$f8 + $e8,$00,$f0,$f0,$f0,$f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$40,$0f + $04,$00,$01,$fd,$20,$fe,$41,$40,$fd,$60,$20,$21,$fe,$fe,$31,$ff + $40,$0f,$04,$02,$03,$fd,$20,$fe,$43,$42,$fd,$60,$22,$23,$fe,$32 + $33,$34,$ff,$40,$0f,$04,$05,$06,$fd,$20,$fe,$45,$44,$fd,$60,$25 + $26,$27,$35,$36,$ff,$00,$0f,$04,$09,$fd,$60,$09,$fd,$20,$fe,$19 + $1a,$fd,$20,$29,$2a,$fe,$39,$fd,$60,$39,$ff,$40,$0f,$04,$fd,$20 + $0e,$0d,$fe,$1e,$1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$17,$ff,$40 + $0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$20,$21,$fe,$fe,$31 + $ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$22,$23,$fe + $32,$33,$34,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60 + $25,$26,$27,$35,$36,$ff,$40,$0f,$04,$00,$01,$fd,$20,$fe,$41,$40 + $fd,$60,$22,$07,$08,$32,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a + $49,$fd,$60,$22,$07,$08,$32,$ff,$41,$0f,$04,$52,$53,$62,$63,$72 + $73,$ff,$42,$0f,$04,$54,$55,$56,$64,$65,$66,$ff,$81,$0f,$04,$52 + $53,$62,$63,$72,$73,$ff,$82,$0f,$04,$54,$55,$56,$64,$65,$66,$ff + $01,$08,$04,$fc,$03,$00,$50,$51,$60,$61,$ff,$81,$08,$04,$fc,$fd + $00,$50,$51,$60,$61,$ff,$c1,$08,$04,$fc,$fd,$00,$50,$51,$60,$61 + $ff,$41,$08,$04,$fc,$03,$00,$50,$51,$60,$61,$ff,$40,$0f,$04,$fd + $20,$0e,$0d,$fe,$1e,$1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$fe,$17 + $ff,$03,$04,$10,$28,$38,$38,$fd,$60,$28,$ff,$4a,$04,$08,$5e,$5f + $ff,$0a,$04,$08,$5e,$5f,$ff,$09,$08,$04,$14,$24,$ff,$04,$02,$02 + $30,$ff,$04,$00,$00,$04,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79 + $fe,$78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$46,$0f,$04,$fe,$69 + $fd,$20,$7a,$79,$fe,$78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$35 + $18,$08,$0f,$1f,$2f,$fd,$a3,$2f,$1f,$0f,$ff,$35,$18,$04,$6a,$6b + $6c,$fd,$a3,$6c,$6b,$6a,$ff,$07,$00,$00,$fc,$fc,$00,$0b,$0c,$1b + $1c,$2b,$2c,$ff,$46,$0f,$04,$69,$fd,$20,$fe,$7a,$79,$fe,$78,$77 + $fd,$60,$22,$07,$08,$32,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79 + $fe,$78,$77,$fd,$60,$22,$07,$08,$32,$ff,$0d,$0c,$0c,$74,$fd,$60 + $74,$fd,$a0,$74,$fd,$e0,$74,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a + $79,$fe,$78,$77,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$69 + $fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34 + $ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25 + $26,$27,$35,$36,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79,$fe,$78 + $77,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$fe,$69,$fd,$20 + $7a,$79,$fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34,$ff,$46,$0f + $04,$fe,$69,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25,$26,$27,$35 + $36,$ff,$0d,$0c,$0c,$75,$fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff + $00,$00,$00,$ff,$04,$04,$04,$4c,$ff,$08,$10,$10,$3d,$3e,$4e,$fd + $60,$3e,$3d,$4e,$fd,$e0,$4e,$3e,$3d,$fd,$a0,$4e,$3d,$3e,$ff,$04 + $04,$04,$70,$ff,$04,$04,$04,$71,$ff,$0d,$03,$03,$86,$87,$96,$97 + $ff,$0d,$03,$03,$7b,$7c,$8b,$8c,$ff,$0d,$03,$03,$88,$67,$98,$99 + $ff,$0d,$03,$03,$80,$81,$90,$91,$ff,$0d,$03,$03,$7d,$7e,$8d,$8e + $ff,$0d,$03,$03,$82,$83,$92,$93,$ff,$0d,$03,$03,$88,$89,$98,$99 + $ff,$0d,$03,$03,$88,$68,$98,$99,$ff,$0d,$03,$03,$84,$85,$94,$95 + $ff,$0d,$03,$03,$3f,$fd,$40,$3f,$fd,$00,$4f,$fd,$40,$4f,$ff,$34 + $04,$04,$f2,$ff,$04,$00,$00,$5a,$ff,$13,$00,$00,$b0,$b1,$b2,$b3 + $ff,$13,$00,$00,$b4,$b5,$b6,$b7,$b8,$b6,$b9,$b3,$ff,$13,$00,$00 + $b3,$ba,$ba,$fe,$80,$80,$ff,$1e,$00,$08,$fa,$fb,$fa,$fb,$fc,$00 + $04,$c5,$c6,$c7,$d5,$d6,$d7,$e5,$e6,$e7,$ff,$1e,$00,$08,$fa,$fb + $fa,$fb,$fe,$c8,$c9,$eb,$d8,$d9,$ea,$e8,$e9,$ff,$0a,$04,$08,$fd + $00,$57,$fd,$40,$57,$ff,$0b,$04,$0c,$fd,$00,$57,$18,$fd,$40,$18 + $57,$fd,$c0,$18,$18,$ff,$0c,$04,$10,$fd,$00,$57,$18,$fd,$40,$18 + $57,$fd,$c0,$18,$18,$ff 8b13: a5 56 lda DoorStatus 8b15: d0 55 bne L8B6C_1 8b17: a4 58 ldy SamusDoorData 8b19: f0 51 beq L8B6C_1 8b1b: 85 95 sta CurrentMissilePickups 8b1d: 85 96 sta CurrentEnergyPickups 8b1f: a5 2e lda RandomNumber1 8b21: 29 0f and #$0f 8b23: 85 93 sta MaxMissilePickup 8b25: 0a asl A 8b26: 09 40 ora #$40 8b28: 85 94 sta MaxEnergyPickup 8b2a: a5 ff lda PPUCNT0ZP 8b2c: 49 01 eor #$01 8b2e: 29 01 and #$01 8b30: a8 tay 8b31: 4a lsr A 8b32: 99 6c 00 sta DoorOnNameTable3,y 8b35: a5 49 lda ScrollDir 8b37: 29 02 and #$02 8b39: d0 10 bne L8B4B_0 8b3b: a2 04 ldx #$04 8b3d: a5 fc lda ScrollY 8b3f: f0 2c beq L8B6D_1 8b41: a5 ff lda PPUCNT0ZP 8b43: 4d 0c 03 eor ObjectHi 8b46: 4a lsr A 8b47: 90 0a bcc L8B53_0 8b49: b0 07 bcs L8B52_0 8b4b: a2 02 L8B4B_0 ldx #$02 8b4d: ad 0e 03 lda ObjectX 8b50: 10 01 bpl L8B53_0 8b52: ca L8B52_0 dex 8b53: 8a L8B53_0 txa 8b54: 85 57 sta DoorScrollStatus 8b56: 20 74 8b jsr L8B74_0 8b59: a9 12 lda #$12 8b5b: 85 59 sta DoorDelay 8b5d: a5 58 lda SamusDoorData 8b5f: 20 c5 c2 jsr LC2C5 8b62: 0d 00 03 ora ObjAction 8b65: 85 58 sta SamusDoorData 8b67: a9 05 lda #$05 8b69: 8d 00 03 sta ObjAction 8b6c: 60 L8B6C_1 rts 8b6d: 20 53 8b L8B6D_1 jsr L8B53_0 8b70: 20 1b e2 jsr LE21B 8b73: 8a txa 8b74: 09 80 L8B74_0 ora #$80 8b76: 85 56 sta DoorStatus 8b78: 60 rts 8b79: a2 b0 ldx #$b0 8b7b: 20 87 8b L8B7B_0 jsr L8B87_0 8b7e: a5 4b lda PageIndex 8b80: 38 sec 8b81: e9 10 sbc #$10 8b83: aa tax 8b84: 30 f5 bmi L8B7B_0 8b86: 60 rts 8b87: 86 4b L8B87_0 stx PageIndex 8b89: bd 00 03 lda ObjAction,x 8b8c: 20 7c c2 jsr ChooseRoutine 8b8f: 5c c4 .dd2 TC45C 8b91: 9d 8b .dd2 T8B9D_0 8b93: d5 8b .dd2 T8BD5_0 8b95: 01 8c .dd2 T8C01_0 8b97: 84 8c .dd2 T8C84_0 8b99: c6 8c .dd2 T8CC6_0 8b9b: f0 8c .dd2 T8CF0_0 8b9d: fe 00 03 T8B9D_0 inc ObjAction,x 8ba0: a9 30 lda #$30 8ba2: 20 fa d2 jsr LD2FA 8ba5: 20 fb 8c jsr L8CFB_0 8ba8: bc 07 03 ldy SamusOnElevator,x 8bab: b9 d1 8b lda L8BD1_0,y 8bae: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bb1: bd 07 03 L8BB1_0 lda SamusOnElevator,x 8bb4: c9 03 cmp #$03 8bb6: d0 02 bne L8BBA_0 8bb8: a9 01 lda #$01 8bba: 09 a0 L8BBA_0 ora #$a0 8bbc: 85 6b sta ObjectCntrl 8bbe: a9 00 lda #$00 8bc0: 9d 0a 03 sta SamusHit,x 8bc3: 8a txa 8bc4: 29 10 and #$10 8bc6: 49 10 eor #$10 8bc8: 05 6b ora ObjectCntrl 8bca: 85 6b sta ObjectCntrl 8bcc: a9 06 lda #$06 8bce: 4c 47 de jmp LDE47 8bd1: 05 L8BD1_0 .dd1 $05 8bd2: 01 .dd1 $01 8bd3: 0a .dd1 $0a 8bd4: 01 .dd1 $01 8bd5: bd 0a 03 T8BD5_0 lda SamusHit,x 8bd8: 29 04 and #$04 8bda: f0 d5 beq L8BB1_0 8bdc: de 0f 03 dec SamusJumpDsplcmnt,x 8bdf: d0 d0 bne L8BB1_0 8be1: a9 03 lda #$03 8be3: dd 07 03 cmp SamusOnElevator,x 8be6: d0 06 bne L8BEE_0 8be8: ac 0b 01 ldy EndTimerHi 8beb: c8 iny 8bec: d0 c3 bne L8BB1_0 8bee: 9d 00 03 L8BEE_0 sta ObjAction,x 8bf1: a9 50 lda #$50 8bf3: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bf6: a9 2c lda #$2c 8bf8: 9d 05 03 sta AnimResetIndex,x 8bfb: 38 sec 8bfc: e9 03 sbc #$03 8bfe: 4c 7e 8c jmp L8C7E_1 8c01: a5 56 T8C01_0 lda DoorStatus 8c03: f0 18 beq L8C1D_0 8c05: ad 0c 03 lda ObjectHi 8c08: 5d 0c 03 eor ObjectHi,x 8c0b: 4a lsr A 8c0c: b0 0f bcs L8C1D_0 8c0e: ad 0e 03 lda ObjectX 8c11: 5d 0e 03 eor ObjectX,x 8c14: 30 07 bmi L8C1D_0 8c16: a9 04 lda #$04 8c18: 9d 00 03 sta ObjAction,x 8c1b: d0 56 bne L8C73_0 8c1d: bd 06 03 L8C1D_0 lda AnimIndex,x 8c20: dd 05 03 cmp AnimResetIndex,x 8c23: 90 4e bcc L8C73_0 8c25: bd 0f 03 lda SamusJumpDsplcmnt,x 8c28: c9 50 cmp #$50 8c2a: d0 2b bne L8C57_0 8c2c: 20 f7 8c jsr L8CF7_1 8c2f: bd 07 03 lda SamusOnElevator,x 8c32: c9 01 cmp #$01 8c34: f0 21 beq L8C57_0 8c36: c9 03 cmp #$03 8c38: f0 1d beq L8C57_0 8c3a: a9 0a lda #$0a 8c3c: 85 09 sta $09 8c3e: bd 0c 03 lda ObjectHi,x 8c41: 85 08 sta $08 8c43: a4 50 ldy MapPosX 8c45: 8a txa 8c46: 20 c5 c2 jsr LC2C5 8c49: 90 01 bcc L8C4C_0 8c4b: 88 dey 8c4c: 98 L8C4C_0 tya 8c4d: 20 1e dc jsr LDC1E 8c50: a9 00 lda #$00 8c52: 9d 00 03 sta ObjAction,x 8c55: f0 1c beq L8C73_0 8c57: a5 2d L8C57_0 lda FrameCount 8c59: 4a lsr A 8c5a: b0 17 bcs L8C73_0 8c5c: de 0f 03 dec SamusJumpDsplcmnt,x 8c5f: d0 12 bne L8C73_0 8c61: a9 01 L8C61_0 lda #$01 8c63: 9d 0f 03 sta SamusJumpDsplcmnt,x 8c66: 20 fb 8c jsr L8CFB_0 8c69: a9 02 lda #$02 8c6b: 9d 00 03 sta ObjAction,x 8c6e: 20 76 8c jsr L8C76_0 8c71: a6 4b L8C71_0 ldx PageIndex 8c73: 4c b1 8b L8C73_0 jmp L8BB1_0 8c76: a9 30 L8C76_0 lda #$30 8c78: 9d 05 03 sta AnimResetIndex,x 8c7b: 38 sec 8c7c: e9 02 sbc #$02 8c7e: 20 fd d2 L8C7E_1 jsr LD2FD 8c81: 4c da cb jmp LCBDA 8c84: a5 56 T8C84_0 lda DoorStatus 8c86: c9 05 cmp #$05 8c88: b0 39 bcs L8CC3_0 8c8a: 20 fb 8c jsr L8CFB_0 8c8d: 20 76 8c jsr L8C76_0 8c90: a6 4b ldx PageIndex 8c92: a5 91 lda $91 8c94: f0 11 beq L8CA7_0 8c96: 8a txa 8c97: 20 bf c2 jsr LC2BF 8c9a: 45 91 eor $91 8c9c: 4a lsr A 8c9d: 90 08 bcc L8CA7_0 8c9f: a5 76 lda PalToggle 8ca1: 49 07 eor #$07 8ca3: 85 76 sta PalToggle 8ca5: 85 1c sta PalDataPending 8ca7: fe 00 03 L8CA7_0 inc ObjAction,x 8caa: a9 00 lda #$00 8cac: 85 91 sta $91 8cae: bd 07 03 lda SamusOnElevator,x 8cb1: c9 03 cmp #$03 8cb3: d0 0e bne L8CC3_0 8cb5: 8a txa 8cb6: 20 c5 c2 jsr LC2C5 8cb9: b0 05 bcs L8CC0_0 8cbb: 20 07 cc jsr LCC07 8cbe: d0 03 bne L8CC3_0 8cc0: 20 03 cc L8CC0_0 jsr LCC03 8cc3: 4c 71 8c L8CC3_0 jmp L8C71_0 8cc6: a5 56 T8CC6_0 lda DoorStatus 8cc8: c9 05 cmp #$05 8cca: d0 21 bne L8CED_0 8ccc: 8a txa 8ccd: 49 10 eor #$10 8ccf: aa tax 8cd0: a9 06 lda #$06 8cd2: 9d 00 03 sta ObjAction,x 8cd5: a9 2c lda #$2c 8cd7: 9d 05 03 sta AnimResetIndex,x 8cda: 38 sec 8cdb: e9 03 sbc #$03 8cdd: 20 fd d2 jsr LD2FD 8ce0: 20 da cb jsr LCBDA 8ce3: 20 73 cb jsr LCB73 8ce6: a6 4b ldx PageIndex 8ce8: a9 02 lda #$02 8cea: 9d 00 03 sta ObjAction,x 8ced: 4c b1 8b L8CED_0 jmp L8BB1_0 8cf0: a5 56 T8CF0_0 lda DoorStatus 8cf2: d0 f9 bne L8CED_0 8cf4: 4c 61 8c jmp L8C61_0 8cf7: a9 ff L8CF7_1 lda #$ff 8cf9: d0 02 bne L8CFD_0 8cfb: a9 4e L8CFB_0 lda #$4e 8cfd: 48 L8CFD_0 pha 8cfe: a9 50 lda #$50 8d00: 85 02 sta $02 8d02: 8a txa 8d03: 20 bf c2 jsr LC2BF 8d06: 29 01 and #$01 8d08: a8 tay 8d09: b9 3a 8d lda L8D3A_0,y 8d0c: 85 03 sta $03 8d0e: bd 0c 03 lda ObjectHi,x 8d11: 85 0b sta $0b 8d13: 20 6a e9 jsr LE96A 8d16: a0 00 ldy #$00 8d18: 68 pla 8d19: 91 04 L8D19_0 sta ($04),y 8d1b: aa tax 8d1c: 98 tya 8d1d: 18 clc 8d1e: 69 20 adc #$20 8d20: a8 tay 8d21: 8a txa 8d22: c0 c0 cpy #$c0 8d24: d0 f3 bne L8D19_0 8d26: a6 4b ldx PageIndex 8d28: 8a txa 8d29: 20 c0 c2 jsr LC2C0 8d2c: 29 06 and #$06 8d2e: a8 tay 8d2f: a5 04 lda $04 8d31: 99 5c 00 sta $005c,y 8d34: a5 05 lda $05 8d36: 99 5d 00 sta $005d,y 8d39: 60 rts 8d3a: e8 10 60 ad+ L8D3A_0 .bulk $e8,$10,$60,$ad,$91,$69,$8d,$78,$68,$ad,$92,$69,$8d,$79,$68,$a9 + $00,$85,$00,$85,$02,$ad,$97,$69,$29,$80,$f0,$06,$a5,$00,$09,$80 + $85,$00,$ad,$97,$69,$29 8d60: 38 7c a6 fa+ .bulk $38,$7c,$a6,$fa,$be,$fa,$6c,$38,$30,$6c,$06,$fa,$ba,$d2,$0c,$38 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $03,$ff,$1f,$3f,$3f,$7f,$7f,$ff,$00,$00,$04,$08,$00,$00,$00,$00 + $c0,$f0,$fe,$fe,$fe,$ff,$bf,$2c,$00,$00,$0e,$1e,$1e,$1c,$38,$20 + $c0,$f0,$f8,$fc,$fe,$ff,$9f,$0c,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$08,$10,$60,$80,$80,$00,$00,$04,$04,$06,$0e,$9c,$bc,$7c,$7c + $00,$0c,$02,$03,$1c,$29,$41,$08,$00,$00,$00,$00,$02,$05,$05,$04 + $00,$08,$10,$60,$80,$80,$00,$00,$04,$04,$06,$0e,$9c,$b8,$70,$70 + $01,$2b,$0d,$27,$5b,$07,$5b,$2f,$01,$2b,$0d,$27,$5b,$07,$5b,$2f + $00,$46,$69,$b8,$e4,$e8,$8c,$66,$00,$40,$60,$b8,$e4,$e0,$80,$06 + $00,$00,$00,$02,$51,$0b,$2d,$1f,$00,$00,$00,$02,$51,$0b,$2d,$1f + $20,$48,$62,$ac,$f9,$ef,$fa,$ff,$20,$48,$62,$ac,$f9,$ef,$fa,$ff + $1c,$78,$fe,$ff,$e5,$cc,$c8,$40,$00,$00,$40,$40,$00,$80,$c8,$40 + $3c,$7e,$ff,$3c,$db,$e7,$5a,$3c,$00,$20,$00,$00,$c3,$e7,$42,$00 + $00,$00,$00,$08,$5a,$a3,$db,$5a,$00,$00,$00,$10,$24,$6e,$68,$04 + $00,$00,$00,$00,$10,$28,$3e,$18,$00,$00,$00,$00,$08,$1c,$06,$08 + $03,$01,$20,$0c,$1e,$7f,$3f,$0e,$00,$00,$20,$00,$00,$00,$08,$00 + $08,$90,$f8,$e0,$60,$60,$60,$30,$00,$02,$02,$06,$0e,$0a,$03,$00 + $28,$b8,$fc,$de,$5e,$4e,$60,$30,$20,$3a,$1e,$1e,$1e,$0e,$03,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$fc,$f8,$f8,$f8,$b8,$7c,$dc,$3c + $18,$30,$24,$20,$22,$01,$00,$06,$06,$06,$03,$01,$01,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$e0,$f0,$f8,$f8,$b8,$7c,$dc,$3c + $07,$0a,$01,$03,$04,$01,$00,$00,$07,$0a,$01,$03,$04,$01,$00,$00 + $66,$8c,$e8,$e6,$fa,$55,$64,$1a,$06,$80,$e0,$e6,$fa,$45,$40,$02 + $7e,$7d,$7d,$b0,$b6,$6b,$99,$24,$7e,$7c,$3c,$10,$30,$29,$99,$24 + $7a,$be,$bc,$08,$6c,$d2,$82,$04,$7a,$3e,$3c,$08,$08,$90,$80,$00 + $3c,$f0,$98,$68,$90,$b0,$e0,$40,$00,$00,$00,$60,$f0,$f0,$e0,$40 + $3c,$f0,$98,$68,$00,$00,$00,$00,$00,$00,$00,$60,$00,$00,$00,$00 + $00,$00,$02,$0d,$06,$2a,$1b,$0f,$00,$00,$00,$00,$00,$03,$07,$1f + $00,$00,$80,$20,$c0,$b0,$e8,$a0,$00,$00,$00,$00,$00,$c0,$c0,$90 + $00,$00,$28,$5b,$fb,$bf,$7f,$2e,$00,$00,$00,$14,$2b,$3d,$1a,$04 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $09,$a7,$5f,$bf,$33,$ed,$76,$c9,$00,$00,$00,$00,$00,$6c,$46,$c0 + $00,$00,$0a,$1f,$33,$6d,$46,$c1,$00,$00,$00,$00,$00,$6c,$46,$c0 + $03,$5f,$3f,$b3,$fd,$7e,$df,$37,$00,$50,$3a,$99,$74,$3e,$dc,$30 + $10,$10,$00,$00,$40,$00,$00,$40,$0b,$0d,$2f,$36,$3c,$18,$78,$30 + $40,$00,$00,$00,$00,$00,$00,$00,$34,$f8,$b8,$d0,$00,$00,$00,$00 + $00,$01,$71,$13,$ff,$3c,$f3,$2f,$03,$0e,$0c,$00,$00,$00,$00,$00 + $08,$07,$06,$0d,$1c,$1c,$0e,$06,$00,$00,$00,$00,$04,$00,$02,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $9e,$7f,$3f,$07,$4e,$3d,$03,$0a,$f0,$68,$30,$3c,$5a,$3f,$07,$0b + $12,$04,$2f,$2f,$3f,$3f,$5f,$2f,$13,$0f,$3d,$3e,$34,$78,$70,$68 + $00,$80,$60,$f0,$e8,$f8,$f0,$fc,$c0,$70,$98,$0c,$14,$06,$0e,$02 + $37,$3f,$4a,$b6,$7f,$25,$58,$00,$0f,$0f,$1e,$1d,$00,$00,$00,$00 + $c8,$f0,$c0,$d0,$40,$00,$00,$00,$e0,$c0,$a0,$00,$80,$00,$00,$00 + $00,$00,$14,$1a,$5f,$bd,$fe,$74,$00,$00,$00,$28,$54,$bc,$58,$20 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $03,$0f,$17,$3b,$9d,$6a,$1f,$07,$00,$00,$12,$09,$54,$26,$0c,$00 + $e0,$f0,$e4,$ce,$d1,$c0,$a6,$30,$00,$00,$08,$10,$00,$0e,$1f,$41 + $00,$00,$40,$00,$00,$10,$00,$00,$10,$71,$32,$3a,$18,$0c,$0f,$03 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$c0,$20,$20,$20,$60,$c0,$80 + $08,$27,$7c,$f3,$c7,$87,$05,$02,$04,$00,$00,$13,$42,$05,$05,$02 + $08,$27,$7c,$f1,$c3,$81,$00,$00,$04,$00,$00,$11,$43,$01,$00,$00 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00,$01,$03,$06,$0d + $00,$00,$00,$00,$00,$00,$98,$64,$00,$00,$00,$7e,$c3,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$c0,$60,$30 + $00,$00,$00,$00,$00,$02,$06,$0c,$00,$00,$03,$04,$08,$12,$16,$2c + $00,$00,$00,$00,$80,$78,$04,$04,$00,$ff,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$10,$20,$00,$00,$c0,$20,$10,$08,$04,$04 + $00,$15,$0f,$05,$3f,$2f,$7e,$3d,$00,$00,$00,$00,$01,$07,$06,$0d + $03,$07,$17,$13,$0f,$1f,$1d,$1f,$01,$04,$03,$03,$07,$06,$05,$1d + $e0,$a0,$b0,$18,$0f,$00,$00,$00,$a0,$00,$80,$10,$02,$00,$00,$00 + $00,$00,$00,$00,$80,$00,$00,$00,$7f,$7f,$7f,$7f,$ff,$3f,$3f,$3f + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $f0,$20,$40,$80,$80,$c0,$70,$10,$a0,$00,$00,$00,$87,$1f,$2e,$ef + $00,$00,$10,$30,$60,$60,$f0,$60,$00,$00,$10,$30,$e0,$68,$f4,$66 + $00,$00,$0c,$06,$03,$00,$10,$30,$2c,$27,$3d,$56,$5b,$cc,$d7,$f0 + $00,$00,$00,$03,$1e,$0c,$08,$00,$00,$00,$00,$03,$9e,$ec,$f8,$f0 + $00,$00,$00,$07,$0f,$1f,$1e,$1c,$00,$00,$00,$00,$03,$04,$08,$08 + $03,$02,$04,$0a,$09,$13,$03,$01,$1b,$1a,$30,$30,$60,$60,$60,$78 + $18,$3c,$3c,$3c,$db,$e7,$e7,$e7,$00,$00,$00,$18,$00,$00,$81,$00 + $40,$80,$80,$40,$88,$d0,$c0,$80,$10,$18,$0c,$0c,$06,$06,$06,$1e + $08,$00,$00,$00,$0d,$33,$03,$01,$28,$40,$40,$40,$80,$81,$81,$f0 + $18,$3c,$3c,$3c,$db,$e7,$e7,$e7,$00,$18,$3c,$18,$81,$c3,$e7,$c3 + $20,$20,$40,$4c,$90,$c0,$c0,$80,$02,$02,$02,$01,$01,$81,$81,$0f + $3f,$5e,$5b,$3b,$37,$0b,$01,$00,$0f,$0e,$03,$09,$01,$00,$00,$00 + $1f,$0b,$0f,$1c,$06,$0f,$07,$02,$07,$03,$07,$00,$02,$01,$00,$00 + $00,$00,$e0,$70,$20,$00,$00,$00,$03,$07,$e7,$7f,$2f,$1f,$1f,$1f + $00,$00,$00,$00,$00,$00,$00,$00,$f1,$fe,$ff,$ff,$ff,$ff,$ff,$ff + $80,$c0,$60,$70,$78,$38,$30,$00,$80,$c0,$60,$76,$7b,$3b,$77,$47 + $18,$08,$08,$1c,$08,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$8f,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$f0,$fe,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$f8,$f8,$f4,$fc,$fe,$fe,$fa,$fe + $00,$00,$00,$01,$07,$0e,$0c,$18,$00,$00,$00,$00,$03,$04,$08,$08 + $00,$30,$38,$38,$30,$10,$08,$00,$4e,$03,$00,$20,$20,$10,$08,$00 + $c3,$00,$00,$00,$81,$c3,$c3,$66,$00,$c3,$ff,$3c,$99,$c3,$c3,$66 + $00,$0c,$1c,$1c,$0c,$08,$10,$00,$72,$c0,$00,$04,$04,$08,$10,$00 + $00,$30,$38,$38,$31,$11,$09,$00,$8c,$87,$41,$20,$21,$11,$09,$00 + $c3,$00,$00,$00,$00,$81,$00,$81,$00,$00,$c3,$7e,$3c,$99,$00,$81 + $00,$0c,$1c,$1c,$8c,$88,$90,$00,$31,$e1,$82,$04,$84,$88,$90,$00 + $4a,$be,$7a,$34,$58,$3c,$3c,$14,$08,$1c,$38,$34,$18,$18,$18,$14 + $18,$18,$18,$10,$18,$18,$10,$10,$18,$18,$18,$10,$18,$18,$10,$10 + $00,$00,$03,$07,$01,$00,$00,$80,$1f,$1f,$1f,$1f,$1f,$1f,$0f,$8f + $00,$c0,$e0,$e0,$c2,$03,$01,$41,$ff,$df,$ef,$ef,$cd,$1c,$fe,$fe + $00,$10,$10,$18,$10,$10,$10,$00,$00,$08,$08,$18,$08,$08,$08,$00 + $00,$00,$00,$10,$1c,$0c,$07,$02,$00,$00,$00,$08,$0c,$0a,$01,$02 + $00,$00,$00,$3e,$08,$00,$00,$00,$00,$00,$00,$08,$3e,$00,$00,$00 + $3c,$7e,$ff,$ff,$ff,$ff,$7e,$3c,$00,$20,$40,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$de,$fe,$fc,$fc,$fc,$f8,$f8,$f8 + $00,$00,$00,$00,$01,$04,$00,$08,$00,$00,$00,$00,$01,$04,$00,$08 + $00,$3d,$4a,$81,$4a,$3d,$00,$00,$00,$3d,$7a,$ff,$7a,$3d,$00,$00 + $05,$18,$39,$66,$46,$4c,$78,$00,$05,$1a,$3d,$7e,$7e,$7c,$78,$00 + $15,$0a,$11,$1b,$11,$11,$0a,$04,$15,$0e,$15,$1f,$1f,$1f,$0e,$04 + $00,$00,$00,$18,$3c,$10,$0a,$00,$81,$4a,$28,$3c,$fd,$34,$4a,$89 + $00,$00,$30,$4a,$68,$1d,$20,$08,$00,$00,$30,$7a,$78,$15,$22,$08 + $00,$10,$00,$00,$0c,$12,$00,$00,$3c,$df,$e6,$bd,$df,$df,$72,$1c + $34,$18,$18,$30,$14,$00,$08,$00,$10,$18,$00,$10,$00,$00,$08,$00 + $18,$10,$10,$10,$00,$10,$00,$10,$18,$10,$10,$10,$00,$10,$00,$10 + $80,$80,$c0,$70,$59,$cf,$80,$80,$8f,$05,$43,$13,$41,$04,$80,$80 + $e1,$41,$41,$c2,$83,$03,$03,$04,$bd,$9c,$9e,$1e,$3d,$7c,$b8,$2c + $00,$42,$3c,$3c,$3c,$3c,$42,$00,$00,$00,$18,$24,$24,$18,$00,$00 + $10,$52,$24,$03,$c0,$24,$4a,$08,$34,$5e,$e5,$43,$c2,$a7,$7a,$2c + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 9560: 78 a1 .dd2 L9D94+$3e4 9562: 9c a1 .dd2 L9D94+$408 9564: a8 a1 .dd2 L9D94+$414 9566: a2 a1 .dd2 L9D94+$40e 9568: ae a1 .dd2 L9D94+$41a 956a: b4 a1 .dd2 L9D94+$420 956c: d7 a1 .dd2 L9D94+$443 956e: d7 a1 .dd2 L9D94+$443 9570: d7 a1 .dd2 L9D94+$443 9572: d7 a1 .dd2 L9D94+$443 9574: d7 a1 .dd2 L9D94+$443 9576: d7 a1 .dd2 L9D94+$443 9578: d7 a1 .dd2 L9D94+$443 957a: d7 a1 .dd2 L9D94+$443 957c: d7 a1 .dd2 L9D94+$443 957e: d7 a1 .dd2 L9D94+$443 9580: d7 a1 .dd2 L9D94+$443 9582: d7 a1 .dd2 L9D94+$443 9584: d7 a1 .dd2 L9D94+$443 9586: d7 a1 .dd2 L9D94+$443 9588: de a1 .dd2 L9D94+$44a 958a: e5 a1 .dd2 L9D94+$451 958c: ec a1 .dd2 L9D94+$458 958e: f3 a1 .dd2 L9D94+$45f 9590: fb a1 .dd2 L9D94+$467 9592: 03 a2 .dd2 L9D94+$46f 9594: 0b a2 .dd2 L9D94+$477 9596: 13 a2 .dd2 L9D94+$47f 9598: d9 a2 .dd2 LA2D9 959a: 1b a2 .dd2 LA21B 959c: 77 a2 .dd2 LA277 959e: ec ae .dd2 LAEEC 95a0: 64 9c .dd2 L9C64 95a2: 64 9d .dd2 L9D64 95a4: 78 9d .dd2 L9D78 95a6: da 9b .dd2 L9BDA 95a8: 60 ea ea 60+ .bulk $60,$ea,$ea,$60,$ea,$ea,$60,$ea,$ea,$60,$ea,$ea,$60,$ea,$ea,$60 + $ea,$ea,$60,$ea,$ea,$60,$ea,$ea,$60,$ea,$ea 95c3: 4c 9d 9b jmp L9B9D 95c6: 49 ff L95C6_0 eor #$ff 95c8: 18 clc 95c9: 69 01 adc #$01 95cb: 60 rts 95cc: ff 08 00 01+ .bulk $ff,$08,$00,$01,$10,$05,$27,$04,$0f,$ff,$ff,$16,$0d,$6e,$01,$00 + $03,$77,$53,$57,$55,$59,$5b,$4f,$32 95e5: bd 02 6b lda EnDataIndex,x 95e8: 20 24 80 jsr ChooseRoutineN 95eb: d3 98 .dd2 T98D3 95ed: 08 99 .dd2 T9908 95ef: c0 98 .dd2 T98C0 95f1: 33 98 .dd2 T9833 95f3: 33 98 .dd2 T9833 95f5: 33 98 .dd2 T9833 95f7: 96 99 .dd2 T9996 95f9: 50 98 .dd2 T9850 95fb: 33 98 .dd2 T9833 95fd: 33 98 .dd2 T9833 95ff: 33 98 .dd2 T9833 9601: 64 9a .dd2 T9A64 9603: d6 9a .dd2 T9AD6 9605: e9 9a .dd2 T9AE9 9607: 64 9b .dd2 T9B64 9609: 33 98 .dd2 T9833 960b: 28 28 28 28+ L960B .bulk $28,$28,$28,$28,$30,$30,$00,$00,$00,$00,$00,$00,$75,$75,$84,$82 + $00,$00,$11,$11,$13,$18,$35,$35,$41,$41,$4b,$4b,$00,$00,$00,$00 + $08,$08,$ff,$01,$01,$01,$02,$01,$01,$20,$ff,$ff,$08,$06,$ff,$00 + $22,$22,$22,$22,$2a,$2d,$00,$00,$00,$00,$00,$00,$69,$69,$88,$86 + $00,$00,$05,$08,$13,$18,$20,$20,$3c,$37,$43,$47,$00,$00,$00,$00 + $25,$25,$25,$25,$2a,$2d,$00,$00,$00,$00,$00,$00,$69,$69,$7f,$7c + $00,$00,$05,$08,$13,$18,$1d,$1d,$3c,$37,$43,$47,$00,$00,$00,$00 + $00,$00,$80,$82,$00,$00,$00,$00,$80,$00,$00,$00,$82,$00,$00,$00 + $89,$89,$00,$42,$00,$00,$04,$80,$80,$81,$00,$00,$05,$89,$00,$00 + $01,$01,$01,$01,$01,$01,$01,$01,$28,$10,$00,$00,$00,$01,$00,$00 + $05,$05,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$8c,$00,$00 + $10,$01,$01,$01,$10,$10,$01,$08,$09,$10,$01,$10,$01,$20,$00,$00 + $12,$14,$00,$00,$00,$00,$02,$02,$00,$04,$06,$09,$0e,$10,$12,$00 + $e7,$97,$e7,$97,$e7,$97,$e7,$97,$e7,$97,$ea,$97,$ed,$97,$ed,$97 + $ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97 + $ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97 + $ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97 + $ed,$97,$ed,$97,$ed,$97,$ed,$97,$00,$00,$00,$00,$00,$00,$00,$00 + $80,$80,$00,$00,$00,$00,$00,$00,$00,$00,$e0,$16,$15,$7f,$7f,$7f + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$38,$38,$c8,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$0c,$0c,$02,$01,$00,$00,$01,$01 + $01,$fc,$06,$fe,$fe,$f8,$f9,$fb,$fd,$00,$00,$00,$00,$02,$01,$01 + $00,$00,$fa,$fc,$06,$00,$01,$01,$01,$00,$01,$01,$03,$00,$00,$00 + $4c,$4c,$01,$00,$00,$00,$00,$40,$00,$64,$44,$44,$40,$00,$00,$00 + $00,$00,$00,$00,$4d,$4d,$53,$57,$00,$00,$00,$00,$00,$00,$00,$00 + $08,$f8,$00,$00,$00,$00,$08,$f8,$00,$00,$00,$f8,$f7,$97,$06,$98 + $15,$98,$24,$98,$9e,$9b,$a3,$9b,$a8,$9b,$ad,$9b,$b2,$9b,$b7,$9b + $bc,$9b,$c1,$9b,$c6,$9b,$cb,$9b,$d0,$9b,$d5,$9b,$da,$9b,$da,$9b + $da,$9b,$da,$9b,$da,$9b,$00,$02,$00,$09,$00,$0d,$01,$0e,$0f,$03 + $00,$01,$02,$03,$00,$10,$00,$11,$00,$00,$00,$01,$01,$03,$ff,$01 + $0b,$ff,$14,$90,$0a,$00,$fd,$30,$00,$14,$10,$fa,$0a,$d3,$07,$b3 + $07,$93,$07,$03,$07,$13,$07,$23,$50,$33,$ff,$09,$c2,$08,$a2,$07 + $92,$07,$12,$08,$22,$09,$42,$50,$72,$ff,$07,$c2,$06,$a2,$05,$92 + $05,$12,$06,$22,$07,$42,$50,$72,$ff,$05,$c2,$04,$a2,$03,$92,$03 + $12,$04,$22,$05,$42,$50,$72,$ff 9833: a9 00 T9833 lda #$00 9835: 9d f4 6a sta Enstatus,x 9838: 60 rts 9839: a5 81 L9839 lda HideShowEndMsg 983b: c9 01 cmp #$01 983d: f0 09 beq L9848 983f: c9 03 cmp #$03 9841: f0 0a beq L984D 9843: a5 00 lda $00 9845: 4c 00 80 jmp L8000_0 9848: a5 01 L9848 lda $01 984a: 4c 03 80 jmp L8003_0 984d: 4c 06 80 L984D jmp L8006_0 9850: bd f4 6a T9850 lda Enstatus,x 9853: c9 02 cmp #$02 9855: d0 38 bne L988F 9857: bd 03 04 lda $0403,x 985a: d0 33 bne L988F 985c: bd fe 6a lda $6afe,x 985f: d0 12 bne L9873 9861: ad 0d 03 lda ObjectY 9864: 38 sec 9865: fd 00 04 sbc EnYRoomPos,x 9868: c9 40 cmp #$40 986a: b0 23 bcs L988F 986c: a9 7f lda #$7f 986e: 9d fe 6a sta $6afe,x 9871: d0 1c bne L988F 9873: bd 02 04 L9873 lda $0402,x 9876: 30 17 bmi L988F 9878: a9 00 lda #$00 987a: 9d 02 04 sta $0402,x 987d: 9d 06 04 sta EnCounter,x 9880: 9d fe 6a sta $6afe,x 9883: bd 05 04 lda EnCounter-1,x 9886: 29 01 and #$01 9888: a8 tay 9889: b9 be 98 lda L98BE,y 988c: 9d 03 04 sta $0403,x 988f: bd 05 04 L988F lda EnCounter-1,x 9892: 0a asl A 9893: 30 1e bmi L98B3 9895: bd f4 6a lda Enstatus,x 9898: c9 02 cmp #$02 989a: d0 17 bne L98B3 989c: 20 36 80 jsr L8036_0 989f: 48 pha 98a0: 20 39 80 jsr L8039_0 98a3: 85 05 sta $05 98a5: 68 pla 98a6: 85 04 sta $04 98a8: 20 42 9a jsr L9A42 98ab: 20 27 80 jsr L8027_1 98ae: 90 08 bcc L98B8 98b0: 20 52 9a jsr L9A52 98b3: a9 03 L98B3 lda #$03 98b5: 4c 03 80 jmp L8003_0 98b8: a9 00 L98B8 lda #$00 98ba: 9d f4 6a sta Enstatus,x 98bd: 60 rts 98be: 08 L98BE .dd1 $08 98bf: f8 .dd1 $f8 98c0: bd f4 6a T98C0 lda Enstatus,x 98c3: c9 03 cmp #$03 98c5: f0 03 beq L98CA 98c7: 20 1e 80 jsr L801E_0 98ca: a9 03 L98CA lda #$03 98cc: 85 00 sta $00 98ce: 85 01 sta $01 98d0: 4c 39 98 jmp L9839 98d3: a9 03 T98D3 lda #$03 98d5: 85 00 sta $00 98d7: a9 08 lda #$08 98d9: 85 01 sta $01 98db: bd f4 6a lda Enstatus,x 98de: c9 01 cmp #$01 98e0: d0 0c bne L98EE 98e2: bd 05 04 lda EnCounter-1,x 98e5: 29 10 and #$10 98e7: f0 05 beq L98EE 98e9: a9 01 lda #$01 98eb: 20 54 99 jsr L9954 98ee: 20 f4 98 L98EE jsr L98F4 98f1: 4c 39 98 jmp L9839 98f4: bd f4 6a L98F4 lda Enstatus,x 98f7: c9 02 cmp #$02 98f9: d0 0c bne L9907 98fb: a9 25 lda #$25 98fd: bc 02 04 ldy $0402,x 9900: 10 02 bpl L9904 9902: a9 22 lda #$22 9904: 9d f9 6a L9904 sta EnResetAnimIndex,x 9907: 60 L9907 rts 9908: a5 81 T9908 lda HideShowEndMsg 990a: c9 01 cmp #$01 990c: f0 10 beq L991E 990e: c9 03 cmp #$03 9910: f0 3f beq L9951 9912: bd f4 6a lda Enstatus,x 9915: c9 01 cmp #$01 9917: d0 0a bne L9923 9919: a9 00 lda #$00 991b: 20 54 99 jsr L9954 991e: a9 08 L991E lda #$08 9920: 4c 03 80 jmp L8003_0 9923: a9 80 L9923 lda #$80 9925: 9d fe 6a sta $6afe,x 9928: bd 02 04 lda $0402,x 992b: 30 1c bmi L9949 992d: bd 05 04 lda EnCounter-1,x 9930: 29 10 and #$10 9932: f0 15 beq L9949 9934: bd 00 04 lda EnYRoomPos,x 9937: 38 sec 9938: ed 0d 03 sbc ObjectY 993b: 10 03 bpl L9940 993d: 20 c6 95 jsr L95C6_0 9940: c9 10 L9940 cmp #$10 9942: b0 05 bcs L9949 9944: a9 00 lda #$00 9946: 9d fe 6a sta $6afe,x 9949: 20 f4 98 L9949 jsr L98F4 994c: a9 03 lda #$03 994e: 4c 00 80 jmp L8000_0 9951: 4c 06 80 L9951 jmp L8006_0 9954: 9d 02 6b L9954 sta EnDataIndex,x 9957: bd 0b 04 lda EnHitPoints,x 995a: 48 pha 995b: 20 2a 80 jsr L802A_0 995e: 68 pla 995f: 9d 0b 04 sta EnHitPoints,x 9962: 60 rts 9963: 20 1b 80 jsr L801B_0 9966: a9 06 lda #$06 9968: 85 00 sta $00 996a: 4c 39 98 jmp L9839 996d: 20 1b 80 jsr L801B_0 9970: a9 06 lda #$06 9972: 85 00 sta $00 9974: 4c 39 98 jmp L9839 9977: 20 1b 80 jsr L801B_0 997a: a9 06 lda #$06 997c: 85 00 sta $00 997e: a5 81 lda HideShowEndMsg 9980: c9 02 cmp #$02 9982: d0 0f bne L9993 9984: dd f4 6a cmp Enstatus,x 9987: d0 0a bne L9993 9989: 20 09 80 jsr L8009_0 998c: 29 03 and #$03 998e: d0 03 bne L9993 9990: 4c 4d 98 jmp L984D 9993: 4c 39 98 L9993 jmp L9839 9996: 20 09 80 T9996 jsr L8009_0 9999: 29 03 and #$03 999b: f0 34 beq L99D1 999d: a5 81 lda HideShowEndMsg 999f: c9 01 cmp #$01 99a1: f0 36 beq L99D9 99a3: c9 03 cmp #$03 99a5: f0 2f beq L99D6 99a7: bd f4 6a lda Enstatus,x 99aa: c9 03 cmp #$03 99ac: f0 23 beq L99D1 99ae: bd 0a 04 lda EnHitPoints-1,x 99b1: 29 03 and #$03 99b3: c9 01 cmp #$01 99b5: d0 11 bne L99C8_0 99b7: bc 00 04 ldy EnYRoomPos,x 99ba: c0 eb cpy #$eb 99bc: d0 0a bne L99C8_0 99be: 20 0a 9a jsr L9A0A 99c1: a9 03 lda #$03 99c3: 9d 0a 04 sta EnHitPoints-1,x 99c6: d0 06 bne L99CE 99c8: 20 2f 9a L99C8_0 jsr L9A2F 99cb: 20 f5 99 jsr L99F5 99ce: 20 13 9a L99CE jsr L9A13 99d1: a9 03 L99D1 lda #$03 99d3: 20 0c 80 jsr L800C_0 99d6: 4c 06 80 L99D6 jmp L8006_0 99d9: 4c 03 80 L99D9 jmp L8003_0 99dc: bd 05 04 L99DC lda EnCounter-1,x 99df: 4a lsr A 99e0: bd 0a 04 lda EnHitPoints-1,x 99e3: 29 03 and #$03 99e5: 2a rol A 99e6: a8 tay 99e7: b9 ed 99 lda L99ED,y 99ea: 4c 0f 80 jmp L800F_0 99ed: 69 69 72 6c+ L99ED .bulk $69,$69,$72,$6c,$6f,$6f,$6c,$72 99f5: a6 4b L99F5 ldx PageIndex 99f7: b0 19 bcs L9A12 99f9: a5 00 lda $00 99fb: d0 0d bne L9A0A 99fd: bc 0a 04 ldy EnHitPoints-1,x 9a00: 88 dey 9a01: 98 tya 9a02: 29 03 and #$03 9a04: 9d 0a 04 sta EnHitPoints-1,x 9a07: 4c dc 99 jmp L99DC 9a0a: bd 05 04 L9A0A lda EnCounter-1,x 9a0d: 49 01 eor #$01 9a0f: 9d 05 04 sta EnCounter-1,x 9a12: 60 L9A12 rts 9a13: 20 27 9a L9A13 jsr L9A27 9a16: 20 2f 9a jsr L9A2F 9a19: a6 4b ldx PageIndex 9a1b: 90 09 bcc L9A26 9a1d: 20 27 9a jsr L9A27 9a20: 9d 0a 04 sta EnHitPoints-1,x 9a23: 20 dc 99 jsr L99DC 9a26: 60 L9A26 rts 9a27: bc 0a 04 L9A27 ldy EnHitPoints-1,x 9a2a: c8 iny 9a2b: 98 tya 9a2c: 29 03 and #$03 9a2e: 60 rts 9a2f: bc 05 04 L9A2F ldy EnCounter-1,x 9a32: 84 00 sty $00 9a34: 46 00 lsr $00 9a36: 2a rol A 9a37: 0a asl A 9a38: a8 tay 9a39: b9 49 80 lda L8048_0+1,y 9a3c: 48 pha 9a3d: b9 48 80 lda L8048_0,y 9a40: 48 pha 9a41: 60 rts 9a42: bd 00 04 L9A42 lda EnYRoomPos,x 9a45: 85 08 sta $08 9a47: bd 01 04 lda EnXRoomPos,x 9a4a: 85 09 sta $09 9a4c: bd fb 6a lda EnNameTable,x 9a4f: 85 0b sta $0b 9a51: 60 rts 9a52: a5 0b L9A52 lda $0b 9a54: 29 01 and #$01 9a56: 9d fb 6a sta EnNameTable,x 9a59: a5 08 lda $08 9a5b: 9d 00 04 sta EnYRoomPos,x 9a5e: a5 09 lda $09 9a60: 9d 01 04 sta EnXRoomPos,x 9a63: 60 rts 9a64: a5 81 T9A64 lda HideShowEndMsg 9a66: c9 01 cmp #$01 9a68: d0 1e bne L9A88 9a6a: bd f4 6a lda Enstatus,x 9a6d: c9 03 cmp #$03 9a6f: f0 59 beq L9ACA 9a71: c9 02 cmp #$02 9a73: d0 13 bne L9A88 9a75: bc 08 04 ldy EnDelay-1,x 9a78: b9 d2 9a lda L9AD2,y 9a7b: 9d 02 04 sta $0402,x 9a7e: a9 40 lda #$40 9a80: 9d fe 6a sta $6afe,x 9a83: a9 00 lda #$00 9a85: 9d 06 04 sta EnCounter,x 9a88: bd f4 6a L9A88 lda Enstatus,x 9a8b: c9 03 cmp #$03 9a8d: f0 3b beq L9ACA 9a8f: a5 81 lda HideShowEndMsg 9a91: c9 01 cmp #$01 9a93: f0 35 beq L9ACA 9a95: c9 03 cmp #$03 9a97: f0 36 beq L9ACF 9a99: 20 36 80 jsr L8036_0 9a9c: a6 4b ldx PageIndex 9a9e: a9 00 lda #$00 9aa0: 85 05 sta $05 9aa2: a9 1d lda #$1d 9aa4: a4 00 ldy $00 9aa6: 84 04 sty $04 9aa8: 30 02 bmi L9AAC 9aaa: a9 20 lda #$20 9aac: 9d f9 6a L9AAC sta EnResetAnimIndex,x 9aaf: 20 42 9a jsr L9A42 9ab2: 20 27 80 jsr L8027_1 9ab5: a9 e8 lda #$e8 9ab7: 90 04 bcc L9ABD_0 9ab9: c5 08 cmp $08 9abb: b0 0a bcs L9AC7 9abd: 85 08 L9ABD_0 sta $08 9abf: bd 05 04 lda EnCounter-1,x 9ac2: 09 20 ora #$20 9ac4: 9d 05 04 sta EnCounter-1,x 9ac7: 20 52 9a L9AC7 jsr L9A52 9aca: a9 02 L9ACA lda #$02 9acc: 4c 03 80 jmp L8003_0 9acf: 4c 06 80 L9ACF jmp L8006_0 9ad2: f6 L9AD2 .dd1 $f6 9ad3: f8 .dd1 $f8 9ad4: f6 .dd1 $f6 9ad5: fa .dd1 $fa 9ad6: bd f4 6a T9AD6 lda Enstatus,x 9ad9: c9 02 cmp #$02 9adb: d0 03 bne L9AE0 9add: 20 1e 80 jsr L801E_0 9ae0: a9 02 L9AE0 lda #$02 9ae2: 85 00 sta $00 9ae4: 85 01 sta $01 9ae6: 4c 39 98 jmp L9839 9ae9: bd f4 6a T9AE9 lda Enstatus,x 9aec: c9 01 cmp #$01 9aee: d0 05 bne L9AF5 9af0: a9 e8 lda #$e8 9af2: 9d 00 04 sta EnYRoomPos,x 9af5: c9 02 L9AF5 cmp #$02 9af7: d0 56 bne L9B4F 9af9: bd 06 04 lda EnCounter,x 9afc: f0 51 beq L9B4F 9afe: bd 01 6b lda EnDataIndex-1,x 9b01: d0 4c bne L9B4F 9b03: a5 2d lda FrameCount 9b05: 29 1f and #$1f 9b07: d0 33 bne L9B3C 9b09: a5 2e lda RandomNumber1 9b0b: 29 03 and #$03 9b0d: f0 4a beq L9B59 9b0f: a9 02 lda #$02 9b11: 85 87 sta $87 9b13: a9 00 lda #$00 9b15: 85 88 sta $88 9b17: a9 43 lda #$43 9b19: 85 83 sta WaveSpritePointer 9b1b: a9 47 lda #$47 9b1d: 85 84 sta WaveSpriteCounter 9b1f: a9 03 lda #$03 9b21: 85 85 sta $85 9b23: 20 21 80 jsr L8021 9b26: ad 80 06 lda NoiseSFXFlag 9b29: 09 04 ora #$04 9b2b: 8d 80 06 sta NoiseSFXFlag 9b2e: bd 05 04 lda EnCounter-1,x 9b31: 29 01 and #$01 9b33: a8 tay 9b34: b9 83 00 lda WaveSpritePointer,y 9b37: 20 0f 80 jsr L800F_0 9b3a: f0 1d beq L9B59 9b3c: c9 0f L9B3C cmp #$0f 9b3e: 90 19 bcc L9B59 9b40: bd 05 04 lda EnCounter-1,x 9b43: 29 01 and #$01 9b45: a8 tay 9b46: b9 62 9b lda L9B62_0,y 9b49: 20 0f 80 jsr L800F_0 9b4c: 4c 59 9b jmp L9B59 9b4f: bd f4 6a L9B4F lda Enstatus,x 9b52: c9 03 cmp #$03 9b54: f0 03 beq L9B59 9b56: 20 1e 80 jsr L801E_0 9b59: a9 01 L9B59 lda #$01 9b5b: 85 00 sta $00 9b5d: 85 01 sta $01 9b5f: 4c 39 98 jmp L9839 9b62: 45 L9B62_0 .dd1 $45 9b63: 49 .dd1 $49 9b64: a9 00 T9B64 lda #$00 9b66: 9d f5 6a sta EnRadY,x 9b69: 9d f6 6a sta EnRadX,x 9b6c: a9 10 lda #$10 9b6e: 9d 05 04 sta EnCounter-1,x 9b71: 8a txa 9b72: 0a asl A 9b73: 0a asl A 9b74: 85 00 sta $00 9b76: 8a txa 9b77: 4a lsr A 9b78: 4a lsr A 9b79: 4a lsr A 9b7a: 4a lsr A 9b7b: 65 2d adc FrameCount 9b7d: 65 00 adc $00 9b7f: 29 47 and #$47 9b81: d0 1a bne L9B9D 9b83: 5e 05 04 lsr EnCounter-1,x 9b86: a9 03 lda #$03 9b88: 85 87 sta $87 9b8a: a5 2e lda RandomNumber1 9b8c: 4a lsr A 9b8d: 3e 05 04 rol EnCounter-1,x 9b90: 29 03 and #$03 9b92: f0 09 beq L9B9D 9b94: 85 88 sta $88 9b96: a9 02 lda #$02 9b98: 85 85 sta $85 9b9a: 4c 21 80 jmp L8021 9b9d: 60 L9B9D rts 9b9e: 22 ff ff ff+ .bulk $22,$ff,$ff,$ff,$ff,$22,$80,$81,$82,$83,$22,$84,$85,$86,$87,$22 + $88,$89,$8a,$8b,$22,$8c,$8d,$8e,$8f,$22,$94,$95,$96,$97,$22,$9c + $9d,$9d,$9c,$22,$9e,$9f,$9f,$9e,$22,$90,$91,$92,$93,$22,$70,$71 + $72,$73,$22,$74,$75,$75,$74,$22,$76,$76,$76,$76 9bda: 00 01 ff 02+ L9BDA .bulk $00,$01,$ff,$02,$ff,$03,$04,$ff,$07,$08,$ff,$05,$06,$ff,$09,$0a + $ff,$0b,$ff,$0c,$0d,$0e,$0f,$ff,$10,$11,$12,$13,$ff,$15,$14,$ff + $16,$ff,$17,$18,$ff,$19,$1a,$ff,$1b,$ff,$1c,$1d,$ff,$1e,$1f,$ff + $20,$ff,$21,$22,$ff,$23,$ff,$27,$28,$29,$2a,$ff,$2b,$2c,$2d,$2e + $ff,$2f,$ff,$30,$ff,$31,$ff,$32,$ff,$33,$ff,$34,$ff,$42,$ff,$43 + $44,$f7,$ff,$3b,$ff,$3c,$ff,$3d,$ff,$3e,$ff,$3f,$3f,$3f,$3f,$3f + $41,$41,$41,$41,$40,$40,$40,$f7,$ff,$58,$59,$ff,$5a,$5b,$ff,$5c + $5d,$ff,$5e,$5f,$ff,$60,$ff,$61,$f7,$62,$f7,$ff,$66,$67,$ff,$69 + $6a,$ff,$68,$ff,$6b,$ff,$66,$ff,$69,$ff 9c64: 0a 9e L9C64 .dd2 L9D94+118 9c66: 0f 9e .dd2 L9D94+123 9c68: 14 9e .dd2 L9D94+128 9c6a: 19 9e .dd2 L9D94+133 9c6c: 2c 9e .dd2 L9D94+152 9c6e: 40 9e .dd2 L9D94+172 9c70: 56 9e .dd2 L9D94+194 9c72: 6c 9e .dd2 L9D94+216 9c74: 7f 9e .dd2 L9D94+235 9c76: 93 9e .dd2 L9D94+255 9c78: a9 9e .dd2 L9D94+$115 9c7a: bf 9e .dd2 L9D94+$12b 9c7c: c9 9e .dd2 L9D94+$135 9c7e: ce 9e .dd2 L9D94+$13a 9c80: d3 9e .dd2 L9D94+$13f 9c82: d8 9e .dd2 L9D94+$144 9c84: dd 9e .dd2 L9D94+$149 9c86: e2 9e .dd2 L9D94+$14e 9c88: e7 9e .dd2 L9D94+$153 9c8a: ec 9e .dd2 L9D94+$158 9c8c: f1 9e .dd2 L9D94+$15d 9c8e: ff 9e .dd2 L9D94+$16b 9c90: 0d 9f .dd2 L9D94+$179 9c92: 1b 9f .dd2 L9D94+$187 9c94: 2a 9f .dd2 L9D94+$196 9c96: 39 9f .dd2 L9D94+$1a5 9c98: 4a 9f .dd2 L9D94+$1b6 9c9a: 5b 9f .dd2 L9D94+$1c7 9c9c: 63 9f .dd2 L9D94+$1cf 9c9e: 69 9f .dd2 L9D94+$1d5 9ca0: 6f 9f .dd2 L9D94+$1db 9ca2: 75 9f .dd2 L9D94+$1e1 9ca4: 7b 9f .dd2 L9D94+$1e7 9ca6: 81 9f .dd2 L9D94+$1ed 9ca8: 89 9f .dd2 L9D94+$1f5 9caa: 91 9f .dd2 L9D94+$1fd 9cac: 99 9f .dd2 L9D94+$205 9cae: 99 9f .dd2 L9D94+$205 9cb0: 99 9f .dd2 L9D94+$205 9cb2: 99 9f .dd2 L9D94+$205 9cb4: a5 9f .dd2 L9D94+$211 9cb6: b3 9f .dd2 L9D94+$21f 9cb8: c1 9f .dd2 L9D94+$22d 9cba: cf 9f .dd2 L9D94+$23b 9cbc: db 9f .dd2 L9D94+$247 9cbe: e9 9f .dd2 L9D94+$255 9cc0: f7 9f .dd2 L9D94+$263 9cc2: 05 a0 .dd2 L9D94+$271 9cc4: 10 a0 .dd2 L9D94+$27c 9cc6: 1f a0 .dd2 L9D94+$28b 9cc8: 2e a0 .dd2 L9D94+$29a 9cca: 3d a0 .dd2 L9D94+$2a9 9ccc: 4c a0 .dd2 L9D94+$2b8 9cce: 59 a0 .dd2 L9D94+$2c5 9cd0: 59 a0 .dd2 L9D94+$2c5 9cd2: 59 a0 .dd2 L9D94+$2c5 9cd4: 59 a0 .dd2 L9D94+$2c5 9cd6: 59 a0 .dd2 L9D94+$2c5 9cd8: 59 a0 .dd2 L9D94+$2c5 9cda: 59 a0 .dd2 L9D94+$2c5 9cdc: 61 a0 .dd2 L9D94+$2cd 9cde: 69 a0 .dd2 L9D94+$2d5 9ce0: 71 a0 .dd2 L9D94+$2dd 9ce2: 79 a0 .dd2 L9D94+$2e5 9ce4: 81 a0 .dd2 L9D94+$2ed 9ce6: 89 a0 .dd2 L9D94+$2f5 9ce8: 93 a0 .dd2 L9D94+$2ff 9cea: 98 a0 .dd2 L9D94+$304 9cec: a0 a0 .dd2 L9D94+$30c 9cee: a8 a0 .dd2 L9D94+$314 9cf0: a8 a0 .dd2 L9D94+$314 9cf2: a8 a0 .dd2 L9D94+$314 9cf4: a8 a0 .dd2 L9D94+$314 9cf6: a8 a0 .dd2 L9D94+$314 9cf8: a8 a0 .dd2 L9D94+$314 9cfa: a8 a0 .dd2 L9D94+$314 9cfc: a8 a0 .dd2 L9D94+$314 9cfe: a8 a0 .dd2 L9D94+$314 9d00: a8 a0 .dd2 L9D94+$314 9d02: a8 a0 .dd2 L9D94+$314 9d04: a8 a0 .dd2 L9D94+$314 9d06: a8 a0 .dd2 L9D94+$314 9d08: a8 a0 .dd2 L9D94+$314 9d0a: a8 a0 .dd2 L9D94+$314 9d0c: a8 a0 .dd2 L9D94+$314 9d0e: a8 a0 .dd2 L9D94+$314 9d10: a8 a0 .dd2 L9D94+$314 9d12: a8 a0 .dd2 L9D94+$314 9d14: a8 a0 .dd2 L9D94+$314 9d16: b4 a0 .dd2 L9D94+$320 9d18: c0 a0 .dd2 L9D94+$32c 9d1a: cc a0 .dd2 L9D94+$338 9d1c: d8 a0 .dd2 L9D94+$344 9d1e: e4 a0 .dd2 L9D94+$350 9d20: f0 a0 .dd2 L9D94+$35c 9d22: fc a0 .dd2 L9D94+$368 9d24: 08 a1 .dd2 L9D94+$374 9d26: 10 a1 .dd2 L9D94+$37c 9d28: 1e a1 .dd2 L9D94+$38a 9d2a: 38 a1 .dd2 L9D94+$3a4 9d2c: 38 a1 .dd2 L9D94+$3a4 9d2e: 38 a1 .dd2 L9D94+$3a4 9d30: 38 a1 .dd2 L9D94+$3a4 9d32: 40 a1 .dd2 L9D94+$3ac 9d34: 48 a1 .dd2 L9D94+$3b4 9d36: 50 a1 .dd2 L9D94+$3bc 9d38: 58 a1 .dd2 L9D94+$3c4 9d3a: 60 a1 .dd2 L9D94+$3cc 9d3c: 68 a1 .dd2 L9D94+$3d4 9d3e: 68 a1 .dd2 L9D94+$3d4 9d40: 68 a1 .dd2 L9D94+$3d4 9d42: 68 a1 .dd2 L9D94+$3d4 9d44: 68 a1 .dd2 L9D94+$3d4 9d46: 68 a1 .dd2 L9D94+$3d4 9d48: 68 a1 .dd2 L9D94+$3d4 9d4a: 68 a1 .dd2 L9D94+$3d4 9d4c: 68 a1 .dd2 L9D94+$3d4 9d4e: 68 a1 .dd2 L9D94+$3d4 9d50: 68 a1 .dd2 L9D94+$3d4 9d52: 68 a1 .dd2 L9D94+$3d4 9d54: 68 a1 .dd2 L9D94+$3d4 9d56: 68 a1 .dd2 L9D94+$3d4 9d58: 68 a1 .dd2 L9D94+$3d4 9d5a: 68 a1 .dd2 L9D94+$3d4 9d5c: 68 a1 .dd2 L9D94+$3d4 9d5e: 68 a1 .dd2 L9D94+$3d4 9d60: 68 a1 .dd2 L9D94+$3d4 9d62: 68 a1 .dd2 L9D94+$3d4 9d64: 68 a1 L9D64 .dd2 L9D94+$3d4 9d66: 6e a1 .dd2 L9D94+$3da 9d68: 73 a1 .dd2 L9D94+$3df 9d6a: 73 a1 .dd2 L9D94+$3df 9d6c: 73 a1 .dd2 L9D94+$3df 9d6e: 73 a1 .dd2 L9D94+$3df 9d70: 73 a1 .dd2 L9D94+$3df 9d72: 73 a1 .dd2 L9D94+$3df 9d74: 73 a1 .dd2 L9D94+$3df 9d76: 73 a1 .dd2 L9D94+$3df 9d78: 94 9d L9D78 .dd2 L9D94 9d7a: 96 9d .dd2 L9D94+2 9d7c: ae 9d .dd2 L9D94+26 9d7e: ae 9d .dd2 L9D94+26 9d80: c0 9d .dd2 L9D94+44 9d82: b2 9d .dd2 L9D94+30 9d84: bc 9d .dd2 L9D94+40 9d86: c4 9d .dd2 L9D94+48 9d88: d0 9d .dd2 L9D94+60 9d8a: d8 9d .dd2 L9D94+68 9d8c: d8 9d .dd2 L9D94+68 9d8e: f8 9d .dd2 L9D94+100 9d90: 06 9e .dd2 L9D94+114 9d92: 0a 9e .dd2 L9D94+118 9d94: fc fc 80 80+ L9D94 .bulk $fc,$fc,$80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8 + $f4,$00,$fc,$f8,$fc,$00,$04,$f8,$04,$00,$f4,$f4,$f4,$04,$f8,$f4 + $f8,$fc,$f8,$04,$00,$f8,$00,$00,$fc,$f8,$fc,$00,$f0,$f8,$f0,$00 + $f8,$f8,$f8,$00,$00,$f8,$00,$00,$08,$f8,$08,$00,$f8,$e8,$f8,$10 + $f8,$f0,$f8,$08,$f8,$f8,$f8,$00,$00,$f8,$00,$00,$f0,$00,$f0,$08 + $f8,$08,$f0,$f0,$f0,$f8,$f8,$f0,$00,$f0,$08,$f0,$08,$f8,$00,$08 + $08,$00,$08,$08,$f8,$fc,$00,$f8,$f4,$f4,$fc,$f4,$00,$00,$f4,$04 + $fc,$04,$f8,$fc,$00,$fc,$00,$02,$02,$14,$ff,$00,$02,$02,$24,$ff + $00,$00,$00,$04,$ff,$22,$13,$08,$c8,$c9,$c6,$c7,$d6,$d7,$d5,$e5 + $e6,$e7,$f5,$f6,$f7,$f9,$f8,$ff,$22,$13,$08,$c8,$c9,$c6,$c7,$d6 + $d7,$d5,$e5,$e6,$e7,$f5,$f6,$f7,$d8,$fe,$e8,$ff,$22,$13,$08,$c8 + $c9,$c6,$c7,$d6,$d7,$fe,$d9,$e6,$e7,$e9,$ea,$eb,$f9,$f8,$fe,$d5 + $fa,$ff,$22,$13,$08,$c8,$c9,$c6,$c7,$d6,$d7,$fe,$d9,$e6,$e7,$e9 + $ea,$eb,$d8,$fe,$e8,$d5,$fa,$ff,$62,$13,$08,$c8,$c9,$c6,$c7,$d6 + $d7,$d5,$e5,$e6,$e7,$f5,$f6,$f7,$f9,$f8,$ff,$62,$13,$08,$c8,$c9 + $c6,$c7,$d6,$d7,$d5,$e5,$e6,$e7,$f5,$f6,$f7,$d8,$fe,$e8,$ff,$62 + $13,$08,$c8,$c9,$c6,$c7,$d6,$d7,$fe,$d9,$e6,$e7,$e9,$ea,$eb,$f9 + $f8,$fe,$d5,$fa,$ff,$62,$13,$08,$c8,$c9,$c6,$c7,$d6,$d7,$fe,$d9 + $e6,$e7,$e9,$ea,$eb,$d8,$fe,$e8,$d5,$fa,$ff,$21,$00,$00,$c6,$c7 + $d6,$d7,$e6,$e7,$ff,$20,$04,$04,$ec,$ff,$20,$04,$04,$fb,$ff,$e0 + $04,$04,$ec,$ff,$e0,$04,$04,$fb,$ff,$60,$04,$04,$ec,$ff,$60,$04 + $04,$fb,$ff,$a0,$04,$04,$ec,$ff,$a0,$04,$04,$fb,$ff,$27,$08,$08 + $ea,$fd,$62,$ea,$fd,$22,$fb,$fd,$62,$fb,$ff,$27,$08,$08,$ea,$fd + $62,$ea,$fd,$22,$fa,$fd,$62,$fa,$ff,$27,$08,$08,$ea,$fd,$62,$ea + $fd,$22,$eb,$fd,$62,$eb,$ff,$25,$08,$08,$ce,$cf,$fd,$62,$ce,$fd + $22,$df,$fd,$62,$df,$ff,$25,$08,$08,$ce,$cf,$fd,$62,$ce,$fd,$22 + $de,$fd,$62,$de,$ff,$a5,$08,$08,$fd,$22,$ce,$cf,$fd,$62,$ce,$fd + $a2,$df,$fd,$e2,$df,$ff,$a5,$08,$08,$fd,$22,$ce,$cf,$fd,$62,$ce + $fd,$a2,$de,$fd,$e2,$de,$ff,$21,$00,$00,$ce,$ce,$df,$df,$ff,$39 + $04,$08,$f6,$f7,$ff,$39,$04,$08,$e7,$f7,$ff,$79,$04,$08,$f6,$f7 + $ff,$79,$04,$08,$e7,$f7,$ff,$31,$00,$00,$f6,$f7,$ff,$29,$04,$08 + $e6,$fd,$62,$e6,$ff,$29,$04,$08,$e5,$fd,$62,$e5,$ff,$21,$00,$00 + $ea,$ea,$eb,$eb,$ff,$27,$08,$08,$ee,$ef,$fd,$e2,$ef,$fd,$a2,$ef + $ff,$27,$08,$08,$fd,$62,$ef,$fd,$22,$ef,$ed,$fd,$a2,$ef,$ff,$27 + $08,$08,$fd,$62,$ef,$fd,$22,$ef,$fd,$e2,$ef,$ee,$ff,$27,$08,$08 + $fd,$62,$ef,$fd,$e2,$ed,$ef,$fd,$a2,$ef,$ff,$67,$08,$08,$ee,$ef + $fd,$a2,$ef,$fd,$e2,$ef,$ff,$67,$08,$08,$fd,$22,$ef,$fd,$62,$ef + $ed,$fd,$e2,$ef,$ff,$67,$08,$08,$fd,$22,$ef,$fd,$62,$ef,$fd,$a2 + $ef,$ee,$ff,$67,$08,$08,$fd,$22,$ef,$fd,$a2,$ed,$ef,$fd,$e2,$ef + $ff,$21,$00,$00,$fc,$04,$00,$ee,$ef,$ef,$ef,$ff,$24,$08,$08,$fc + $08,$00,$c8,$c9,$d8,$d9,$e8,$e9,$f8,$f9,$ff,$24,$08,$08,$fc,$08 + $00,$c8,$c7,$d8,$d7,$e8,$e9,$f8,$f9,$ff,$64,$08,$08,$fc,$08,$00 + $c8,$c9,$d8,$d9,$e8,$e9,$f8,$f9,$ff,$64,$08,$08,$fc,$08,$00,$c8 + $c7,$d8,$d7,$e8,$e9,$f8,$f9,$ff,$21,$00,$00,$fc,$fc,$00,$c8,$c9 + $d8,$d9,$e8,$e9,$ff,$37,$04,$04,$e0,$e1,$f0,$f1,$ff,$b7,$04,$04 + $e0,$e1,$f0,$f1,$ff,$77,$04,$04,$e0,$e1,$f0,$f1,$ff,$f7,$04,$04 + $e0,$e1,$f0,$f1,$ff,$37,$00,$00,$e2,$fd,$63,$e2,$ff,$38,$00,$00 + $e2,$fd,$62,$e2,$ff,$38,$00,$00,$fe,$fe,$e2,$fd,$62,$e2,$ff,$30 + $04,$04,$c0,$ff,$30,$00,$00,$fc,$f8,$00,$d0,$ff,$33,$00,$00,$d1 + $fd,$63,$d1,$ff,$27,$08,$08,$cc,$fd,$62,$cc,$fd,$22,$dc,$dd,$ff + $67,$08,$08,$fd,$22,$cd,$fd,$62,$cd,$dc,$dd,$ff,$27,$08,$08,$fd + $a2,$da,$fd,$22,$cb,$da,$db,$ff,$a7,$08,$08,$ca,$cb,$fd,$22,$ca + $fd,$a2,$db,$ff,$a7,$08,$08,$cc,$fd,$e2,$cc,$fd,$a2,$dc,$dd,$ff + $e7,$08,$08,$fd,$a2,$cd,$fd,$e2,$cd,$dc,$dd,$ff,$67,$08,$08,$fd + $e2,$da,$fd,$62,$cb,$da,$db,$ff,$e7,$08,$08,$ca,$cb,$fd,$62,$ca + $fd,$e2,$db,$ff,$21,$00,$00,$cc,$cd,$dc,$dd,$ff,$0a,$00,$00,$75 + $fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff,$0a,$00,$00,$fe,$fe,$fe + $fe,$3d,$3e,$4e,$fd,$60,$3e,$3d,$4e,$fd,$e0,$4e,$3e,$3d,$fd,$a0 + $4e,$3d,$3e,$ff,$2a,$08,$08,$c2,$c3,$d2,$d3,$ff,$2a,$08,$08,$c2 + $c4,$d2,$d4,$ff,$21,$08,$08,$c2,$c4,$d2,$d4,$ff,$6a,$08,$08,$c2 + $c3,$d2,$d3,$ff,$6a,$08,$08,$c2,$c4,$d2,$d4,$ff,$61,$08,$08,$c2 + $c4,$d2,$d4,$ff,$0c,$08,$04,$14,$24,$ff,$00,$04,$04,$8a,$ff,$00 + $04,$04,$8a,$ff,$3f,$00,$20,$0f,$20,$10,$00,$0f,$28,$16,$04,$0f + $16,$11,$04,$0f,$31,$13,$15,$0f,$16,$19,$27,$0f,$12,$30,$21,$0f + $14,$23,$2c,$0f,$16,$24,$37,$00,$3f,$12,$02,$19,$27,$00,$3f,$12 + $02,$2c,$27,$00,$3f,$12,$02,$19,$35,$00,$3f,$12,$02,$2c,$24,$00 + $3f,$00,$10,$0f,$20,$10,$00,$0f,$28,$16,$04,$0f,$16,$11,$04,$0f + $35,$1b,$16,$3f,$14,$0c,$0f,$12,$30,$21,$0f,$14,$23,$2c,$0f,$16 + $24,$37,$00,$3f,$11,$03,$04,$09,$07,$00,$3f,$11,$03,$05,$09,$17 + $00,$3f,$11,$03,$06,$0a,$26,$00,$3f,$11,$03,$16,$19,$27,$00,$3f + $00,$04,$0f,$30,$30,$21,$00,$3f,$10,$04,$0f,$15,$34,$17,$00,$3f + $10,$04,$0f,$15,$34,$19,$00,$3f,$10,$04,$0f,$15,$34,$28,$00,$3f + $10,$04,$0f,$15,$34,$29,$00 a21b: ab a3 LA21B .dd2 LA3AB a21d: be a3 .dd2 LA3AB+19 a21f: c6 a3 .dd2 LA3AB+27 a221: f8 a3 .dd2 LA3AB+77 a223: 2f a4 .dd2 LA3AB+132 a225: 73 a4 .dd2 LA3AB+200 a227: ab a4 .dd2 LA3AB+$100 a229: f5 a4 .dd2 LA3AB+$14a a22b: 27 a5 .dd2 LA3AB+$17c a22d: 5f a5 .dd2 LA3AB+$1b4 a22f: 98 a5 .dd2 LA3AB+$1ed a231: d9 a5 .dd2 LA3AB+$22e a233: 17 a6 .dd2 LA3AB+$26c a235: 3e a6 .dd2 LA3AB+$293 a237: 78 a6 .dd2 LA3AB+$2cd a239: aa a6 .dd2 LA3AB+$2ff a23b: df a6 .dd2 LA3AB+$334 a23d: 0e a7 .dd2 LA3AB+$363 a23f: 49 a7 .dd2 LA3AB+$39e a241: 7e a7 .dd2 LA3AB+$3d3 a243: b3 a7 .dd2 LA3AB+$408 a245: e6 a7 .dd2 LA3AB+$43b a247: 2b a8 .dd2 LA3AB+$480 a249: 52 a8 .dd2 LA3AB+$4a7 a24b: 7f a8 .dd2 LA3AB+$4d4 a24d: b2 a8 .dd2 LA3AB+$507 a24f: dc a8 .dd2 LA3AB+$531 a251: 09 a9 .dd2 LA3AB+$55e a253: 47 a9 .dd2 LA3AB+$59c a255: 79 a9 .dd2 LA3AB+$5ce a257: ab a9 .dd2 LA3AB+$600 a259: d5 a9 .dd2 LA3AB+$62a a25b: ff a9 .dd2 LA3AB+$654 a25d: 3d aa .dd2 LA3AB+$692 a25f: 6f aa .dd2 LA3AB+$6c4 a261: a7 aa .dd2 LA3AB+$6fc a263: d4 aa .dd2 LA3AB+$729 a265: 0d ab .dd2 LA3AB+$762 a267: 34 ab .dd2 LA3AB+$789 a269: 70 ab .dd2 LA3AB+$7c5 a26b: a5 ab .dd2 LA3AB+$7fa a26d: da ab .dd2 LA3AB+$82f a26f: 0d ac .dd2 LA3AB+$862 a271: 42 ac .dd2 LA3AB+$897 a273: 72 ac .dd2 LA3AB+$8c7 a275: 99 ac .dd2 LA3AB+$8ee a277: b9 ac LA277 .dd2 LACB9 a279: cc ac .dd2 LACB9+19 a27b: e5 ac .dd2 LACB9+44 a27d: fe ac .dd2 LACB9+69 a27f: 05 ad .dd2 LACB9+76 a281: 0c ad .dd2 LACB9+83 a283: 10 ad .dd2 LACB9+87 a285: 16 ad .dd2 LACB9+93 a287: 26 ad .dd2 LACB9+109 a289: 2b ad .dd2 LACB9+114 a28b: 31 ad .dd2 LACB9+120 a28d: 39 ad .dd2 LACB9+128 a28f: 4e ad .dd2 LACB9+149 a291: 57 ad .dd2 LACB9+158 a293: 61 ad .dd2 LACB9+168 a295: 6c ad .dd2 LACB9+179 a297: 78 ad .dd2 LACB9+191 a299: 7b ad .dd2 LACB9+194 a29b: 85 ad .dd2 LACB9+204 a29d: 88 ad .dd2 LACB9+207 a29f: 9c ad .dd2 LACB9+227 a2a1: b1 ad .dd2 LACB9+248 a2a3: b7 ad .dd2 LACB9+254 a2a5: bd ad .dd2 LACB9+$104 a2a7: c6 ad .dd2 LACB9+$10d a2a9: cf ad .dd2 LACB9+$116 a2ab: e2 ad .dd2 LACB9+$129 a2ad: f7 ad .dd2 LACB9+$13e a2af: 0c ae .dd2 LACB9+$153 a2b1: 1d ae .dd2 LACB9+$164 a2b3: 23 ae .dd2 LACB9+$16a a2b5: 26 ae .dd2 LACB9+$16d a2b7: 2f ae .dd2 LACB9+$176 a2b9: 3a ae .dd2 LACB9+$181 a2bb: 40 ae .dd2 LACB9+$187 a2bd: 55 ae .dd2 LACB9+$19c a2bf: 59 ae .dd2 LACB9+$1a0 a2c1: 64 ae .dd2 LACB9+$1ab a2c3: 6d ae .dd2 LACB9+$1b4 a2c5: 82 ae .dd2 LACB9+$1c9 a2c7: 85 ae .dd2 LACB9+$1cc a2c9: 8e ae .dd2 LACB9+$1d5 a2cb: 91 ae .dd2 LACB9+$1d8 a2cd: 94 ae .dd2 LACB9+$1db a2cf: 9a ae .dd2 LACB9+$1e1 a2d1: a7 ae .dd2 LACB9+$1ee a2d3: b1 ae .dd2 LACB9+$1f8 a2d5: c6 ae .dd2 LACB9+$20d a2d7: d9 ae .dd2 LACB9+$220 a2d9: 0a e8 a2 1b+ LA2D9 .bulk $0a,$e8,$a2,$1b,$06,$02,$09,$34,$00,$1c,$ff,$02,$09,$34,$00,$0b + $02,$a3,$16,$05,$04,$81,$00,$1a,$06,$02,$09,$34,$00,$1b,$06,$02 + $09,$34,$00,$1c,$ff,$02,$09,$34,$00,$0c,$0b,$a3,$1a,$ff,$02,$07 + $37,$00,$0d,$13,$a3,$16,$ff,$04,$81,$00,$0e,$1c,$a3,$12,$ff,$02 + $09,$34,$00,$0f,$3b,$a3,$11,$07,$02,$09,$34,$03,$00,$13,$06,$02 + $09,$34,$00,$14,$06,$02,$09,$34,$00,$15,$ff,$41,$8b,$e9,$51,$02 + $9b,$00,$10,$44,$a3,$0f,$ff,$02,$03,$37,$00,$11,$6d,$a3,$16,$04 + $0a,$00,$18,$09,$31,$0b,$e9,$41,$02,$9a,$00,$19,$09,$21,$8b,$e9 + $51,$02,$9a,$00,$1b,$06,$02,$01,$37,$00,$1d,$05,$09,$a0,$00,$1e + $ff,$09,$b0,$00,$13,$76,$a3,$1a,$ff,$02,$08,$42,$00,$14,$89,$a3 + $0d,$05,$09,$a0,$00,$0e,$05,$09,$b0,$00,$1c,$ff,$02,$09,$34,$00 + $15,$97,$a3,$12,$06,$02,$06,$37,$00,$17,$ff,$09,$a0,$00,$16,$ff + $ff,$13,$06,$02,$09,$34,$00,$14,$06,$02,$09,$34,$00,$19,$ff,$04 + $04,$00 a3ab: 02 40 01 02+ LA3AB .bulk $02,$40,$01,$02,$48,$01,$02,$50,$04,$02,$5f,$04,$02,$fd,$02,$a1 + $02,$b1,$ff,$02,$07,$02,$02,$87,$02,$02,$ff,$03,$00,$0b,$03,$04 + $06,$03,$08,$06,$03,$0c,$0b,$03,$40,$07,$03,$4e,$07,$03,$76,$08 + $01,$79,$08,$01,$90,$07,$03,$96,$09,$00,$9e,$07,$03,$a4,$06,$03 + $a8,$06,$03,$b7,$0a,$03,$e0,$06,$03,$ec,$06,$03,$ff,$03,$00,$07 + $03,$0e,$07,$03,$2b,$06,$03,$36,$06,$03,$50,$03,$02,$5f,$03,$02 + $80,$0b,$03,$84,$0b,$03,$88,$0b,$03,$8c,$0b,$03,$8d,$17,$03,$c0 + $0b,$03,$c4,$0b,$03,$c8,$0b,$03,$cc,$0b,$03,$cd,$17,$03,$fd,$02 + $a1,$02,$b1,$ff,$00,$00,$0d,$00,$08,$0d,$00,$10,$0c,$00,$14,$0c + $00,$1f,$1f,$00,$25,$0f,$02,$50,$0d,$00,$5f,$04,$02,$63,$0d,$00 + $70,$0d,$00,$78,$12,$00,$80,$11,$00,$88,$12,$00,$89,$0d,$00,$90 + $0e,$00,$94,$0d,$00,$9c,$0e,$00,$b0,$0c,$00,$bf,$0c,$00,$d1,$00 + $02,$d7,$00,$02,$fd,$02,$a0,$ff,$00,$00,$07,$03,$02,$06,$03,$06 + $13,$02,$0a,$14,$02,$0e,$07,$03,$12,$0a,$03,$2b,$0c,$00,$47,$13 + $02,$4b,$14,$02,$4e,$0c,$00,$4f,$14,$02,$50,$03,$02,$6b,$09,$00 + $7a,$09,$00,$80,$0d,$00,$87,$02,$02,$89,$0d,$00,$fd,$02,$b1,$ff + $03,$00,$0b,$03,$04,$0b,$03,$08,$0b,$03,$0c,$0b,$03,$30,$16,$03 + $34,$16,$03,$38,$16,$03,$3c,$16,$03,$40,$0b,$03,$44,$0b,$03,$48 + $0b,$03,$4c,$0b,$03,$80,$16,$03,$84,$16,$03,$88,$16,$03,$8c,$16 + $03,$90,$0b,$03,$94,$0b,$03,$98,$0b,$03,$9c,$0b,$03,$d0,$0b,$03 + $d4,$0b,$03,$d8,$0b,$03,$dc,$0b,$03,$ff,$03,$00,$0b,$03,$04,$0b + $03,$08,$0b,$03,$0c,$0b,$03,$40,$0b,$03,$44,$0b,$03,$48,$0b,$03 + $4c,$0b,$03,$74,$0b,$03,$80,$0b,$03,$88,$0b,$03,$8c,$0b,$03,$b0 + $0b,$03,$b4,$0b,$03,$bc,$0b,$03,$c8,$0b,$03,$ff,$03,$00,$07,$03 + $08,$06,$03,$0e,$07,$03,$1d,$18,$01,$32,$06,$03,$50,$07,$03,$5f + $03,$02,$86,$10,$01,$8d,$18,$01,$8e,$07,$03,$a0,$07,$03,$a9,$10 + $01,$be,$0b,$03,$cd,$18,$01,$fd,$02,$a1,$41,$02,$8b,$51,$06,$76 + $21,$82,$a3,$ff,$03,$00,$07,$03,$0e,$0b,$03,$2a,$06,$03,$33,$06 + $03,$35,$06,$03,$43,$0a,$03,$4e,$0b,$03,$50,$07,$03,$6e,$07,$03 + $80,$07,$03,$87,$06,$03,$97,$0a,$03,$be,$0b,$03,$c0,$07,$03,$d4 + $06,$03,$fd,$01,$86,$25,$11,$82,$c5,$41,$06,$79,$ff,$02,$00,$07 + $03,$05,$06,$03,$0c,$18,$01,$0e,$07,$03,$40,$07,$03,$57,$06,$03 + $5f,$03,$02,$80,$0b,$03,$84,$00,$02,$8c,$0b,$03,$a4,$17,$03,$a5 + $0b,$03,$a9,$0b,$03,$c0,$0b,$03,$c9,$0b,$03,$cd,$0b,$03,$d4,$17 + $03,$e5,$0b,$03,$fd,$02,$a1,$31,$02,$36,$41,$86,$48,$ff,$01,$00 + $07,$03,$0e,$07,$03,$12,$06,$03,$39,$06,$03,$50,$03,$02,$5e,$0b + $03,$80,$0b,$03,$84,$0b,$03,$88,$0b,$03,$8c,$17,$03,$8d,$0b,$03 + $b0,$0b,$03,$b8,$0b,$03,$bc,$17,$03,$bd,$0b,$03,$c4,$0b,$03,$ec + $17,$03,$fd,$02,$b1,$41,$06,$2b,$51,$02,$1a,$ff,$03,$00,$07,$03 + $0d,$18,$01,$0e,$07,$03,$4d,$18,$01,$50,$07,$03,$5e,$07,$03,$8d + $18,$01,$a0,$07,$03,$ae,$07,$03,$cd,$18,$01,$fd,$01,$02,$33,$31 + $82,$88,$ff,$03,$10,$0b,$03,$14,$0b,$03,$18,$0b,$03,$1c,$0b,$03 + $50,$03,$02,$5f,$03,$02,$80,$07,$03,$81,$17,$03,$82,$06,$03,$86 + $06,$03,$8a,$06,$03,$8e,$07,$03,$97,$0a,$03,$c0,$0b,$03,$cc,$0b + $03,$d4,$19,$02,$fd,$02,$a1,$02,$b1,$21,$0d,$e5,$ff,$03,$00,$07 + $03,$0e,$07,$03,$2b,$06,$03,$30,$06,$03,$4a,$06,$03,$50,$03,$02 + $5e,$07,$03,$80,$07,$03,$81,$06,$03,$ae,$07,$03,$b0,$07,$03,$b5 + $06,$03,$fd,$02,$b1,$11,$86,$a6,$31,$02,$ea,$21,$02,$39,$ff,$00 + $00,$0e,$00,$04,$0d,$00,$0c,$0d,$00,$10,$0c,$00,$50,$04,$02,$80 + $09,$00,$90,$0c,$00,$92,$09,$00,$af,$09,$00,$b9,$09,$00,$d0,$0e + $00,$d3,$00,$02,$db,$00,$02,$fd,$02,$b0,$01,$0d,$e7,$11,$8d,$ed + $31,$06,$aa,$ff,$01,$00,$0d,$00,$04,$0d,$00,$0c,$0e,$00,$1f,$0c + $00,$5f,$03,$02,$8c,$09,$00,$94,$09,$00,$9f,$0c,$00,$d0,$00,$02 + $d5,$00,$02,$dd,$0e,$00,$fd,$02,$a1,$21,$0d,$e2,$41,$0d,$ea,$31 + $06,$85,$ff,$03,$10,$0b,$03,$14,$0b,$03,$18,$0b,$03,$1c,$0b,$03 + $50,$03,$02,$5c,$0b,$03,$80,$07,$03,$81,$17,$03,$82,$06,$03,$86 + $06,$03,$8a,$06,$03,$8c,$0b,$03,$b0,$0b,$03,$b4,$19,$02,$bc,$17 + $03,$cd,$0b,$03,$d4,$0b,$03,$d8,$0b,$03,$fd,$02,$b1,$ff,$03,$00 + $2d,$03,$08,$2d,$03,$10,$1b,$03,$14,$0a,$03,$50,$03,$02,$80,$1b + $03,$9a,$1c,$03,$b0,$1b,$03,$b6,$1c,$03,$be,$1c,$03,$c4,$1c,$03 + $d4,$00,$02,$d9,$00,$02,$fd,$02,$b1,$01,$00,$1c,$41,$00,$18,$21 + $0d,$ec,$ff,$03,$00,$2d,$03,$08,$2d,$03,$12,$0a,$03,$1e,$1b,$03 + $5f,$03,$02,$69,$1c,$03,$8d,$1b,$03,$a3,$1d,$03,$b0,$1c,$03,$ce + $1b,$03,$d0,$00,$02,$d6,$00,$02,$fd,$02,$a1,$51,$80,$24,$41,$0d + $e2,$31,$86,$94,$11,$86,$69,$ff,$03,$00,$2d,$03,$08,$2d,$03,$16 + $0a,$03,$30,$1a,$01,$32,$1a,$01,$3a,$1a,$01,$3e,$1a,$01,$50,$1a + $01,$52,$1a,$01,$5a,$1a,$01,$5e,$1a,$01,$b7,$1c,$03,$d0,$00,$02 + $d8,$00,$02,$fd,$31,$0d,$e6,$51,$8d,$eb,$ff,$01,$00,$2d,$03,$08 + $2d,$03,$1c,$0a,$03,$52,$1c,$03,$58,$1c,$03,$5a,$1c,$03,$64,$1c + $03,$86,$1c,$03,$8c,$1c,$03,$8e,$1c,$03,$a0,$1c,$03,$d0,$1b,$03 + $d3,$00,$02,$d4,$1b,$03,$d7,$00,$02,$da,$1b,$03,$dd,$00,$02,$de + $1b,$03,$fd,$31,$0c,$1b,$01,$86,$54,$21,$86,$48,$51,$06,$7c,$ff + $03,$00,$2d,$03,$08,$2d,$03,$12,$0a,$03,$1c,$0a,$03,$a2,$1d,$03 + $ab,$1d,$03,$d0,$00,$02,$d8,$00,$02,$fd,$01,$0d,$e8,$11,$86,$94 + $21,$86,$9c,$51,$00,$18,$ff,$03,$00,$2d,$03,$08,$2d,$03,$16,$0a + $03,$80,$2d,$03,$8a,$2d,$03,$91,$0a,$03,$b8,$05,$01,$c7,$1d,$03 + $d0,$00,$02,$d8,$00,$02,$fd,$41,$06,$73,$51,$86,$7c,$31,$00,$27 + $27,$87,$b9,$ff,$03,$00,$2d,$03,$08,$2d,$03,$1a,$0a,$03,$24,$1c + $03,$3e,$18,$01,$54,$18,$01,$7e,$18,$01,$a2,$1c,$03,$a7,$1d,$03 + $be,$1c,$03,$d0,$00,$02,$d8,$00,$02,$fd,$31,$00,$17,$41,$06,$97 + $21,$8b,$e6,$01,$0d,$ec,$ff,$00,$00,$0d,$00,$08,$0d,$00,$10,$1f + $00,$44,$1f,$00,$80,$12,$00,$81,$0d,$00,$90,$1f,$00,$98,$1f,$00 + $ae,$0d,$00,$bb,$1f,$00,$d0,$00,$02,$d8,$00,$02,$fd,$31,$80,$17 + $ff,$03,$00,$30,$01,$08,$30,$01,$80,$0d,$00,$84,$05,$02,$86,$05 + $02,$88,$0d,$00,$8c,$20,$01,$94,$20,$01,$d0,$00,$02,$d8,$00,$02 + $fd,$27,$87,$85,$37,$87,$87,$41,$00,$29,$51,$00,$2c,$ff,$00,$00 + $20,$01,$04,$20,$01,$08,$20,$01,$0c,$2e,$01,$10,$2e,$01,$4c,$2e + $01,$50,$03,$02,$80,$2e,$01,$8c,$21,$01,$98,$20,$01,$9c,$2e,$01 + $a2,$20,$01,$c0,$2e,$01,$d2,$00,$02,$da,$00,$02,$fd,$02,$b1,$01 + $0c,$98,$31,$8c,$3a,$11,$0c,$38,$41,$8b,$e6,$ff,$02,$00,$22,$02 + $04,$22,$02,$08,$22,$02,$0c,$22,$02,$1c,$22,$02,$5f,$03,$02,$8c + $22,$02,$a8,$22,$02,$b0,$22,$02,$b1,$23,$01,$b4,$22,$02,$d0,$00 + $02,$d8,$00,$02,$fd,$02,$a1,$41,$0e,$b1,$31,$00,$49,$ff,$02,$00 + $22,$02,$04,$22,$02,$08,$22,$02,$0c,$22,$02,$10,$22,$02,$50,$03 + $02,$80,$22,$02,$b4,$22,$02,$b8,$22,$02,$bc,$22,$02,$bd,$23,$01 + $d0,$00,$02,$d8,$00,$02,$fd,$02,$b1,$01,$0e,$bd,$21,$00,$49,$ff + $02,$00,$22,$02,$04,$22,$02,$08,$22,$02,$0c,$22,$02,$b6,$22,$02 + $b7,$23,$01,$c1,$22,$02,$cb,$22,$02,$d0,$00,$02,$d8,$00,$02,$fd + $51,$0e,$b7,$11,$06,$bd,$31,$86,$b3,$ff,$02,$00,$22,$02,$04,$22 + $02,$08,$22,$02,$0c,$22,$02,$90,$22,$02,$9c,$22,$02,$a7,$23,$01 + $b4,$22,$02,$b8,$22,$02,$d0,$00,$02,$d8,$00,$02,$fd,$41,$0e,$a7 + $11,$02,$99,$ff,$00,$00,$2f,$03,$08,$2f,$03,$0b,$06,$03,$1c,$26 + $03,$21,$25,$03,$22,$06,$03,$5f,$04,$02,$8c,$26,$03,$b0,$25,$03 + $b3,$23,$01,$b7,$24,$03,$c2,$26,$03,$ce,$26,$03,$d0,$00,$02,$d6 + $00,$02,$fd,$02,$a1,$41,$0e,$b3,$11,$86,$a9,$21,$0c,$43,$01,$0b + $eb,$ff,$03,$00,$2f,$03,$08,$2f,$03,$10,$26,$03,$19,$06,$03,$50 + $03,$02,$80,$26,$03,$aa,$25,$03,$b3,$24,$03,$ce,$24,$03,$d0,$00 + $02,$d8,$00,$02,$fd,$02,$b1,$31,$06,$be,$51,$86,$9a,$41,$0c,$77 + $21,$0c,$38,$ff,$03,$00,$2f,$03,$08,$2f,$03,$14,$06,$03,$17,$24 + $03,$1e,$26,$03,$23,$25,$03,$5f,$03,$02,$8d,$26,$03,$c2,$24,$03 + $c7,$24,$03,$cc,$26,$03,$d0,$00,$02,$d6,$00,$02,$fd,$02,$a1,$01 + $86,$b4,$11,$86,$b8,$21,$0c,$59,$31,$0c,$55,$ff,$03,$00,$2f,$03 + $08,$2f,$03,$14,$06,$03,$8d,$24,$03,$8f,$29,$03,$97,$24,$03,$b1 + $24,$03,$b2,$05,$01,$d0,$00,$02,$d8,$00,$02,$fd,$31,$86,$88,$41 + $06,$7c,$51,$00,$29,$17,$87,$b3,$ff,$03,$00,$2f,$03,$08,$2f,$03 + $50,$2a,$03,$56,$2a,$03,$63,$2a,$03,$6e,$2a,$03,$78,$2a,$03,$8c + $2a,$03,$9f,$2a,$03,$a1,$2a,$03,$a5,$2a,$03,$ba,$2a,$03,$c7,$2a + $03,$d0,$00,$02,$d8,$00,$02,$fd,$01,$0d,$e8,$21,$8b,$ed,$31,$0b + $e9,$ff,$00,$00,$2f,$03,$08,$2f,$03,$0a,$25,$03,$90,$2f,$03,$99 + $05,$01,$9b,$24,$03,$9f,$06,$03,$a7,$06,$03,$d0,$00,$02,$d8,$00 + $02,$fd,$01,$0c,$27,$37,$07,$9a,$ff,$00,$00,$0e,$00,$04,$0d,$00 + $0c,$0e,$00,$20,$0c,$00,$2f,$0c,$00,$52,$1f,$00,$60,$28,$03,$64 + $1f,$00,$6f,$25,$03,$7f,$29,$03,$8e,$1f,$00,$97,$1f,$00,$cb,$1f + $00,$d0,$00,$02,$d8,$00,$02,$fd,$31,$86,$54,$41,$86,$87,$51,$0d + $e9,$01,$8b,$e5,$ff,$02,$00,$20,$01,$04,$20,$01,$08,$20,$01,$0c + $20,$01,$10,$2c,$01,$50,$04,$02,$80,$2c,$01,$81,$15,$03,$87,$27 + $03,$8a,$27,$03,$8c,$27,$03,$8e,$27,$03,$c0,$2c,$01,$d2,$00,$02 + $da,$00,$02,$fd,$02,$b1,$51,$0d,$e9,$ff,$02,$00,$30,$01,$08,$30 + $01,$10,$2c,$01,$17,$15,$03,$50,$03,$02,$80,$20,$01,$86,$2b,$00 + $8a,$2b,$00,$a0,$2c,$01,$bc,$2b,$00,$d2,$00,$02,$da,$00,$02,$e0 + $2c,$01,$fd,$02,$b1,$01,$06,$77,$11,$86,$7c,$21,$00,$2a,$ff,$00 + $00,$30,$01,$05,$15,$03,$08,$30,$01,$50,$2b,$00,$55,$2b,$00,$6b + $2b,$00,$91,$2b,$00,$a8,$2b,$00,$b3,$2b,$00,$cc,$2b,$00,$d0,$00 + $02,$d8,$00,$02,$fd,$41,$06,$43,$51,$86,$47,$31,$06,$84,$21,$86 + $99,$ff,$02,$00,$30,$01,$08,$30,$01,$15,$15,$03,$1e,$2c,$01,$5f + $03,$02,$8c,$20,$01,$97,$2b,$00,$ae,$2c,$01,$c2,$2b,$00,$d0,$00 + $02,$d6,$00,$02,$ee,$2c,$01,$fd,$02,$a1,$21,$86,$88,$31,$86,$b3 + $41,$0b,$e0,$51,$8b,$eb,$ff,$00,$00,$30,$01,$08,$30,$01,$2b,$18 + $01,$55,$18,$01,$6b,$18,$01,$95,$18,$01,$a0,$2c,$01,$ae,$2c,$01 + $b8,$2c,$01,$d0,$00,$02,$d8,$00,$02,$fd,$31,$86,$45,$21,$06,$a9 + $11,$86,$9e,$01,$0b,$e3,$ff,$00,$00,$30,$01,$08,$30,$01,$46,$2c + $01,$86,$2c,$01,$94,$20,$01,$af,$20,$01,$c0,$30,$01,$cb,$20,$01 + $d0,$00,$02,$d5,$20,$01,$d9,$00,$02,$fd,$01,$0c,$59,$ff,$03,$00 + $07,$03,$0e,$07,$03,$19,$06,$03,$44,$06,$03,$50,$07,$03,$5e,$07 + $03,$93,$06,$03,$a0,$07,$03,$ae,$07,$03,$c7,$06,$03,$ff acb9: 08 01 01 01+ LACB9 .bulk $08,$01,$01,$01,$01,$01,$01,$01,$01,$08,$00,$00,$00,$00,$00,$00 + $00,$00,$ff,$08,$02,$02,$02,$02,$02,$02,$02,$02,$01,$0a,$01,$0a + $01,$0a,$08,$02,$02,$02,$02,$02,$02,$02,$02,$ff,$02,$04,$05,$02 + $04,$05,$02,$04,$05,$02,$04,$05,$02,$04,$05,$02,$04,$05,$02,$04 + $05,$02,$04,$05,$ff,$01,$06,$01,$06,$01,$06,$ff,$01,$07,$01,$07 + $01,$07,$ff,$02,$08,$09,$ff,$04,$0b,$0b,$0b,$0b,$ff,$02,$0b,$0f + $02,$0c,$0b,$02,$0f,$0c,$02,$0b,$0b,$02,$0c,$0f,$ff,$01,$0d,$01 + $0e,$ff,$04,$10,$10,$10,$10,$ff,$04,$12,$13,$11,$13,$01,$13,$ff + $04,$0f,$0c,$0c,$0b,$04,$0b,$0f,$0b,$0c,$04,$0c,$0f,$0c,$0b,$04 + $0f,$0b,$0f,$0c,$ff,$01,$1f,$01,$1f,$01,$1f,$01,$1f,$ff,$08,$20 + $20,$20,$20,$20,$20,$20,$20,$ff,$04,$21,$21,$21,$21,$04,$21,$21 + $21,$21,$ff,$02,$15,$18,$03,$16,$19,$1e,$03,$17,$1a,$1b,$ff,$01 + $1e,$ff,$08,$22,$22,$22,$22,$22,$22,$22,$22,$ff,$01,$23,$ff,$04 + $24,$26,$26,$26,$04,$25,$26,$26,$26,$13,$27,$26,$26,$04,$28,$29 + $26,$2a,$ff,$04,$26,$26,$26,$26,$04,$26,$26,$26,$26,$04,$26,$26 + $26,$26,$04,$26,$26,$26,$26,$ff,$04,$0f,$0f,$0f,$0f,$ff,$04,$2d + $3d,$2c,$3d,$ff,$01,$2d,$01,$3d,$01,$2c,$01,$3d,$ff,$01,$1d,$01 + $1d,$01,$1d,$01,$1d,$ff,$08,$2e,$2e,$2e,$2e,$2e,$2e,$2e,$2e,$08 + $2f,$2f,$2f,$2f,$2f,$2f,$2f,$2f,$ff,$04,$1d,$1d,$1d,$1d,$04,$1d + $1d,$1d,$1d,$04,$1d,$1d,$1d,$1d,$04,$1d,$1d,$1d,$1d,$ff,$04,$31 + $30,$31,$30,$04,$30,$30,$30,$30,$04,$31,$30,$31,$31,$04,$30,$31 + $30,$30,$ff,$01,$30,$01,$31,$01,$30,$01,$30,$01,$31,$01,$31,$01 + $30,$01,$30,$ff,$04,$30,$31,$30,$30,$ff,$01,$1c,$ff,$01,$21,$01 + $1f,$01,$1f,$01,$21,$ff,$04,$34,$34,$34,$34,$04,$34,$34,$34,$34 + $ff,$04,$35,$35,$35,$35,$ff,$04,$37,$37,$37,$37,$04,$37,$36,$37 + $36,$04,$36,$37,$36,$37,$04,$37,$37,$36,$37,$ff,$02,$32,$33,$ff + $04,$2b,$2b,$2b,$2b,$04,$2b,$2b,$2b,$2b,$ff,$01,$2b,$01,$2b,$01 + $2b,$01,$2b,$ff,$04,$2b,$2b,$2b,$2b,$04,$2b,$2b,$2b,$2b,$04,$2b + $2b,$2b,$2b,$04,$2b,$2b,$2b,$2b,$ff,$01,$14,$ff,$01,$2b,$01,$2b + $01,$2b,$01,$2b,$ff,$01,$39,$ff,$01,$38,$ff,$04,$3a,$3b,$3b,$3c + $ff,$02,$34,$34,$02,$34,$34,$02,$34,$34,$02,$34,$34,$ff,$08,$30 + $31,$30,$31,$30,$30,$31,$30,$ff,$04,$34,$34,$34,$34,$04,$34,$34 + $34,$34,$04,$34,$34,$34,$34,$04,$34,$34,$34,$34,$ff,$08,$2b,$2b + $2b,$2b,$2b,$2b,$2b,$2b,$08,$2b,$2b,$2b,$2b,$2b,$2b,$2b,$2b,$ff + $08,$34,$34,$34,$34,$34,$34,$34,$34,$08,$34,$34,$34,$34,$34,$34 + $34,$34,$ff aeec: f1 f1 f1 f1+ LAEEC .bulk $f1,$f1,$f1,$f1,$ff,$ff,$f0,$f0,$64,$64,$64,$64,$ff,$ff,$64,$64 + $a4,$ff,$a4,$ff,$ff,$a5,$ff,$a5,$a0,$a0,$a0,$a0,$a1,$a1,$a1,$a1 + $ff,$ff,$59,$5a,$ff,$ff,$5a,$5b,$ff,$ff,$ff,$ff,$10,$10,$10,$10 + $23,$24,$25,$0b,$1b,$1c,$1d,$1e,$17,$18,$19,$1a,$1f,$20,$21,$22 + $60,$61,$62,$63,$0e,$0f,$ff,$ff,$0c,$0d,$0d,$0d,$10,$0d,$ff,$10 + $10,$ff,$ff,$ff,$ff,$ff,$ff,$30,$ff,$33,$ff,$36,$ff,$39,$ff,$3d + $ff,$ff,$31,$32,$34,$35,$37,$38,$3a,$3b,$3e,$3f,$3c,$41,$40,$42 + $84,$85,$86,$87,$80,$81,$82,$83,$88,$89,$8a,$8b,$45,$46,$45,$46 + $47,$48,$48,$47,$5c,$5d,$5e,$5f,$b8,$b8,$b9,$b9,$74,$75,$75,$74 + $c1,$13,$13,$13,$36,$be,$bc,$bd,$bf,$14,$15,$14,$c0,$14,$c0,$16 + $ff,$c1,$ff,$ff,$c2,$14,$ff,$ff,$30,$13,$bc,$bd,$13,$14,$15,$16 + $d7,$d7,$d7,$d7,$76,$76,$76,$76,$ff,$ff,$ba,$ba,$bb,$bb,$bb,$bb + $00,$01,$02,$03,$04,$05,$06,$07,$ff,$ff,$08,$09,$ff,$ff,$09,$0a + $55,$56,$57,$58,$90,$91,$92,$93,$4b,$4c,$4d,$50,$51,$52,$53,$54 + $70,$71,$72,$73,$8c,$8d,$8e,$8f,$11,$12,$ff,$11,$11,$12,$12,$11 + $11,$12,$12,$ff,$c3,$c4,$c5,$c6,$30,$00,$bc,$bd,$cd,$ce,$cf,$d0 + $d1,$d2,$d3,$d4,$90,$91,$92,$93,$20,$20,$20,$20,$c0,$c0,$c0,$c0 + $c0,$c0,$c0,$c0,$c3,$b6,$26,$b3,$22,$b2,$2c,$b6,$26,$b4,$22,$ff + $c2,$b6,$30,$34,$b3,$3a,$b1,$38,$34,$b4,$2a,$ff,$c2,$b3,$2a,$b2 + $2e,$b3,$26,$b2,$2a,$b6,$22,$02,$ff,$00,$c3,$b6,$1e,$b3,$1a,$b2 + $24,$b6,$1e,$b4,$1a,$ff,$c2,$b6,$26,$2a,$30,$b1,$20,$1c,$b6,$20 + $ff,$c2,$b1,$20,$12,$16,$20,$b2,$24,$b1,$1c,$0e,$12,$1c,$b2,$20 + $b1,$18,$12,$14,$18,$14,$b6,$12,$b1,$02,$ff,$c3,$b1,$34,$02,$3e + $02,$42,$02,$b3,$30,$b1,$3a,$02,$b2,$34,$b3,$02,$30,$02,$ff,$c2 + $b2,$22,$30,$34,$26,$34,$38,$2c,$34,$3a,$b3,$18,$b2,$2a,$02,$ff + $c2,$b3,$1c,$b2,$20,$b3,$18,$b2,$1c,$14,$14,$02,$b6,$02,$ff,$e0 + $b2,$01,$04,$04,$01,$04,$04,$b6,$04,$04,$b2,$01,$ff b099: b9 30 3a 3e+ .junk 359 b200: 00 10 01 18+ LB200_0 .bulk $00,$10,$01,$18,$00,$01,$38,$01,$02,$40,$00,$09,$58,$80,$7f,$80 + $48,$35,$7f,$00,$b0,$19,$7f,$0e,$a0,$0d,$7f,$0f,$08,$16,$7f,$0b + $18,$13,$7f,$0e,$f8,$c1,$89,$02,$0f,$34,$ba,$e0,$05,$34,$bb,$ce + $05,$b6,$7f,$00,$c2,$b6,$7f,$04,$c2,$17,$7f,$66,$89,$89,$7f,$67 + $18,$8b,$7f,$fd,$28,$02,$7f,$a8,$f8,$d7,$83,$58,$f8,$d6,$82,$58 + $f8,$95,$8c,$40,$b9,$1d,$9a,$20,$8f,$16,$8d,$e0,$42,$19,$7f,$6f + $40,$18,$7f,$80,$40,$07,$7f,$40,$28,$07,$7f,$45,$28,$7f,$7f,$dd + $3b,$7f,$7f,$ff,$98,$7f,$7f,$40,$08,$09,$7f,$30,$48,$03,$7f,$42 + $18,$03,$7f,$11,$09,$7f,$7f,$30,$b2,$bb,$b2,$22,$b3,$00,$cb,$b2 + $ee,$b4,$00,$db,$b2,$30,$b3,$01,$eb,$b2,$ee,$b4,$01,$fb,$b2,$44 + $b3,$03,$0b,$b3,$ee,$b4,$03,$06,$bc,$5c,$b3,$04,$16,$bc,$64,$b3 + $04,$26,$bc,$4b,$bc,$00,$26,$bc,$3d,$bc,$00 b2bb: ee b4 .dd2 TB4EE_1 b2bd: 2b b5 .dd2 TB52B_1 b2bf: 6e b5 .dd2 TB56E_1 b2c1: 83 b5 .dd2 TB583_1 b2c3: 98 b5 .dd2 TB598_1 b2c5: 0f b5 .dd2 TB50F_1 b2c7: ee b4 .dd2 TB4EE_1 b2c9: ee b4 .dd2 TB4EE_1 b2cb: ee b4 .dd2 TB4EE_1 b2cd: 39 b5 .dd2 TB539_1 b2cf: 7b b5 .dd2 TB57B_1 b2d1: 8a b5 .dd2 TB58A_1 b2d3: 8a b5 .dd2 TB58A_1 b2d5: 16 b5 .dd2 TB516_1 b2d7: ee b4 .dd2 TB4EE_1 b2d9: ee b4 .dd2 TB4EE_1 b2db: cd b6 .dd2 TB6CD_1 b2dd: e7 b6 .dd2 TB6E7_1 b2df: 35 b7 .dd2 TB735_1 b2e1: 16 b7 .dd2 TB716_1 b2e3: 3c b7 .dd2 TB73C_1 b2e5: 10 b7 .dd2 TB710_1 b2e7: 03 b7 .dd2 TB703_1 b2e9: 7a b7 .dd2 TB77A_1 b2eb: b0 b6 .dd2 TB6B0_1 b2ed: d3 b6 .dd2 TB6D3_1 b2ef: ed b6 .dd2 TB6ED_1 b2f1: 4f b7 .dd2 TB74F_1 b2f3: ed b6 .dd2 TB6ED_1 b2f5: ed b6 .dd2 TB6ED_1 b2f7: ed b6 .dd2 TB6ED_1 b2f9: 81 b7 .dd2 TB781_1 b2fb: d2 b8 .dd2 TB8D2_1 b2fd: ac b7 .dd2 TB7AC_1 b2ff: a7 b8 .dd2 TB8A7_1 b301: 21 b9 .dd2 TB921_1 b303: d9 b7 .dd2 TB7D9_1 b305: ef b7 .dd2 TB7EF_1 b307: 34 b8 .dd2 TB834_1 b309: 78 b8 .dd2 TB878_1 b30b: ed b8 .dd2 TB8ED_1 b30d: cb b7 .dd2 TB7CB_1 b30f: b1 b8 .dd2 TB8B1_1 b311: 40 b9 .dd2 TB940_1 b313: e7 b7 .dd2 TB7E7_1 b315: 0e b8 .dd2 TB80E_1 b317: 4f b8 .dd2 TB84F_1 b319: 7f b8 .dd2 TB87F_1 b31b: ad 80 06 LB31B_0 lda NoiseSFXFlag b31e: a2 89 ldx #$89 b320: d0 15 bne LB337_1 b322: ad 88 06 lda NoiseContSFX b325: a2 8e ldx #$8e b327: d0 0e bne LB337_1 b329: ad 81 06 LB329_1 lda SQ1SFXFlag b32c: a2 93 ldx #$93 b32e: d0 07 bne LB337_1 b330: ad 89 06 lda SQ1ContSFX b333: a2 98 ldx #$98 b335: d0 00 bne LB337_1 b337: 20 bd b4 LB337_1 jsr LB4BD_1 b33a: 6c e2 00 jmp ($00e2) b33d: ad 83 06 LB33D_0 lda TriangleSFXFlag b340: a2 9d ldx #$9d b342: d0 f3 bne LB337_1 b344: ad 8b 06 lda TriangleContSFX b347: a2 a2 ldx #$a2 b349: d0 ec bne LB337_1 b34b: ad 84 06 LB34B_0 lda MultiSFXFlag b34e: a2 a7 ldx #$a7 b350: 20 bd b4 jsr LB4BD_1 b353: 20 53 bc jsr LBC53_0 b356: 20 64 bc jsr LBC64_0 b359: 6c e2 00 jmp ($00e2) b35c: ad 8c 06 lda MultiContSFX b35f: a2 ac ldx #$ac b361: 4c 37 b3 jmp LB337_1 b364: 20 29 b3 jsr LB329_1 b367: 60 rts b368: a9 00 LB368_1 lda #$00 b36a: f0 0a beq LB376_1 b36c: a9 08 LB36C_1 lda #$08 b36e: d0 06 bne LB376_1 b370: a9 0c LB370_1 lda #$0c b372: d0 02 bne LB376_1 b374: a9 04 LB374_1 lda #$04 b376: 85 e0 LB376_1 sta $e0 b378: a9 40 lda #$40 b37a: 85 e1 sta $e1 b37c: 84 e2 sty $e2 b37e: a9 b2 lda #$b2 b380: 85 e3 sta $e3 b382: a0 00 ldy #$00 b384: b1 e2 LB384_1 lda ($e2),y b386: 91 e0 sta ($e0),y b388: c8 iny b389: 98 tya b38a: c9 04 cmp #$04 b38c: d0 f6 bne LB384_1 b38e: 60 rts b38f: ee 02 06 LB38F_0 inc SFXPaused b392: 20 3e b4 jsr LB43E_1 b395: 8d 03 06 sta PauseSFXStatus b398: 60 rts b399: ad 02 06 LB399_0 lda SFXPaused b39c: f0 f1 beq LB38F_0 b39e: ad 03 06 lda PauseSFXStatus b3a1: c9 12 cmp #$12 b3a3: f0 0e beq LB3B3_0 b3a5: 29 03 and #$03 b3a7: c9 03 cmp #$03 b3a9: d0 05 bne LB3B0_0 b3ab: a0 0d ldy #$0d b3ad: 20 68 b3 jsr LB368_1 b3b0: ee 03 06 LB3B0_0 inc PauseSFXStatus b3b3: 60 LB3B3_0 rts b3b4: a9 c0 lda #$c0 b3b6: 8d 17 40 sta APUCommonCntrl1 b3b9: ad 80 06 lda NoiseSFXFlag b3bc: 4a lsr A b3bd: b0 2c bcs LB3EB_0 b3bf: a5 1e lda MainRoutine b3c1: c9 05 cmp #$05 b3c3: f0 d4 beq LB399_0 b3c5: a9 00 lda #$00 b3c7: 8d 02 06 sta SFXPaused b3ca: 20 1b b3 jsr LB31B_0 b3cd: 20 4b b3 jsr LB34B_0 b3d0: 20 3d b3 jsr LB33D_0 b3d3: 20 36 bc jsr LBC36_0 b3d6: a9 00 LB3D6_0 lda #$00 b3d8: 8d 80 06 sta NoiseSFXFlag b3db: 8d 81 06 sta SQ1SFXFlag b3de: 8d 82 06 sta SQ2SFXFlag b3e1: 8d 83 06 sta TriangleSFXFlag b3e4: 8d 84 06 sta MultiSFXFlag b3e7: 8d 85 06 sta MusicInitFlag b3ea: 60 rts b3eb: 20 04 b4 LB3EB_0 jsr LB404_1 b3ee: f0 e6 beq LB3D6_0 b3f0: ad 2c 06 LB3F0_1 lda MusicRepeat b3f3: f0 0f beq LB404_1 b3f5: ad 8d 06 lda CurrentMusic b3f8: 8d 5d 06 sta CurrentMusicRepeat b3fb: 60 rts b3fc: ad 8d 06 LB3FC_1 lda CurrentMusic b3ff: cd 4d 06 cmp CurrentSFXFlags b402: f0 06 beq LB40A_1 b404: 20 1d b4 LB404_1 jsr LB41D_1 b407: 20 3e b4 jsr LB43E_1 b40a: 20 0e b4 LB40A_1 jsr LB40E_1 b40d: 60 rts b40e: a9 00 LB40E_1 lda #$00 b410: 8d 2d 06 sta TriangleCounterCntrl b413: 8d 02 06 sta SFXPaused b416: 8d 5d 06 sta CurrentMusicRepeat b419: 8d 2c 06 sta MusicRepeat b41c: 60 rts b41d: a9 00 LB41D_1 lda #$00 b41f: 8d 53 06 sta SQ1InUse b422: 8d 54 06 sta SQ2InUse b425: 8d 55 06 sta TriangleInUse b428: 8d 07 06 sta WriteMultiChannelData b42b: 8d 88 06 sta NoiseContSFX b42e: 8d 89 06 sta SQ1ContSFX b431: 8d 8a 06 sta SQ2ContSFX b434: 8d 8b 06 sta TriangleContSFX b437: 8d 8c 06 sta MultiContSFX b43a: 8d 8d 06 sta CurrentMusic b43d: 60 rts b43e: a9 10 LB43E_1 lda #$10 b440: 8d 00 40 sta SQ1Cntrl0 b443: 8d 04 40 sta SQ2Cntrl0 b446: 8d 0c 40 sta NoiseCntrl0 b449: a9 00 lda #$00 b44b: 8d 08 40 sta TriangleCntrl0 b44e: 8d 11 40 sta DMCCntrl1 b451: 60 rts b452: ae 5c 06 LB452_1 ldx ChannelType b455: 9d 60 06 sta NoiseSFXLength,x b458: 8a txa b459: f0 1c beq LB477_1 b45b: c9 01 cmp #$01 b45d: f0 09 beq LB468_1 b45f: c9 02 cmp #$02 b461: f0 0a beq LB46D_1 b463: c9 03 cmp #$03 b465: f0 0b beq LB472_1 b467: 60 rts b468: 20 68 b3 LB468_1 jsr LB368_1 b46b: f0 0d beq LB47A_1 b46d: 20 74 b3 LB46D_1 jsr LB374_1 b470: f0 08 beq LB47A_1 b472: 20 6c b3 LB472_1 jsr LB36C_1 b475: f0 03 beq LB47A_1 b477: 20 70 b3 LB477_1 jsr LB370_1 b47a: 20 93 b4 LB47A_1 jsr LB493_1 b47d: 8a txa b47e: 9d 52 06 sta NoiseInUse,x b481: a9 00 lda #$00 b483: 9d 65 06 sta ThisNoiseFrame,x b486: 9d 70 06 sta NoiseSFXData,x b489: 9d 74 06 sta MultiSFXData,x b48c: 9d 78 06 sta ScrewAttackSFXData,x b48f: 8d 07 06 sta WriteMultiChannelData b492: 60 rts b493: ae 5c 06 LB493_1 ldx ChannelType b496: bd 88 06 lda NoiseContSFX,x b499: 29 00 and #$00 b49b: 0d 4d 06 ora CurrentSFXFlags b49e: 9d 88 06 sta NoiseContSFX,x b4a1: 60 rts b4a2: a9 00 LB4A2_1 lda #$00 b4a4: 8d 4d 06 sta CurrentSFXFlags b4a7: f0 ea beq LB493_1 b4a9: ae 5c 06 LB4A9_1 ldx ChannelType b4ac: fe 65 06 inc ThisNoiseFrame,x b4af: bd 65 06 lda ThisNoiseFrame,x b4b2: dd 60 06 cmp NoiseSFXLength,x b4b5: d0 05 bne LB4BC_1 b4b7: a9 00 lda #$00 b4b9: 9d 65 06 sta ThisNoiseFrame,x b4bc: 60 LB4BC_1 rts b4bd: 8d 4d 06 LB4BD_1 sta CurrentSFXFlags b4c0: 86 e4 stx $e4 b4c2: a0 b2 ldy #$b2 b4c4: 84 e5 sty $e5 b4c6: a0 00 ldy #$00 b4c8: b1 e4 LB4C8_1 lda ($e4),y b4ca: 99 e0 00 sta $00e0,y b4cd: c8 iny b4ce: 98 tya b4cf: c9 04 cmp #$04 b4d1: d0 f5 bne LB4C8_1 b4d3: b1 e4 lda ($e4),y b4d5: 8d 5c 06 sta ChannelType b4d8: a0 00 ldy #$00 b4da: ad 4d 06 lda CurrentSFXFlags b4dd: 48 pha b4de: 0e 4d 06 LB4DE_1 asl CurrentSFXFlags b4e1: b0 0c bcs LB4EF_1 b4e3: c8 iny b4e4: c8 iny b4e5: 98 tya b4e6: c9 10 cmp #$10 b4e8: d0 f4 bne LB4DE_1 b4ea: 68 LB4EA_1 pla b4eb: 8d 4d 06 sta CurrentSFXFlags b4ee: 60 TB4EE_1 rts b4ef: b1 e0 LB4EF_1 lda ($e0),y b4f1: 85 e2 sta $e2 b4f3: c8 iny b4f4: b1 e0 lda ($e0),y b4f6: 85 e3 sta $e3 b4f8: 4c ea b4 jmp LB4EA_1 b4fb: 12 13 14 15+ LB4FB_1 .bulk $12,$13,$14,$15,$16,$17,$18,$19,$1a,$1b,$1c,$1d,$1b,$1a,$19,$17 + $16,$15,$14,$12 b50f: a9 14 TB50F_1 lda #$14 b511: a0 21 ldy #$21 b513: 4c 52 b4 jmp LB452_1 b516: 20 a9 b4 TB516_1 jsr LB4A9_1 b519: d0 03 bne LB51E_1 b51b: 4c 8f b5 jmp LB58F_1 b51e: ac 70 06 LB51E_1 ldy NoiseSFXData b521: b9 fb b4 lda LB4FB_1,y b524: 8d 0c 40 sta NoiseCntrl0 b527: ee 70 06 inc NoiseSFXData b52a: 60 rts b52b: a9 05 TB52B_1 lda #$05 b52d: a0 11 ldy #$11 b52f: 20 52 b4 jsr LB452_1 b532: ad 13 b2 lda LB200_0+19 b535: 8d 70 06 sta NoiseSFXData b538: 60 LB538_1 rts b539: ad 78 06 TB539_1 lda ScrewAttackSFXData b53c: c9 02 cmp #$02 b53e: f0 09 beq LB549_1 b540: 20 a9 b4 jsr LB4A9_1 b543: d0 f3 bne LB538_1 b545: ee 78 06 inc ScrewAttackSFXData b548: 60 rts b549: 20 a9 b4 LB549_1 jsr LB4A9_1 b54c: d0 16 bne LB564_1 b54e: ce 70 06 dec NoiseSFXData b551: ce 70 06 dec NoiseSFXData b554: ce 70 06 dec NoiseSFXData b557: ee 74 06 inc MultiSFXData b55a: ad 74 06 lda MultiSFXData b55d: c9 0f cmp #$0f b55f: d0 d7 bne LB538_1 b561: 4c 8f b5 jmp LB58F_1 b564: ee 70 06 LB564_1 inc NoiseSFXData b567: ad 70 06 lda NoiseSFXData b56a: 8d 0e 40 sta NoiseCntrl2 b56d: 60 rts b56e: a9 18 TB56E_1 lda #$18 b570: a0 15 ldy #$15 b572: 20 87 b5 jsr LB587_1 b575: a9 0a lda #$0a b577: 8d 70 06 sta NoiseSFXData b57a: 60 rts b57b: 20 a9 b4 TB57B_1 jsr LB4A9_1 b57e: d0 e4 bne LB564_1 b580: 4c 8f b5 jmp LB58F_1 b583: a9 30 TB583_1 lda #$30 b585: a0 19 ldy #$19 b587: 4c 52 b4 LB587_1 jmp LB452_1 b58a: 20 a9 b4 TB58A_1 jsr LB4A9_1 b58d: d0 08 bne LB597_1 b58f: 20 a2 b4 LB58F_1 jsr LB4A2_1 b592: a9 10 lda #$10 b594: 8d 0c 40 sta NoiseCntrl0 b597: 60 LB597_1 rts b598: ad 88 06 TB598_1 lda NoiseContSFX b59b: 29 34 and #$34 b59d: d0 f8 bne LB597_1 b59f: a9 03 lda #$03 b5a1: a0 1d ldy #$1d b5a3: d0 e2 bne LB587_1 b5a5: 8d 64 06 LB5A5_1 sta MultiSFXLength b5a8: 20 74 b3 jsr LB374_1 b5ab: 20 93 b4 jsr LB493_1 b5ae: a9 01 lda #$01 b5b0: 8d 53 06 sta SQ1InUse b5b3: a9 02 lda #$02 b5b5: 8d 54 06 sta SQ2InUse b5b8: a9 00 lda #$00 b5ba: 8d 89 06 sta SQ1ContSFX b5bd: 8d 71 06 sta SQ1SFXData b5c0: 8d 75 06 sta SQ1SQ2SFXData b5c3: 8d 79 06 sta SQ1SFXPeriodLow b5c6: 8d 69 06 sta ThisMultiFrame b5c9: 8d 07 06 sta WriteMultiChannelData b5cc: 60 rts b5cd: a9 10 LB5CD_1 lda #$10 b5cf: 8d 00 40 sta SQ1Cntrl0 b5d2: 8d 04 40 sta SQ2Cntrl0 b5d5: a9 7f lda #$7f b5d7: 8d 01 40 sta SQ1Cntrl1 b5da: 8d 05 40 sta SQ2Cntrl1 b5dd: 20 a2 b4 jsr LB4A2_1 b5e0: a9 00 lda #$00 b5e2: 8d 53 06 sta SQ1InUse b5e5: 8d 54 06 sta SQ2InUse b5e8: ee 07 06 inc WriteMultiChannelData b5eb: 60 rts b5ec: a0 2d LB5EC ldy #$2d b5ee: 20 68 b3 jsr LB368_1 b5f1: a0 29 ldy #$29 b5f3: 4c a5 b5 jmp LB5A5_1 b5f6: ee 71 06 LB5F6 inc SQ1SFXData b5f9: ac 71 06 ldy SQ1SFXData b5fc: b9 3c b6 lda LB63C_1,y b5ff: 8d 00 40 sta SQ1Cntrl0 b602: 8d 04 40 sta SQ2Cntrl0 b605: ad 71 06 lda SQ1SFXData b608: c9 14 cmp #$14 b60a: f0 2d beq LB639_1 b60c: c9 06 cmp #$06 b60e: 90 10 bcc LB620_1 b610: a5 2e lda RandomNumber1 b612: 09 10 ora #$10 b614: 29 7f and #$7f b616: 8d 79 06 sta SQ1SFXPeriodLow b619: 2a rol A b61a: 8d 75 06 sta SQ1SQ2SFXData b61d: 4c 2c b6 jmp LB62C_1 b620: ee 75 06 LB620_1 inc SQ1SQ2SFXData b623: ee 75 06 inc SQ1SQ2SFXData b626: ee 79 06 inc SQ1SFXPeriodLow b629: ee 79 06 inc SQ1SFXPeriodLow b62c: ad 75 06 LB62C_1 lda SQ1SQ2SFXData b62f: 8d 06 40 sta SQ2Cntrl2 b632: ad 79 06 lda SQ1SFXPeriodLow b635: 8d 02 40 sta SQ1Cntrl2 b638: 60 rts b639: 4c cd b5 LB639_1 jmp LB5CD_1 b63c: 38 3d 3f 3f+ LB63C_1 .bulk $38,$3d,$3f,$3f,$3f,$3f,$3f,$3d,$3b,$39,$3b,$3d,$3f,$3d,$3b,$39 + $3b,$3d,$3f,$39 b650: 20 a9 b4 LB650 jsr LB4A9_1 b653: d0 03 bne LB658_1 b655: 4c cd b5 jmp LB5CD_1 b658: a0 25 LB658_1 ldy #$25 b65a: 20 68 b3 jsr LB368_1 b65d: a5 2e lda RandomNumber1 b65f: 29 0f and #$0f b661: 8d 02 40 sta SQ1Cntrl2 b664: a0 25 ldy #$25 b666: 20 74 b3 jsr LB374_1 b669: a5 2e lda RandomNumber1 b66b: 4a lsr A b66c: 4a lsr A b66d: 29 0f and #$0f b66f: 8d 06 40 sta SQ2Cntrl2 b672: 60 rts b673: a0 25 LB673 ldy #$25 b675: 20 68 b3 jsr LB368_1 b678: a5 2e lda RandomNumber1 b67a: 29 0f and #$0f b67c: 8d 02 40 sta SQ1Cntrl2 b67f: 18 clc b680: a5 2e lda RandomNumber1 b682: 29 03 and #$03 b684: 69 01 adc #$01 b686: a0 25 ldy #$25 b688: 20 a5 b5 jsr LB5A5_1 b68b: a5 2e lda RandomNumber1 b68d: 4a lsr A b68e: 4a lsr A b68f: 29 0f and #$0f b691: 8d 06 40 sta SQ2Cntrl2 b694: 60 LB694_1 rts b695: a0 31 LB695 ldy #$31 b697: 20 68 b3 jsr LB368_1 b69a: a9 20 lda #$20 b69c: a0 35 ldy #$35 b69e: 4c a5 b5 jmp LB5A5_1 b6a1: 20 a9 b4 LB6A1 jsr LB4A9_1 b6a4: d0 ee bne LB694_1 b6a6: 4c cd b5 jmp LB5CD_1 b6a9: bd 8d 7e 5e+ LB6A9_1 .bulk $bd,$8d,$7e,$5e,$46,$3e,$00 b6b0: 20 a9 b4 TB6B0_1 jsr LB4A9_1 b6b3: d0 17 bne LB6CC_1 b6b5: ac 71 06 ldy SQ1SFXData b6b8: b9 a9 b6 lda LB6A9_1,y b6bb: d0 03 bne LB6C0_1 b6bd: 4c f2 b6 jmp LB6F2_1 b6c0: 8d 02 40 LB6C0_1 sta SQ1Cntrl2 b6c3: ad 44 b2 lda LB200_0+68 b6c6: 8d 03 40 sta SQ1Cntrl3 b6c9: ee 71 06 inc SQ1SFXData b6cc: 60 LB6CC_1 rts b6cd: a9 05 TB6CD_1 lda #$05 b6cf: a0 41 ldy #$41 b6d1: d0 66 bne LB739_1 b6d3: 20 a9 b4 TB6D3_1 jsr LB4A9_1 b6d6: d0 f4 bne LB6CC_1 b6d8: ee 71 06 inc SQ1SFXData b6db: ad 71 06 lda SQ1SFXData b6de: c9 03 cmp #$03 b6e0: f0 10 beq LB6F2_1 b6e2: a0 3d ldy #$3d b6e4: 4c 68 b3 jmp LB368_1 b6e7: a9 06 TB6E7_1 lda #$06 b6e9: a0 3d ldy #$3d b6eb: d0 4c bne LB739_1 b6ed: 20 a9 b4 TB6ED_1 jsr LB4A9_1 b6f0: d0 da bne LB6CC_1 b6f2: a9 10 LB6F2_1 lda #$10 b6f4: 8d 00 40 sta SQ1Cntrl0 b6f7: a9 00 lda #$00 b6f9: 8d 53 06 sta SQ1InUse b6fc: 20 a2 b4 jsr LB4A2_1 b6ff: ee 07 06 inc WriteMultiChannelData b702: 60 rts b703: ad 8d 06 TB703_1 lda CurrentMusic b706: c9 04 cmp #$04 b708: f0 c2 beq LB6CC_1 b70a: a9 0c lda #$0c b70c: a0 51 ldy #$51 b70e: d0 29 bne LB739_1 b710: a9 08 TB710_1 lda #$08 b712: a0 55 ldy #$55 b714: d0 23 bne LB739_1 b716: ad 1f 06 TB716_1 lda HasBeamSFX b719: 4a lsr A b71a: b0 42 bcs LB75E_1 b71c: ad 89 06 lda SQ1ContSFX b71f: 29 cc and #$cc b721: d0 a9 bne LB6CC_1 b723: ad 1f 06 lda HasBeamSFX b726: 0a asl A b727: b0 06 bcs LB72F_1 b729: a9 03 lda #$03 b72b: a0 4d ldy #$4d b72d: d0 0a bne LB739_1 b72f: a9 07 LB72F_1 lda #$07 b731: a0 49 ldy #$49 b733: d0 04 bne LB739_1 b735: a9 0b TB735_1 lda #$0b b737: a0 45 ldy #$45 b739: 4c 52 b4 LB739_1 jmp LB452_1 b73c: ad 8d 06 TB73C_1 lda CurrentMusic b73f: c9 04 cmp #$04 b741: f0 06 beq LB749_1 b743: a9 16 lda #$16 b745: a0 59 ldy #$59 b747: d0 f0 bne LB739_1 b749: a9 07 LB749_1 lda #$07 b74b: a0 39 ldy #$39 b74d: d0 ea bne LB739_1 b74f: ad 1f 06 TB74F_1 lda HasBeamSFX b752: 4a lsr A b753: b0 10 bcs LB765_1 b755: 20 a9 b4 jsr LB4A9_1 b758: d0 03 bne LB75D_1 b75a: 4c f2 b6 jmp LB6F2_1 b75d: 60 LB75D_1 rts b75e: a9 07 LB75E_1 lda #$07 b760: a0 61 ldy #$61 b762: 4c 52 b4 jmp LB452_1 b765: 20 a9 b4 LB765_1 jsr LB4A9_1 b768: d0 03 bne LB76D_1 b76a: 4c f2 b6 jmp LB6F2_1 b76d: ad 71 06 LB76D_1 lda SQ1SFXData b770: 29 01 and #$01 b772: a8 tay b773: b9 78 b7 lda LB778_1,y b776: d0 28 bne LB7A0_1 b778: 93 LB778_1 .dd1 $93 b779: 81 .dd1 $81 b77a: a9 08 TB77A_1 lda #$08 b77c: a0 5d ldy #$5d b77e: 4c 52 b4 jmp LB452_1 b781: 20 a9 b4 TB781_1 jsr LB4A9_1 b784: d0 11 bne LB797_1 b786: ac 75 06 ldy SQ1SQ2SFXData b789: ee 75 06 inc SQ1SQ2SFXData b78c: b9 a9 b7 lda LB7A9_1,y b78f: 8d 00 40 sta SQ1Cntrl0 b792: d0 12 bne LB7A6_1 b794: 4c f2 b6 jmp LB6F2_1 b797: ad 71 06 LB797_1 lda SQ1SFXData b79a: 29 01 and #$01 b79c: a8 tay b79d: b9 a7 b7 lda LB7A7_1,y b7a0: 8d 02 40 LB7A0_1 sta SQ1Cntrl2 b7a3: ee 71 06 inc SQ1SFXData b7a6: 60 LB7A6_1 rts b7a7: 58 LB7A7_1 .dd1 $58 b7a8: 6f .dd1 $6f b7a9: 93 LB7A9_1 .dd1 $93 b7aa: 91 .dd1 $91 b7ab: 00 .dd1 $00 b7ac: ad 87 b2 TB7AC_1 lda LB200_0+135 b7af: 8d 10 06 sta TrianglePeriodLow b7b2: ad 88 b2 lda LB200_0+136 b7b5: 29 07 and #$07 b7b7: 8d 11 06 sta TrianglePeriodHigh b7ba: a9 0f lda #$0f b7bc: 8d 12 06 sta TriangleChangeLow b7bf: a9 00 lda #$00 b7c1: 8d 13 06 sta TriangleChangeHigh b7c4: a9 1f lda #$1f b7c6: a0 85 ldy #$85 b7c8: 4c 52 b4 jmp LB452_1 b7cb: 20 a9 b4 TB7CB_1 jsr LB4A9_1 b7ce: d0 03 bne LB7D3_1 b7d0: 4c 96 b8 jmp LB896_1 b7d3: 20 8c b9 LB7D3_1 jsr LB98C_1 b7d6: 4c 69 b8 jmp LB869_1 b7d9: ad 8b 06 TB7D9_1 lda TriangleContSFX b7dc: 29 80 and #$80 b7de: d0 c6 bne LB7A6_1 b7e0: a9 03 lda #$03 b7e2: a0 79 ldy #$79 b7e4: 4c 52 b4 jmp LB452_1 b7e7: 20 a9 b4 TB7E7_1 jsr LB4A9_1 b7ea: d0 ba bne LB7A6_1 b7ec: 4c 96 b8 jmp LB896_1 b7ef: a9 12 TB7EF_1 lda #$12 b7f1: 8d 12 06 sta TriangleChangeLow b7f4: a9 00 lda #$00 b7f6: 8d 13 06 sta TriangleChangeHigh b7f9: ad 7f b2 lda LB200_0+127 b7fc: 8d 10 06 sta TrianglePeriodLow b7ff: ad 80 b2 lda LB200_0+128 b802: 29 07 and #$07 b804: 8d 11 06 sta TrianglePeriodHigh b807: a9 0a lda #$0a b809: a0 7d ldy #$7d b80b: 4c 52 b4 jmp LB452_1 b80e: 20 a9 b4 TB80E_1 jsr LB4A9_1 b811: d0 03 bne LB816_1 b813: 4c 96 b8 jmp LB896_1 b816: 20 78 b9 LB816_1 jsr LB978_1 b819: a5 2e lda RandomNumber1 b81b: 29 3c and #$3c b81d: 8d 73 06 sta TriangleSFXData b820: ad 10 06 lda TrianglePeriodLow b823: 29 c3 and #$c3 b825: 0d 73 06 ora TriangleSFXData b828: 8d 0a 40 sta TriangleCntrl2 b82b: ad 11 06 lda TrianglePeriodHigh b82e: 09 40 ora #$40 b830: 8d 0b 40 sta TriangleCntrl3 b833: 60 rts b834: a9 08 TB834_1 lda #$08 b836: a0 6d ldy #$6d b838: 20 52 b4 jsr LB452_1 b83b: a9 05 lda #$05 b83d: 8d 16 06 sta PercentDifference b840: ad 6f b2 lda LB200_0+111 b843: 8d 10 06 sta TrianglePeriodLow b846: ad 70 b2 lda LB200_0+112 b849: 29 07 and #$07 b84b: 8d 11 06 sta TrianglePeriodHigh b84e: 60 rts b84f: 20 a9 b4 TB84F_1 jsr LB4A9_1 b852: d0 03 bne LB857_1 b854: 4c 96 b8 jmp LB896_1 b857: 20 a0 b9 LB857_1 jsr LB9A0_1 b85a: ad 14 06 lda TriangleLowPercentage b85d: 8d 12 06 sta TriangleChangeLow b860: ad 15 06 lda TriangleHighPercentage b863: 8d 13 06 sta TriangleChangeHigh b866: 20 8c b9 jsr LB98C_1 b869: ad 10 06 LB869_1 lda TrianglePeriodLow b86c: 8d 0a 40 sta TriangleCntrl2 b86f: ad 11 06 lda TrianglePeriodHigh b872: 09 08 ora #$08 b874: 8d 0b 40 sta TriangleCntrl3 b877: 60 rts b878: a9 04 TB878_1 lda #$04 b87a: a0 65 ldy #$65 b87c: 4c 52 b4 jmp LB452_1 b87f: 20 a9 b4 TB87F_1 jsr LB4A9_1 b882: d0 22 bne LB8A6_1 b884: ee 73 06 inc TriangleSFXData b887: ad 73 06 lda TriangleSFXData b88a: c9 02 cmp #$02 b88c: d0 03 bne LB891_1 b88e: 4c 96 b8 jmp LB896_1 b891: a0 69 LB891_1 ldy #$69 b893: 4c 6c b3 jmp LB36C_1 b896: a9 00 LB896_1 lda #$00 b898: 8d 08 40 sta TriangleCntrl0 b89b: 8d 55 06 sta TriangleInUse b89e: a9 18 lda #$18 b8a0: 8d 0b 40 sta TriangleCntrl3 b8a3: 20 a2 b4 jsr LB4A2_1 b8a6: 60 LB8A6_1 rts b8a7: a9 03 TB8A7_1 lda #$03 b8a9: a0 71 ldy #$71 b8ab: 20 52 b4 jsr LB452_1 b8ae: 4c c3 b8 jmp LB8C3_1 b8b1: 20 a9 b4 TB8B1_1 jsr LB4A9_1 b8b4: f0 0d beq LB8C3_1 b8b6: ee 73 06 inc TriangleSFXData b8b9: ad 73 06 lda TriangleSFXData b8bc: c9 09 cmp #$09 b8be: d0 e6 bne LB8A6_1 b8c0: 4c 96 b8 jmp LB896_1 b8c3: a5 2e LB8C3_1 lda RandomNumber1 b8c5: 09 6c ora #$6c b8c7: 8d 0a 40 sta TriangleCntrl2 b8ca: 29 01 and #$01 b8cc: 09 f8 ora #$f8 b8ce: 8d 0b 40 sta TriangleCntrl3 b8d1: 60 rts b8d2: 20 04 b4 TB8D2_1 jsr LB404_1 b8d5: a9 0e lda #$0e b8d7: a0 75 ldy #$75 b8d9: 20 52 b4 jsr LB452_1 b8dc: a9 15 lda #$15 b8de: 8d 16 06 sta PercentDifference b8e1: ad 77 b2 lda LB200_0+119 b8e4: 8d 10 06 sta TrianglePeriodLow b8e7: a9 00 lda #$00 b8e9: 8d 11 06 sta TrianglePeriodHigh b8ec: 60 LB8EC_1 rts b8ed: 20 a9 b4 TB8ED_1 jsr LB4A9_1 b8f0: d0 1a bne LB90C_1 b8f2: a9 20 lda #$20 b8f4: 8d 12 06 sta TriangleChangeLow b8f7: a9 00 lda #$00 b8f9: 8d 13 06 sta TriangleChangeHigh b8fc: 20 8c b9 jsr LB98C_1 b8ff: ee 73 06 inc TriangleSFXData b902: ad 73 06 lda TriangleSFXData b905: c9 06 cmp #$06 b907: d0 e3 bne LB8EC_1 b909: 4c 96 b8 jmp LB896_1 b90c: 20 a0 b9 LB90C_1 jsr LB9A0_1 b90f: ad 14 06 lda TriangleLowPercentage b912: 8d 12 06 sta TriangleChangeLow b915: ad 15 06 lda TriangleHighPercentage b918: 8d 13 06 sta TriangleChangeHigh b91b: 20 78 b9 jsr LB978_1 b91e: 4c 69 b8 jmp LB869_1 b921: ad 83 b2 TB921_1 lda LB200_0+131 b924: 8d 10 06 sta TrianglePeriodLow b927: ad 84 b2 lda LB200_0+132 b92a: 29 07 and #$07 b92c: 8d 11 06 sta TrianglePeriodHigh b92f: a9 00 lda #$00 b931: 8d 13 06 sta TriangleChangeHigh b934: a9 0b lda #$0b b936: 8d 12 06 sta TriangleChangeLow b939: a9 06 lda #$06 b93b: a0 81 ldy #$81 b93d: 4c 52 b4 jmp LB452_1 b940: 20 a9 b4 TB940_1 jsr LB4A9_1 b943: d0 2d bne LB972_1 b945: ee 73 06 inc TriangleSFXData b948: ad 73 06 lda TriangleSFXData b94b: c9 09 cmp #$09 b94d: d0 03 bne LB952_1 b94f: 4c 96 b8 jmp LB896_1 b952: ad 12 06 LB952_1 lda TriangleChangeLow b955: 48 pha b956: ad 13 06 lda TriangleChangeHigh b959: 48 pha b95a: a9 25 lda #$25 b95c: 8d 12 06 sta TriangleChangeLow b95f: a9 00 lda #$00 b961: 8d 13 06 sta TriangleChangeHigh b964: 20 78 b9 jsr LB978_1 b967: 68 pla b968: 8d 13 06 sta TriangleChangeHigh b96b: 68 pla b96c: 8d 12 06 sta TriangleChangeLow b96f: 4c 69 b8 jmp LB869_1 b972: 20 8c b9 LB972_1 jsr LB98C_1 b975: 4c 69 b8 jmp LB869_1 b978: 18 LB978_1 clc b979: ad 10 06 lda TrianglePeriodLow b97c: 6d 12 06 adc TriangleChangeLow b97f: 8d 10 06 sta TrianglePeriodLow b982: ad 11 06 lda TrianglePeriodHigh b985: 6d 13 06 adc TriangleChangeHigh b988: 8d 11 06 sta TrianglePeriodHigh b98b: 60 rts b98c: 38 LB98C_1 sec b98d: ad 10 06 lda TrianglePeriodLow b990: ed 12 06 sbc TriangleChangeLow b993: 8d 10 06 sta TrianglePeriodLow b996: ad 11 06 lda TrianglePeriodHigh b999: ed 13 06 sbc TriangleChangeHigh b99c: 8d 11 06 sta TrianglePeriodHigh b99f: 60 rts b9a0: ad 10 06 LB9A0_1 lda TrianglePeriodLow b9a3: 48 pha b9a4: ad 11 06 lda TrianglePeriodHigh b9a7: 48 pha b9a8: a9 00 lda #$00 b9aa: 8d 17 06 sta DivideData b9ad: a2 10 ldx #$10 b9af: 2e 10 06 rol TrianglePeriodLow b9b2: 2e 11 06 rol TrianglePeriodHigh b9b5: 2e 17 06 LB9B5_1 rol DivideData b9b8: ad 17 06 lda DivideData b9bb: cd 16 06 cmp PercentDifference b9be: 90 06 bcc LB9C6_1 b9c0: ed 16 06 sbc PercentDifference b9c3: 8d 17 06 sta DivideData b9c6: 2e 10 06 LB9C6_1 rol TrianglePeriodLow b9c9: 2e 11 06 rol TrianglePeriodHigh b9cc: ca dex b9cd: d0 e6 bne LB9B5_1 b9cf: ad 10 06 lda TrianglePeriodLow b9d2: 8d 14 06 sta TriangleLowPercentage b9d5: ad 11 06 lda TrianglePeriodHigh b9d8: 8d 15 06 sta TriangleHighPercentage b9db: 68 pla b9dc: 8d 11 06 sta TrianglePeriodHigh b9df: 68 pla b9e0: 8d 10 06 sta TrianglePeriodLow b9e3: 60 rts b9e4: a9 7f LB9E4_1 lda #$7f b9e6: 8d 48 06 sta MusicSQ1Sweep b9e9: 8d 49 06 sta MusicSQ2Sweep b9ec: 8e 28 06 stx SQ1DutyEnvelope b9ef: 8c 29 06 sty SQ2DutyEnvelope b9f2: 60 rts b9f3: ad 40 06 LB9F3_1 lda SQ1MusicFrameCount b9f6: c9 01 cmp #$01 b9f8: d0 03 bne LB9FD_1 b9fa: 8d 6a 06 sta SQ1VolumeIndex b9fd: ad 41 06 LB9FD_1 lda SQ2MusicFrameCount ba00: c9 01 cmp #$01 ba02: d0 03 bne LBA07_1 ba04: 8d 6b 06 sta SQ2VolumeIndex ba07: 60 LBA07_1 rts ba08: ad 07 06 LBA08_1 lda WriteMultiChannelData ba0b: f0 29 beq LBA36_1 ba0d: a9 00 lda #$00 ba0f: 8d 07 06 sta WriteMultiChannelData ba12: ad 48 06 lda MusicSQ1Sweep ba15: 8d 01 40 sta SQ1Cntrl1 ba18: ad 00 06 lda MusicSQ1PeriodLow ba1b: 8d 02 40 sta SQ1Cntrl2 ba1e: ad 01 06 lda MusicSQ1PeriodHigh ba21: 8d 03 40 sta SQ1Cntrl3 ba24: ad 49 06 lda MusicSQ2Sweep ba27: 8d 05 40 sta SQ2Cntrl1 ba2a: ad 04 06 lda MusicSQ2PeriodLow ba2d: 8d 06 40 sta SQ2Cntrl2 ba30: ad 05 06 lda MusicSQ2PeriodHigh ba33: 8d 07 40 sta SQ2Cntrl3 ba36: 60 LBA36_1 rts ba37: a2 00 LBA37_1 ldx #$00 ba39: 20 41 ba jsr LBA41_1 ba3c: e8 inx ba3d: 20 41 ba jsr LBA41_1 ba40: 60 rts ba41: bd 2e 06 LBA41_1 lda SQ1VolumeCntrl,x ba44: f0 45 beq LBA8B_1 ba46: 85 eb sta VolumeCntrlAddress ba48: 20 08 ba jsr LBA08_1 ba4b: bd 6c 06 lda SQ1VolumeData,x ba4e: c9 10 cmp #$10 ba50: f0 47 beq LBA99_1 ba52: a0 00 ldy #$00 ba54: c6 eb LBA54_1 dec VolumeCntrlAddress ba56: f0 04 beq LBA5C_1 ba58: c8 iny ba59: c8 iny ba5a: d0 f8 bne LBA54_1 ba5c: b9 b0 bc LBA5C_1 lda LBCB0_1,y ba5f: 85 ec sta $ec ba61: b9 b1 bc lda LBCB0_1+1,y ba64: 85 ed sta $ed ba66: bc 6a 06 ldy SQ1VolumeIndex,x ba69: b1 ec lda ($ec),y ba6b: 85 ea sta Cntrl0Data ba6d: c9 ff cmp #$ff ba6f: f0 1f beq LBA90_1 ba71: c9 f0 cmp #$f0 ba73: f0 20 beq LBA95_1 ba75: bd 28 06 lda SQ1DutyEnvelope,x ba78: 29 f0 and #$f0 ba7a: 05 ea ora Cntrl0Data ba7c: a8 tay ba7d: fe 6a 06 LBA7D_1 inc SQ1VolumeIndex,x ba80: bd 53 06 LBA80_1 lda SQ1InUse,x ba83: d0 06 bne LBA8B_1 ba85: 8a txa ba86: f0 04 beq LBA8C_1 ba88: 8c 04 40 sty SQ2Cntrl0 ba8b: 60 LBA8B_1 rts ba8c: 8c 00 40 LBA8C_1 sty SQ1Cntrl0 ba8f: 60 rts ba90: bc 28 06 LBA90_1 ldy SQ1DutyEnvelope,x ba93: d0 eb bne LBA80_1 ba95: a0 10 LBA95_1 ldy #$10 ba97: d0 e7 bne LBA80_1 ba99: a0 10 LBA99_1 ldy #$10 ba9b: d0 e0 bne LBA7D_1 ba9d: 20 f0 b3 LBA9D_1 jsr LB3F0_1 baa0: 60 rts baa1: 20 37 ba LBAA1_1 jsr LBA37_1 baa4: 60 rts baa5: 20 f3 b9 LBAA5_1 jsr LB9F3_1 baa8: a9 00 lda #$00 baaa: aa tax baab: 8d 4b 06 sta ThisSoundChannel baae: f0 12 beq LBAC2_1 bab0: 8a LBAB0_1 txa bab1: 4a lsr A bab2: aa tax bab3: e8 LBAB3_1 inx bab4: 8a txa bab5: c9 04 cmp #$04 bab7: f0 e8 beq LBAA1_1 bab9: ad 4b 06 lda ThisSoundChannel babc: 18 clc babd: 69 04 adc #$04 babf: 8d 4b 06 sta ThisSoundChannel bac2: 8a LBAC2_1 txa bac3: 0a asl A bac4: aa tax bac5: bd 30 06 lda SQ1LowBaseByte,x bac8: 85 e6 sta $e6 baca: bd 31 06 lda SQ1HighBaseByte,x bacd: 85 e7 sta $e7 bacf: bd 31 06 lda SQ1HighBaseByte,x bad2: f0 dc beq LBAB0_1 bad4: 8a txa bad5: 4a lsr A bad6: aa tax bad7: de 40 06 dec SQ1MusicFrameCount,x bada: d0 d7 bne LBAB3_1 badc: bc 38 06 LBADC_1 ldy SQ1MusicIndexIndex,x badf: fe 38 06 inc SQ1MusicIndexIndex,x bae2: b1 e6 lda ($e6),y bae4: f0 b7 beq LBA9D_1 bae6: a8 tay bae7: c9 ff cmp #$ff bae9: f0 09 beq LBAF4_1 baeb: 29 c0 and #$c0 baed: c9 c0 cmp #$c0 baef: f0 13 beq LBB04_1 baf1: 4c 1c bb jmp LBB1C_1 baf4: bd 24 06 LBAF4_1 lda SQ1RepeatCounter,x baf7: f0 1a beq LBB13_1 baf9: de 24 06 dec SQ1RepeatCounter,x bafc: bd 3c 06 lda SQ1LoopIndex,x baff: 9d 38 06 sta SQ1MusicIndexIndex,x bb02: d0 0f bne LBB13_1 bb04: 98 LBB04_1 tya bb05: 29 3f and #$3f bb07: 9d 24 06 sta SQ1RepeatCounter,x bb0a: de 24 06 dec SQ1RepeatCounter,x bb0d: bd 38 06 lda SQ1MusicIndexIndex,x bb10: 9d 3c 06 sta SQ1LoopIndex,x bb13: 4c dc ba LBB13_1 jmp LBADC_1 bb16: 4c de bb LBB16_1 jmp LBBDE_1 bb19: 4c b7 bb LBB19_1 jmp LBBB7_1 bb1c: 98 LBB1C_1 tya bb1d: 29 b0 and #$b0 bb1f: c9 b0 cmp #$b0 bb21: d0 1d bne LBB40_1 bb23: 98 tya bb24: 29 0f and #$0f bb26: 18 clc bb27: 6d 2b 06 adc NoteLengthTblOffset bb2a: a8 tay bb2b: b9 f7 be lda LBCBA_1+$23d,y bb2e: 9d 20 06 sta SQ1FrameCountInit,x bb31: a8 tay bb32: 8a txa bb33: c9 02 cmp #$02 bb35: f0 e2 beq LBB19_1 bb37: bc 38 06 LBB37_1 ldy SQ1MusicIndexIndex,x bb3a: fe 38 06 inc SQ1MusicIndexIndex,x bb3d: b1 e6 lda ($e6),y bb3f: a8 tay bb40: 8a LBB40_1 txa bb41: c9 03 cmp #$03 bb43: f0 d1 beq LBB16_1 bb45: 48 pha bb46: ae 4b 06 ldx ThisSoundChannel bb49: b9 78 be lda LBCBA_1+$1be,y bb4c: f0 0b beq LBB59_1 bb4e: 9d 00 06 sta MusicSQ1PeriodLow,x bb51: b9 77 be lda LBCBA_1+$1bd,y bb54: 09 08 ora #$08 bb56: 9d 01 06 sta MusicSQ1PeriodHigh,x bb59: a8 LBB59_1 tay bb5a: 68 pla bb5b: aa tax bb5c: 98 tya bb5d: d0 0f bne LBB6E_1 bb5f: a9 00 lda #$00 bb61: 85 ea sta Cntrl0Data bb63: 8a txa bb64: c9 02 cmp #$02 bb66: f0 0b beq LBB73_1 bb68: a9 10 lda #$10 bb6a: 85 ea sta Cntrl0Data bb6c: d0 05 bne LBB73_1 bb6e: bd 28 06 LBB6E_1 lda SQ1DutyEnvelope,x bb71: 85 ea sta Cntrl0Data bb73: 8a LBB73_1 txa bb74: de 53 06 dec SQ1InUse,x bb77: dd 53 06 cmp SQ1InUse,x bb7a: f0 35 beq LBBB1_1 bb7c: fe 53 06 inc SQ1InUse,x bb7f: ac 4b 06 ldy ThisSoundChannel bb82: 8a txa bb83: c9 02 cmp #$02 bb85: f0 05 beq LBB8C_1 bb87: bd 2e 06 lda SQ1VolumeCntrl,x bb8a: d0 05 bne LBB91_1 bb8c: a5 ea LBB8C_1 lda Cntrl0Data bb8e: 99 00 40 sta SQ1Cntrl0,y bb91: a5 ea LBB91_1 lda Cntrl0Data bb93: 9d 6c 06 sta SQ1VolumeData,x bb96: b9 00 06 lda MusicSQ1PeriodLow,y bb99: 99 02 40 sta SQ1Cntrl2,y bb9c: b9 01 06 lda MusicSQ1PeriodHigh,y bb9f: 99 03 40 sta SQ1Cntrl3,y bba2: bd 48 06 lda MusicSQ1Sweep,x bba5: 99 01 40 sta SQ1Cntrl1,y bba8: bd 20 06 LBBA8_1 lda SQ1FrameCountInit,x bbab: 9d 40 06 sta SQ1MusicFrameCount,x bbae: 4c b3 ba jmp LBAB3_1 bbb1: fe 53 06 LBBB1_1 inc SQ1InUse,x bbb4: 4c a8 bb jmp LBBA8_1 bbb7: ad 2d 06 LBBB7_1 lda TriangleCounterCntrl bbba: 29 0f and #$0f bbbc: d0 1a bne LBBD8_1 bbbe: ad 2d 06 lda TriangleCounterCntrl bbc1: 29 f0 and #$f0 bbc3: d0 04 bne LBBC9_1 bbc5: 98 tya bbc6: 4c cd bb jmp LBBCD_1 bbc9: a9 ff LBBC9_1 lda #$ff bbcb: d0 0b bne LBBD8_1 bbcd: 18 LBBCD_1 clc bbce: 69 ff adc #$ff bbd0: 0a asl A bbd1: 0a asl A bbd2: c9 3c cmp #$3c bbd4: 90 02 bcc LBBD8_1 bbd6: a9 3c lda #$3c bbd8: 8d 2a 06 LBBD8_1 sta TriLinearCount bbdb: 4c 37 bb jmp LBB37_1 bbde: ad 88 06 LBBDE_1 lda NoiseContSFX bbe1: 29 fc and #$fc bbe3: d0 12 bne LBBF7_1 bbe5: b9 00 b2 lda LB200_0,y bbe8: 8d 0c 40 sta NoiseCntrl0 bbeb: b9 01 b2 lda LB200_0+1,y bbee: 8d 0e 40 sta NoiseCntrl2 bbf1: b9 02 b2 lda LB200_0+2,y bbf4: 8d 0f 40 sta NoiseCntrl3 bbf7: 4c a8 bb LBBF7_1 jmp LBBA8_1 bbfa: 41 8f 34 27+ LBBFA_1 .bulk $41,$8f,$34,$27,$1a,$0d,$00,$82,$68,$75,$4e,$5b bc06: 80 bc .dd2 LBC80 bc08: 7a bc .dd2 LBC7A bc0a: 86 bc .dd2 LBC86 bc0c: 7a bc .dd2 LBC7A bc0e: ee b4 .dd2 TB4EE_1 bc10: 73 b6 .dd2 LB673 bc12: ec b5 .dd2 LB5EC bc14: 95 b6 .dd2 LB695 bc16: ee b4 .dd2 TB4EE_1 bc18: ee b4 .dd2 TB4EE_1 bc1a: ee b4 .dd2 TB4EE_1 bc1c: ee b4 .dd2 TB4EE_1 bc1e: ee b4 .dd2 TB4EE_1 bc20: 50 b6 .dd2 LB650 bc22: f6 b5 .dd2 LB5F6 bc24: a1 b6 .dd2 LB6A1 bc26: 83 bc .dd2 LBC83 bc28: 77 bc .dd2 LBC77 bc2a: 77 bc .dd2 LBC77 bc2c: 77 bc .dd2 LBC77 bc2e: 80 bc .dd2 LBC80 bc30: 7d bc .dd2 LBC7D bc32: 77 bc .dd2 LBC77 bc34: 80 bc .dd2 LBC80 bc36: ad 5d 06 LBC36_0 lda CurrentMusicRepeat bc39: a2 b6 ldx #$b6 bc3b: d0 05 bne LBC42_0 bc3d: ad 85 06 lda MusicInitFlag bc40: a2 b1 ldx #$b1 bc42: 20 bd b4 LBC42_0 jsr LB4BD_1 bc45: 20 53 bc jsr LBC53_0 bc48: 6c e2 00 jmp ($00e2) bc4b: ad 8d 06 lda CurrentMusic bc4e: f0 26 beq LBC76_1 bc50: 4c a5 ba jmp LBAA5_1 bc53: a9 ff LBC53_0 lda #$ff bc55: 8d 5e 06 sta MusicInitIndex bc58: ad 4d 06 lda CurrentSFXFlags bc5b: f0 06 beq LBC63_0 bc5d: ee 5e 06 LBC5D_0 inc MusicInitIndex bc60: 0a asl A bc61: 90 fa bcc LBC5D_0 bc63: 60 LBC63_0 rts bc64: ad 5e 06 LBC64_0 lda MusicInitIndex bc67: 18 clc bc68: 69 08 adc #$08 bc6a: 8d 5e 06 sta MusicInitIndex bc6d: 60 rts bc6e: ad 8d 06 lda CurrentMusic bc71: 09 f0 ora #$f0 bc73: 8d 8d 06 sta CurrentMusic bc76: 60 LBC76_1 rts bc77: 4c aa bc LBC77 jmp LBCAA_1 bc7a: 4c a4 bc LBC7A jmp LBCA4_1 bc7d: 4c 9a bc LBC7D jmp LBC9A_1 bc80: 4c 96 bc LBC80 jmp LBC96_1 bc83: 4c 89 bc LBC83 jmp LBC89_1 bc86: 4c 9e bc LBC86 jmp LBC9E_1 bc89: a9 b3 LBC89_1 lda #$b3 bc8b: aa LBC8B_1 tax bc8c: a8 tay bc8d: 20 e4 b9 LBC8D_1 jsr LB9E4_1 bc90: 20 19 bf jsr LBF19_1 bc93: 4c a5 ba jmp LBAA5_1 bc96: a9 34 LBC96_1 lda #$34 bc98: d0 f1 bne LBC8B_1 bc9a: a9 f4 LBC9A_1 lda #$f4 bc9c: d0 ed bne LBC8B_1 bc9e: a2 f5 LBC9E_1 ldx #$f5 bca0: a0 f6 ldy #$f6 bca2: d0 e9 bne LBC8D_1 bca4: a2 b6 LBCA4_1 ldx #$b6 bca6: a0 f6 ldy #$f6 bca8: d0 e3 bne LBC8D_1 bcaa: a2 92 LBCAA_1 ldx #$92 bcac: a0 96 ldy #$96 bcae: d0 dd bne LBC8D_1 bcb0: ba bc LBCB0_1 .dd2 LBCBA_1 bcb2: c5 bc .dd2 LBCBA_1+11 bcb4: cf bc .dd2 LBCBA_1+21 bcb6: da bc .dd2 LBCBA_1+32 bcb8: 03 bd .dd2 LBCBA_1+73 bcba: 01 02 02 03+ LBCBA_1 .bulk $01,$02,$02,$03,$03,$04,$05,$06,$07,$08,$ff,$02,$04,$05,$06,$07 + $08,$07,$06,$05,$ff,$00,$0d,$09,$07,$06,$05,$05,$05,$04,$04,$ff + $02,$06,$07,$07,$07,$06,$06,$06,$06,$05,$05,$05,$04,$04,$04,$03 + $03,$03,$03,$02,$03,$03,$03,$03,$03,$02,$02,$02,$02,$02,$02,$02 + $02,$02,$02,$01,$01,$01,$01,$01,$f0,$0a,$0a,$09,$08,$07,$06,$05 + $04,$03,$02,$07,$07,$06,$05,$04,$04,$03,$02,$02,$02,$05,$05,$05 + $04,$03,$02,$02,$02,$01,$01,$04,$04,$03,$02,$01,$02,$02,$01,$01 + $01,$02,$02,$02,$01,$01,$f0,$0b,$ff,$f5,$00,$00,$00,$01,$00,$03 + $00,$05,$00,$00,$0b,$ff,$00,$02,$02,$00,$01,$00,$03,$00,$05,$00 + $07,$0b,$ff,$f0,$04,$04,$00,$b0,$26,$b0,$57,$b0,$8b,$b0,$00,$ff + $f0,$00,$00,$00,$01,$00,$03,$00,$05,$00,$00,$0b,$ff,$03,$00,$00 + $da,$bd,$dc,$bd,$cd,$bd,$00,$00,$0b,$ff,$f0,$01,$01,$00,$01,$00 + $03,$00,$05,$00,$00,$17,$00,$00,$02,$01,$00,$01,$00,$03,$00,$05 + $00,$07,$17,$00,$f0,$02,$05,$00,$01,$00,$03,$00,$05,$00,$07,$0b + $00,$f0,$02,$00,$3e,$be,$1d,$be,$36,$be,$00,$00,$00,$00,$f0,$01 + $00,$f7,$bd,$0d,$be,$08,$be,$00,$00,$0b,$ff,$00,$02,$03,$00,$01 + $00,$03,$00,$05,$00,$07,$0b,$ff,$03,$00,$00,$59,$be,$47,$be,$62 + $be,$00,$00,$c8,$b0,$38,$3a,$3c,$3e,$40,$3e,$3c,$3a,$b6,$02,$ff + $b8,$02,$b3,$02,$b2,$74,$02,$6a,$02,$72,$02,$62,$b4,$02,$b2,$60 + $02,$6c,$02,$76,$b3,$02,$b2,$7e,$02,$7c,$b3,$02,$00,$b3,$48,$42 + $b2,$3e,$38,$30,$38,$4c,$44,$3e,$36,$c8,$b0,$38,$3c,$ff,$b4,$2c + $2a,$1e,$1c,$b2,$22,$2c,$30,$34,$38,$30,$26,$30,$3a,$34,$2c,$26 + $b4,$2a,$00,$c4,$b0,$3e,$30,$ff,$c4,$42,$30,$ff,$c4,$3a,$2c,$ff + $c4,$38,$26,$ff,$c4,$34,$20,$ff,$e0,$34,$24,$ff,$b3,$36,$34,$30 + $2a,$b4,$1c,$1c,$b3,$34,$3a,$34,$30,$b4,$2a,$2a,$00,$b4,$12,$b3 + $10,$18,$16,$0a,$b4,$14,$12,$b3,$10,$06,$0e,$04,$b4,$0c,$00,$e0 + $b0,$54,$4e,$48,$42,$48,$4e,$ff,$e0,$b3,$02,$b0,$3c,$40,$44,$4a + $4e,$54,$58,$5c,$62,$66,$6c,$70,$74,$7a,$b3,$02,$ff,$07,$f0,$00 + $00,$06,$4e,$05,$f3,$05,$4d,$05,$01,$04,$b9,$04,$75,$04,$35,$03 + $f8,$03,$bf,$03,$89,$03,$57,$03,$27,$02,$f9,$02,$cf,$02,$a6,$02 + $80,$02,$5c,$02,$3a,$02,$1a,$01,$fc,$01,$df,$01,$c4,$01,$ab,$01 + $93,$01,$7c,$01,$67,$01,$52,$01,$3f,$01,$2d,$01,$1c,$01,$0c,$00 + $fd,$00,$ee,$00,$e1,$00,$d4,$00,$c8,$00,$bd,$00,$b2,$00,$a8,$00 + $9f,$00,$96,$00,$8d,$00,$85,$00,$7e,$00,$76,$00,$70,$00,$69,$00 + $63,$00,$5e,$00,$58,$00,$53,$00,$4f,$00,$4a,$00,$46,$00,$42,$00 + $3e,$00,$3a,$00,$37,$00,$34,$00,$31,$00,$2e,$00,$27,$04,$08,$10 + $20,$40,$18,$30,$0c,$0b,$05,$02,$06,$0c,$18,$30,$60,$24,$48,$12 + $10,$08,$03,$10,$07,$0e,$1c,$38,$70,$2a,$54,$15,$12,$02,$03 bf19: 20 fc b3 LBF19_1 jsr LB3FC_1 bf1c: ad 4d 06 lda CurrentSFXFlags bf1f: 8d 8d 06 sta CurrentMusic bf22: ad 5e 06 lda MusicInitIndex bf25: a8 tay bf26: b9 fa bb lda LBBFA_1,y bf29: a8 tay bf2a: a2 00 ldx #$00 bf2c: b9 31 bd LBF2C_1 lda LBCBA_1+119,y bf2f: 9d 2b 06 sta NoteLengthTblOffset,x bf32: c8 iny bf33: e8 inx bf34: 8a txa bf35: c9 0d cmp #$0d bf37: d0 f3 bne LBF2C_1 bf39: a9 01 lda #$01 bf3b: 8d 40 06 sta SQ1MusicFrameCount bf3e: 8d 41 06 sta SQ2MusicFrameCount bf41: 8d 42 06 sta TriangleMusicFrameCount bf44: 8d 43 06 sta NoiseMusicFrameCount bf47: a9 00 lda #$00 bf49: 8d 38 06 sta SQ1MusicIndexIndex bf4c: 8d 39 06 sta SQ2MusicIndexIndex bf4f: 8d 3a 06 sta TriangleMusicIndexIndex bf52: 8d 3b 06 sta NoiseMusicIndexIndex bf55: 60 rts bf56: 10 07 0e 1c+ .junk 90 bfb0: 78 RESET_N sei bfb1: d8 cld bfb2: a2 00 ldx #$00 bfb4: 8e 00 20 stx PPUControl0 bfb7: 8e 01 20 stx PPUControl1 bfba: ad 02 20 LBFBA_1 lda PPUStatus bfbd: 10 fb bpl LBFBA_1 bfbf: ad 02 20 LBFBF_1 lda PPUStatus bfc2: 10 fb bpl LBFBF_1 bfc4: 09 ff ora #$ff bfc6: 8d 00 80 sta MMC1Reg0 bfc9: 8d 00 a0 sta MMC1Reg1 bfcc: 8d 00 c0 sta MMC1Reg2 bfcf: 8d 00 e0 sta MMC1Reg3 bfd2: 4c 1a c0 jmp Startup bfd5: ff ff ff ff+ .junk 37 bffa: d9 c0 .dd2 NMI bffc: b0 bf .dd2 RESET_N bffe: b0 bf .dd2 RESET_N .adrend β $8000 .addrs $8000 8000: 4c 10 f4 L8000_1 jmp LF410 8003: 4c 38 f4 L8003_1 jmp LF438 8006: 4c 16 f4 L8006_1 jmp LF416 8009: 4c 52 f8 jmp LF852 800c: 4c 94 e0 jmp UpdateEnemyAnim 800f: 4c 8d f6 jmp LF68D 8012: 4c 3e f8 jmp LF83E 8015: 4c 5a f8 jmp LF85A 8018: 4c b9 fb jmp LFBB9 801b: 4c 88 fb jmp LFB88 801e: 4c ca fb jmp LFBCA 8021: 4c 70 f8 jmp LF870 8024: 4c 7c c2 ChooseRoutineT jmp ChooseRoutine 8027: 4c 8f fd L8027_2 jmp LFD8F 802a: 4c 6e eb L802A_1 jmp LEB6E 802d: 4c 44 82 jmp L8244_1 8030: 4c 18 83 jmp L8318_1 8033: 4c 1e fa jmp LFA1E 8036: 4c 3f 83 jmp L833F_1 8039: 4c 95 83 jmp L8395_1 803c: 4c 8b dd L803C jmp LDD8B 803f: 4c dc fe L803F jmp LFEDC 8042: 4c 92 ce L8042 jmp LCE92 8045: 4c fb c3 L8045 jmp LC3FB 8048: fd 84 .dd2 T84FE_0-1 804a: a6 84 .dd2 T84A7_0-1 804c: 4a 84 .dd2 T844B_0-1 804e: 4a 84 .dd2 T844B_0-1 8050: a6 84 .dd2 T84A7_0-1 8052: fd 84 .dd2 T84FE_0-1 8054: f4 83 .dd2 T83F5_0-1 8056: f4 83 .dd2 T83F5_0-1 8058: a6 4b ldx PageIndex 805a: bd 05 04 lda EnCounter-1,x 805d: 0a asl A 805e: 30 4f bmi L80AF_1 8060: bd f4 6a lda Enstatus,x 8063: c9 02 cmp #$02 8065: d0 48 bne L80AF_1 8067: 20 44 82 jsr L8244_1 806a: a5 00 lda $00 806c: 10 0f bpl L807D_1 806e: 20 d4 c3 jsr LC3D4 8071: 85 66 sta $66 8073: 20 f5 83 L8073_1 jsr T83F5_0 8076: 20 b8 80 jsr L80B8_1 8079: c6 66 dec $66 807b: d0 f6 bne L8073_1 807d: f0 0c L807D_1 beq L808B_1 807f: 85 66 sta $66 8081: 20 4b 84 L8081_1 jsr T844B_0 8084: 20 fb 80 jsr L80FB_1 8087: c6 66 dec $66 8089: d0 f6 bne L8081_1 808b: 20 18 83 L808B_1 jsr L8318_1 808e: a5 00 lda $00 8090: 10 0f bpl L80A1_1 8092: 20 d4 c3 jsr LC3D4 8095: 85 66 sta $66 8097: 20 a7 84 L8097_1 jsr T84A7_0 809a: 20 6e 81 jsr L816E_1 809d: c6 66 dec $66 809f: d0 f6 bne L8097_1 80a1: f0 0c L80A1_1 beq L80AF_1 80a3: 85 66 sta $66 80a5: 20 fe 84 L80A5_1 jsr T84FE_0 80a8: 20 34 81 jsr L8134_1 80ab: c6 66 dec $66 80ad: d0 f6 bne L80A5_1 80af: 60 L80AF_1 rts 80b0: bc 02 6b L80B0_0 ldy EnDataIndex,x 80b3: b9 7b 97 lda L960B_0+$170,y 80b6: 0a asl A 80b7: 60 rts 80b8: a6 4b L80B8_1 ldx PageIndex 80ba: b0 3e bcs L80FA_1 80bc: bd 05 04 lda EnCounter-1,x 80bf: 10 06 bpl L80C7_1 80c1: 20 fc 81 L80C1_1 jsr L81FC_1 80c4: 4c f6 80 jmp L80F6_1 80c7: 20 b0 80 L80C7_1 jsr L80B0_0 80ca: 10 1e bpl L80EA_1 80cc: bd 03 6b lda $6b03,x 80cf: f0 f0 beq L80C1_1 80d1: 10 05 bpl L80D8_1 80d3: 20 b1 81 jsr L81B1_1 80d6: f0 0a beq L80E2_1 80d8: 38 L80D8_1 sec 80d9: 7e 02 04 ror $0402,x 80dc: 7e 06 04 ror EnCounter,x 80df: 4c f6 80 jmp L80F6_1 80e2: 9d 02 04 L80E2_1 sta $0402,x 80e5: 9d 06 04 sta EnCounter,x 80e8: f0 0c beq L80F6_1 80ea: b9 7b 97 L80EA_1 lda L960B_0+$170,y 80ed: 4a lsr A 80ee: 4a lsr A 80ef: 90 05 bcc L80F6_1 80f1: a9 04 lda #$04 80f3: 20 6b 85 jsr L856B_1 80f6: a9 01 L80F6_1 lda #$01 80f8: 85 66 sta $66 80fa: 60 L80FA_1 rts 80fb: a6 4b L80FB_1 ldx PageIndex 80fd: b0 34 bcs L8133_1 80ff: bd 05 04 lda EnCounter-1,x 8102: 10 06 bpl L810A_1 8104: 20 fc 81 L8104_1 jsr L81FC_1 8107: 4c 2f 81 jmp L812F_1 810a: 20 b0 80 L810A_1 jsr L80B0_0 810d: 10 14 bpl L8123_1 810f: bd 03 6b lda $6b03,x 8112: f0 f0 beq L8104_1 8114: 10 0a bpl L8120_1 8116: 18 clc 8117: 7e 02 04 ror $0402,x 811a: 7e 06 04 ror EnCounter,x 811d: 4c 2f 81 jmp L812F_1 8120: 20 b1 81 L8120_1 jsr L81B1_1 8123: b9 7b 97 L8123_1 lda L960B_0+$170,y 8126: 4a lsr A 8127: 4a lsr A 8128: 90 05 bcc L812F_1 812a: a9 04 lda #$04 812c: 20 6b 85 jsr L856B_1 812f: a9 01 L812F_1 lda #$01 8131: 85 66 sta $66 8133: 60 L8133_1 rts 8134: a6 4b L8134_1 ldx PageIndex 8136: b0 35 bcs L816D_1 8138: 20 b0 80 jsr L80B0_0 813b: 10 21 bpl L815E_1 813d: bd 05 04 lda EnCounter-1,x 8140: 30 06 bmi L8148_1 8142: 20 c7 81 L8142_1 jsr L81C7_1 8145: 4c 69 81 jmp L8169_1 8148: bd 03 6b L8148_1 lda $6b03,x 814b: f0 f5 beq L8142_1 814d: 10 0a bpl L8159_1 814f: 18 clc 8150: 7e 03 04 ror $0403,x 8153: 7e 07 04 ror $0407,x 8156: 4c 69 81 jmp L8169_1 8159: 20 c0 81 L8159_1 jsr L81C0_1 815c: f0 0b beq L8169_1 815e: b9 7b 97 L815E_1 lda L960B_0+$170,y 8161: 4a lsr A 8162: 90 05 bcc L8169_1 8164: a9 01 lda #$01 8166: 20 6b 85 jsr L856B_1 8169: a9 01 L8169_1 lda #$01 816b: 85 66 sta $66 816d: 60 L816D_1 rts 816e: a6 4b L816E_1 ldx PageIndex 8170: b0 3e bcs L81B0_1 8172: 20 b0 80 jsr L80B0_0 8175: 10 29 bpl L81A0_1 8177: bd 05 04 lda EnCounter-1,x 817a: 30 06 bmi L8182_1 817c: 20 c7 81 L817C_1 jsr L81C7_1 817f: 4c ac 81 jmp L81AC_1 8182: bd 03 6b L8182_1 lda $6b03,x 8185: f0 f5 beq L817C_1 8187: 10 05 bpl L818E_1 8189: 20 c0 81 jsr L81C0_1 818c: f0 0a beq L8198_1 818e: 38 L818E_1 sec 818f: 7e 03 04 ror $0403,x 8192: 7e 07 04 ror $0407,x 8195: 4c ac 81 jmp L81AC_1 8198: 9d 03 04 L8198_1 sta $0403,x 819b: 9d 07 04 sta $0407,x 819e: f0 0c beq L81AC_1 81a0: 20 b0 80 L81A0_1 jsr L80B0_0 81a3: 4a lsr A 81a4: 4a lsr A 81a5: 90 05 bcc L81AC_1 81a7: a9 01 lda #$01 81a9: 20 6b 85 jsr L856B_1 81ac: a9 01 L81AC_1 lda #$01 81ae: 85 66 sta $66 81b0: 60 L81B0_1 rts 81b1: 20 b8 81 L81B1_1 jsr L81B8_1 81b4: 9d fe 6a sta $6afe,x 81b7: 60 rts 81b8: a9 20 L81B8_1 lda #$20 81ba: 20 44 f7 jsr LF744 81bd: a9 00 lda #$00 81bf: 60 rts 81c0: 20 b8 81 L81C0_1 jsr L81B8_1 81c3: 9d ff 6a sta $6aff,x 81c6: 60 rts 81c7: 20 f6 81 L81C7_1 jsr L81F6_1 81ca: d0 29 bne L81F5_1 81cc: a9 01 lda #$01 81ce: 20 6b 85 jsr L856B_1 81d1: bd ff 6a lda $6aff,x 81d4: 20 d4 c3 jsr LC3D4 81d7: 9d ff 6a sta $6aff,x 81da: 20 f6 81 jsr L81F6_1 81dd: d0 16 bne L81F5_1 81df: 20 b0 80 jsr L80B0_0 81e2: 38 sec 81e3: 10 08 bpl L81ED_1 81e5: a9 00 lda #$00 81e7: fd 07 04 sbc $0407,x 81ea: 9d 07 04 sta $0407,x 81ed: a9 00 L81ED_1 lda #$00 81ef: fd 03 04 sbc $0403,x 81f2: 9d 03 04 sta $0403,x 81f5: 60 L81F5_1 rts 81f6: 20 4b f7 L81F6_1 jsr LF74B 81f9: 29 20 and #$20 81fb: 60 rts 81fc: 20 f6 81 L81FC_1 jsr L81F6_1 81ff: d0 f4 bne L81F5_1 8201: a9 04 lda #$04 8203: 20 6b 85 jsr L856B_1 8206: bd fe 6a lda $6afe,x 8209: 20 d4 c3 jsr LC3D4 820c: 9d fe 6a sta $6afe,x 820f: 20 f6 81 jsr L81F6_1 8212: d0 16 bne L822A_1 8214: 20 b0 80 jsr L80B0_0 8217: 38 sec 8218: 10 08 bpl L8222_1 821a: a9 00 lda #$00 821c: fd 06 04 sbc EnCounter,x 821f: 9d 06 04 sta EnCounter,x 8222: a9 00 L8222_1 lda #$00 8224: fd 02 04 sbc $0402,x 8227: 9d 02 04 sta $0402,x 822a: 60 L822A_1 rts 822b: bd 05 04 L822B_1 lda EnCounter-1,x 822e: 10 02 bpl L8232_1 8230: 4a lsr A 8231: 4a lsr A 8232: 4a L8232_1 lsr A 8233: bd 08 04 lda EnDelay-1,x 8236: 2a rol A 8237: 0a asl A 8238: a8 tay 8239: b9 db 96 lda L960B_0+208,y 823c: 85 81 sta HideShowEndMsg 823e: b9 dc 96 lda L960B_0+209,y 8241: 85 82 sta ClrChangeCounter 8243: 60 rts 8244: 20 b0 80 L8244_1 jsr L80B0_0 8247: 10 03 bpl L824C_1 8249: 4c 3f 83 jmp L833F_1 824c: bd 05 04 L824C_1 lda EnCounter-1,x 824f: 29 20 and #$20 8251: 49 20 eor #$20 8253: f0 4d beq L82A2_2 8255: 20 2b 82 jsr L822B_1 8258: bc 06 04 L8258_1 ldy EnCounter,x 825b: b1 81 L825B_1 lda (HideShowEndMsg),y 825d: c9 f0 cmp #$f0 825f: 90 1e bcc L827F_2 8261: c9 fa cmp #$fa 8263: f0 17 beq L827C_1 8265: c9 fb cmp #$fb 8267: f0 47 beq L82B0_1 8269: c9 fc cmp #$fc 826b: f0 46 beq L82B3_1 826d: c9 fd cmp #$fd 826f: f0 34 beq L82A5_1 8271: c9 fe cmp #$fe 8273: f0 69 beq L82DE_1 8275: a9 00 lda #$00 8277: 9d 06 04 sta EnCounter,x 827a: f0 dc beq L8258_1 827c: 4c 12 83 L827C_1 jmp L8312_1 827f: 38 L827F_2 sec 8280: fd 09 04 sbc EnDelay,x 8283: d0 0b bne L8290_1 8285: 9d 09 04 sta EnDelay,x 8288: c8 iny 8289: c8 iny 828a: 98 tya 828b: 9d 06 04 sta EnCounter,x 828e: d0 cb bne L825B_1 8290: fe 09 04 L8290_1 inc EnDelay,x 8293: c8 iny 8294: b1 81 lda (HideShowEndMsg),y 8296: 0a asl A 8297: 08 php 8298: 20 be c2 jsr LC2BE 829b: 28 plp 829c: 90 04 bcc L82A2_2 829e: 49 ff eor #$ff 82a0: 69 00 adc #$00 82a2: 85 00 L82A2_2 sta $00 82a4: 60 rts 82a5: fe 06 04 L82A5_1 inc EnCounter,x 82a8: c8 iny 82a9: a9 00 lda #$00 82ab: 9d 01 6b sta EnDataIndex-1,x 82ae: f0 ab beq L825B_1 82b0: 68 L82B0_1 pla 82b1: 68 pla 82b2: 60 rts 82b3: bd 03 6b L82B3_1 lda $6b03,x 82b6: 10 06 bpl L82BE_1 82b8: 20 70 e7 jsr LE770 82bb: 4c c3 82 jmp L82C3_1 82be: f0 12 L82BE_1 beq L82D2_1 82c0: 20 7b e7 jsr LE77B 82c3: a6 4b L82C3_1 ldx PageIndex 82c5: b0 0b bcs L82D2_1 82c7: bc 06 04 ldy EnCounter,x 82ca: c8 iny 82cb: a9 00 lda #$00 82cd: 9d 03 6b sta $6b03,x 82d0: f0 05 beq L82D7_1 82d2: bc 06 04 L82D2_1 ldy EnCounter,x 82d5: 88 dey 82d6: 88 dey 82d7: 98 L82D7_1 tya 82d8: 9d 06 04 sta EnCounter,x 82db: 4c 5b 82 jmp L825B_1 82de: 88 L82DE_1 dey 82df: 88 dey 82e0: 98 tya 82e1: 9d 06 04 sta EnCounter,x 82e4: bd 03 6b lda $6b03,x 82e7: 10 06 bpl L82EF_1 82e9: 20 70 e7 jsr LE770 82ec: 4c f4 82 jmp L82F4_1 82ef: f0 0a L82EF_1 beq L82FB_1 82f1: 20 7b e7 jsr LE77B 82f4: a6 4b L82F4_1 ldx PageIndex 82f6: 90 03 bcc L82FB_1 82f8: 4c 58 82 jmp L8258_1 82fb: bc 02 6b L82FB_1 ldy EnDataIndex,x 82fe: b9 8b 96 lda L960B_0+128,y 8301: 29 20 and #$20 8303: f0 0d beq L8312_1 8305: bd 05 04 lda EnCounter-1,x 8308: 49 05 eor #$05 830a: 19 8b 96 ora L960B_0+128,y 830d: 29 1f and #$1f 830f: 9d 05 04 sta EnCounter-1,x 8312: 20 b1 81 L8312_1 jsr L81B1_1 8315: 4c a2 82 jmp L82A2_2 8318: 20 b0 80 L8318_1 jsr L80B0_0 831b: 10 03 bpl L8320_1 831d: 4c 95 83 jmp L8395_1 8320: bd 05 04 L8320_1 lda EnCounter-1,x 8323: 29 20 and #$20 8325: 49 20 eor #$20 8327: f0 13 beq L833C_1 8329: bc 06 04 ldy EnCounter,x 832c: c8 iny 832d: b1 81 lda (HideShowEndMsg),y 832f: aa tax 8330: 29 08 and #$08 8332: 08 php 8333: 8a txa 8334: 29 07 and #$07 8336: 28 plp 8337: f0 03 beq L833C_1 8339: 20 d4 c3 jsr LC3D4 833c: 85 00 L833C_1 sta $00 833e: 60 rts 833f: a0 0e L833F_1 ldy #$0e 8341: bd fe 6a lda $6afe,x 8344: 30 18 bmi L835E_1 8346: 18 clc 8347: 7d 06 04 adc EnCounter,x 834a: 9d 06 04 sta EnCounter,x 834d: bd 02 04 lda $0402,x 8350: 69 00 adc #$00 8352: 9d 02 04 sta $0402,x 8355: 10 1f bpl L8376_1 8357: 20 d4 c3 L8357_1 jsr LC3D4 835a: a0 f2 ldy #$f2 835c: d0 18 bne L8376_1 835e: 20 d4 c3 L835E_1 jsr LC3D4 8361: 38 sec 8362: 85 00 sta $00 8364: bd 06 04 lda EnCounter,x 8367: e5 00 sbc $00 8369: 9d 06 04 sta EnCounter,x 836c: bd 02 04 lda $0402,x 836f: e9 00 sbc #$00 8371: 9d 02 04 sta $0402,x 8374: 30 e1 bmi L8357_1 8376: c9 0e L8376_1 cmp #$0e 8378: 90 09 bcc L8383_1 837a: a9 00 lda #$00 837c: 9d 06 04 sta EnCounter,x 837f: 98 tya 8380: 9d 02 04 sta $0402,x 8383: bd fc 6a L8383_1 lda $6afc,x 8386: 18 clc 8387: 7d 06 04 adc EnCounter,x 838a: 9d fc 6a sta $6afc,x 838d: a9 00 lda #$00 838f: 7d 02 04 adc $0402,x 8392: 85 00 sta $00 8394: 60 rts 8395: a9 00 L8395_1 lda #$00 8397: 85 00 sta $00 8399: 85 02 sta $02 839b: a9 0e lda #$0e 839d: 85 01 sta $01 839f: 85 03 sta $03 83a1: bd 07 04 lda $0407,x 83a4: 18 clc 83a5: 7d ff 6a adc $6aff,x 83a8: 9d 07 04 sta $0407,x 83ab: 85 04 sta $04 83ad: a9 00 lda #$00 83af: bc ff 6a ldy $6aff,x 83b2: 10 02 bpl L83B6_1 83b4: a9 ff lda #$ff 83b6: 7d 03 04 L83B6_1 adc $0403,x 83b9: 9d 03 04 sta $0403,x 83bc: a8 tay 83bd: 10 11 bpl L83D0_1 83bf: a9 00 lda #$00 83c1: 38 sec 83c2: fd 07 04 sbc $0407,x 83c5: 85 04 sta $04 83c7: a9 00 lda #$00 83c9: fd 03 04 sbc $0403,x 83cc: a8 tay 83cd: 20 49 e4 jsr LE449 83d0: a5 04 L83D0_1 lda $04 83d2: c5 02 cmp $02 83d4: 98 tya 83d5: e5 03 sbc $03 83d7: 90 0a bcc L83E3_1 83d9: a5 00 lda $00 83db: 9d 07 04 sta $0407,x 83de: a5 01 lda $01 83e0: 9d 03 04 sta $0403,x 83e3: bd fd 6a L83E3_1 lda $6afd,x 83e6: 18 clc 83e7: 7d 07 04 adc $0407,x 83ea: 9d fd 6a sta $6afd,x 83ed: a9 00 lda #$00 83ef: 7d 03 04 adc $0403,x 83f2: 85 00 sta $00 83f4: 60 rts 83f5: a6 4b T83F5_0 ldx PageIndex 83f7: bd 00 04 lda EnYRoomPos,x 83fa: 38 sec 83fb: fd f5 6a sbc EnRadY,x 83fe: 29 07 and #$07 8400: 38 sec 8401: d0 03 bne L8406_1 8403: 20 70 e7 jsr LE770 8406: a0 00 L8406_1 ldy #$00 8408: 84 00 sty $00 840a: a6 4b ldx PageIndex 840c: 90 3c bcc L844A_1 840e: e6 00 inc $00 8410: bc 00 04 ldy EnYRoomPos,x 8413: d0 14 bne L8429_1 8415: a0 f0 ldy #$f0 8417: a5 49 lda ScrollDir 8419: c9 02 cmp #$02 841b: b0 0c bcs L8429_1 841d: a5 fc lda ScrollY 841f: f0 29 beq L844A_1 8421: 20 63 85 jsr L8563_1 8424: f0 24 beq L844A_1 8426: 20 5a 85 jsr L855A_1 8429: 88 L8429_1 dey 842a: 98 tya 842b: 9d 00 04 sta EnYRoomPos,x 842e: dd f5 6a cmp EnRadY,x 8431: d0 0e bne L8441_1 8433: a5 fc lda ScrollY 8435: f0 05 beq L843C_1 8437: 20 63 85 jsr L8563_1 843a: d0 05 bne L8441_1 843c: fe 00 04 L843C_1 inc EnYRoomPos,x 843f: 18 clc 8440: 60 rts 8441: bd 05 04 L8441_1 lda EnCounter-1,x 8444: 30 03 bmi L8449_1 8446: fe 01 6b inc EnDataIndex-1,x 8449: 38 L8449_1 sec 844a: 60 L844A_1 rts 844b: a6 4b T844B_0 ldx PageIndex 844d: bd 00 04 lda EnYRoomPos,x 8450: 18 clc 8451: 7d f5 6a adc EnRadY,x 8454: 29 07 and #$07 8456: 38 sec 8457: d0 03 bne L845C_1 8459: 20 7b e7 jsr LE77B 845c: a0 00 L845C_1 ldy #$00 845e: 84 00 sty $00 8460: a6 4b ldx PageIndex 8462: 90 42 bcc L84A6_1 8464: e6 00 inc $00 8466: bc 00 04 ldy EnYRoomPos,x 8469: c0 ef cpy #$ef 846b: d0 14 bne L8481_1 846d: a0 ff ldy #$ff 846f: a5 49 lda ScrollDir 8471: c9 02 cmp #$02 8473: b0 0c bcs L8481_1 8475: a5 fc lda ScrollY 8477: f0 2d beq L84A6_1 8479: 20 63 85 jsr L8563_1 847c: d0 28 bne L84A6_1 847e: 20 5a 85 jsr L855A_1 8481: c8 L8481_1 iny 8482: 98 tya 8483: 9d 00 04 sta EnYRoomPos,x 8486: 18 clc 8487: 7d f5 6a adc EnRadY,x 848a: c9 ef cmp #$ef 848c: d0 0f bne L849D_1 848e: a5 fc lda ScrollY 8490: f0 05 beq L8497_1 8492: 20 63 85 jsr L8563_1 8495: f0 06 beq L849D_1 8497: de 00 04 L8497_1 dec EnYRoomPos,x 849a: 18 clc 849b: 90 09 bcc L84A6_1 849d: bd 05 04 L849D_1 lda EnCounter-1,x 84a0: 30 03 bmi L84A5_1 84a2: de 01 6b dec EnDataIndex-1,x 84a5: 38 L84A5_1 sec 84a6: 60 L84A6_1 rts 84a7: a6 4b T84A7_0 ldx PageIndex 84a9: bd 01 04 lda EnXRoomPos,x 84ac: 38 sec 84ad: fd f6 6a sbc EnRadX,x 84b0: 29 07 and #$07 84b2: 38 sec 84b3: d0 03 bne L84B8_1 84b5: 20 f1 e8 jsr LE8F1 84b8: a0 00 L84B8_1 ldy #$00 84ba: 84 00 sty $00 84bc: a6 4b ldx PageIndex 84be: 90 3d bcc L84FD_1 84c0: e6 00 inc $00 84c2: bc 01 04 ldy EnXRoomPos,x 84c5: d0 13 bne L84DA_1 84c7: a5 49 lda ScrollDir 84c9: c9 02 cmp #$02 84cb: 90 0d bcc L84DA_1 84cd: a5 fd lda ScrollX 84cf: f0 03 beq L84D4_1 84d1: 20 63 85 jsr L8563_1 84d4: 18 L84D4_1 clc 84d5: f0 26 beq L84FD_1 84d7: 20 5a 85 jsr L855A_1 84da: de 01 04 L84DA_1 dec EnXRoomPos,x 84dd: bd 01 04 lda EnXRoomPos,x 84e0: dd f6 6a cmp EnRadX,x 84e3: d0 0f bne L84F4_1 84e5: a5 fd lda ScrollX 84e7: f0 05 beq L84EE_1 84e9: 20 63 85 jsr L8563_1 84ec: d0 06 bne L84F4_1 84ee: fe 01 04 L84EE_1 inc EnXRoomPos,x 84f1: 18 clc 84f2: 90 09 bcc L84FD_1 84f4: bd 05 04 L84F4_1 lda EnCounter-1,x 84f7: 10 03 bpl L84FC_1 84f9: fe 01 6b inc EnDataIndex-1,x 84fc: 38 L84FC_1 sec 84fd: 60 L84FD_1 rts 84fe: a6 4b T84FE_0 ldx PageIndex 8500: bd 01 04 lda EnXRoomPos,x 8503: 18 clc 8504: 7d f6 6a adc EnRadX,x 8507: 29 07 and #$07 8509: 38 sec 850a: d0 03 bne L850F_1 850c: 20 fc e8 jsr LE8FC 850f: a0 00 L850F_1 ldy #$00 8511: 84 00 sty $00 8513: a6 4b ldx PageIndex 8515: 90 42 bcc L8559_1 8517: e6 00 inc $00 8519: fe 01 04 inc EnXRoomPos,x 851c: d0 18 bne L8536_1 851e: a5 49 lda ScrollDir 8520: c9 02 cmp #$02 8522: 90 12 bcc L8536_1 8524: a5 fd lda ScrollX 8526: f0 05 beq L852D_1 8528: 20 63 85 jsr L8563_1 852b: f0 06 beq L8533_1 852d: de 01 04 L852D_1 dec EnXRoomPos,x 8530: 18 clc 8531: 90 26 bcc L8559_1 8533: 20 5a 85 L8533_1 jsr L855A_1 8536: bd 01 04 L8536_1 lda EnXRoomPos,x 8539: 18 clc 853a: 7d f6 6a adc EnRadX,x 853d: c9 ff cmp #$ff 853f: d0 0f bne L8550_1 8541: a5 fd lda ScrollX 8543: f0 05 beq L854A_1 8545: 20 63 85 jsr L8563_1 8548: f0 06 beq L8550_1 854a: de 01 04 L854A_1 dec EnXRoomPos,x 854d: 18 clc 854e: 90 09 bcc L8559_1 8550: bd 05 04 L8550_1 lda EnCounter-1,x 8553: 10 03 bpl L8558_1 8555: de 01 6b dec EnDataIndex-1,x 8558: 38 L8558_1 sec 8559: 60 L8559_1 rts 855a: bd fb 6a L855A_1 lda EnNameTable,x 855d: 49 01 eor #$01 855f: 9d fb 6a sta EnNameTable,x 8562: 60 rts 8563: bd fb 6a L8563_1 lda EnNameTable,x 8566: 45 ff eor PPUCNT0ZP 8568: 29 01 and #$01 856a: 60 rts 856b: 5d 05 04 L856B_1 eor EnCounter-1,x 856e: 9d 05 04 sta EnCounter-1,x 8571: 60 rts 8572: 03 04 05 ff+ .bulk $03,$04,$05,$ff,$07,$ff,$17,$08,$ff,$22,$ff,$04,$10,$ff,$17,$18 + $19,$1a,$ff,$03,$17,$ff,$1e,$1d,$1c,$1b,$ff,$28,$ff,$2a,$f7,$ff + $12,$ff,$0c,$0d,$0e,$ff,$30,$2b,$ff,$31,$31,$33,$f7,$ff,$33,$33 + $31,$ff,$35,$ff,$39,$38,$ff,$40,$41,$42,$ff,$46,$ff,$47,$ff,$48 + $ff,$07,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$f7,$f7,$07,$f7,$ff + $23,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$f7,$f7,$23,$f7,$ff,$07 + $f7,$f7,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$07,$f7,$ff,$23,$f7 + $f7,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$23,$f7,$ff,$4b,$ff,$4e + $4f,$ff,$3c,$4a,$49,$4a,$4d,$4a,$4d,$f7,$ff,$26,$ff,$25,$ff,$27 + $ff,$67,$67,$67,$68,$68,$69,$f7,$ff 860b: cb 87 .dd2 L86FD_0+206 860d: cb 87 .dd2 L86FD_0+206 860f: cb 87 .dd2 L86FD_0+206 8611: cb 87 .dd2 L86FD_0+206 8613: dd 87 .dd2 L86FD_0+224 8615: f0 87 .dd2 L86FD_0+243 8617: 02 88 .dd2 L86FD_0+$105 8619: 02 88 .dd2 L86FD_0+$105 861b: 18 88 .dd2 L86FD_0+$11b 861d: 2c 88 .dd2 L86FD_0+$12f 861f: 2c 88 .dd2 L86FD_0+$12f 8621: 2c 88 .dd2 L86FD_0+$12f 8623: 2c 88 .dd2 L86FD_0+$12f 8625: 3e 88 .dd2 L86FD_0+$141 8627: 51 88 .dd2 L86FD_0+$154 8629: 63 88 .dd2 L86FD_0+$166 862b: 63 88 .dd2 L86FD_0+$166 862d: 74 88 .dd2 L86FD_0+$177 862f: 74 88 .dd2 L86FD_0+$177 8631: 85 88 .dd2 L86FD_0+$188 8633: 85 88 .dd2 L86FD_0+$188 8635: 85 88 .dd2 L86FD_0+$188 8637: 85 88 .dd2 L86FD_0+$188 8639: 85 88 .dd2 L86FD_0+$188 863b: 8f 88 .dd2 L86FD_0+$192 863d: 99 88 .dd2 L86FD_0+$19c 863f: a3 88 .dd2 L86FD_0+$1a6 8641: ad 88 .dd2 L86FD_0+$1b0 8643: b8 88 .dd2 L86FD_0+$1bb 8645: c3 88 .dd2 L86FD_0+$1c6 8647: ce 88 .dd2 L86FD_0+$1d1 8649: d9 88 .dd2 L86FD_0+$1dc 864b: d9 88 .dd2 L86FD_0+$1dc 864d: d9 88 .dd2 L86FD_0+$1dc 864f: d9 88 .dd2 L86FD_0+$1dc 8651: ee 88 .dd2 L86FD_0+$1f1 8653: f8 88 .dd2 L86FD_0+$1fb 8655: f8 88 .dd2 L86FD_0+$1fb 8657: fe 88 .dd2 L86FD_0+$201 8659: 04 89 .dd2 L86FD_0+$207 865b: 0a 89 .dd2 L86FD_0+$20d 865d: 0f 89 .dd2 L86FD_0+$212 865f: 0f 89 .dd2 L86FD_0+$212 8661: 14 89 .dd2 L86FD_0+$217 8663: 28 89 .dd2 L86FD_0+$22b 8665: 28 89 .dd2 L86FD_0+$22b 8667: 28 89 .dd2 L86FD_0+$22b 8669: 28 89 .dd2 L86FD_0+$22b 866b: 28 89 .dd2 L86FD_0+$22b 866d: 3c 89 .dd2 L86FD_0+$23f 866f: 48 89 .dd2 L86FD_0+$24b 8671: 48 89 .dd2 L86FD_0+$24b 8673: 54 89 .dd2 L86FD_0+$257 8675: 54 89 .dd2 L86FD_0+$257 8677: 61 89 .dd2 L86FD_0+$264 8679: 61 89 .dd2 L86FD_0+$264 867b: 61 89 .dd2 L86FD_0+$264 867d: 74 89 .dd2 L86FD_0+$277 867f: 87 89 .dd2 L86FD_0+$28a 8681: 87 89 .dd2 L86FD_0+$28a 8683: 87 89 .dd2 L86FD_0+$28a 8685: 95 89 .dd2 L86FD_0+$298 8687: 95 89 .dd2 L86FD_0+$298 8689: 95 89 .dd2 L86FD_0+$298 868b: 95 89 .dd2 L86FD_0+$298 868d: a9 89 .dd2 L86FD_0+$2ac 868f: be 89 .dd2 L86FD_0+$2c1 8691: d2 89 .dd2 L86FD_0+$2d5 8693: d2 89 .dd2 L86FD_0+$2d5 8695: d2 89 .dd2 L86FD_0+$2d5 8697: d2 89 .dd2 L86FD_0+$2d5 8699: e6 89 .dd2 L86FD_0+$2e9 869b: fb 89 .dd2 L86FD_0+$2fe 869d: 0f 8a .dd2 L86FD_0+$312 869f: 1d 8a .dd2 L86FD_0+$320 86a1: 21 8a .dd2 L86FD_0+$324 86a3: 26 8a .dd2 L86FD_0+$329 86a5: 26 8a .dd2 L86FD_0+$329 86a7: 3c 8a .dd2 L86FD_0+$33f 86a9: 41 8a .dd2 L86FD_0+$344 86ab: 46 8a .dd2 L86FD_0+$349 86ad: 4e 8a .dd2 L86FD_0+$351 86af: 56 8a .dd2 L86FD_0+$359 86b1: 5e 8a .dd2 L86FD_0+$361 86b3: 66 8a .dd2 L86FD_0+$369 86b5: 6e 8a .dd2 L86FD_0+$371 86b7: 76 8a .dd2 L86FD_0+$379 86b9: 7e 8a .dd2 L86FD_0+$381 86bb: 86 8a .dd2 L86FD_0+$389 86bd: 8e 8a .dd2 L86FD_0+$391 86bf: 9c 8a .dd2 L86FD_0+$39f 86c1: a1 8a .dd2 L86FD_0+$3a4 86c3: a6 8a .dd2 L86FD_0+$3a9 86c5: ae 8a .dd2 L86FD_0+$3b1 86c7: ba 8a .dd2 L86FD_0+$3bd 86c9: c4 8a .dd2 L86FD_0+$3c7 86cb: c4 8a .dd2 L86FD_0+$3c7 86cd: c4 8a .dd2 L86FD_0+$3c7 86cf: c4 8a .dd2 L86FD_0+$3c7 86d1: c4 8a .dd2 L86FD_0+$3c7 86d3: c4 8a .dd2 L86FD_0+$3c7 86d5: c4 8a .dd2 L86FD_0+$3c7 86d7: d8 8a .dd2 L86FD_0+$3db 86d9: e9 8a .dd2 L86FD_0+$3ec 86db: f3 8a .dd2 L86FD_0+$3f6 86dd: 03 8b .dd2 L86FD_0+$406 86df: 01 87 .dd2 L86FD_0+4 86e1: 1f 87 .dd2 L86FD_0+34 86e3: 2b 87 .dd2 L86FD_0+46 86e5: 37 87 .dd2 L86FD_0+58 86e7: 47 87 .dd2 L86FD_0+74 86e9: 51 87 .dd2 L86FD_0+84 86eb: fd 86 .dd2 L86FD_0 86ed: 5d 87 .dd2 L86FD_0+96 86ef: 75 87 .dd2 L86FD_0+120 86f1: 8d 87 .dd2 L86FD_0+144 86f3: 91 87 .dd2 L86FD_0+148 86f5: 99 87 .dd2 L86FD_0+156 86f7: a5 87 .dd2 L86FD_0+168 86f9: 49 87 .dd2 L86FD_0+76 86fb: b1 87 .dd2 L86FD_0+180 86fd: e8 fc ea fc+ L86FD_0 .bulk $e8,$fc,$ea,$fc,$f0,$f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$00,$f8 + $00,$00,$00,$08,$08,$f8,$08,$00,$08,$08,$f8,$f4,$f8,$f6,$ec,$f4 + $ee,$f4,$f3,$f8,$f3,$00,$fb,$f8,$fb,$00,$03,$f8,$03,$00,$f8,$f6 + $f8,$fe,$f8,$06,$00,$f6,$00,$fe,$00,$06,$fc,$f0,$fc,$f8,$fc,$00 + $fc,$08,$fc,$10,$fc,$18,$fc,$20,$fc,$28,$fc,$fc,$f8,$f8,$f8,$00 + $00,$f8,$00,$00,$e8,$00,$f0,$00,$f8,$00,$00,$00,$08,$00,$10,$00 + $80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8,$f4,$00 + $fc,$f8,$fc,$00,$04,$f8,$04,$00,$f0,$00,$f0,$08,$f8,$08,$f0,$f0 + $f0,$f8,$f8,$f0,$00,$f0,$08,$f0,$08,$f8,$00,$08,$08,$00,$08,$08 + $f8,$fc,$00,$fc,$fc,$f8,$fc,$00,$fc,$10,$fc,$18,$fc,$f0,$f4,$f8 + $f4,$00,$fc,$08,$04,$f8,$04,$00,$fc,$e8,$ec,$f0,$ec,$08,$fc,$10 + $0c,$f0,$0c,$08,$00,$f8,$00,$00,$08,$f8,$08,$00,$e8,$f0,$e8,$f8 + $e8,$00,$f0,$f0,$f0,$f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$40,$0f + $04,$00,$01,$fd,$20,$fe,$41,$40,$fd,$60,$20,$21,$fe,$fe,$31,$ff + $40,$0f,$04,$02,$03,$fd,$20,$fe,$43,$42,$fd,$60,$22,$23,$fe,$32 + $33,$34,$ff,$40,$0f,$04,$05,$06,$fd,$20,$fe,$45,$44,$fd,$60,$25 + $26,$27,$35,$36,$ff,$00,$0f,$04,$09,$fd,$60,$09,$fd,$20,$fe,$19 + $1a,$fd,$20,$29,$2a,$fe,$39,$fd,$60,$39,$ff,$40,$0f,$04,$fd,$20 + $0e,$0d,$fe,$1e,$1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$17,$ff,$40 + $0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$20,$21,$fe,$fe,$31 + $ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$22,$23,$fe + $32,$33,$34,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60 + $25,$26,$27,$35,$36,$ff,$40,$0f,$04,$00,$01,$fd,$20,$fe,$41,$40 + $fd,$60,$22,$07,$08,$32,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a + $49,$fd,$60,$22,$07,$08,$32,$ff,$41,$0f,$04,$52,$53,$62,$63,$72 + $73,$ff,$42,$0f,$04,$54,$55,$56,$64,$65,$66,$ff,$81,$0f,$04,$52 + $53,$62,$63,$72,$73,$ff,$82,$0f,$04,$54,$55,$56,$64,$65,$66,$ff + $01,$08,$04,$fc,$03,$00,$50,$51,$60,$61,$ff,$81,$08,$04,$fc,$fd + $00,$50,$51,$60,$61,$ff,$c1,$08,$04,$fc,$fd,$00,$50,$51,$60,$61 + $ff,$41,$08,$04,$fc,$03,$00,$50,$51,$60,$61,$ff,$40,$0f,$04,$fd + $20,$0e,$0d,$fe,$1e,$1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$fe,$17 + $ff,$03,$04,$10,$28,$38,$38,$fd,$60,$28,$ff,$4a,$04,$08,$5e,$5f + $ff,$0a,$04,$08,$5e,$5f,$ff,$09,$08,$04,$14,$24,$ff,$04,$02,$02 + $30,$ff,$04,$00,$00,$04,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79 + $fe,$78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$46,$0f,$04,$fe,$69 + $fd,$20,$7a,$79,$fe,$78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$35 + $18,$08,$0f,$1f,$2f,$fd,$a3,$2f,$1f,$0f,$ff,$35,$18,$04,$6a,$6b + $6c,$fd,$a3,$6c,$6b,$6a,$ff,$07,$00,$00,$fc,$fc,$00,$0b,$0c,$1b + $1c,$2b,$2c,$ff,$46,$0f,$04,$69,$fd,$20,$fe,$7a,$79,$fe,$78,$77 + $fd,$60,$22,$07,$08,$32,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79 + $fe,$78,$77,$fd,$60,$22,$07,$08,$32,$ff,$0d,$0c,$0c,$74,$fd,$60 + $74,$fd,$a0,$74,$fd,$e0,$74,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a + $79,$fe,$78,$77,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$69 + $fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34 + $ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25 + $26,$27,$35,$36,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79,$fe,$78 + $77,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$fe,$69,$fd,$20 + $7a,$79,$fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34,$ff,$46,$0f + $04,$fe,$69,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25,$26,$27,$35 + $36,$ff,$0d,$0c,$0c,$75,$fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff + $00,$00,$00,$ff,$04,$04,$04,$4c,$ff,$08,$10,$10,$3d,$3e,$4e,$fd + $60,$3e,$3d,$4e,$fd,$e0,$4e,$3e,$3d,$fd,$a0,$4e,$3d,$3e,$ff,$04 + $04,$04,$70,$ff,$04,$04,$04,$71,$ff,$0d,$03,$03,$86,$87,$96,$97 + $ff,$0d,$03,$03,$7b,$7c,$8b,$8c,$ff,$0d,$03,$03,$88,$67,$98,$99 + $ff,$0d,$03,$03,$80,$81,$90,$91,$ff,$0d,$03,$03,$7d,$7e,$8d,$8e + $ff,$0d,$03,$03,$82,$83,$92,$93,$ff,$0d,$03,$03,$88,$89,$98,$99 + $ff,$0d,$03,$03,$88,$68,$98,$99,$ff,$0d,$03,$03,$84,$85,$94,$95 + $ff,$0d,$03,$03,$3f,$fd,$40,$3f,$fd,$00,$4f,$fd,$40,$4f,$ff,$34 + $04,$04,$f2,$ff,$04,$00,$00,$5a,$ff,$13,$00,$00,$b0,$b1,$b2,$b3 + $ff,$13,$00,$00,$b4,$b5,$b6,$b7,$b8,$b6,$b9,$b3,$ff,$13,$00,$00 + $b3,$ba,$ba,$fe,$80,$80,$ff,$1e,$00,$08,$fa,$fb,$fa,$fb,$fc,$00 + $04,$c5,$c6,$c7,$d5,$d6,$d7,$e5,$e6,$e7,$ff,$1e,$00,$08,$fa,$fb + $fa,$fb,$fe,$c8,$c9,$eb,$d8,$d9,$ea,$e8,$e9,$ff,$0a,$04,$08,$fd + $00,$57,$fd,$40,$57,$ff,$0b,$04,$0c,$fd,$00,$57,$18,$fd,$40,$18 + $57,$fd,$c0,$18,$18,$ff,$0c,$04,$10,$fd,$00,$57,$18,$fd,$40,$18 + $57,$fd,$c0,$18,$18,$ff 8b13: a5 56 lda DoorStatus 8b15: d0 55 bne L8B6C_2 8b17: a4 58 ldy SamusDoorData 8b19: f0 51 beq L8B6C_2 8b1b: 85 95 sta CurrentMissilePickups 8b1d: 85 96 sta CurrentEnergyPickups 8b1f: a5 2e lda RandomNumber1 8b21: 29 0f and #$0f 8b23: 85 93 sta MaxMissilePickup 8b25: 0a asl A 8b26: 09 40 ora #$40 8b28: 85 94 sta MaxEnergyPickup 8b2a: a5 ff lda PPUCNT0ZP 8b2c: 49 01 eor #$01 8b2e: 29 01 and #$01 8b30: a8 tay 8b31: 4a lsr A 8b32: 99 6c 00 sta DoorOnNameTable3,y 8b35: a5 49 lda ScrollDir 8b37: 29 02 and #$02 8b39: d0 10 bne L8B4B_1 8b3b: a2 04 ldx #$04 8b3d: a5 fc lda ScrollY 8b3f: f0 2c beq L8B6D_2 8b41: a5 ff lda PPUCNT0ZP 8b43: 4d 0c 03 eor ObjectHi 8b46: 4a lsr A 8b47: 90 0a bcc L8B53_1 8b49: b0 07 bcs L8B52_1 8b4b: a2 02 L8B4B_1 ldx #$02 8b4d: ad 0e 03 lda ObjectX 8b50: 10 01 bpl L8B53_1 8b52: ca L8B52_1 dex 8b53: 8a L8B53_1 txa 8b54: 85 57 sta DoorScrollStatus 8b56: 20 74 8b jsr L8B74_1 8b59: a9 12 lda #$12 8b5b: 85 59 sta DoorDelay 8b5d: a5 58 lda SamusDoorData 8b5f: 20 c5 c2 jsr LC2C5 8b62: 0d 00 03 ora ObjAction 8b65: 85 58 sta SamusDoorData 8b67: a9 05 lda #$05 8b69: 8d 00 03 sta ObjAction 8b6c: 60 L8B6C_2 rts 8b6d: 20 53 8b L8B6D_2 jsr L8B53_1 8b70: 20 1b e2 jsr LE21B 8b73: 8a txa 8b74: 09 80 L8B74_1 ora #$80 8b76: 85 56 sta DoorStatus 8b78: 60 rts 8b79: a2 b0 ldx #$b0 8b7b: 20 87 8b L8B7B_1 jsr L8B87_1 8b7e: a5 4b lda PageIndex 8b80: 38 sec 8b81: e9 10 sbc #$10 8b83: aa tax 8b84: 30 f5 bmi L8B7B_1 8b86: 60 rts 8b87: 86 4b L8B87_1 stx PageIndex 8b89: bd 00 03 lda ObjAction,x 8b8c: 20 7c c2 jsr ChooseRoutine 8b8f: 5c c4 .dd2 TC45C 8b91: 9d 8b .dd2 T8B9D_1 8b93: d5 8b .dd2 T8BD5_1 8b95: 01 8c .dd2 T8C01_1 8b97: 84 8c .dd2 T8C84_1 8b99: c6 8c .dd2 T8CC6_1 8b9b: f0 8c .dd2 T8CF0_1 8b9d: fe 00 03 T8B9D_1 inc ObjAction,x 8ba0: a9 30 lda #$30 8ba2: 20 fa d2 jsr LD2FA 8ba5: 20 fb 8c jsr L8CFB_1 8ba8: bc 07 03 ldy SamusOnElevator,x 8bab: b9 d1 8b lda L8BD1_1,y 8bae: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bb1: bd 07 03 L8BB1_1 lda SamusOnElevator,x 8bb4: c9 03 cmp #$03 8bb6: d0 02 bne L8BBA_1 8bb8: a9 01 lda #$01 8bba: 09 a0 L8BBA_1 ora #$a0 8bbc: 85 6b sta ObjectCntrl 8bbe: a9 00 lda #$00 8bc0: 9d 0a 03 sta SamusHit,x 8bc3: 8a txa 8bc4: 29 10 and #$10 8bc6: 49 10 eor #$10 8bc8: 05 6b ora ObjectCntrl 8bca: 85 6b sta ObjectCntrl 8bcc: a9 06 lda #$06 8bce: 4c 47 de jmp LDE47 8bd1: 05 L8BD1_1 .dd1 $05 8bd2: 01 .dd1 $01 8bd3: 0a .dd1 $0a 8bd4: 01 .dd1 $01 8bd5: bd 0a 03 T8BD5_1 lda SamusHit,x 8bd8: 29 04 and #$04 8bda: f0 d5 beq L8BB1_1 8bdc: de 0f 03 dec SamusJumpDsplcmnt,x 8bdf: d0 d0 bne L8BB1_1 8be1: a9 03 lda #$03 8be3: dd 07 03 cmp SamusOnElevator,x 8be6: d0 06 bne L8BEE_1 8be8: ac 0b 01 ldy EndTimerHi 8beb: c8 iny 8bec: d0 c3 bne L8BB1_1 8bee: 9d 00 03 L8BEE_1 sta ObjAction,x 8bf1: a9 50 lda #$50 8bf3: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bf6: a9 2c lda #$2c 8bf8: 9d 05 03 sta AnimResetIndex,x 8bfb: 38 sec 8bfc: e9 03 sbc #$03 8bfe: 4c 7e 8c jmp L8C7E_2 8c01: a5 56 T8C01_1 lda DoorStatus 8c03: f0 18 beq L8C1D_1 8c05: ad 0c 03 lda ObjectHi 8c08: 5d 0c 03 eor ObjectHi,x 8c0b: 4a lsr A 8c0c: b0 0f bcs L8C1D_1 8c0e: ad 0e 03 lda ObjectX 8c11: 5d 0e 03 eor ObjectX,x 8c14: 30 07 bmi L8C1D_1 8c16: a9 04 lda #$04 8c18: 9d 00 03 sta ObjAction,x 8c1b: d0 56 bne L8C73_1 8c1d: bd 06 03 L8C1D_1 lda AnimIndex,x 8c20: dd 05 03 cmp AnimResetIndex,x 8c23: 90 4e bcc L8C73_1 8c25: bd 0f 03 lda SamusJumpDsplcmnt,x 8c28: c9 50 cmp #$50 8c2a: d0 2b bne L8C57_1 8c2c: 20 f7 8c jsr L8CF7_2 8c2f: bd 07 03 lda SamusOnElevator,x 8c32: c9 01 cmp #$01 8c34: f0 21 beq L8C57_1 8c36: c9 03 cmp #$03 8c38: f0 1d beq L8C57_1 8c3a: a9 0a lda #$0a 8c3c: 85 09 sta $09 8c3e: bd 0c 03 lda ObjectHi,x 8c41: 85 08 sta $08 8c43: a4 50 ldy MapPosX 8c45: 8a txa 8c46: 20 c5 c2 jsr LC2C5 8c49: 90 01 bcc L8C4C_1 8c4b: 88 dey 8c4c: 98 L8C4C_1 tya 8c4d: 20 1e dc jsr LDC1E 8c50: a9 00 lda #$00 8c52: 9d 00 03 sta ObjAction,x 8c55: f0 1c beq L8C73_1 8c57: a5 2d L8C57_1 lda FrameCount 8c59: 4a lsr A 8c5a: b0 17 bcs L8C73_1 8c5c: de 0f 03 dec SamusJumpDsplcmnt,x 8c5f: d0 12 bne L8C73_1 8c61: a9 01 L8C61_1 lda #$01 8c63: 9d 0f 03 sta SamusJumpDsplcmnt,x 8c66: 20 fb 8c jsr L8CFB_1 8c69: a9 02 lda #$02 8c6b: 9d 00 03 sta ObjAction,x 8c6e: 20 76 8c jsr L8C76_1 8c71: a6 4b L8C71_1 ldx PageIndex 8c73: 4c b1 8b L8C73_1 jmp L8BB1_1 8c76: a9 30 L8C76_1 lda #$30 8c78: 9d 05 03 sta AnimResetIndex,x 8c7b: 38 sec 8c7c: e9 02 sbc #$02 8c7e: 20 fd d2 L8C7E_2 jsr LD2FD 8c81: 4c da cb jmp LCBDA 8c84: a5 56 T8C84_1 lda DoorStatus 8c86: c9 05 cmp #$05 8c88: b0 39 bcs L8CC3_1 8c8a: 20 fb 8c jsr L8CFB_1 8c8d: 20 76 8c jsr L8C76_1 8c90: a6 4b ldx PageIndex 8c92: a5 91 lda $91 8c94: f0 11 beq L8CA7_1 8c96: 8a txa 8c97: 20 bf c2 jsr LC2BF 8c9a: 45 91 eor $91 8c9c: 4a lsr A 8c9d: 90 08 bcc L8CA7_1 8c9f: a5 76 lda PalToggle 8ca1: 49 07 eor #$07 8ca3: 85 76 sta PalToggle 8ca5: 85 1c sta PalDataPending 8ca7: fe 00 03 L8CA7_1 inc ObjAction,x 8caa: a9 00 lda #$00 8cac: 85 91 sta $91 8cae: bd 07 03 lda SamusOnElevator,x 8cb1: c9 03 cmp #$03 8cb3: d0 0e bne L8CC3_1 8cb5: 8a txa 8cb6: 20 c5 c2 jsr LC2C5 8cb9: b0 05 bcs L8CC0_1 8cbb: 20 07 cc jsr LCC07 8cbe: d0 03 bne L8CC3_1 8cc0: 20 03 cc L8CC0_1 jsr LCC03 8cc3: 4c 71 8c L8CC3_1 jmp L8C71_1 8cc6: a5 56 T8CC6_1 lda DoorStatus 8cc8: c9 05 cmp #$05 8cca: d0 21 bne L8CED_1 8ccc: 8a txa 8ccd: 49 10 eor #$10 8ccf: aa tax 8cd0: a9 06 lda #$06 8cd2: 9d 00 03 sta ObjAction,x 8cd5: a9 2c lda #$2c 8cd7: 9d 05 03 sta AnimResetIndex,x 8cda: 38 sec 8cdb: e9 03 sbc #$03 8cdd: 20 fd d2 jsr LD2FD 8ce0: 20 da cb jsr LCBDA 8ce3: 20 73 cb jsr LCB73 8ce6: a6 4b ldx PageIndex 8ce8: a9 02 lda #$02 8cea: 9d 00 03 sta ObjAction,x 8ced: 4c b1 8b L8CED_1 jmp L8BB1_1 8cf0: a5 56 T8CF0_1 lda DoorStatus 8cf2: d0 f9 bne L8CED_1 8cf4: 4c 61 8c jmp L8C61_1 8cf7: a9 ff L8CF7_2 lda #$ff 8cf9: d0 02 bne L8CFD_1 8cfb: a9 4e L8CFB_1 lda #$4e 8cfd: 48 L8CFD_1 pha 8cfe: a9 50 lda #$50 8d00: 85 02 sta $02 8d02: 8a txa 8d03: 20 bf c2 jsr LC2BF 8d06: 29 01 and #$01 8d08: a8 tay 8d09: b9 3a 8d lda L8D3A_1,y 8d0c: 85 03 sta $03 8d0e: bd 0c 03 lda ObjectHi,x 8d11: 85 0b sta $0b 8d13: 20 6a e9 jsr LE96A 8d16: a0 00 ldy #$00 8d18: 68 pla 8d19: 91 04 L8D19_1 sta ($04),y 8d1b: aa tax 8d1c: 98 tya 8d1d: 18 clc 8d1e: 69 20 adc #$20 8d20: a8 tay 8d21: 8a txa 8d22: c0 c0 cpy #$c0 8d24: d0 f3 bne L8D19_1 8d26: a6 4b ldx PageIndex 8d28: 8a txa 8d29: 20 c0 c2 jsr LC2C0 8d2c: 29 06 and #$06 8d2e: a8 tay 8d2f: a5 04 lda $04 8d31: 99 5c 00 sta $005c,y 8d34: a5 05 lda $05 8d36: 99 5d 00 sta $005d,y 8d39: 60 rts 8d3a: e8 10 60 ad+ L8D3A_1 .junk 38 8d60: 03 0f 05 32+ .bulk $03,$0f,$05,$32,$d1,$48,$12,$24,$01,$02,$02,$11,$48,$20,$00,$00 + $e0,$f0,$ec,$de,$92,$8d,$a0,$3c,$c0,$00,$0c,$02,$01,$0c,$02,$00 + $00,$80,$58,$38,$70,$23,$83,$cd,$00,$00,$18,$3c,$7c,$38,$30,$00 + $0e,$59,$b0,$60,$c0,$00,$00,$80,$0e,$59,$b7,$6c,$de,$2f,$56,$28 + $00,$00,$00,$00,$00,$38,$48,$90,$00,$00,$00,$00,$00,$38,$7c,$fa + $00,$01,$00,$03,$0c,$08,$10,$03,$00,$00,$00,$03,$0f,$0c,$58,$3f + $48,$28,$af,$3d,$78,$cd,$b6,$6f,$00,$07,$1c,$70,$4a,$01,$32,$00 + $00,$00,$b0,$e8,$74,$bc,$18,$18,$00,$50,$b0,$20,$00,$88,$88,$20 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$07,$0f,$0a,$00,$02,$00,$38,$00,$07,$0f,$1a,$18,$1f,$0f,$3b + $24,$18,$95,$95,$39,$31,$29,$24,$24,$1c,$9c,$d8,$f4,$ec,$b4,$38 + $38,$7c,$d4,$c4,$78,$00,$00,$00,$38,$7c,$d6,$c6,$fe,$7c,$38,$00 + $00,$00,$38,$7c,$d6,$44,$38,$00,$00,$00,$38,$7c,$d6,$c6,$fe,$7c + $81,$a5,$e7,$24,$00,$24,$18,$24,$81,$a5,$e7,$66,$66,$c3,$66,$18 + $00,$24,$1b,$1f,$3b,$44,$5b,$3f,$bd,$9b,$e4,$c0,$c4,$98,$83,$c7 + $00,$20,$60,$d1,$d4,$60,$20,$00,$02,$17,$1f,$1f,$1f,$1f,$17,$02 + $00,$00,$00,$00,$60,$00,$00,$00,$80,$d0,$f4,$fe,$fe,$f4,$d0,$80 + $76,$02,$02,$04,$38,$00,$00,$00,$00,$50,$00,$28,$00,$01,$02,$00 + $c4,$ce,$7f,$7b,$79,$02,$02,$00,$10,$00,$80,$00,$00,$50,$a4,$00 + $60,$a0,$c2,$e7,$71,$46,$98,$20,$6e,$3c,$18,$08,$00,$50,$d0,$04 + $04,$30,$48,$00,$80,$11,$30,$21,$07,$32,$78,$7e,$f0,$c1,$5c,$3c + $61,$32,$1e,$81,$f8,$ff,$ff,$f9,$00,$02,$00,$00,$d0,$00,$00,$08 + $fc,$fc,$7e,$36,$be,$0c,$e0,$f8,$44,$2c,$12,$00,$20,$00,$20,$10 + $00,$80,$c2,$e7,$7f,$7f,$3e,$0c,$00,$00,$80,$c1,$43,$77,$3e,$0c + $0e,$3c,$78,$70,$f0,$f8,$7c,$38,$0c,$38,$60,$60,$c0,$e0,$70,$38 + $7c,$7c,$38,$10,$00,$00,$00,$00,$7c,$fe,$fe,$d6,$46,$3c,$00,$00 + $28,$30,$e8,$e4,$14,$30,$28,$44,$34,$2c,$f4,$38,$1c,$3c,$2c,$44 + $8c,$6c,$2f,$35,$4a,$91,$00,$3e,$88,$68,$2f,$7b,$75,$ce,$00,$00 + $00,$17,$fc,$5e,$a2,$53,$00,$00,$38,$07,$e4,$be,$5e,$e7,$00,$00 + $00,$02,$0d,$17,$2d,$62,$6d,$2e,$83,$c5,$f2,$e0,$c2,$81,$8c,$ce + $00,$40,$b0,$e8,$b4,$46,$b6,$74,$c1,$a3,$4f,$07,$43,$81,$31,$73 + $00,$00,$00,$00,$00,$20,$73,$df,$00,$00,$02,$17,$1f,$14,$11,$18 + $00,$00,$00,$00,$00,$00,$12,$c0,$00,$00,$80,$d0,$f4,$fe,$70,$00 + $00,$00,$00,$00,$18,$3c,$3a,$17,$00,$00,$00,$00,$00,$10,$02,$07 + $00,$00,$08,$00,$00,$81,$81,$db,$00,$00,$24,$76,$6e,$76,$24,$00 + $00,$00,$00,$18,$3d,$3b,$10,$00,$00,$00,$00,$00,$11,$03,$00,$00 + $40,$82,$05,$23,$40,$03,$1e,$10,$78,$f0,$c0,$50,$30,$68,$3c,$5e + $e3,$f0,$7e,$09,$05,$e8,$31,$9e,$20,$10,$02,$00,$06,$0c,$01,$00 + $f0,$e8,$1c,$9e,$42,$9a,$3c,$7e,$00,$00,$00,$02,$42,$c2,$80,$00 + $01,$03,$0d,$09,$13,$07,$03,$00,$38,$10,$10,$36,$24,$40,$00,$00 + $f8,$ee,$9f,$7f,$9f,$e0,$80,$00,$00,$0e,$00,$70,$10,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$80,$80,$0c,$0e,$13,$10,$c0,$20,$90,$90,$3c,$e2,$d1,$90 + $f0,$38,$11,$01,$00,$00,$08,$08,$f3,$0c,$09,$09,$0c,$07,$0b,$09 + $00,$00,$01,$01,$30,$70,$c8,$08,$03,$04,$09,$09,$3c,$47,$8b,$09 + $26,$31,$10,$1c,$18,$0c,$00,$00,$c6,$c0,$60,$60,$20,$30,$18,$08 + $5e,$2c,$20,$3c,$24,$18,$00,$00,$87,$c3,$42,$42,$42,$66,$24,$24 + $00,$00,$00,$00,$0b,$27,$73,$df,$02,$17,$1f,$34,$0b,$07,$11,$18 + $00,$00,$00,$00,$00,$8c,$f2,$e0,$80,$d0,$f4,$fe,$60,$80,$30,$00 + $18,$18,$98,$98,$64,$18,$7e,$e6,$18,$18,$18,$00,$00,$00,$00,$e6 + $bd,$db,$18,$24,$3c,$66,$66,$24,$00,$00,$00,$42,$00,$00,$42,$24 + $03,$1a,$3c,$38,$10,$08,$18,$18,$03,$02,$10,$00,$00,$08,$18,$18 + $20,$01,$03,$07,$01,$03,$07,$02,$38,$10,$b0,$60,$7c,$28,$00,$00 + $ef,$f7,$c5,$90,$fc,$ff,$3e,$e3,$00,$00,$00,$20,$0c,$03,$00,$e0 + $fc,$f8,$f2,$c0,$01,$60,$90,$d0,$00,$00,$02,$0e,$01,$60,$f0,$10 + $00,$00,$00,$f8,$00,$f8,$00,$00,$00,$00,$00,$f8,$07,$00,$00,$00 + $7c,$f8,$10,$84,$3e,$7f,$19,$00,$60,$f0,$10,$00,$02,$07,$01,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $0f,$1c,$88,$80,$00,$00,$10,$10,$cf,$30,$90,$90,$30,$e0,$d0,$90 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$08,$31,$7a,$da,$19,$fd,$00,$00,$00,$21,$5a,$da,$99,$fd + $8c,$9c,$bc,$78,$e0,$d8,$a2,$48,$8c,$98,$b0,$60,$c0,$9e,$3d,$77 + $00,$00,$00,$40,$e0,$e0,$f0,$78,$00,$00,$00,$40,$e0,$c0,$40,$60 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $18,$0c,$04,$02,$01,$0e,$18,$2c,$06,$02,$03,$01,$00,$00,$07,$13 + $19,$00,$40,$18,$0c,$96,$56,$00,$de,$6e,$de,$c6,$e3,$61,$25,$b9 + $00,$00,$00,$03,$2e,$2e,$12,$33,$3c,$7f,$ff,$fc,$d1,$50,$69,$0e + $00,$00,$00,$80,$40,$70,$7c,$35,$00,$00,$c0,$60,$b0,$68,$73,$b2 + $00,$05,$0c,$5f,$34,$19,$33,$be,$00,$05,$0c,$5f,$34,$19,$31,$b6 + $40,$20,$b4,$48,$da,$66,$63,$03,$40,$20,$b4,$48,$9a,$66,$4b,$11 + $00,$09,$02,$1a,$3d,$6f,$55,$2a,$00,$09,$02,$1a,$3d,$6f,$55,$2e + $40,$40,$20,$e8,$a4,$9c,$d6,$ca,$40,$40,$20,$e8,$a4,$1c,$96,$ca + $80,$c1,$63,$78,$3e,$3e,$1e,$0e,$80,$40,$20,$18,$04,$00,$00,$00 + $5a,$db,$db,$ff,$7e,$18,$81,$81,$50,$00,$00,$00,$00,$00,$00,$24 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $f2,$64,$0f,$da,$8d,$5b,$10,$10,$fb,$70,$01,$c0,$8d,$58,$10,$10 + $90,$40,$20,$80,$b0,$70,$5c,$60,$ef,$3e,$18,$80,$00,$10,$5c,$60 + $b8,$38,$30,$80,$80,$60,$20,$18,$a0,$a4,$66,$c6,$3e,$0c,$20,$18 + $30,$27,$2d,$38,$2a,$5e,$70,$40,$10,$00,$01,$00,$12,$20,$00,$00 + $0a,$40,$40,$51,$78,$c4,$c2,$90,$31,$3d,$3b,$2c,$06,$3b,$3d,$6f + $00,$08,$10,$80,$42,$00,$2e,$5a,$f9,$b1,$40,$60,$3e,$0e,$82,$92 + $00,$00,$00,$00,$00,$0c,$0e,$0c,$00,$00,$00,$0c,$1e,$13,$15,$16 + $00,$01,$01,$00,$00,$08,$04,$12,$00,$00,$00,$06,$0f,$07,$03,$09 + $5d,$23,$54,$2b,$24,$1e,$0f,$04,$5d,$23,$55,$2b,$20,$1c,$0f,$04 + $01,$a7,$06,$0b,$4a,$d6,$2c,$f0,$59,$f1,$52,$fb,$6a,$d6,$2c,$f0 + $ec,$f5,$7c,$99,$42,$60,$38,$0f,$ce,$d5,$70,$9d,$47,$68,$38,$0f + $af,$73,$36,$26,$0c,$1c,$78,$c0,$af,$73,$76,$a6,$4c,$1c,$78,$c0 + $69,$2c,$0e,$77,$d4,$b4,$e2,$00,$03,$01,$00,$70,$f0,$f0,$e0,$00 + $69,$2c,$0e,$37,$14,$04,$02,$00,$03,$01,$00,$30,$10,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$10,$20,$00,$00,$00,$00,$18,$3c,$3c,$fe,$7d,$ff + $81,$42,$24,$24,$3c,$7e,$c3,$a5,$00,$00,$00,$00,$00,$00,$00,$24 + $00,$00,$00,$00,$10,$20,$00,$00,$00,$00,$18,$3c,$3f,$ff,$7c,$fe + $00,$00,$80,$00,$00,$08,$04,$82,$00,$00,$00,$86,$8f,$87,$83,$41 + $d1,$e4,$88,$00,$00,$30,$88,$70,$2e,$18,$73,$ff,$7f,$8f,$47,$8f + $80,$00,$00,$20,$00,$10,$30,$70,$00,$00,$c0,$c0,$f0,$e0,$c0,$80 + $0c,$0c,$0c,$18,$18,$10,$10,$00,$30,$34,$3c,$28,$38,$30,$30,$20 + $01,$05,$1d,$20,$01,$00,$00,$00,$3c,$38,$20,$40,$40,$40,$40,$80 + $00,$03,$1c,$90,$80,$80,$40,$20,$ff,$fc,$e0,$60,$78,$7c,$3c,$1e + $20,$c0,$00,$00,$00,$00,$00,$00,$c0,$00,$00,$00,$00,$00,$00,$00 + $38,$4c,$86,$36,$7e,$7e,$6c,$38,$00,$08,$04,$14,$3c,$38,$00,$00 + $9e,$7f,$3f,$07,$4e,$3d,$03,$0a,$f0,$68,$30,$3c,$5a,$3f,$07,$0b + $12,$04,$2f,$2f,$3f,$3f,$5f,$2f,$13,$0f,$3d,$3e,$34,$78,$70,$68 + $00,$80,$60,$f0,$e8,$f8,$f0,$fc,$c0,$70,$98,$0c,$14,$06,$0e,$02 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$18,$20,$00,$00,$00,$00,$00,$64,$c0,$1c,$78,$3c,$12,$22,$20 + $e7,$5a,$3c,$5a,$81,$81,$42,$00,$66,$42,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$10,$20,$00,$00,$01,$03,$1b,$3e,$3c,$fe,$7c,$fe + $41,$21,$10,$04,$00,$00,$00,$00,$20,$1c,$0e,$03,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$01,$3e,$00,$ff,$fc,$f8,$73,$7f,$7e,$00,$00 + $00,$00,$00,$00,$08,$97,$59,$08,$e0,$00,$00,$ec,$f6,$73,$39,$08 + $00,$00,$01,$07,$0f,$0d,$1b,$10,$00,$01,$06,$09,$15,$1f,$2b,$30 + $00,$40,$e0,$d8,$d8,$bc,$3e,$0c,$60,$b0,$d8,$e4,$f6,$fb,$39,$0a + $30,$26,$08,$18,$33,$06,$00,$00,$0e,$19,$13,$1b,$32,$06,$00,$00 + $04,$02,$31,$5b,$7b,$7e,$3e,$18,$00,$00,$00,$1a,$3a,$1c,$00,$00 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 9560: 18 a7 .dd2 LA560+$1b8 9562: 3c a7 .dd2 LA560+$1dc 9564: 48 a7 .dd2 LA560+$1e8 9566: 42 a7 .dd2 LA560+$1e2 9568: 4e a7 .dd2 LA560+$1ee 956a: 54 a7 .dd2 LA560+$1f4 956c: 54 a7 .dd2 LA560+$1f4 956e: 59 a7 .dd2 LA560+$1f9 9570: 5e a7 .dd2 LA560+$1fe 9572: 73 a7 .dd2 LA560+$213 9574: 88 a7 .dd2 LA560+$228 9576: 8d a7 .dd2 LA560+$22d 9578: 8d a7 .dd2 LA560+$22d 957a: 8d a7 .dd2 LA560+$22d 957c: 8d a7 .dd2 LA560+$22d 957e: 8d a7 .dd2 LA560+$22d 9580: 8d a7 .dd2 LA560+$22d 9582: 8d a7 .dd2 LA560+$22d 9584: 8d a7 .dd2 LA560+$22d 9586: 8d a7 .dd2 LA560+$22d 9588: 94 a7 .dd2 LA560+$234 958a: 9b a7 .dd2 LA560+$23b 958c: a2 a7 .dd2 LA560+$242 958e: a9 a7 .dd2 LA560+$249 9590: b1 a7 .dd2 LA560+$251 9592: b9 a7 .dd2 LA560+$259 9594: c1 a7 .dd2 LA560+$261 9596: c9 a7 .dd2 LA560+$269 9598: 3b a8 .dd2 LA83B 959a: d1 a7 .dd2 LA7D1 959c: fb a7 .dd2 LA7FB 959e: 49 ae .dd2 LA83B+$60e 95a0: 2c a4 .dd2 LA42C 95a2: 2c a5 .dd2 LA52C 95a4: 40 a5 .dd2 LA540 95a6: 06 a4 .dd2 LA32B+219 95a8: 4c 20 a3 jmp LA320 95ab: 4c 15 a3 jmp LA315 95ae: 4c 6f 9c jmp L9C6F 95b1: 4c e6 9c jmp L9CE6 95b4: 4c 21 9d jmp L9D21 95b7: 4c 3d 9d jmp L9D3D 95ba: 4c 6c 9d jmp L9D6C 95bd: 4c c6 a0 jmp LA0C6 95c0: 4c 42 a1 jmp LA142 95c3: 4c 25 9b jmp L9B25_0 95c6: 49 ff L95C6_1 eor #$ff 95c8: 18 clc 95c9: 69 01 adc #$01 95cb: 60 T95CB rts 95cc: ff 40 00 03+ .bulk $ff,$40,$00,$03,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$03,$04,$6e,$06,$00 + $03,$21,$00,$00,$00,$00,$00,$10,$00 95e5: bd 02 6b lda EnDataIndex,x 95e8: 20 24 80 jsr ChooseRoutineT 95eb: f9 97 .dd2 T97F9 95ed: f9 97 .dd2 T97F9 95ef: 27 9a .dd2 T9A27 95f1: dc 97 .dd2 T97DC 95f3: 2c 9a .dd2 T9A2C 95f5: dc 97 .dd2 T97DC 95f7: dc 97 .dd2 T97DC 95f9: dc 97 .dd2 T97DC 95fb: dc 97 .dd2 T97DC 95fd: dc 97 .dd2 T97DC 95ff: dc 97 .dd2 T97DC 9601: dc 97 .dd2 T97DC 9603: dc 97 .dd2 T97DC 9605: dc 97 .dd2 T97DC 9607: dc 97 .dd2 T97DC 9609: dc 97 .dd2 T97DC 960b: 08 08 08 08+ L960B_0 .bulk $08,$08,$08,$08,$16,$16,$18,$18,$1f,$1f,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$01,$ff,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $05,$05,$05,$05,$16,$16,$18,$18,$1b,$1b,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $05,$05,$05,$05,$16,$16,$18,$18,$1d,$1d,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$02,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$fe,$00,$00,$c0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$01,$00,$00,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$01,$00,$00,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$02,$00,$00,$04,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97 + $d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97 + $d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97 + $d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97,$d5,$97 + $d5,$97,$d5,$97,$d5,$97,$d5,$97,$00,$00,$00,$00,$00,$00,$00,$00 + $18,$30,$00,$c0,$d0,$00,$00,$7f,$80,$58,$54,$70,$00,$00,$00,$00 + $00,$00,$00,$00,$18,$30,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$04,$02,$00,$00,$00 + $0c,$fc,$fc,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$02 + $02,$00,$00,$00,$02,$02,$02,$02,$00,$00,$00,$00,$00,$00,$00,$00 + $50,$50,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$26,$26,$26,$26,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $0c,$f4,$00,$00,$00,$00,$00,$00,$f4,$00,$00,$00,$d5,$97,$d5,$97 + $d8,$97,$db,$97,$2b,$a3,$30,$a3,$37,$a3,$48,$a3,$59,$a3,$6a,$a3 + $7b,$a3,$88,$a3,$91,$a3,$a2,$a3,$b3,$a3,$c4,$a3,$d5,$a3,$de,$a3 + $e7,$a3,$f0,$a3,$f9,$a3,$00,$00,$00,$01,$50,$22,$ff,$50,$30,$ff + $ff 97dc: a9 00 T97DC lda #$00 97de: 9d f4 6a sta Enstatus,x 97e1: 60 rts 97e2: a5 81 L97E2 lda HideShowEndMsg 97e4: c9 01 cmp #$01 97e6: f0 09 beq L97F1 97e8: c9 03 cmp #$03 97ea: f0 0a beq L97F6 97ec: a5 00 lda $00 97ee: 4c 00 80 jmp L8000_1 97f1: a5 01 L97F1 lda $01 97f3: 4c 03 80 jmp L8003_1 97f6: 4c 06 80 L97F6 jmp L8006_1 97f9: ac 0b 01 T97F9 ldy EndTimerHi 97fc: c8 iny 97fd: f0 05 beq L9804 97ff: a9 00 lda #$00 9801: 9d f4 6a sta Enstatus,x 9804: a9 0f L9804 lda #$0f 9806: 85 00 sta $00 9808: 85 01 sta $01 980a: bd 05 04 lda EnCounter-1,x 980d: 0a asl A 980e: 30 d2 bmi L97E2 9810: bd f4 6a lda Enstatus,x 9813: c9 03 cmp #$03 9815: f0 cb beq L97E2 9817: 20 b7 99 jsr L99B7 981a: b9 f8 77 lda $77f8,y 981d: f0 03 beq L9822 981f: 4c 99 98 jmp L9899 9822: bc 08 04 L9822 ldy EnDelay-1,x 9825: b9 f6 77 lda $77f6,y 9828: 48 pha 9829: bd 02 04 lda $0402,x 982c: 10 0d bpl L983B 982e: 68 pla 982f: 20 c6 95 jsr L95C6_1 9832: 48 pha 9833: a9 00 lda #$00 9835: dd 06 04 cmp EnCounter,x 9838: fd 02 04 sbc $0402,x 983b: d9 f6 77 L983B cmp $77f6,y 983e: 68 pla 983f: 90 08 bcc L9849 9841: 9d 02 04 sta $0402,x 9844: a9 00 lda #$00 9846: 9d 06 04 sta EnCounter,x 9849: b9 f6 77 L9849 lda $77f6,y 984c: 48 pha 984d: bd 03 04 lda $0403,x 9850: 10 0d bpl L985F 9852: 68 pla 9853: 20 c6 95 jsr L95C6_1 9856: 48 pha 9857: a9 00 lda #$00 9859: dd 07 04 cmp $0407,x 985c: fd 03 04 sbc $0403,x 985f: d9 f6 77 L985F cmp $77f6,y 9862: 68 pla 9863: 90 08 bcc L986D 9865: 9d 03 04 sta $0403,x 9868: a9 00 lda #$00 986a: 9d 07 04 sta $0407,x 986d: bd 05 04 L986D lda EnCounter-1,x 9870: 48 pha 9871: 20 06 9a jsr L9A06 9874: 9d ff 6a sta $6aff,x 9877: 68 pla 9878: 4a lsr A 9879: 4a lsr A 987a: 20 06 9a jsr L9A06 987d: 9d fe 6a sta $6afe,x 9880: bd f4 6a lda Enstatus,x 9883: c9 04 cmp #$04 9885: d0 0d bne L9894 9887: bc 0b 04 ldy EnHitPoints,x 988a: c8 iny 988b: d0 0c bne L9899 988d: a9 05 lda #$05 988f: 9d 0b 04 sta EnHitPoints,x 9892: d0 05 bne L9899 9894: a9 ff L9894 lda #$ff 9896: 9d 0b 04 sta EnHitPoints,x 9899: a5 81 L9899 lda HideShowEndMsg 989b: c9 06 cmp #$06 989d: d0 0a bne L98A9 989f: dd f4 6a cmp Enstatus,x 98a2: f0 05 beq L98A9 98a4: a9 04 lda #$04 98a6: 9d f4 6a sta Enstatus,x 98a9: bd 04 04 L98A9 lda $0404,x 98ac: 29 20 and #$20 98ae: f0 5f beq L990F 98b0: 20 b7 99 jsr L99B7 98b3: b9 f8 77 lda $77f8,y 98b6: f0 37 beq L98EF 98b8: bd 0e 04 lda EnSpecialAttribs-1,x 98bb: c9 07 cmp #$07 98bd: f0 04 beq L98C3 98bf: c9 0a cmp #$0a 98c1: d0 6f bne L9932 98c3: a5 2d L98C3 lda FrameCount 98c5: 29 02 and #$02 98c7: d0 69 bne L9932 98c9: b9 f8 77 lda $77f8,y 98cc: 18 clc 98cd: 69 10 adc #$10 98cf: 99 f8 77 sta $77f8,y 98d2: 29 70 and #$70 98d4: c9 50 cmp #$50 98d6: d0 5a bne L9932 98d8: a9 02 lda #$02 98da: 1d 0f 04 ora EnSpecialAttribs,x 98dd: 9d 0c 04 sta $040c,x 98e0: a9 06 lda #$06 98e2: 9d f4 6a sta Enstatus,x 98e5: a9 20 lda #$20 98e7: 9d 0f 04 sta EnSpecialAttribs,x 98ea: a9 01 lda #$01 98ec: 9d 0d 04 sta $040d,x 98ef: a9 00 L98EF lda #$00 98f1: 9d 04 04 sta $0404,x 98f4: 99 f8 77 sta $77f8,y 98f7: 9d 06 04 sta EnCounter,x 98fa: 9d 07 04 sta $0407,x 98fd: bd fe 6a lda $6afe,x 9900: 20 10 9a jsr L9A10 9903: 9d 02 04 sta $0402,x 9906: bd ff 6a lda $6aff,x 9909: 20 10 9a jsr L9A10 990c: 9d 03 04 sta $0403,x 990f: 20 b7 99 L990F jsr L99B7 9912: b9 f8 77 lda $77f8,y 9915: d0 1b bne L9932 9917: bd 04 04 lda $0404,x 991a: 29 04 and #$04 991c: f0 46 beq L9964 991e: bd 03 04 lda $0403,x 9921: 29 80 and #$80 9923: 09 01 ora #$01 9925: a8 tay 9926: 20 c3 99 jsr L99C3 9929: 20 bd 99 jsr L99BD 992c: 98 tya 992d: 9d f8 77 sta $77f8,x 9930: 8a txa 9931: a8 tay 9932: 98 L9932 tya 9933: aa tax 9934: bd f8 77 lda $77f8,x 9937: 08 php 9938: 29 0f and #$0f 993a: c9 0c cmp #$0c 993c: f0 03 beq L9941 993e: fe f8 77 inc $77f8,x 9941: a8 L9941 tay 9942: b9 d7 99 lda L99D8-1,y 9945: 85 04 sta $04 9947: 84 05 sty $05 9949: a9 0c lda #$0c 994b: 38 sec 994c: e5 05 sbc $05 994e: a6 4b ldx PageIndex 9950: 28 plp 9951: 30 03 bmi L9956 9953: 20 c6 95 jsr L95C6_1 9956: 85 05 L9956 sta $05 9958: 20 e4 99 jsr L99E4 995b: 20 27 80 jsr L8027_2 995e: 20 f4 99 jsr L99F4 9961: 4c 67 99 jmp L9967 9964: 20 ae 99 L9964 jsr L99AE 9967: bd f4 6a L9967 lda Enstatus,x 996a: c9 03 cmp #$03 996c: d0 03 bne L9971 996e: 20 ae 99 jsr L99AE 9971: a0 00 L9971 ldy #$00 9973: ad f8 77 lda $77f8 9976: 0d f9 77 ora $77f9 9979: 0d fa 77 ora $77fa 997c: 0d fb 77 ora $77fb 997f: 0d fc 77 ora $77fc 9982: 0d fd 77 ora SamusData-1 9985: 29 0c and #$0c 9987: c9 0c cmp #$0c 9989: d0 13 bne L999E 998b: ad 06 01 lda HealthLo 998e: 0d 07 01 ora HealthHi 9991: f0 0b beq L999E 9993: 84 6f sty HealthHiChange 9995: a0 04 ldy #$04 9997: 84 6e sty HealthLoChange 9999: 20 42 80 jsr L8042 999c: a0 01 ldy #$01 999e: 84 92 L999E sty MetroidOnSamus 99a0: a5 6b lda ObjectCntrl 99a2: 30 07 bmi L99AB 99a4: bd 02 6b lda EnDataIndex,x 99a7: 09 a2 ora #$a2 99a9: 85 6b sta ObjectCntrl 99ab: 4c e2 97 L99AB jmp L97E2 99ae: 20 b7 99 L99AE jsr L99B7 99b1: a9 00 L99B1 lda #$00 99b3: 99 f8 77 sta $77f8,y 99b6: 60 rts 99b7: 8a L99B7 txa 99b8: 20 1b 9b jsr L9B1B 99bb: a8 tay 99bc: 60 rts 99bd: 8a L99BD txa 99be: 20 1b 9b jsr L9B1B 99c1: aa tax 99c2: 60 rts 99c3: a9 00 L99C3 lda #$00 99c5: 9d 02 04 sta $0402,x 99c8: 9d 03 04 sta $0403,x 99cb: 9d 07 04 sta $0407,x 99ce: 9d 06 04 sta EnCounter,x 99d1: 9d ff 6a L99D1_0 sta $6aff,x 99d4: 9d fe 6a sta $6afe,x 99d7: 60 rts 99d8: 00 L99D8 .dd1 $00 99d9: fc .dd1 $fc 99da: f9 .dd1 $f9 99db: f7 .dd1 $f7 99dc: f6 .dd1 $f6 99dd: f6 .dd1 $f6 99de: f5 .dd1 $f5 99df: f5 .dd1 $f5 99e0: f5 .dd1 $f5 99e1: f6 .dd1 $f6 99e2: f6 .dd1 $f6 99e3: f8 .dd1 $f8 99e4: ad 0e 03 L99E4 lda ObjectX 99e7: 85 09 sta $09 99e9: ad 0d 03 lda ObjectY 99ec: 85 08 sta $08 99ee: ad 0c 03 lda ObjectHi 99f1: 85 0b sta $0b 99f3: 60 rts 99f4: a5 09 L99F4 lda $09 99f6: 9d 01 04 sta EnXRoomPos,x 99f9: a5 08 lda $08 99fb: 9d 00 04 sta EnYRoomPos,x 99fe: a5 0b lda $0b 9a00: 29 01 and #$01 9a02: 9d fb 6a sta EnNameTable,x 9a05: 60 rts 9a06: 4a L9A06 lsr A 9a07: bd 08 04 lda EnDelay-1,x 9a0a: 2a rol A 9a0b: a8 tay 9a0c: b9 f2 77 lda $77f2,y 9a0f: 60 rts 9a10: 0a L9A10 asl A 9a11: 2a rol A 9a12: 29 01 and #$01 9a14: a8 tay 9a15: b9 f0 77 lda $77f0,y 9a18: 60 rts 9a19: f8 .dd1 $f8 9a1a: 08 .dd1 $08 9a1b: 30 .dd1 $30 9a1c: d0 .dd1 $d0 9a1d: 60 .dd1 $60 9a1e: a0 .dd1 $a0 9a1f: 02 .dd1 $02 9a20: 04 .dd1 $04 9a21: 00 .dd1 $00 9a22: 00 .dd1 $00 9a23: 00 .dd1 $00 9a24: 00 .dd1 $00 9a25: 00 .dd1 $00 9a26: 00 .dd1 $00 9a27: a9 01 T9A27 lda #$01 9a29: 4c 03 80 jmp L8003_1 9a2c: bc f4 6a T9A2C ldy Enstatus,x 9a2f: c0 02 cpy #$02 9a31: d0 7d bne L9AB0 9a33: 88 dey 9a34: c4 81 cpy HideShowEndMsg 9a36: d0 78 bne L9AB0 9a38: a9 00 lda #$00 9a3a: 20 d1 99 jsr L99D1_0 9a3d: 9d fc 6a sta $6afc,x 9a40: 9d fd 6a sta $6afd,x 9a43: ad 0e 03 lda ObjectX 9a46: 38 sec 9a47: fd 01 04 sbc EnXRoomPos,x 9a4a: 85 01 sta $01 9a4c: bd 05 04 lda EnCounter-1,x 9a4f: 48 pha 9a50: 4a lsr A 9a51: 48 pha 9a52: 90 06 bcc L9A5A 9a54: a9 00 lda #$00 9a56: e5 01 sbc $01 9a58: 85 01 sta $01 9a5a: ad 0d 03 L9A5A lda ObjectY 9a5d: 38 sec 9a5e: fd 00 04 sbc EnYRoomPos,x 9a61: 85 00 sta $00 9a63: 68 pla 9a64: 4a lsr A 9a65: 4a lsr A 9a66: 90 06 bcc L9A6E 9a68: a9 00 lda #$00 9a6a: e5 00 sbc $00 9a6c: 85 00 sta $00 9a6e: a5 00 L9A6E lda $00 9a70: 05 01 ora $01 9a72: a0 03 ldy #$03 9a74: 0a L9A74 asl A 9a75: b0 03 bcs L9A7A 9a77: 88 dey 9a78: d0 fa bne L9A74 9a7a: 88 L9A7A dey 9a7b: 30 06 bmi L9A83_0 9a7d: 46 00 lsr $00 9a7f: 46 01 lsr $01 9a81: 10 f7 bpl L9A7A 9a83: 20 f9 9a L9A83_0 jsr L9AF9 9a86: 68 pla 9a87: 4a lsr A 9a88: 48 pha 9a89: 90 10 bcc L9A9B 9a8b: a9 00 lda #$00 9a8d: fd 07 04 sbc $0407,x 9a90: 9d 07 04 sta $0407,x 9a93: a9 00 lda #$00 9a95: fd 03 04 sbc $0403,x 9a98: 9d 03 04 sta $0403,x 9a9b: 68 L9A9B pla 9a9c: 4a lsr A 9a9d: 4a lsr A 9a9e: 90 10 bcc L9AB0 9aa0: a9 00 lda #$00 9aa2: fd 06 04 sbc EnCounter,x 9aa5: 9d 06 04 sta EnCounter,x 9aa8: a9 00 lda #$00 9aaa: fd 02 04 sbc $0402,x 9aad: 9d 02 04 sta $0402,x 9ab0: bd 05 04 L9AB0 lda EnCounter-1,x 9ab3: 0a asl A 9ab4: 30 3e bmi L9AF4 9ab6: bd 06 04 lda EnCounter,x 9ab9: 18 clc 9aba: 7d fc 6a adc $6afc,x 9abd: 9d fc 6a sta $6afc,x 9ac0: bd 02 04 lda $0402,x 9ac3: 69 00 adc #$00 9ac5: 85 04 sta $04 9ac7: bd 07 04 lda $0407,x 9aca: 18 clc 9acb: 7d fd 6a adc $6afd,x 9ace: 9d fd 6a sta $6afd,x 9ad1: bd 03 04 lda $0403,x 9ad4: 69 00 adc #$00 9ad6: 85 05 sta $05 9ad8: bd 00 04 lda EnYRoomPos,x 9adb: 85 08 sta $08 9add: bd 01 04 lda EnXRoomPos,x 9ae0: 85 09 sta $09 9ae2: bd fb 6a lda EnNameTable,x 9ae5: 85 0b sta $0b 9ae7: 20 27 80 jsr L8027_2 9aea: b0 05 bcs L9AF1 9aec: a9 00 lda #$00 9aee: 9d f4 6a sta Enstatus,x 9af1: 20 f4 99 L9AF1 jsr L99F4 9af4: a9 08 L9AF4 lda #$08 9af6: 4c 03 80 jmp L8003_1 9af9: a5 00 L9AF9 lda $00 9afb: 48 pha 9afc: 20 1b 9b jsr L9B1B 9aff: 9d 02 04 sta $0402,x 9b02: 68 pla 9b03: 20 20 9b jsr L9B20 9b06: 9d 06 04 sta EnCounter,x 9b09: a5 01 lda $01 9b0b: 48 pha 9b0c: 20 1b 9b jsr L9B1B 9b0f: 9d 03 04 sta $0403,x 9b12: 68 pla 9b13: 20 20 9b jsr L9B20 9b16: 9d 07 04 sta $0407,x 9b19: 60 rts 9b1a: 4a .dd1 $4a 9b1b: 4a L9B1B lsr A 9b1c: 4a lsr A 9b1d: 4a lsr A 9b1e: 4a lsr A 9b1f: 60 rts 9b20: 0a L9B20 asl A 9b21: 0a asl A 9b22: 0a asl A 9b23: 0a asl A 9b24: 60 rts 9b25: 20 37 9b L9B25_0 jsr L9B37 9b28: 20 d4 9d jsr L9DD4 9b2b: 20 e7 a1 jsr LA1E7 9b2e: 20 38 a2 jsr LA238 9b31: 20 8b a2 jsr LA28B 9b34: 4c 5e a1 jmp LA15E 9b37: a2 78 L9B37 ldx #$78 9b39: 20 44 9b L9B39 jsr L9B44 9b3c: a5 97 lda $97 9b3e: 38 sec 9b3f: e9 08 sbc #$08 9b41: aa tax 9b42: d0 f5 bne L9B39 9b44: 86 97 L9B44 stx $97 9b46: bc f4 6b ldy $6bf4,x 9b49: d0 01 bne L9B4C 9b4b: 60 L9B4B rts 9b4c: 20 4d 9c L9B4C jsr L9C4D 9b4f: 98 tya 9b50: d0 f9 bne L9B4B 9b52: ac 0b 01 ldy EndTimerHi 9b55: c8 iny 9b56: d0 0d bne L9B65 9b58: bd f8 6b lda $6bf8,x 9b5b: c9 05 cmp #$05 9b5d: f0 ec beq L9B4B 9b5f: 20 70 9b jsr L9B70 9b62: 4c 2b 9c jmp L9C2B 9b65: a5 2d L9B65 lda FrameCount 9b67: 29 02 and #$02 9b69: d0 e0 bne L9B4B 9b6b: a9 19 lda #$19 9b6d: 4c 31 9c jmp L9C31 9b70: bc f8 6b L9B70 ldy $6bf8,x 9b73: bd fa 6b lda $6bfa,x 9b76: d0 09 bne L9B81 9b78: b9 8f 9d lda L9D8F,y 9b7b: 9d fa 6b sta $6bfa,x 9b7e: fe fb 6b inc $6bfb,x 9b81: de fa 6b L9B81 dec $6bfa,x 9b84: b9 94 9d L9B84 lda L9D8F+5,y 9b87: 18 clc 9b88: 7d fb 6b adc $6bfb,x 9b8b: a8 tay 9b8c: b9 99 9d lda L9D8F+10,y 9b8f: 10 1a bpl L9BAB 9b91: c9 ff cmp #$ff 9b93: d0 0a bne L9B9F 9b95: bc f8 6b ldy $6bf8,x 9b98: a9 00 lda #$00 9b9a: 9d fb 6b sta $6bfb,x 9b9d: f0 e5 beq L9B84 9b9f: fe fb 6b L9B9F inc $6bfb,x 9ba2: 20 af 9b jsr L9BAF_0 9ba5: bc f8 6b ldy $6bf8,x 9ba8: 4c 84 9b jmp L9B84 9bab: 9d f9 6b L9BAB sta $6bf9,x 9bae: 60 rts 9baf: 48 L9BAF_0 pha 9bb0: a5 98 lda MotherBrainStatus 9bb2: c9 04 cmp #$04 9bb4: b0 10 bcs L9BC6_0 9bb6: a0 60 ldy #$60 9bb8: b9 f4 6a L9BB8 lda Enstatus,y 9bbb: f0 0b beq L9BC8 9bbd: 98 tya 9bbe: 18 clc 9bbf: 69 10 adc #$10 9bc1: a8 tay 9bc2: c9 a0 cmp #$a0 9bc4: d0 f2 bne L9BB8 9bc6: 68 L9BC6_0 pla 9bc7: 60 rts 9bc8: 84 4b L9BC8 sty PageIndex 9bca: bd f5 6b lda $6bf5,x 9bcd: 99 00 04 sta EnYRoomPos,y 9bd0: bd f6 6b lda $6bf6,x 9bd3: 99 01 04 sta EnXRoomPos,y 9bd6: bd f7 6b lda $6bf7,x 9bd9: 99 fb 6a sta EnNameTable,y 9bdc: a9 02 lda #$02 9bde: 99 f4 6a sta Enstatus,y 9be1: a9 00 lda #$00 9be3: 99 09 04 sta EnDelay,y 9be6: 99 f8 6a sta EnAnimDelay,y 9be9: 99 08 04 sta EnDelay-1,y 9bec: 68 pla 9bed: 20 c6 95 jsr L95C6_1 9bf0: aa tax 9bf1: 99 0a 04 sta EnHitPoints-1,y 9bf4: 09 02 ora #$02 9bf6: 99 05 04 sta EnCounter-1,y 9bf9: bd 26 9c lda L9C28-2,x 9bfc: 99 f9 6a sta EnResetAnimIndex,y 9bff: 99 fa 6a sta EnAnimIndex,y 9c02: bd cc 9d lda L9D8F+61,x 9c05: 85 05 sta $05 9c07: bd cf 9d lda L9D8F+64,x 9c0a: 85 04 sta $04 9c0c: a6 97 ldx $97 9c0e: bd f5 6b lda $6bf5,x 9c11: 85 08 sta $08 9c13: bd f6 6b lda $6bf6,x 9c16: 85 09 sta $09 9c18: bd f7 6b lda $6bf7,x 9c1b: 85 0b sta $0b 9c1d: 98 tya 9c1e: aa tax 9c1f: 20 27 80 jsr L8027_2 9c22: 20 f4 99 jsr L99F4 9c25: a6 97 ldx $97 9c27: 60 rts 9c28: 0c L9C28 .dd1 $0c 9c29: 0a .dd1 $0a 9c2a: 0e .dd1 $0e 9c2b: bc f9 6b L9C2B ldy $6bf9,x 9c2e: b9 c6 9d lda L9D8F+55,y 9c31: 8d d7 6b L9C31 sta $6bd7 9c34: bd f5 6b lda $6bf5,x 9c37: 8d e0 04 sta $04e0 9c3a: bd f6 6b lda $6bf6,x 9c3d: 8d e1 04 sta $04e1 9c40: bd f7 6b lda $6bf7,x 9c43: 8d db 6b sta $6bdb 9c46: a9 e0 lda #$e0 9c48: 85 4b sta PageIndex 9c4a: 4c 3c 80 jmp L803C 9c4d: a0 00 L9C4D ldy #$00 9c4f: bd f6 6b lda $6bf6,x 9c52: c5 fd cmp ScrollX 9c54: a5 49 lda ScrollDir 9c56: 29 02 and #$02 9c58: d0 05 bne L9C5F 9c5a: bd f5 6b lda $6bf5,x 9c5d: c5 fc cmp ScrollY 9c5f: bd f7 6b L9C5F lda $6bf7,x 9c62: 45 ff eor PPUCNT0ZP 9c64: 29 01 and #$01 9c66: f0 03 beq L9C6B 9c68: b0 03 bcs L9C6D 9c6a: 38 sec 9c6b: b0 01 L9C6B bcs L9C6E 9c6d: c8 L9C6D iny 9c6e: 60 L9C6E rts 9c6f: 84 02 L9C6F sty $02 9c71: a0 00 ldy #$00 9c73: b9 f7 6b L9C73 lda $6bf7,y 9c76: 45 02 eor $02 9c78: 4a lsr A 9c79: b0 05 bcs L9C80 9c7b: a9 00 lda #$00 9c7d: 99 f4 6b sta $6bf4,y 9c80: 98 L9C80 tya 9c81: 18 clc 9c82: 69 08 adc #$08 9c84: a8 tay 9c85: 10 ec bpl L9C73 9c87: a2 00 ldx #$00 9c89: bd 58 07 L9C89 lda $0758,x 9c8c: f0 0b beq L9C99 9c8e: 20 64 9d jsr L9D64_0 9c91: 5d 5a 07 eor $075a,x 9c94: d0 03 bne L9C99 9c96: 9d 58 07 sta $0758,x 9c99: 8a L9C99 txa 9c9a: 18 clc 9c9b: 69 08 adc #$08 9c9d: aa tax 9c9e: c9 28 cmp #$28 9ca0: d0 e7 bne L9C89 9ca2: a2 00 ldx #$00 9ca4: 20 d6 9c jsr L9CD6 9ca7: a2 03 ldx #$03 9ca9: 20 d6 9c jsr L9CD6 9cac: a5 98 lda MotherBrainStatus 9cae: f0 13 beq L9CC3 9cb0: c9 07 cmp #$07 9cb2: f0 0f beq L9CC3 9cb4: c9 0a cmp #$0a 9cb6: f0 0b beq L9CC3 9cb8: a5 9d lda $9d 9cba: 45 02 eor $02 9cbc: 4a lsr A 9cbd: b0 04 bcs L9CC3 9cbf: a9 00 lda #$00 9cc1: 85 98 sta MotherBrainStatus 9cc3: ad 0d 01 L9CC3 lda MissileToggle-1 9cc6: f0 0d beq L9CD5 9cc8: ad 0c 01 lda $010c 9ccb: 45 02 eor $02 9ccd: 4a lsr A 9cce: b0 05 bcs L9CD5 9cd0: a9 00 lda #$00 9cd2: 8d 0d 01 sta MissileToggle-1 9cd5: 60 L9CD5 rts 9cd6: b5 8b L9CD6 lda $8b,x 9cd8: 30 0b bmi L9CE5 9cda: b5 8c lda $8c,x 9cdc: 45 02 eor $02 9cde: 4a lsr A 9cdf: b0 04 bcs L9CE5 9ce1: a9 ff lda #$ff 9ce3: 95 8b sta $8b,x 9ce5: 60 L9CE5 rts 9ce6: a2 00 L9CE6 ldx #$00 9ce8: bd f4 6b L9CE8 lda $6bf4,x 9ceb: f0 09 beq L9CF6 9ced: 8a txa 9cee: 18 clc 9cef: 69 08 adc #$08 9cf1: aa tax 9cf2: 10 f4 bpl L9CE8 9cf4: 30 2a bmi L9D20 9cf6: b1 00 L9CF6 lda ($00),y 9cf8: 20 1b 9b jsr L9B1B 9cfb: 9d f8 6b sta $6bf8,x 9cfe: a9 01 lda #$01 9d00: 9d f4 6b sta $6bf4,x 9d03: 9d fb 6b sta $6bfb,x 9d06: c8 iny 9d07: b1 00 lda ($00),y 9d09: 48 pha 9d0a: 29 f0 and #$f0 9d0c: 09 07 ora #$07 9d0e: 9d f5 6b sta $6bf5,x 9d11: 68 pla 9d12: 20 20 9b jsr L9B20 9d15: 09 07 ora #$07 9d17: 9d f6 6b sta $6bf6,x 9d1a: 20 88 9d jsr L9D88 9d1d: 9d f7 6b sta $6bf7,x 9d20: 60 L9D20 rts 9d21: a9 01 L9D21 lda #$01 9d23: 85 98 sta MotherBrainStatus 9d25: 20 88 9d jsr L9D88 9d28: 85 9d sta $9d 9d2a: 49 01 eor #$01 9d2c: aa tax 9d2d: ad 3c 9d lda L9D3C 9d30: 15 6c ora DoorOnNameTable3,x 9d32: 95 6c sta DoorOnNameTable3,x 9d34: a9 20 lda #$20 9d36: 85 9a sta $9a 9d38: 85 9b sta $9b 9d3a: 60 rts 9d3b: 02 .dd1 $02 9d3c: 01 L9D3C .dd1 $01 9d3d: b1 00 L9D3D lda ($00),y 9d3f: 29 f0 and #$f0 9d41: 4a lsr A 9d42: aa tax 9d43: 0a asl A 9d44: 29 10 and #$10 9d46: 49 10 eor #$10 9d48: 09 84 ora #$84 9d4a: 9d 59 07 sta $0759,x 9d4d: 20 64 9d jsr L9D64_0 9d50: 9d 5a 07 sta $075a,x 9d53: a9 01 lda #$01 9d55: 9d 58 07 sta $0758,x 9d58: a9 00 lda #$00 9d5a: 9d 5b 07 sta $075b,x 9d5d: 9d 5c 07 sta $075c,x 9d60: 9d 5d 07 sta $075d,x 9d63: 60 rts 9d64: 20 88 9d L9D64_0 jsr L9D88 9d67: 0a asl A 9d68: 0a asl A 9d69: 09 61 ora #$61 9d6b: 60 rts 9d6c: a2 03 L9D6C ldx #$03 9d6e: 20 75 9d jsr L9D75 9d71: 30 14 bmi L9D87 9d73: a2 00 ldx #$00 9d75: b5 8b L9D75 lda $8b,x 9d77: 10 0e bpl L9D87 9d79: b1 00 lda ($00),y 9d7b: 20 1b 9b jsr L9B1B 9d7e: 95 8b sta $8b,x 9d80: 20 88 9d jsr L9D88 9d83: 95 8c sta $8c,x 9d85: a9 ff lda #$ff 9d87: 60 L9D87 rts 9d88: a5 ff L9D88 lda PPUCNT0ZP 9d8a: 45 49 eor ScrollDir 9d8c: 29 01 and #$01 9d8e: 60 rts 9d8f: 28 28 28 28+ L9D8F .bulk $28,$28,$28,$28,$28,$00,$0b,$16,$21,$27,$00,$01,$02,$fd,$03,$04 + $fd,$03,$02,$01,$ff,$00,$07,$06,$fe,$05,$04,$fe,$05,$06,$07,$ff + $02,$03,$fc,$04,$05,$06,$05,$fc,$04,$03,$ff,$02,$03,$fc,$04,$03 + $ff,$06,$05,$fc,$04,$05,$ff,$06,$07,$08,$09,$0a,$0b,$0c,$0d,$09 + $f7,$00,$09,$09,$0b 9dd4: a5 98 L9DD4 lda MotherBrainStatus 9dd6: f0 19 beq L9DF1 9dd8: 20 24 80 jsr ChooseRoutineT 9ddb: cb 95 .dd2 T95CB 9ddd: 22 9e .dd2 T9E22 9ddf: 36 9e .dd2 T9E36 9de1: 52 9e .dd2 T9E52 9de3: 86 9e .dd2 T9E86 9de5: 02 9f .dd2 T9F02 9de7: 49 9f .dd2 T9F49 9de9: c0 9f .dd2 T9FC0 9deb: 02 9f .dd2 T9F02 9ded: da 9f .dd2 T9FDA 9def: cb 95 .dd2 T95CB 9df1: 60 L9DF1 rts 9df2: ad 0c 03 L9DF2 lda ObjectHi 9df5: 45 9d eor $9d 9df7: d0 f8 bne L9DF1 9df9: ad 0e 03 lda ObjectX 9dfc: 38 sec 9dfd: e9 48 sbc #$48 9dff: c9 2f cmp #$2f 9e01: b0 ee bcs L9DF1 9e03: ad 0d 03 lda ObjectY 9e06: 38 sec 9e07: e9 80 sbc #$80 9e09: 10 03 bpl L9E0E 9e0b: 20 c6 95 jsr L95C6_1 9e0e: c9 20 L9E0E cmp #$20 9e10: b0 df bcs L9DF1 9e12: a9 00 lda #$00 9e14: 85 6e sta HealthLoChange 9e16: a9 02 lda #$02 9e18: 85 6f sta HealthHiChange 9e1a: a9 38 lda #$38 9e1c: 8d 0a 03 sta SamusHit 9e1f: 4c 42 80 jmp L8042 9e22: 20 f2 9d T9E22 jsr L9DF2 9e25: 20 ed 9f jsr L9FED 9e28: 20 1b a0 jsr LA01B 9e2b: 20 2e a0 jsr LA02E 9e2e: 20 41 a0 L9E2E jsr LA041 9e31: a9 00 L9E31 lda #$00 9e33: 85 9e sta $9e 9e35: 60 rts 9e36: 20 43 9e T9E36 jsr L9E43 9e39: b9 41 9e lda L9E41,y 9e3c: 85 1c sta PalDataPending 9e3e: 4c 31 9e jmp L9E31 9e41: 08 L9E41 .dd1 $08 9e42: 07 .dd1 $07 9e43: c6 9f L9E43 dec $9f 9e45: d0 04 bne L9E4B 9e47: a9 01 lda #$01 9e49: 85 98 sta MotherBrainStatus 9e4b: a5 9f L9E4B lda $9f 9e4d: 29 02 and #$02 9e4f: 4a lsr A 9e50: a8 tay 9e51: 60 rts 9e52: 20 43 9e T9E52 jsr L9E43 9e55: b9 41 9e lda L9E41,y 9e58: 85 1c sta PalDataPending 9e5a: 98 tya 9e5b: 0a asl A 9e5c: 0a asl A 9e5d: 85 fc sta ScrollY 9e5f: a4 98 ldy MotherBrainStatus 9e61: 88 dey 9e62: d0 1f bne L9E83 9e64: 84 99 sty MotherBrainHits 9e66: 98 tya 9e67: aa tax 9e68: 98 L9E68 tya 9e69: 9d f4 6a sta Enstatus,x 9e6c: 20 f9 9e jsr L9EF9 9e6f: e0 c0 cpx #$c0 9e71: d0 f5 bne L9E68 9e73: a9 04 lda #$04 9e75: 85 98 sta MotherBrainStatus 9e77: a9 28 lda #$28 9e79: 85 9f sta $9f 9e7b: ad 80 06 lda NoiseSFXFlag 9e7e: 09 01 ora #$01 9e80: 8d 80 06 sta NoiseSFXFlag 9e83: 4c 2e 9e L9E83 jmp L9E2E 9e86: a9 10 T9E86 lda #$10 9e88: 0d 80 06 ora NoiseSFXFlag 9e8b: 8d 80 06 sta NoiseSFXFlag 9e8e: 20 72 a0 jsr LA072 9e91: e6 9a inc $9a 9e93: 20 43 9e jsr L9E43 9e96: a2 00 ldx #$00 9e98: bd f4 6a L9E98 lda Enstatus,x 9e9b: c9 05 cmp #$05 9e9d: d0 05 bne L9EA4 9e9f: a9 00 lda #$00 9ea1: 9d f4 6a sta Enstatus,x 9ea4: 20 f9 9e L9EA4 jsr L9EF9 9ea7: c9 40 cmp #$40 9ea9: d0 ed bne L9E98 9eab: ad a0 07 lda PPUStrIndex 9eae: d0 05 bne L9EB5 9eb0: b9 00 9f lda L9F00,y 9eb3: 85 1c sta PalDataPending 9eb5: a4 98 L9EB5 ldy MotherBrainStatus 9eb7: 88 dey 9eb8: d0 1b bne L9ED5 9eba: 84 9a sty $9a 9ebc: a9 04 lda #$04 9ebe: 85 98 sta MotherBrainStatus 9ec0: a9 1c lda #$1c 9ec2: 85 9f sta $9f 9ec4: a4 99 ldy MotherBrainHits 9ec6: e6 99 inc MotherBrainHits 9ec8: c0 04 cpy #$04 9eca: f0 07 beq L9ED3 9ecc: a2 00 ldx #$00 9ece: 90 05 bcc L9ED5 9ed0: 4c d6 9e jmp L9ED6 9ed3: 46 9f L9ED3 lsr $9f 9ed5: 60 L9ED5 rts 9ed6: ad 85 06 L9ED6 lda MusicInitFlag 9ed9: 09 04 ora #$04 9edb: 8d 85 06 sta MusicInitFlag 9ede: a9 05 lda #$05 9ee0: 85 98 sta MotherBrainStatus 9ee2: a9 80 lda #$80 9ee4: 85 99 sta MotherBrainHits 9ee6: 60 rts 9ee7: 48 L9EE7 pha 9ee8: 29 f0 and #$f0 9eea: 09 07 ora #$07 9eec: 9d 00 04 sta EnYRoomPos,x 9eef: 68 pla 9ef0: 20 20 9b jsr L9B20 9ef3: 09 07 ora #$07 9ef5: 9d 01 04 sta EnXRoomPos,x 9ef8: 60 rts 9ef9: 8a L9EF9 txa 9efa: 18 clc 9efb: 69 10 adc #$10 9efd: aa tax 9efe: 60 rts 9eff: 60 .dd1 $60 9f00: 09 L9F00 .dd1 $09 9f01: 0a .dd1 $0a 9f02: a5 99 T9F02 lda MotherBrainHits 9f04: 30 2d bmi L9F33 9f06: c9 08 cmp #$08 9f08: f0 2c beq L9F36 9f0a: a8 tay 9f0b: b9 41 9f lda L9F39+8,y 9f0e: 8d 03 05 sta TileAnimFrame 9f11: b9 39 9f lda L9F39,y 9f14: 18 clc 9f15: 69 42 adc #$42 9f17: 8d 08 05 sta TileWRAMLo 9f1a: 08 php 9f1b: a5 9d lda $9d 9f1d: 0a asl A 9f1e: 0a asl A 9f1f: 28 plp 9f20: 69 61 adc #$61 9f22: 8d 09 05 sta TileWRAMHi 9f25: a9 00 lda #$00 9f27: 85 4b sta PageIndex 9f29: ad a0 07 lda PPUStrIndex 9f2c: d0 0a bne L9F38 9f2e: 20 3f 80 jsr L803F 9f31: b0 05 bcs L9F38 9f33: e6 99 L9F33 inc MotherBrainHits 9f35: 60 rts 9f36: e6 98 L9F36 inc MotherBrainStatus 9f38: 60 L9F38 rts 9f39: 00 40 08 48+ L9F39 .bulk $00,$40,$08,$48,$80,$c0,$88,$c8,$08,$02,$09,$03,$0a,$04,$0b,$05 9f49: 20 69 9f T9F49 jsr L9F69 9f4c: b0 16 bcs L9F64_0 9f4e: a9 00 lda #$00 9f50: 85 98 sta MotherBrainStatus 9f52: a9 99 lda #$99 9f54: 8d 0a 01 sta EndTimerLo 9f57: 8d 0b 01 sta EndTimerHi 9f5a: a9 01 lda #$01 9f5c: 8d 0d 01 sta MissileToggle-1 9f5f: a5 9d lda $9d 9f61: 8d 0c 01 sta $010c 9f64: 60 L9F64_0 rts 9f65: 80 L9F65 .dd1 $80 9f66: b0 .dd1 $b0 9f67: a0 .dd1 $a0 9f68: 90 .dd1 $90 9f69: a5 50 L9F69 lda MapPosX 9f6b: 18 clc 9f6c: 65 4f adc MapPosY 9f6e: 38 sec 9f6f: 2a rol A 9f70: 29 03 and #$03 9f72: a8 tay 9f73: be 65 9f ldx L9F65,y 9f76: a9 01 lda #$01 9f78: 9d 0f 03 sta SamusJumpDsplcmnt,x 9f7b: a9 01 lda #$01 9f7d: 9d 07 03 sta SamusOnElevator,x 9f80: a9 03 lda #$03 9f82: 9d 00 03 sta ObjAction,x 9f85: a5 9d lda $9d 9f87: 9d 0c 03 sta ObjectHi,x 9f8a: a9 10 lda #$10 9f8c: 9d 0e 03 sta ObjectX,x 9f8f: a9 68 lda #$68 9f91: 9d 0d 03 sta ObjectY,x 9f94: a9 55 lda #$55 9f96: 9d 05 03 sta AnimResetIndex,x 9f99: 9d 06 03 sta AnimIndex,x 9f9c: a9 00 lda #$00 9f9e: 9d 04 03 sta AnimDelay,x 9fa1: a9 f7 lda #$f7 9fa3: 9d 03 03 sta AnimFrame,x 9fa6: a9 10 lda #$10 9fa8: 8d 03 05 sta TileAnimFrame 9fab: a9 40 lda #$40 9fad: 8d 08 05 sta TileWRAMLo 9fb0: a5 9d lda $9d 9fb2: 0a asl A 9fb3: 0a asl A 9fb4: 09 61 ora #$61 9fb6: 8d 09 05 sta TileWRAMHi 9fb9: a9 00 lda #$00 9fbb: 85 4b sta PageIndex 9fbd: 4c 3f 80 jmp L803F 9fc0: a9 10 T9FC0 lda #$10 9fc2: 0d 80 06 ora NoiseSFXFlag 9fc5: 8d 80 06 sta NoiseSFXFlag 9fc8: a5 2c lda Timer3 9fca: d0 0d bne L9FD9 9fcc: a9 08 lda #$08 9fce: 8d 00 03 sta ObjAction 9fd1: a9 0a lda #$0a 9fd3: 85 98 sta MotherBrainStatus 9fd5: a9 01 lda #$01 9fd7: 85 1c sta PalDataPending 9fd9: 60 L9FD9 rts 9fda: 20 69 9f T9FDA jsr L9F69 9fdd: b0 0d bcs L9FEC 9fdf: a5 9d lda $9d 9fe1: 8d 0c 01 sta $010c 9fe4: a0 01 ldy #$01 9fe6: 8c 0d 01 sty MissileToggle-1 9fe9: 88 dey 9fea: 84 98 sty MotherBrainStatus 9fec: 60 L9FEC rts 9fed: a5 9e L9FED lda $9e 9fef: f0 29 beq LA01A 9ff1: ad 84 06 lda MultiSFXFlag 9ff4: 09 02 ora #$02 9ff6: 8d 84 06 sta MultiSFXFlag 9ff9: e6 99 inc MotherBrainHits 9ffb: a5 99 lda MotherBrainHits 9ffd: c9 20 cmp #$20 9fff: a0 02 ldy #$02 a001: a9 10 lda #$10 a003: 90 11 bcc LA016 a005: a2 00 ldx #$00 a007: a9 00 LA007 lda #$00 a009: 9d 00 05 sta TileRoutine,x a00c: 20 f9 9e jsr L9EF9 a00f: c9 d0 cmp #$d0 a011: d0 f4 bne LA007 a013: c8 iny a014: a9 80 lda #$80 a016: 84 98 LA016 sty MotherBrainStatus a018: 85 9f sta $9f a01a: 60 LA01A rts a01b: c6 9a LA01B dec $9a a01d: d0 0e bne LA02D a01f: a5 2e lda RandomNumber1 a021: 29 03 and #$03 a023: 85 9c sta $9c a025: a9 20 lda #$20 a027: 38 sec a028: e5 99 sbc MotherBrainHits a02a: 4a lsr A a02b: 85 9a sta $9a a02d: 60 LA02D rts a02e: c6 9b LA02E dec $9b a030: a5 9b lda $9b a032: 0a asl A a033: d0 0b bne LA040 a035: a9 20 lda #$20 a037: 38 sec a038: e5 99 sbc MotherBrainHits a03a: 09 80 ora #$80 a03c: 45 9b eor $9b a03e: 85 9b sta $9b a040: 60 LA040 rts a041: a9 e0 LA041 lda #$e0 a043: 85 4b sta PageIndex a045: a5 9d lda $9d a047: 8d db 6b sta $6bdb a04a: a9 70 lda #$70 a04c: 8d e0 04 sta $04e0 a04f: a9 48 lda #$48 a051: 8d e1 04 sta $04e1 a054: a4 9c ldy $9c a056: b9 6d a0 lda LA06D,y a059: 8d d7 6b sta $6bd7 a05c: 20 3c 80 jsr L803C a05f: a5 9b lda $9b a061: 30 09 bmi LA06C a063: ad 71 a0 lda LA071 a066: 8d d7 6b sta $6bd7 a069: 20 3c 80 jsr L803C a06c: 60 LA06C rts a06d: 13 LA06D .dd1 $13 a06e: 14 .dd1 $14 a06f: 15 .dd1 $15 a070: 16 .dd1 $16 a071: 17 LA071 .dd1 $17 a072: a4 99 LA072 ldy MotherBrainHits a074: f0 10 beq LA086 a076: b9 c0 a0 lda LA0A3+29,y a079: 18 clc a07a: 65 9a adc $9a a07c: a8 tay a07d: b9 a3 a0 lda LA0A3,y a080: c9 ff cmp #$ff a082: d0 03 bne LA087 a084: c6 9a dec $9a a086: 60 LA086 rts a087: 69 44 LA087 adc #$44 a089: 8d 08 05 sta TileWRAMLo a08c: 08 php a08d: a5 9d lda $9d a08f: 0a asl A a090: 0a asl A a091: 09 61 ora #$61 a093: 28 plp a094: 69 00 adc #$00 a096: 8d 09 05 sta TileWRAMHi a099: a9 00 lda #$00 a09b: 8d 03 05 sta TileAnimFrame a09e: 85 4b sta PageIndex a0a0: 4c 3f 80 jmp L803F a0a3: 00 02 04 06+ LA0A3 .bulk $00,$02,$04,$06,$08,$40,$80,$c0,$48,$88,$c8,$ff,$42,$81,$c1,$27 + $ff,$82,$43,$25,$47,$ff,$c2,$c4,$c6,$ff,$84,$45,$86,$ff,$00,$0c + $11,$16,$1a a0c6: a5 71 LA0C6 lda UpdatingProjectile a0c8: f0 74 beq LA13E a0ca: a6 4b ldx PageIndex a0cc: bd 00 03 lda ObjAction,x a0cf: c9 0b cmp #$0b a0d1: d0 6b bne LA13E a0d3: c0 98 cpy #$98 a0d5: d0 2c bne LA103 a0d7: a2 00 ldx #$00 a0d9: bd 00 05 LA0D9 lda TileRoutine,x a0dc: f0 09 beq LA0E7 a0de: 20 f9 9e jsr L9EF9 a0e1: c9 d0 cmp #$d0 a0e3: d0 f4 bne LA0D9 a0e5: f0 57 beq LA13E a0e7: a9 8c LA0E7 lda #$8c a0e9: 9d 08 05 sta TileWRAMLo,x a0ec: a5 05 lda $05 a0ee: 9d 09 05 sta TileWRAMHi,x a0f1: a9 01 lda #$01 a0f3: 9d 03 05 sta TileAnimFrame,x a0f6: a5 4b lda PageIndex a0f8: 48 pha a0f9: 86 4b stx PageIndex a0fb: 20 3f 80 jsr L803F a0fe: 68 pla a0ff: 85 4b sta PageIndex a101: d0 3b bne LA13E a103: a5 04 LA103 lda $04 a105: 4a lsr A a106: 90 02 bcc LA10A a108: c6 04 dec $04 a10a: a0 00 LA10A ldy #$00 a10c: b1 04 lda ($04),y a10e: 4a lsr A a10f: b0 2d bcs LA13E a111: c9 48 cmp #$48 a113: 90 29 bcc LA13E a115: c9 4c cmp #$4c a117: b0 25 bcs LA13E a119: b9 58 07 LA119 lda $0758,y a11c: f0 10 beq LA12E a11e: a5 04 lda $04 a120: 29 9e and #$9e a122: d9 59 07 cmp $0759,y a125: d0 07 bne LA12E a127: a5 05 lda $05 a129: d9 5a 07 cmp $075a,y a12c: f0 0b beq LA139 a12e: 98 LA12E tya a12f: 18 clc a130: 69 08 adc #$08 a132: a8 tay a133: c9 28 cmp #$28 a135: d0 e2 bne LA119 a137: f0 05 beq LA13E a139: a9 01 LA139 lda #$01 a13b: 99 5d 07 sta $075d,y a13e: 68 LA13E pla a13f: 68 pla a140: 18 clc a141: 60 rts a142: a8 LA142 tay a143: a5 71 lda UpdatingProjectile a145: f0 15 beq LA15C a147: a6 4b ldx PageIndex a149: bd 00 03 lda ObjAction,x a14c: c9 0b cmp #$0b a14e: d0 0c bne LA15C a150: c0 5e cpy #$5e a152: 90 08 bcc LA15C a154: c0 72 cpy #$72 a156: b0 04 bcs LA15C a158: a9 01 lda #$01 a15a: 85 9e sta $9e a15c: 98 LA15C tya a15d: 60 LA15D rts a15e: ac 0b 01 LA15E ldy EndTimerHi a161: c8 iny a162: d0 76 bne LA1DA a164: a0 03 ldy #$03 a166: 20 6b a1 jsr LA16B a169: a0 00 ldy #$00 a16b: 84 4b LA16B sty PageIndex a16d: b9 8b 00 lda $008b,y a170: 30 eb bmi LA15D a172: b9 8c 00 lda $008c,y a175: 45 2d eor FrameCount a177: 4a lsr A a178: 90 e3 bcc LA15D a17a: a5 98 lda MotherBrainStatus a17c: c9 04 cmp #$04 a17e: b0 dd bcs LA15D a180: a5 2d lda FrameCount a182: 29 06 and #$06 a184: d0 d7 bne LA15D a186: a2 20 ldx #$20 a188: bd f4 6a LA188 lda Enstatus,x a18b: f0 0f beq LA19C a18d: bd 05 04 lda EnCounter-1,x a190: 29 02 and #$02 a192: f0 08 beq LA19C a194: 8a txa a195: 38 sec a196: e9 10 sbc #$10 a198: aa tax a199: 10 ed bpl LA188 a19b: 60 rts a19c: a9 01 LA19C lda #$01 a19e: 9d f4 6a sta Enstatus,x a1a1: a9 04 lda #$04 a1a3: 9d 02 6b sta EnDataIndex,x a1a6: a9 00 lda #$00 a1a8: 9d 0f 04 sta EnSpecialAttribs,x a1ab: 9d 04 04 sta $0404,x a1ae: 20 2a 80 jsr L802A_1 a1b1: a9 f7 lda #$f7 a1b3: 9d f7 6a sta EnAnimFrame,x a1b6: a4 4b ldy PageIndex a1b8: b9 8c 00 lda $008c,y a1bb: 9d fb 6a sta EnNameTable,x a1be: b9 8d 00 lda $008d,y a1c1: 0a asl A a1c2: 19 8b 00 ora $008b,y a1c5: a8 tay a1c6: b9 db a1 lda LA1DB,y a1c9: 20 e7 9e jsr L9EE7 a1cc: a6 4b ldx PageIndex a1ce: f6 8d inc $8d,x a1d0: b5 8d lda $8d,x a1d2: c9 06 cmp #$06 a1d4: d0 04 bne LA1DA a1d6: a9 00 lda #$00 a1d8: 95 8d sta $8d,x a1da: 60 LA1DA rts a1db: 22 2a 2a ba+ LA1DB .bulk $22,$2a,$2a,$ba,$b2,$2a,$c4,$2a,$c8,$ba,$ba,$ba a1e7: ac 0b 01 LA1E7 ldy EndTimerHi a1ea: c8 iny a1eb: f0 4a beq LA237 a1ed: ad 0a 01 lda EndTimerLo a1f0: 85 03 sta $03 a1f2: a9 01 lda #$01 a1f4: 38 sec a1f5: 20 45 80 jsr L8045 a1f8: 8d 0a 01 sta EndTimerLo a1fb: ad 0b 01 lda EndTimerHi a1fe: 85 03 sta $03 a200: a9 00 lda #$00 a202: 20 45 80 jsr L8045 a205: 8d 0b 01 sta EndTimerHi a208: a5 2d lda FrameCount a20a: 29 1f and #$1f a20c: d0 08 bne LA216 a20e: ad 81 06 lda SQ1SFXFlag a211: 09 08 ora #$08 a213: 8d 81 06 sta SQ1SFXFlag a216: ad 0a 01 LA216 lda EndTimerLo a219: 0d 0b 01 ora EndTimerHi a21c: d0 19 bne LA237 a21e: ce 0b 01 dec EndTimerHi a221: 85 99 sta MotherBrainHits a223: a9 07 lda #$07 a225: 85 98 sta MotherBrainStatus a227: ad 80 06 lda NoiseSFXFlag a22a: 09 01 ora #$01 a22c: 8d 80 06 sta NoiseSFXFlag a22f: a9 0c lda #$0c a231: 85 2c sta Timer3 a233: a9 0b lda #$0b a235: 85 1c sta PalDataPending a237: 60 LA237 rts a238: ad 0d 01 LA238 lda MissileToggle-1 a23b: f0 4d beq LA28A a23d: ad 0c 01 lda $010c a240: 8d db 6b sta $6bdb a243: a9 84 lda #$84 a245: 8d e0 04 sta $04e0 a248: a9 64 lda #$64 a24a: 8d e1 04 sta $04e1 a24d: a9 1a lda #$1a a24f: 8d d7 6b sta $6bd7 a252: a9 e0 lda #$e0 a254: 85 4b sta PageIndex a256: a5 5b lda SpritePagePos a258: 48 pha a259: 20 3c 80 jsr L803C a25c: 68 pla a25d: c5 5b cmp SpritePagePos a25f: f0 29 beq LA28A a261: aa tax a262: ad 0b 01 lda EndTimerHi a265: 4a lsr A a266: 4a lsr A a267: 4a lsr A a268: 38 sec a269: 6a ror A a26a: 29 0f and #$0f a26c: 09 a0 ora #$a0 a26e: 9d 01 02 sta $0201,x a271: ad 0b 01 lda EndTimerHi a274: 29 0f and #$0f a276: 09 a0 ora #$a0 a278: 9d 05 02 sta $0205,x a27b: ad 0a 01 lda EndTimerLo a27e: 4a lsr A a27f: 4a lsr A a280: 4a lsr A a281: 38 sec a282: 6a ror A a283: 29 0f and #$0f a285: 09 a0 ora #$a0 a287: 9d 09 02 sta $0209,x a28a: 60 LA28A rts a28b: a9 10 LA28B lda #$10 a28d: 85 4b sta PageIndex a28f: a2 20 ldx #$20 a291: 20 9b a2 LA291 jsr LA29B_0 a294: 8a txa a295: 38 sec a296: e9 08 sbc #$08 a298: aa tax a299: d0 f6 bne LA291 a29b: bd 58 07 LA29B_0 lda $0758,x a29e: 29 0f and #$0f a2a0: c9 01 cmp #$01 a2a2: d0 e6 bne LA28A a2a4: bd 5d 07 lda $075d,x a2a7: f0 49 beq LA2F2 a2a9: fe 5b 07 inc $075b,x a2ac: bd 5b 07 lda $075b,x a2af: 4a lsr A a2b0: b0 40 bcs LA2F2 a2b2: a8 tay a2b3: e9 03 sbc #$03 a2b5: d0 03 bne LA2BA a2b7: fe 58 07 inc $0758,x a2ba: b9 10 a3 LA2BA lda LA310,y a2bd: 8d 13 05 sta $0513 a2c0: bd 59 07 lda $0759,x a2c3: 8d 18 05 sta $0518 a2c6: bd 5a 07 lda $075a,x a2c9: 8d 19 05 sta $0519 a2cc: ad a0 07 lda PPUStrIndex a2cf: d0 09 bne LA2DA a2d1: 8a txa a2d2: 48 pha a2d3: 20 3f 80 jsr L803F a2d6: 68 pla a2d7: aa tax a2d8: 90 11 bcc LA2EB a2da: bd 58 07 LA2DA lda $0758,x a2dd: 29 80 and #$80 a2df: 09 01 ora #$01 a2e1: 9d 58 07 sta $0758,x a2e4: 9d 5d 07 sta $075d,x a2e7: de 5b 07 dec $075b,x a2ea: 60 rts a2eb: a9 40 LA2EB lda #$40 a2ed: 9d 5c 07 sta $075c,x a2f0: d0 18 bne LA30A a2f2: bc 5b 07 LA2F2 ldy $075b,x a2f5: f0 13 beq LA30A a2f7: de 5c 07 dec $075c,x a2fa: d0 0e bne LA30A a2fc: a9 40 lda #$40 a2fe: 9d 5c 07 sta $075c,x a301: 88 dey a302: 98 tya a303: 9d 5b 07 sta $075b,x a306: 4a lsr A a307: a8 tay a308: 90 b0 bcc LA2BA a30a: a9 00 LA30A lda #$00 a30c: 9d 5d 07 sta $075d,x a30f: 60 rts a310: 0c LA310 .dd1 $0c a311: 0d .dd1 $0d a312: 0e .dd1 $0e a313: 0f .dd1 $0f a314: 07 .dd1 $07 a315: a0 05 LA315 ldy #$05 a317: 20 b1 99 LA317 jsr L99B1 a31a: 88 dey a31b: 10 fa bpl LA317 a31d: 85 92 sta MetroidOnSamus a31f: 60 rts a320: 8a LA320 txa a321: 20 1b 9b jsr L9B1B a324: a8 tay a325: 20 b1 99 jsr L99B1 a328: 85 92 sta MetroidOnSamus a32a: 60 rts a32b: 22 ff ff ff+ LA32B .bulk $22,$ff,$ff,$ff,$ff,$32,$ff,$ff,$ff,$ff,$ff,$ff,$28,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$e0,$de,$ed,$ff,$e8,$ee,$28,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ed,$ff,$df,$da,$ec,$ed,$f4,$ff,$28,$ff + $ff,$ff,$ff,$ed,$e2,$e6,$de,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$28 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $62,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$42,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$28,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ed,$e2,$e6,$de,$ff,$db,$28,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $e8,$e6,$db,$ff,$ec,$de,$ed,$ff,$28,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$28,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$42,$90,$91,$90,$91,$90 + $91,$90,$91,$42,$92,$93,$92,$93,$92,$93,$92,$93,$42,$94,$95,$94 + $95,$94,$95,$94,$95,$42,$96,$97,$96,$97,$96,$97,$96,$97,$62,$a0 + $a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$a0,$00,$01,$ff,$02,$ff + $03,$04,$ff,$05,$ff,$0e,$ff,$0f,$ff,$10,$ff,$11,$11,$12,$12,$f7 + $ff,$18,$ff,$19,$f7,$ff,$1b,$1c,$1d,$ff,$1e,$ff,$61,$f7,$62,$f7 + $ff a42c: c8 a5 LA42C .dd2 LA560+104 a42e: cd a5 .dd2 LA560+109 a430: d2 a5 .dd2 LA560+114 a432: d7 a5 .dd2 LA560+119 a434: e4 a5 .dd2 LA560+132 a436: f1 a5 .dd2 LA560+145 a438: fb a5 .dd2 LA560+155 a43a: 00 a6 .dd2 LA560+160 a43c: 06 a6 .dd2 LA560+166 a43e: 0d a6 .dd2 LA560+173 a440: 13 a6 .dd2 LA560+179 a442: 18 a6 .dd2 LA560+184 a444: 1e a6 .dd2 LA560+190 a446: 25 a6 .dd2 LA560+197 a448: 2b a6 .dd2 LA560+203 a44a: 30 a6 .dd2 LA560+208 a44c: 35 a6 .dd2 LA560+213 a44e: 3a a6 .dd2 LA560+218 a450: 41 a6 .dd2 LA560+225 a452: 51 a6 .dd2 LA560+241 a454: 5f a6 .dd2 LA560+255 a456: 6b a6 .dd2 LA560+$10b a458: 78 a6 .dd2 LA560+$118 a45a: 87 a6 .dd2 LA560+$127 a45c: 91 a6 .dd2 LA560+$131 a45e: 9c a6 .dd2 LA560+$13c a460: a3 a6 .dd2 LA560+$143 a462: ac a6 .dd2 LA560+$14c a464: bc a6 .dd2 LA560+$15c a466: cc a6 .dd2 LA560+$16c a468: dc a6 .dd2 LA560+$17c a46a: e0 a6 .dd2 LA560+$180 a46c: e0 a6 .dd2 LA560+$180 a46e: e0 a6 .dd2 LA560+$180 a470: e0 a6 .dd2 LA560+$180 a472: e0 a6 .dd2 LA560+$180 a474: e0 a6 .dd2 LA560+$180 a476: e0 a6 .dd2 LA560+$180 a478: e0 a6 .dd2 LA560+$180 a47a: e0 a6 .dd2 LA560+$180 a47c: e0 a6 .dd2 LA560+$180 a47e: e0 a6 .dd2 LA560+$180 a480: e0 a6 .dd2 LA560+$180 a482: e0 a6 .dd2 LA560+$180 a484: e0 a6 .dd2 LA560+$180 a486: e0 a6 .dd2 LA560+$180 a488: e0 a6 .dd2 LA560+$180 a48a: e0 a6 .dd2 LA560+$180 a48c: e0 a6 .dd2 LA560+$180 a48e: e0 a6 .dd2 LA560+$180 a490: e0 a6 .dd2 LA560+$180 a492: e0 a6 .dd2 LA560+$180 a494: e0 a6 .dd2 LA560+$180 a496: e0 a6 .dd2 LA560+$180 a498: e0 a6 .dd2 LA560+$180 a49a: e0 a6 .dd2 LA560+$180 a49c: e0 a6 .dd2 LA560+$180 a49e: e0 a6 .dd2 LA560+$180 a4a0: e0 a6 .dd2 LA560+$180 a4a2: e0 a6 .dd2 LA560+$180 a4a4: e0 a6 .dd2 LA560+$180 a4a6: e0 a6 .dd2 LA560+$180 a4a8: e0 a6 .dd2 LA560+$180 a4aa: e0 a6 .dd2 LA560+$180 a4ac: e0 a6 .dd2 LA560+$180 a4ae: e0 a6 .dd2 LA560+$180 a4b0: e0 a6 .dd2 LA560+$180 a4b2: e0 a6 .dd2 LA560+$180 a4b4: e0 a6 .dd2 LA560+$180 a4b6: e0 a6 .dd2 LA560+$180 a4b8: e0 a6 .dd2 LA560+$180 a4ba: e0 a6 .dd2 LA560+$180 a4bc: e0 a6 .dd2 LA560+$180 a4be: e0 a6 .dd2 LA560+$180 a4c0: e0 a6 .dd2 LA560+$180 a4c2: e0 a6 .dd2 LA560+$180 a4c4: e0 a6 .dd2 LA560+$180 a4c6: e0 a6 .dd2 LA560+$180 a4c8: e0 a6 .dd2 LA560+$180 a4ca: e0 a6 .dd2 LA560+$180 a4cc: e0 a6 .dd2 LA560+$180 a4ce: e0 a6 .dd2 LA560+$180 a4d0: e0 a6 .dd2 LA560+$180 a4d2: e0 a6 .dd2 LA560+$180 a4d4: e0 a6 .dd2 LA560+$180 a4d6: e0 a6 .dd2 LA560+$180 a4d8: e0 a6 .dd2 LA560+$180 a4da: e0 a6 .dd2 LA560+$180 a4dc: e0 a6 .dd2 LA560+$180 a4de: e0 a6 .dd2 LA560+$180 a4e0: e0 a6 .dd2 LA560+$180 a4e2: e0 a6 .dd2 LA560+$180 a4e4: e0 a6 .dd2 LA560+$180 a4e6: e0 a6 .dd2 LA560+$180 a4e8: e0 a6 .dd2 LA560+$180 a4ea: e0 a6 .dd2 LA560+$180 a4ec: e0 a6 .dd2 LA560+$180 a4ee: e0 a6 .dd2 LA560+$180 a4f0: ee a6 .dd2 LA560+$18e a4f2: 08 a7 .dd2 LA560+$1a8 a4f4: 08 a7 .dd2 LA560+$1a8 a4f6: 08 a7 .dd2 LA560+$1a8 a4f8: 08 a7 .dd2 LA560+$1a8 a4fa: 08 a7 .dd2 LA560+$1a8 a4fc: 08 a7 .dd2 LA560+$1a8 a4fe: 08 a7 .dd2 LA560+$1a8 a500: 08 a7 .dd2 LA560+$1a8 a502: 08 a7 .dd2 LA560+$1a8 a504: 08 a7 .dd2 LA560+$1a8 a506: 08 a7 .dd2 LA560+$1a8 a508: 08 a7 .dd2 LA560+$1a8 a50a: 08 a7 .dd2 LA560+$1a8 a50c: 08 a7 .dd2 LA560+$1a8 a50e: 08 a7 .dd2 LA560+$1a8 a510: 08 a7 .dd2 LA560+$1a8 a512: 08 a7 .dd2 LA560+$1a8 a514: 08 a7 .dd2 LA560+$1a8 a516: 08 a7 .dd2 LA560+$1a8 a518: 08 a7 .dd2 LA560+$1a8 a51a: 08 a7 .dd2 LA560+$1a8 a51c: 08 a7 .dd2 LA560+$1a8 a51e: 08 a7 .dd2 LA560+$1a8 a520: 08 a7 .dd2 LA560+$1a8 a522: 08 a7 .dd2 LA560+$1a8 a524: 08 a7 .dd2 LA560+$1a8 a526: 08 a7 .dd2 LA560+$1a8 a528: 08 a7 .dd2 LA560+$1a8 a52a: 08 a7 .dd2 LA560+$1a8 a52c: 08 a7 LA52C .dd2 LA560+$1a8 a52e: 0e a7 .dd2 LA560+$1ae a530: 13 a7 .dd2 LA560+$1b3 a532: 13 a7 .dd2 LA560+$1b3 a534: 13 a7 .dd2 LA560+$1b3 a536: 13 a7 .dd2 LA560+$1b3 a538: 13 a7 .dd2 LA560+$1b3 a53a: 13 a7 .dd2 LA560+$1b3 a53c: 13 a7 .dd2 LA560+$1b3 a53e: 13 a7 .dd2 LA560+$1b3 a540: 60 a5 LA540 .dd2 LA560 a542: 62 a5 .dd2 LA560+2 a544: 7a a5 .dd2 LA560+26 a546: 8c a5 .dd2 LA560+44 a548: 92 a5 .dd2 LA560+50 a54a: 9e a5 .dd2 LA560+62 a54c: a4 a5 .dd2 LA560+68 a54e: a4 a5 .dd2 LA560+68 a550: a4 a5 .dd2 LA560+68 a552: a4 a5 .dd2 LA560+68 a554: a4 a5 .dd2 LA560+68 a556: c4 a5 .dd2 LA560+100 a558: c4 a5 .dd2 LA560+100 a55a: c8 a5 .dd2 LA560+104 a55c: c8 a5 .dd2 LA560+104 a55e: c8 a5 .dd2 LA560+104 a560: fc fc 80 80+ LA560 .bulk $fc,$fc,$80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8 + $f4,$00,$fc,$f8,$fc,$00,$04,$f8,$04,$00,$f4,$f4,$f4,$fc,$f4,$04 + $fc,$f4,$fc,$fc,$fc,$04,$04,$f4,$04,$fc,$04,$04,$f1,$fc,$f3,$f3 + $fc,$f1,$f4,$f8,$f4,$00,$fc,$f8,$fc,$00,$04,$f8,$04,$00,$fc,$f4 + $fc,$fc,$fc,$04,$f8,$f8,$f8,$00,$00,$f8,$00,$00,$f0,$00,$f0,$08 + $f8,$08,$f0,$f0,$f0,$f8,$f8,$f0,$00,$f0,$08,$f0,$08,$f8,$00,$08 + $08,$00,$08,$08,$f8,$fc,$00,$fc,$00,$02,$02,$14,$ff,$00,$02,$02 + $24,$ff,$00,$00,$00,$04,$ff,$32,$0c,$0c,$c0,$c1,$c2,$d0,$d1,$d2 + $e0,$e1,$e2,$ff,$32,$0c,$0c,$c3,$c4,$c5,$d3,$d4,$d5,$e3,$e4,$e5 + $ff,$31,$00,$00,$c0,$c2,$d0,$d2,$e0,$e2,$ff,$23,$07,$07,$ea,$ff + $23,$07,$07,$fe,$eb,$ff,$23,$07,$07,$fe,$fe,$ec,$ff,$a3,$07,$07 + $fe,$eb,$ff,$a3,$07,$07,$ea,$ff,$e3,$07,$07,$fe,$eb,$ff,$63,$07 + $07,$fe,$fe,$ec,$ff,$63,$07,$07,$fe,$eb,$ff,$30,$04,$04,$f1,$ff + $70,$04,$04,$f1,$ff,$30,$04,$04,$f2,$ff,$30,$00,$00,$fd,$03,$f3 + $ff,$0a,$00,$00,$fd,$00,$f4,$fd,$40,$f4,$fd,$80,$f4,$fd,$c0,$f4 + $ff,$24,$08,$14,$fd,$02,$fc,$04,$f0,$d8,$d9,$e8,$e9,$f8,$ff,$24 + $14,$0c,$fd,$02,$fc,$f4,$f8,$da,$fe,$c9,$ff,$24,$20,$04,$fd,$02 + $fc,$ec,$00,$cb,$cc,$db,$dc,$ff,$24,$18,$14,$fd,$02,$fc,$f4,$10 + $dd,$ce,$fe,$de,$fe,$dd,$ff,$24,$08,$0c,$fd,$02,$fc,$0c,$10,$cd + $ff,$21,$00,$00,$fe,$f5,$f5,$f5,$f5,$f5,$f5,$ff,$30,$00,$00,$fd + $03,$ed,$ff,$05,$04,$08,$fd,$00,$00,$00,$00,$ff,$3a,$08,$08,$fd + $03,$ef,$fd,$43,$ef,$fd,$83,$ef,$fd,$c3,$ef,$ff,$3a,$08,$08,$fd + $03,$df,$fd,$43,$df,$fd,$83,$df,$fd,$c3,$df,$ff,$2a,$08,$08,$fd + $03,$cf,$fd,$43,$cf,$fd,$83,$cf,$fd,$c3,$cf,$ff,$01,$00,$00,$ff + $0a,$00,$00,$75,$fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff,$0a,$00 + $00,$fe,$fe,$fe,$fe,$3d,$3e,$4e,$fd,$60,$3e,$3d,$4e,$fd,$e0,$4e + $3e,$3d,$fd,$a0,$4e,$3d,$3e,$ff,$0c,$08,$04,$14,$24,$ff,$00,$04 + $04,$8a,$ff,$00,$04,$04,$8a,$ff,$3f,$00,$20,$0f,$20,$16,$00,$0f + $20,$11,$00,$0f,$16,$20,$00,$0f,$20,$10,$00,$0f,$16,$19,$27,$0f + $12,$30,$21,$0f,$27,$16,$30,$0f,$16,$2a,$37,$00,$3f,$12,$02,$19 + $27,$00,$3f,$12,$02,$2c,$27,$00,$3f,$12,$02,$19,$35,$00,$3f,$12 + $02,$2c,$24,$00,$3f,$0a,$01,$27,$00,$3f,$0a,$01,$20,$00,$3f,$00 + $11,$0f,$20,$16,$00,$0f,$20,$11,$00,$0f,$20,$16,$00,$0f,$20,$10 + $00,$0f,$00,$3f,$00,$11,$20,$02,$16,$00,$20,$02,$11,$00,$20,$02 + $16,$00,$20,$02,$10,$00,$20,$00,$3f,$00,$60,$20,$00,$3f,$11,$03 + $04,$09,$07,$00,$3f,$11,$03,$05,$09,$17,$00,$3f,$11,$03,$06,$0a + $26,$00,$3f,$11,$03,$16,$19,$27,$00,$3f,$00,$04,$0f,$30,$30,$21 + $00,$3f,$10,$04,$0f,$15,$34,$17,$00,$3f,$10,$04,$0f,$15,$34,$19 + $00,$3f,$10,$04,$0f,$15,$34,$28,$00,$3f,$10,$04,$0f,$15,$34,$29 + $00 a7d1: af a8 LA7D1 .dd2 LA83B+116 a7d3: bd a8 .dd2 LA83B+130 a7d5: c5 a8 .dd2 LA83B+138 a7d7: fa a8 .dd2 LA83B+191 a7d9: 29 a9 .dd2 LA83B+238 a7db: 5e a9 .dd2 LA83B+$123 a7dd: 75 a9 .dd2 LA83B+$13a a7df: 90 a9 .dd2 LA83B+$155 a7e1: ab a9 .dd2 LA83B+$170 a7e3: cf a9 .dd2 LA83B+$194 a7e5: f2 a9 .dd2 LA83B+$1b7 a7e7: 33 aa .dd2 LA83B+$1f8 a7e9: 75 aa .dd2 LA83B+$23a a7eb: ae aa .dd2 LA83B+$273 a7ed: e3 aa .dd2 LA83B+$2a8 a7ef: 12 ab .dd2 LA83B+$2d7 a7f1: 4a ab .dd2 LA83B+$30f a7f3: 7c ab .dd2 LA83B+$341 a7f5: a5 ab .dd2 LA83B+$36a a7f7: ce ab .dd2 LA83B+$393 a7f9: ef ab .dd2 LA83B+$3b4 a7fb: 16 ac LA7FB .dd2 LA83B+$3db a7fd: 29 ac .dd2 LA83B+$3ee a7ff: 50 ac .dd2 LA83B+$415 a801: 69 ac .dd2 LA83B+$42e a803: 70 ac .dd2 LA83B+$435 a805: 77 ac .dd2 LA83B+$43c a807: 7a ac .dd2 LA83B+$43f a809: 8b ac .dd2 LA83B+$450 a80b: a4 ac .dd2 LA83B+$469 a80d: b5 ac .dd2 LA83B+$47a a80f: c6 ac .dd2 LA83B+$48b a811: d0 ac .dd2 LA83B+$495 a813: f9 ac .dd2 LA83B+$4be a815: 26 ad .dd2 LA83B+$4eb a817: 2d ad .dd2 LA83B+$4f2 a819: 3c ad .dd2 LA83B+$501 a81b: 3f ad .dd2 LA83B+$504 a81d: 48 ad .dd2 LA83B+$50d a81f: 61 ad .dd2 LA83B+$526 a821: 66 ad .dd2 LA83B+$52b a823: 6b ad .dd2 LA83B+$530 a825: 99 ad .dd2 LA83B+$55e a827: ac ad .dd2 LA83B+$571 a829: c8 ad .dd2 LA83B+$58d a82b: dd ad .dd2 LA83B+$5a2 a82d: fe ad .dd2 LA83B+$5c3 a82f: 0f ae .dd2 LA83B+$5d4 a831: 1a ae .dd2 LA83B+$5df a833: 1e ae .dd2 LA83B+$5e3 a835: 21 ae .dd2 LA83B+$5e6 a837: 2c ae .dd2 LA83B+$5f1 a839: 36 ae .dd2 LA83B+$5fb a83b: 03 43 a8 01+ LA83B .bulk $03,$43,$a8,$01,$ff,$04,$8f,$00,$04,$4b,$a8,$03,$ff,$04,$83,$00 + $07,$5b,$a8,$03,$05,$09,$a2,$00,$04,$04,$08,$00,$09,$ff,$08,$00 + $08,$62,$a8,$0a,$ff,$18,$00,$09,$69,$a8,$0a,$ff,$08,$00,$0a,$70 + $a8,$0a,$ff,$18,$00,$0b,$ff,$ff,$01,$05,$09,$a3,$00,$02,$0c,$06 + $47,$18,$05,$49,$15,$4b,$25,$3e,$00,$03,$12,$37,$27,$08,$05,$41 + $15,$43,$25,$36,$05,$49,$15,$4b,$35,$3e,$00,$04,$14,$09,$a3,$17 + $07,$08,$05,$41,$15,$43,$25,$36,$05,$49,$15,$4b,$35,$3e,$00,$05 + $ff,$09,$b3,$00,$02,$40,$01,$03,$48,$01,$03,$50,$03,$02,$5f,$03 + $02,$ff,$02,$07,$02,$02,$87,$02,$02,$ff,$03,$00,$0c,$03,$08,$0c + $03,$0f,$09,$03,$5f,$04,$02,$62,$13,$02,$6a,$13,$02,$82,$0e,$02 + $85,$12,$01,$8a,$0e,$02,$8d,$12,$01,$8f,$09,$03,$c4,$0f,$03,$c8 + $0f,$03,$d3,$10,$03,$db,$0a,$03,$e0,$0a,$03,$e8,$0a,$03,$ff,$00 + $00,$0c,$03,$08,$0c,$03,$62,$13,$02,$6a,$13,$02,$82,$0e,$02,$85 + $12,$01,$8a,$0e,$02,$8d,$12,$01,$c4,$0f,$03,$c8,$0f,$03,$d0,$0d + $02,$d3,$10,$03,$db,$0a,$03,$e2,$0a,$03,$ea,$0a,$03,$ff,$03,$00 + $09,$03,$01,$0a,$03,$03,$11,$03,$08,$0c,$03,$0e,$1c,$03,$52,$07 + $01,$53,$08,$02,$6a,$13,$02,$80,$09,$03,$8a,$0e,$02,$8d,$12,$01 + $91,$0b,$03,$cb,$1c,$03,$cc,$1c,$03,$d8,$0d,$02,$db,$00,$02,$e0 + $0a,$03,$ff,$03,$00,$14,$03,$08,$14,$03,$50,$04,$02,$80,$14,$03 + $88,$14,$03,$d0,$14,$03,$d8,$14,$03,$ff,$03,$00,$14,$03,$08,$14 + $03,$95,$14,$03,$d0,$14,$03,$d8,$14,$03,$fd,$01,$01,$45,$11,$00 + $89,$21,$01,$b3,$ff,$03,$00,$16,$03,$08,$16,$03,$30,$15,$03,$38 + $15,$03,$d0,$15,$03,$d8,$15,$03,$fd,$31,$01,$69,$41,$00,$b5,$ff + $01,$00,$16,$03,$08,$16,$03,$30,$15,$03,$38,$15,$03,$d0,$17,$03 + $d4,$00,$02,$d7,$17,$03,$dc,$17,$03,$fd,$01,$01,$45,$11,$00,$89 + $21,$01,$d4,$ff,$01,$00,$16,$03,$08,$16,$03,$30,$15,$03,$38,$15 + $03,$5f,$03,$02,$8c,$17,$03,$b8,$17,$03,$cc,$17,$03,$d0,$00,$02 + $d2,$17,$03,$fd,$02,$a0,$ff,$03,$00,$19,$03,$01,$1a,$03,$04,$1b + $01,$09,$12,$01,$0e,$1a,$03,$0f,$19,$03,$34,$12,$01,$4b,$1b,$01 + $50,$03,$02,$5e,$1a,$03,$80,$19,$03,$81,$1a,$03,$82,$1b,$01,$88 + $18,$03,$8f,$19,$03,$b1,$18,$03,$b8,$18,$03,$fd,$02,$b0,$31,$01 + $a5,$41,$00,$48,$51,$01,$6a,$ff,$03,$00,$19,$03,$01,$1a,$03,$09 + $12,$01,$0e,$1a,$03,$0f,$19,$03,$23,$12,$01,$4b,$12,$01,$51,$1a + $03,$5e,$1a,$03,$66,$1b,$01,$80,$19,$03,$82,$12,$01,$8f,$19,$03 + $98,$12,$01,$a1,$1a,$03,$ae,$1a,$03,$cb,$1b,$01,$d5,$12,$01,$fd + $01,$01,$45,$11,$00,$89,$21,$01,$d4,$ff,$03,$00,$19,$03,$01,$1a + $03,$02,$1e,$03,$0e,$1a,$03,$0f,$19,$03,$36,$1e,$03,$3e,$1c,$03 + $51,$1a,$03,$5e,$1a,$03,$71,$1c,$03,$72,$1e,$03,$80,$19,$03,$8f + $19,$03,$a1,$1a,$03,$a6,$1e,$03,$ae,$1a,$03,$fd,$01,$01,$45,$51 + $00,$cb,$ff,$03,$00,$19,$03,$01,$18,$03,$08,$18,$03,$0f,$19,$03 + $11,$18,$03,$18,$18,$03,$50,$03,$02,$5e,$1a,$03,$80,$19,$03,$81 + $1a,$03,$82,$1e,$03,$8f,$19,$03,$ae,$1a,$03,$b6,$1e,$03,$be,$1c + $03,$d1,$1a,$03,$fd,$02,$b0,$ff,$03,$00,$19,$03,$01,$18,$03,$08 + $18,$03,$0f,$19,$03,$41,$1a,$03,$4e,$1a,$03,$80,$19,$03,$86,$1d + $03,$8f,$19,$03,$91,$1a,$03,$9e,$1a,$03,$bb,$1b,$01,$c3,$1b,$01 + $e1,$1a,$03,$ee,$1a,$03,$ff,$03,$00,$19,$03,$01,$1a,$03,$0e,$1a + $03,$0f,$19,$03,$12,$12,$01,$28,$12,$01,$4c,$1b,$01,$51,$1a,$03 + $55,$1b,$01,$5f,$03,$02,$80,$19,$03,$83,$1b,$01,$8b,$12,$01,$8e + $1a,$03,$8f,$19,$03,$a1,$1a,$03,$b1,$18,$03,$b8,$18,$03,$ff,$03 + $00,$19,$03,$01,$1a,$03,$0e,$1a,$03,$0f,$19,$03,$1a,$05,$01,$4d + $05,$01,$51,$1a,$03,$5e,$1a,$03,$80,$19,$03,$8a,$05,$01,$8f,$19 + $03,$95,$05,$01,$a1,$1a,$03,$ae,$1a,$03,$ca,$05,$01,$e7,$05,$01 + $ff,$03,$00,$19,$03,$01,$1f,$01,$09,$1f,$01,$11,$1e,$03,$19,$1e + $03,$50,$03,$02,$80,$19,$03,$81,$1f,$01,$a1,$1e,$03,$b8,$1a,$03 + $d1,$1f,$01,$d9,$1f,$01,$fd,$02,$b2,$ff,$01,$00,$1f,$01,$08,$1f + $01,$0f,$19,$03,$10,$1e,$03,$17,$1e,$03,$5f,$03,$02,$87,$1f,$01 + $8f,$19,$03,$a7,$1a,$03,$c5,$1f,$01,$d0,$1f,$01,$d7,$1f,$01,$fd + $02,$a0,$ff,$00,$00,$1f,$01,$08,$1f,$01,$10,$1e,$03,$18,$1e,$03 + $d0,$00,$02,$d3,$1f,$01,$d8,$00,$02,$dc,$1f,$01,$fd,$01,$01,$45 + $11,$00,$89,$ff,$00,$00,$1f,$01,$08,$1f,$01,$10,$1e,$03,$18,$1e + $03,$94,$06,$03,$98,$06,$03,$9c,$06,$03,$d0,$1f,$01,$d3,$00,$02 + $db,$00,$02,$fd,$21,$00,$47,$31,$01,$6a,$ff,$08,$01,$01,$01,$01 + $01,$01,$01,$01,$08,$00,$00,$00,$00,$00,$00,$00,$00,$ff,$08,$0a + $0a,$0a,$0a,$0a,$0a,$0a,$0a,$08,$02,$02,$02,$02,$02,$02,$02,$02 + $01,$1c,$08,$03,$03,$03,$03,$03,$03,$03,$03,$08,$0a,$0a,$0a,$0a + $0a,$0a,$0a,$0a,$ff,$02,$04,$05,$02,$04,$05,$02,$04,$05,$02,$04 + $05,$02,$04,$05,$02,$04,$05,$02,$04,$05,$02,$04,$05,$ff,$01,$08 + $01,$08,$01,$08,$ff,$01,$09,$01,$09,$01,$09,$ff,$01,$13,$ff,$03 + $1d,$17,$1e,$03,$21,$1c,$21,$03,$21,$1c,$21,$03,$1f,$17,$20,$ff + $05,$25,$1c,$1c,$1c,$31,$05,$26,$1c,$1c,$1c,$32,$05,$26,$1c,$1c + $1c,$32,$05,$27,$1c,$1c,$1c,$33,$ff,$03,$28,$29,$2a,$03,$2b,$2c + $2d,$03,$2e,$2f,$30,$03,$06,$12,$35,$ff,$01,$0b,$01,$0b,$01,$0b + $01,$0b,$01,$0b,$01,$0b,$01,$0b,$01,$0b,$ff,$08,$0b,$0b,$0b,$0b + $0b,$0b,$0b,$0b,$ff,$07,$1d,$0d,$16,$16,$16,$0d,$1e,$07,$21,$1d + $0d,$0d,$0d,$1e,$21,$07,$21,$21,$15,$14,$15,$21,$21,$07,$0d,$21 + $16,$10,$16,$21,$0d,$07,$1f,$0d,$20,$10,$1f,$0d,$20,$ff,$08,$22 + $22,$0d,$22,$22,$1e,$1c,$1d,$08,$1c,$1c,$21,$1c,$1c,$21,$1c,$21 + $08,$1c,$1c,$0c,$1c,$1c,$1f,$0d,$20,$07,$1c,$1c,$21,$1c,$1c,$1c + $14,$04,$1c,$14,$0d,$14,$03,$1c,$1c,$15,$ff,$02,$01,$01,$02,$00 + $00,$ff,$01,$16,$01,$21,$01,$21,$01,$0c,$01,$21,$01,$0d,$01,$21 + $ff,$01,$0c,$ff,$07,$22,$22,$22,$22,$22,$22,$22,$ff,$05,$0b,$1d + $22,$0d,$22,$04,$11,$21,$11,$21,$04,$11,$21,$11,$0d,$03,$11,$21 + $11,$03,$23,$23,$23,$ff,$03,$19,$1b,$1a,$ff,$01,$34,$01,$34,$ff + $08,$1d,$22,$17,$0d,$1e,$0d,$17,$0d,$08,$0d,$22,$17,$20,$21,$14 + $0d,$11,$08,$21,$1d,$22,$17,$20,$10,$10,$21,$08,$21,$1f,$17,$0d + $22,$0d,$1e,$11,$08,$0d,$14,$10,$1f,$22,$22,$20,$11,$ff,$08,$17 + $17,$0d,$17,$17,$0d,$17,$17,$08,$0d,$17,$17,$17,$17,$17,$17,$0d + $ff,$08,$18,$1d,$17,$1e,$1d,$17,$17,$1e,$08,$18,$21,$1c,$21,$21 + $1c,$1c,$21,$08,$0d,$20,$1c,$1f,$20,$1c,$1c,$1f,$ff,$04,$0d,$0d + $0d,$0d,$04,$18,$18,$18,$18,$04,$18,$18,$18,$18,$04,$18,$18,$18 + $18,$ff,$07,$0a,$0a,$0a,$0a,$0a,$0a,$0a,$07,$0d,$17,$17,$17,$17 + $17,$0d,$07,$18,$0a,$10,$0a,$0a,$10,$18,$07,$0d,$17,$17,$17,$17 + $17,$0d,$ff,$01,$0a,$01,$0a,$01,$0a,$01,$0a,$01,$0a,$01,$0a,$01 + $0a,$01,$0a,$ff,$01,$0d,$01,$18,$01,$18,$01,$18,$01,$18,$ff,$02 + $19,$1a,$ff,$01,$0d,$ff,$04,$14,$1c,$1c,$14,$04,$0a,$0a,$0a,$0a + $ff,$08,$0d,$22,$22,$22,$22,$22,$22,$0d,$ff,$08,$0e,$0e,$0e,$0e + $0e,$0e,$0e,$0e,$08,$0e,$10,$0e,$0e,$10,$10,$0e,$10,$ff,$a7,$a7 + $a7,$a7,$ff,$ff,$a6,$a6,$a2,$a2,$ff,$ff,$ff,$ff,$a3,$a3,$a4,$ff + $a4,$ff,$ff,$a5,$ff,$a5,$ff,$79,$ff,$7e,$4f,$4f,$4f,$4f,$a0,$a0 + $a0,$a0,$a1,$a1,$a1,$a1,$04,$05,$06,$07,$10,$11,$12,$13,$00,$01 + $02,$03,$08,$08,$08,$08,$18,$19,$1a,$1b,$1c,$1d,$1e,$1f,$0c,$0d + $0e,$0f,$09,$09,$09,$09,$7a,$7b,$7f,$5a,$2a,$2c,$ff,$ff,$14,$15 + $16,$17,$20,$21,$22,$23,$24,$25,$20,$21,$28,$28,$29,$29,$26,$27 + $26,$27,$2a,$2b,$ff,$ff,$2b,$2c,$ff,$ff,$2b,$2b,$ff,$ff,$ff,$ff + $ff,$ff,$31,$32,$33,$34,$35,$36,$37,$38,$3d,$3e,$3f,$40,$41,$42 + $43,$44,$39,$3a,$39,$3a,$3b,$3b,$3c,$3c,$0b,$0b,$2d,$2e,$2f,$30 + $0b,$0b,$50,$51,$52,$53,$54,$55,$54,$55,$56,$57,$58,$59,$ff,$ff + $ff,$5e,$5b,$5c,$5f,$60,$ff,$ff,$61,$ff,$5d,$62,$67,$68,$63,$64 + $69,$6a,$65,$66,$6b,$6c,$6d,$6e,$73,$74,$6f,$70,$75,$76,$71,$72 + $77,$78,$45,$46,$47,$48,$ff,$98,$ff,$98,$49,$4a,$4b,$4c,$90,$91 + $90,$91,$7c,$7d,$4d,$ff,$1c,$1d,$1e,$17,$18,$19,$1a,$1f,$20,$21 + $22,$60,$61,$62,$63,$0e,$0f,$ff,$ff,$0c,$0d,$0d,$0d,$10,$0d,$ff + $10,$10,$ff,$ff,$ff,$ff,$ff,$ff,$30,$ff,$33,$ff,$36,$ff,$39,$ff + $3d,$ff,$ff,$31,$32,$34,$35,$37,$38,$3a,$3b,$3e,$3f,$3c,$41,$40 + $42,$84,$85,$86,$87,$80,$81,$82,$83,$88,$89,$8a,$8b,$45,$46,$45 + $46,$47,$48,$48,$47,$5c,$5d,$5e,$5f,$b8,$b8,$b9,$b9,$74,$75,$75 + $74,$c1,$13,$13,$13,$36,$be,$bc,$bd,$bf,$14,$15,$14,$c0,$14,$c0 + $16,$ff,$c1,$ff,$ff,$c2,$14,$ff,$ff,$30,$13,$bc,$bd,$13,$14,$15 + $16,$d7,$d7,$d7,$d7,$76,$76,$76,$76,$ff,$ff,$ba,$ba,$bb,$bb,$bb + $bb,$00,$01,$02,$03,$04,$05,$06,$07,$ff,$ff,$08,$09,$ff,$ff,$09 + $0a,$55,$56,$57,$58,$90,$91,$92,$93,$4b,$4c,$4d,$50,$51,$52,$53 + $54,$70,$71,$72,$73,$8c,$8d,$8e,$8f,$11,$12,$ff,$11,$11,$12,$12 + $11,$11,$12,$12,$ff,$c3,$c4,$c5,$c6,$30,$00,$bc,$bd,$cd,$ce,$cf + $d0,$d1,$d2,$d3,$d4,$90,$91,$92,$93,$20,$20,$20,$20,$c0,$c0,$c0 + $c0,$c0,$c0,$c0,$c0,$c4,$b3,$3e,$44,$b4,$42,$ff,$c2,$b6,$30,$b9 + $26,$30,$36,$b4,$34,$b6,$30,$b9,$26,$30,$36,$b4,$34,$b6,$30,$b9 + $26,$30,$38,$b4,$34,$b6,$30,$b9,$26,$30,$38,$b4,$34,$ff,$c2,$b6 + $48,$b9,$46,$02,$48,$b6,$4c,$b2,$48,$b6,$46,$b9,$42,$02,$46,$b3 + $48,$3e,$b6,$3a,$b9,$3e,$02,$3a,$b3,$38,$30,$b4,$36,$b3,$30,$2e + $ff,$00,$c4,$b3,$34,$3a,$b4,$32,$ff,$c2,$b4,$2a,$28,$2a,$b6,$28 + $b9,$26,$24,$22,$b6,$20,$b2,$22,$b6,$28,$b9,$26,$24,$22,$b4,$26 + $b9,$22,$20,$22,$26,$22,$26,$2a,$26,$2a,$2e,$2a,$2e,$ff,$c2,$b9 + $20,$1e,$20,$26,$30,$38,$b2,$3e,$38,$b0,$24,$20,$24,$2a,$b9,$34 + $3a,$3c,$b2,$42,$3c,$b2,$3e,$b9,$34,$02,$2e,$b3,$34,$b2,$3e,$3a + $38,$34,$b9,$30,$26,$30,$b9,$34,$02,$26,$b3,$30,$b9,$30,$20,$3e + $b9,$34,$02,$26,$3a,$38,$34,$30,$26,$24,$22,$20,$22,$26,$22,$26 + $28,$26,$28,$2c,$28,$2c,$b9,$22,$20,$22,$20,$22,$20,$22,$1c,$22 + $1c,$22,$1c,$ff,$d0,$b2,$3e,$b9,$3e,$3e,$3e,$ff,$c2,$b2,$2a,$b9 + $2a,$12,$2a,$b2,$2a,$2a,$2a,$b9,$2a,$2a,$2a,$b2,$2a,$2a,$2a,$b9 + $2a,$2a,$2a,$b2,$2a,$2a,$2a,$2a,$2a,$b9,$2a,$12,$2a,$b2,$26,$b9 + $0e,$26,$26,$b2,$26,$b9,$0e,$26,$26,$b2,$22,$b9,$0a,$22,$22,$b2 + $22,$b9,$0a,$22,$22,$b2,$20,$20,$b9,$20,$20,$20,$b2,$20,$b9,$34 + $30,$34,$38,$34,$38,$3a,$38,$3a,$3e,$3a,$3e,$ff,$c2,$b2,$18,$30 + $18,$30,$18,$30,$18,$30,$22,$22,$b1,$22,$22,$b2,$22,$20,$1c,$18 + $16,$14,$14,$14,$2c,$2a,$2a,$b9,$2a,$2a,$2a,$b2,$2a,$28,$28,$b9 + $28,$28,$28,$b2,$28,$26,$26,$b9,$26,$26,$3e,$26,$26,$3e,$ff,$f0 + $b2,$01,$04,$01,$04,$ff,$e0,$ba,$2a,$1a,$02,$3a,$40,$02,$1c,$2e + $38,$2c,$3c,$38,$02,$40,$44,$46,$02,$1e,$02,$2c,$38,$46,$26,$02 + $3a,$20,$02,$28,$2e,$02,$18,$44,$02,$46,$48,$4a,$4c,$02,$18,$1e + $ff,$b8,$02,$c8,$b0,$0a,$0c,$ff,$c8,$0e,$0c,$ff,$c8,$10,$0e,$ff + $c8,$0e,$0c,$ff,$00,$2b,$3b,$1b,$5a,$d0,$d1,$c3,$c3,$3b,$3b,$9b + $da,$d0,$d0,$c0,$c0,$2c,$23,$20,$20,$30,$98,$cf,$c7,$00,$00,$00 + $00,$00,$00,$00,$30,$1f,$80,$c0,$c0,$60,$70,$fc,$c0,$00,$00,$00 + $00,$00,$00,$00,$00,$01,$00,$00,$00,$00,$00,$00,$00,$80,$80,$c0 + $78,$4c,$c7,$80,$80,$c4,$a5,$45,$0b,$1b,$03,$03,$00,$3a,$13,$31 + $63,$c3,$83,$03,$04,$e6,$e6,$c4,$8e,$1c,$3c,$18,$30,$e8,$e8,$c8 + $90,$60,$00,$00,$00 b200: 00 10 01 18+ LB200_1 .bulk $00,$10,$01,$18,$00,$01,$38,$01,$02,$40,$00,$09,$58,$80,$7f,$80 + $48,$35,$7f,$00,$b0,$19,$7f,$0e,$a0,$0d,$7f,$0f,$08,$16,$7f,$0b + $18,$13,$7f,$0e,$f8,$c1,$89,$02,$0f,$34,$ba,$e0,$05,$34,$bb,$ce + $05,$b6,$7f,$00,$c2,$b6,$7f,$04,$c2,$17,$7f,$66,$89,$89,$7f,$67 + $18,$8b,$7f,$fd,$28,$02,$7f,$a8,$f8,$d7,$83,$58,$f8,$d6,$82,$58 + $f8,$95,$8c,$40,$b9,$1d,$9a,$20,$8f,$16,$8d,$e0,$42,$19,$7f,$6f + $40,$18,$7f,$80,$40,$07,$7f,$40,$28,$07,$7f,$45,$28,$7f,$7f,$dd + $3b,$7f,$7f,$ff,$98,$7f,$7f,$40,$08,$09,$7f,$30,$48,$03,$7f,$42 + $18,$03,$7f,$11,$09,$7f,$7f,$30,$b2 b289: bb b2 .dd2 LB2BB b28b: 22 b3 .dd2 LB322 b28d: 00 .dd1 $00 b28e: cb b2 .dd2 LB2CB b290: ee b4 .dd2 TB4EE_2 b292: 00 .dd1 $00 b293: db b2 .dd2 LB2DB b295: 30 b3 .dd2 LB330 b297: 01 .dd1 $01 b298: eb b2 .dd2 LB2EB b29a: ee b4 .dd2 TB4EE_2 b29c: 01 .dd1 $01 b29d: fb b2 .dd2 LB2FB b29f: 44 b3 .dd2 LB344 b2a1: 03 .dd1 $03 b2a2: 0b b3 .dd2 LB30B b2a4: ee b4 .dd2 TB4EE_2 b2a6: 03 .dd1 $03 b2a7: 06 bc .dd2 LBC06 b2a9: 5c b3 .dd2 LB35C b2ab: 04 .dd1 $04 b2ac: 16 bc .dd2 LBC16 b2ae: 64 b3 .dd2 LB364 b2b0: 04 .dd1 $04 b2b1: 26 bc .dd2 LBC26 b2b3: 4b bc .dd2 LBC4B b2b5: 00 .dd1 $00 b2b6: 26 bc .dd2 LBC26 b2b8: 3d bc .dd2 LBC3D b2ba: 00 .dd1 $00 b2bb: ee b4 LB2BB .dd2 TB4EE_2 b2bd: 2b b5 .dd2 TB52B_2 b2bf: 6e b5 .dd2 TB56E_2 b2c1: 83 b5 .dd2 TB583_2 b2c3: 98 b5 .dd2 TB598_2 b2c5: 0f b5 .dd2 TB50F_2 b2c7: ee b4 .dd2 TB4EE_2 b2c9: ee b4 .dd2 TB4EE_2 b2cb: ee b4 LB2CB .dd2 TB4EE_2 b2cd: 39 b5 .dd2 TB539_2 b2cf: 7b b5 .dd2 TB57B_2 b2d1: 8a b5 .dd2 TB58A_2 b2d3: 8a b5 .dd2 TB58A_2 b2d5: 16 b5 .dd2 TB516_2 b2d7: ee b4 .dd2 TB4EE_2 b2d9: ee b4 .dd2 TB4EE_2 b2db: cd b6 LB2DB .dd2 TB6CD_2 b2dd: e7 b6 .dd2 TB6E7_2 b2df: 35 b7 .dd2 TB735_2 b2e1: 16 b7 .dd2 TB716_2 b2e3: 3c b7 .dd2 TB73C_2 b2e5: 10 b7 .dd2 TB710_2 b2e7: 03 b7 .dd2 TB703_2 b2e9: 7a b7 .dd2 TB77A_2 b2eb: b0 b6 LB2EB .dd2 TB6B0_2 b2ed: d3 b6 .dd2 TB6D3_2 b2ef: ed b6 .dd2 TB6ED_2 b2f1: 4f b7 .dd2 TB74F_2 b2f3: ed b6 .dd2 TB6ED_2 b2f5: ed b6 .dd2 TB6ED_2 b2f7: ed b6 .dd2 TB6ED_2 b2f9: 81 b7 .dd2 TB781_2 b2fb: d2 b8 LB2FB .dd2 TB8D2_2 b2fd: ac b7 .dd2 TB7AC_2 b2ff: a7 b8 .dd2 TB8A7_2 b301: 21 b9 .dd2 TB921_2 b303: d9 b7 .dd2 TB7D9_2 b305: ef b7 .dd2 TB7EF_2 b307: 34 b8 .dd2 TB834_2 b309: 78 b8 .dd2 TB878_2 b30b: ed b8 LB30B .dd2 TB8ED_2 b30d: cb b7 .dd2 TB7CB_2 b30f: b1 b8 .dd2 TB8B1_2 b311: 40 b9 .dd2 TB940_2 b313: e7 b7 .dd2 TB7E7_2 b315: 0e b8 .dd2 TB80E_2 b317: 4f b8 .dd2 TB84F_2 b319: 7f b8 .dd2 TB87F_2 b31b: ad 80 06 LB31B_1 lda NoiseSFXFlag b31e: a2 89 ldx #$89 b320: d0 15 bne LB337_2 b322: ad 88 06 LB322 lda NoiseContSFX b325: a2 8e ldx #$8e b327: d0 0e bne LB337_2 b329: ad 81 06 LB329_2 lda SQ1SFXFlag b32c: a2 93 ldx #$93 b32e: d0 07 bne LB337_2 b330: ad 89 06 LB330 lda SQ1ContSFX b333: a2 98 ldx #$98 b335: d0 00 bne LB337_2 b337: 20 bd b4 LB337_2 jsr LB4BD_2 b33a: 6c e2 00 jmp ($00e2) b33d: ad 83 06 LB33D_1 lda TriangleSFXFlag b340: a2 9d ldx #$9d b342: d0 f3 bne LB337_2 b344: ad 8b 06 LB344 lda TriangleContSFX b347: a2 a2 ldx #$a2 b349: d0 ec bne LB337_2 b34b: ad 84 06 LB34B_1 lda MultiSFXFlag b34e: a2 a7 ldx #$a7 b350: 20 bd b4 jsr LB4BD_2 b353: 20 53 bc jsr LBC53_1 b356: 20 64 bc jsr LBC64_1 b359: 6c e2 00 jmp ($00e2) b35c: ad 8c 06 LB35C lda MultiContSFX b35f: a2 ac ldx #$ac b361: 4c 37 b3 jmp LB337_2 b364: 20 29 b3 LB364 jsr LB329_2 b367: 60 rts b368: a9 00 LB368_2 lda #$00 b36a: f0 0a beq LB376_2 b36c: a9 08 LB36C_2 lda #$08 b36e: d0 06 bne LB376_2 b370: a9 0c LB370_2 lda #$0c b372: d0 02 bne LB376_2 b374: a9 04 LB374_2 lda #$04 b376: 85 e0 LB376_2 sta $e0 b378: a9 40 lda #$40 b37a: 85 e1 sta $e1 b37c: 84 e2 sty $e2 b37e: a9 b2 lda #$b2 b380: 85 e3 sta $e3 b382: a0 00 ldy #$00 b384: b1 e2 LB384_2 lda ($e2),y b386: 91 e0 sta ($e0),y b388: c8 iny b389: 98 tya b38a: c9 04 cmp #$04 b38c: d0 f6 bne LB384_2 b38e: 60 rts b38f: ee 02 06 LB38F_1 inc SFXPaused b392: 20 3e b4 jsr LB43E_2 b395: 8d 03 06 sta PauseSFXStatus b398: 60 rts b399: ad 02 06 LB399_1 lda SFXPaused b39c: f0 f1 beq LB38F_1 b39e: ad 03 06 lda PauseSFXStatus b3a1: c9 12 cmp #$12 b3a3: f0 0e beq LB3B3_1 b3a5: 29 03 and #$03 b3a7: c9 03 cmp #$03 b3a9: d0 05 bne LB3B0_1 b3ab: a0 0d ldy #$0d b3ad: 20 68 b3 jsr LB368_2 b3b0: ee 03 06 LB3B0_1 inc PauseSFXStatus b3b3: 60 LB3B3_1 rts b3b4: a9 c0 lda #$c0 b3b6: 8d 17 40 sta APUCommonCntrl1 b3b9: ad 80 06 lda NoiseSFXFlag b3bc: 4a lsr A b3bd: b0 2c bcs LB3EB_1 b3bf: a5 1e lda MainRoutine b3c1: c9 05 cmp #$05 b3c3: f0 d4 beq LB399_1 b3c5: a9 00 lda #$00 b3c7: 8d 02 06 sta SFXPaused b3ca: 20 1b b3 jsr LB31B_1 b3cd: 20 4b b3 jsr LB34B_1 b3d0: 20 3d b3 jsr LB33D_1 b3d3: 20 36 bc jsr LBC36_1 b3d6: a9 00 LB3D6_1 lda #$00 b3d8: 8d 80 06 sta NoiseSFXFlag b3db: 8d 81 06 sta SQ1SFXFlag b3de: 8d 82 06 sta SQ2SFXFlag b3e1: 8d 83 06 sta TriangleSFXFlag b3e4: 8d 84 06 sta MultiSFXFlag b3e7: 8d 85 06 sta MusicInitFlag b3ea: 60 rts b3eb: 20 04 b4 LB3EB_1 jsr LB404_2 b3ee: f0 e6 beq LB3D6_1 b3f0: ad 2c 06 LB3F0_2 lda MusicRepeat b3f3: f0 0f beq LB404_2 b3f5: ad 8d 06 lda CurrentMusic b3f8: 8d 5d 06 sta CurrentMusicRepeat b3fb: 60 rts b3fc: ad 8d 06 LB3FC_2 lda CurrentMusic b3ff: cd 4d 06 cmp CurrentSFXFlags b402: f0 06 beq LB40A_2 b404: 20 1d b4 LB404_2 jsr LB41D_2 b407: 20 3e b4 jsr LB43E_2 b40a: 20 0e b4 LB40A_2 jsr LB40E_2 b40d: 60 rts b40e: a9 00 LB40E_2 lda #$00 b410: 8d 2d 06 sta TriangleCounterCntrl b413: 8d 02 06 sta SFXPaused b416: 8d 5d 06 sta CurrentMusicRepeat b419: 8d 2c 06 sta MusicRepeat b41c: 60 rts b41d: a9 00 LB41D_2 lda #$00 b41f: 8d 53 06 sta SQ1InUse b422: 8d 54 06 sta SQ2InUse b425: 8d 55 06 sta TriangleInUse b428: 8d 07 06 sta WriteMultiChannelData b42b: 8d 88 06 sta NoiseContSFX b42e: 8d 89 06 sta SQ1ContSFX b431: 8d 8a 06 sta SQ2ContSFX b434: 8d 8b 06 sta TriangleContSFX b437: 8d 8c 06 sta MultiContSFX b43a: 8d 8d 06 sta CurrentMusic b43d: 60 rts b43e: a9 10 LB43E_2 lda #$10 b440: 8d 00 40 sta SQ1Cntrl0 b443: 8d 04 40 sta SQ2Cntrl0 b446: 8d 0c 40 sta NoiseCntrl0 b449: a9 00 lda #$00 b44b: 8d 08 40 sta TriangleCntrl0 b44e: 8d 11 40 sta DMCCntrl1 b451: 60 rts b452: ae 5c 06 LB452_2 ldx ChannelType b455: 9d 60 06 sta NoiseSFXLength,x b458: 8a txa b459: f0 1c beq LB477_2 b45b: c9 01 cmp #$01 b45d: f0 09 beq LB468_2 b45f: c9 02 cmp #$02 b461: f0 0a beq LB46D_2 b463: c9 03 cmp #$03 b465: f0 0b beq LB472_2 b467: 60 rts b468: 20 68 b3 LB468_2 jsr LB368_2 b46b: f0 0d beq LB47A_2 b46d: 20 74 b3 LB46D_2 jsr LB374_2 b470: f0 08 beq LB47A_2 b472: 20 6c b3 LB472_2 jsr LB36C_2 b475: f0 03 beq LB47A_2 b477: 20 70 b3 LB477_2 jsr LB370_2 b47a: 20 93 b4 LB47A_2 jsr LB493_2 b47d: 8a txa b47e: 9d 52 06 sta NoiseInUse,x b481: a9 00 lda #$00 b483: 9d 65 06 sta ThisNoiseFrame,x b486: 9d 70 06 sta NoiseSFXData,x b489: 9d 74 06 sta MultiSFXData,x b48c: 9d 78 06 sta ScrewAttackSFXData,x b48f: 8d 07 06 sta WriteMultiChannelData b492: 60 rts b493: ae 5c 06 LB493_2 ldx ChannelType b496: bd 88 06 lda NoiseContSFX,x b499: 29 00 and #$00 b49b: 0d 4d 06 ora CurrentSFXFlags b49e: 9d 88 06 sta NoiseContSFX,x b4a1: 60 rts b4a2: a9 00 LB4A2_2 lda #$00 b4a4: 8d 4d 06 sta CurrentSFXFlags b4a7: f0 ea beq LB493_2 b4a9: ae 5c 06 LB4A9_2 ldx ChannelType b4ac: fe 65 06 inc ThisNoiseFrame,x b4af: bd 65 06 lda ThisNoiseFrame,x b4b2: dd 60 06 cmp NoiseSFXLength,x b4b5: d0 05 bne LB4BC_2 b4b7: a9 00 lda #$00 b4b9: 9d 65 06 sta ThisNoiseFrame,x b4bc: 60 LB4BC_2 rts b4bd: 8d 4d 06 LB4BD_2 sta CurrentSFXFlags b4c0: 86 e4 stx $e4 b4c2: a0 b2 ldy #$b2 b4c4: 84 e5 sty $e5 b4c6: a0 00 ldy #$00 b4c8: b1 e4 LB4C8_2 lda ($e4),y b4ca: 99 e0 00 sta $00e0,y b4cd: c8 iny b4ce: 98 tya b4cf: c9 04 cmp #$04 b4d1: d0 f5 bne LB4C8_2 b4d3: b1 e4 lda ($e4),y b4d5: 8d 5c 06 sta ChannelType b4d8: a0 00 ldy #$00 b4da: ad 4d 06 lda CurrentSFXFlags b4dd: 48 pha b4de: 0e 4d 06 LB4DE_2 asl CurrentSFXFlags b4e1: b0 0c bcs LB4EF_2 b4e3: c8 iny b4e4: c8 iny b4e5: 98 tya b4e6: c9 10 cmp #$10 b4e8: d0 f4 bne LB4DE_2 b4ea: 68 LB4EA_2 pla b4eb: 8d 4d 06 sta CurrentSFXFlags b4ee: 60 TB4EE_2 rts b4ef: b1 e0 LB4EF_2 lda ($e0),y b4f1: 85 e2 sta $e2 b4f3: c8 iny b4f4: b1 e0 lda ($e0),y b4f6: 85 e3 sta $e3 b4f8: 4c ea b4 jmp LB4EA_2 b4fb: 12 13 14 15+ LB4FB_2 .bulk $12,$13,$14,$15,$16,$17,$18,$19,$1a,$1b,$1c,$1d,$1b,$1a,$19,$17 + $16,$15,$14,$12 b50f: a9 14 TB50F_2 lda #$14 b511: a0 21 ldy #$21 b513: 4c 52 b4 jmp LB452_2 b516: 20 a9 b4 TB516_2 jsr LB4A9_2 b519: d0 03 bne LB51E_2 b51b: 4c 8f b5 jmp LB58F_2 b51e: ac 70 06 LB51E_2 ldy NoiseSFXData b521: b9 fb b4 lda LB4FB_2,y b524: 8d 0c 40 sta NoiseCntrl0 b527: ee 70 06 inc NoiseSFXData b52a: 60 rts b52b: a9 05 TB52B_2 lda #$05 b52d: a0 11 ldy #$11 b52f: 20 52 b4 jsr LB452_2 b532: ad 13 b2 lda LB200_1+19 b535: 8d 70 06 sta NoiseSFXData b538: 60 LB538_2 rts b539: ad 78 06 TB539_2 lda ScrewAttackSFXData b53c: c9 02 cmp #$02 b53e: f0 09 beq LB549_2 b540: 20 a9 b4 jsr LB4A9_2 b543: d0 f3 bne LB538_2 b545: ee 78 06 inc ScrewAttackSFXData b548: 60 rts b549: 20 a9 b4 LB549_2 jsr LB4A9_2 b54c: d0 16 bne LB564_2 b54e: ce 70 06 dec NoiseSFXData b551: ce 70 06 dec NoiseSFXData b554: ce 70 06 dec NoiseSFXData b557: ee 74 06 inc MultiSFXData b55a: ad 74 06 lda MultiSFXData b55d: c9 0f cmp #$0f b55f: d0 d7 bne LB538_2 b561: 4c 8f b5 jmp LB58F_2 b564: ee 70 06 LB564_2 inc NoiseSFXData b567: ad 70 06 lda NoiseSFXData b56a: 8d 0e 40 sta NoiseCntrl2 b56d: 60 rts b56e: a9 18 TB56E_2 lda #$18 b570: a0 15 ldy #$15 b572: 20 87 b5 jsr LB587_2 b575: a9 0a lda #$0a b577: 8d 70 06 sta NoiseSFXData b57a: 60 rts b57b: 20 a9 b4 TB57B_2 jsr LB4A9_2 b57e: d0 e4 bne LB564_2 b580: 4c 8f b5 jmp LB58F_2 b583: a9 30 TB583_2 lda #$30 b585: a0 19 ldy #$19 b587: 4c 52 b4 LB587_2 jmp LB452_2 b58a: 20 a9 b4 TB58A_2 jsr LB4A9_2 b58d: d0 08 bne LB597_2 b58f: 20 a2 b4 LB58F_2 jsr LB4A2_2 b592: a9 10 lda #$10 b594: 8d 0c 40 sta NoiseCntrl0 b597: 60 LB597_2 rts b598: ad 88 06 TB598_2 lda NoiseContSFX b59b: 29 34 and #$34 b59d: d0 f8 bne LB597_2 b59f: a9 03 lda #$03 b5a1: a0 1d ldy #$1d b5a3: d0 e2 bne LB587_2 b5a5: 8d 64 06 LB5A5_2 sta MultiSFXLength b5a8: 20 74 b3 jsr LB374_2 b5ab: 20 93 b4 jsr LB493_2 b5ae: a9 01 lda #$01 b5b0: 8d 53 06 sta SQ1InUse b5b3: a9 02 lda #$02 b5b5: 8d 54 06 sta SQ2InUse b5b8: a9 00 lda #$00 b5ba: 8d 89 06 sta SQ1ContSFX b5bd: 8d 71 06 sta SQ1SFXData b5c0: 8d 75 06 sta SQ1SQ2SFXData b5c3: 8d 79 06 sta SQ1SFXPeriodLow b5c6: 8d 69 06 sta ThisMultiFrame b5c9: 8d 07 06 sta WriteMultiChannelData b5cc: 60 rts b5cd: a9 10 LB5CD_2 lda #$10 b5cf: 8d 00 40 sta SQ1Cntrl0 b5d2: 8d 04 40 sta SQ2Cntrl0 b5d5: a9 7f lda #$7f b5d7: 8d 01 40 sta SQ1Cntrl1 b5da: 8d 05 40 sta SQ2Cntrl1 b5dd: 20 a2 b4 jsr LB4A2_2 b5e0: a9 00 lda #$00 b5e2: 8d 53 06 sta SQ1InUse b5e5: 8d 54 06 sta SQ2InUse b5e8: ee 07 06 inc WriteMultiChannelData b5eb: 60 rts b5ec: a0 2d LB5EC_0 ldy #$2d b5ee: 20 68 b3 jsr LB368_2 b5f1: a0 29 ldy #$29 b5f3: 4c a5 b5 jmp LB5A5_2 b5f6: ee 71 06 LB5F6_0 inc SQ1SFXData b5f9: ac 71 06 ldy SQ1SFXData b5fc: b9 3c b6 lda LB63C_2,y b5ff: 8d 00 40 sta SQ1Cntrl0 b602: 8d 04 40 sta SQ2Cntrl0 b605: ad 71 06 lda SQ1SFXData b608: c9 14 cmp #$14 b60a: f0 2d beq LB639_2 b60c: c9 06 cmp #$06 b60e: 90 10 bcc LB620_2 b610: a5 2e lda RandomNumber1 b612: 09 10 ora #$10 b614: 29 7f and #$7f b616: 8d 79 06 sta SQ1SFXPeriodLow b619: 2a rol A b61a: 8d 75 06 sta SQ1SQ2SFXData b61d: 4c 2c b6 jmp LB62C_2 b620: ee 75 06 LB620_2 inc SQ1SQ2SFXData b623: ee 75 06 inc SQ1SQ2SFXData b626: ee 79 06 inc SQ1SFXPeriodLow b629: ee 79 06 inc SQ1SFXPeriodLow b62c: ad 75 06 LB62C_2 lda SQ1SQ2SFXData b62f: 8d 06 40 sta SQ2Cntrl2 b632: ad 79 06 lda SQ1SFXPeriodLow b635: 8d 02 40 sta SQ1Cntrl2 b638: 60 rts b639: 4c cd b5 LB639_2 jmp LB5CD_2 b63c: 38 3d 3f 3f+ LB63C_2 .bulk $38,$3d,$3f,$3f,$3f,$3f,$3f,$3d,$3b,$39,$3b,$3d,$3f,$3d,$3b,$39 + $3b,$3d,$3f,$39 b650: 20 a9 b4 LB650_0 jsr LB4A9_2 b653: d0 03 bne LB658_2 b655: 4c cd b5 jmp LB5CD_2 b658: a0 25 LB658_2 ldy #$25 b65a: 20 68 b3 jsr LB368_2 b65d: a5 2e lda RandomNumber1 b65f: 29 0f and #$0f b661: 8d 02 40 sta SQ1Cntrl2 b664: a0 25 ldy #$25 b666: 20 74 b3 jsr LB374_2 b669: a5 2e lda RandomNumber1 b66b: 4a lsr A b66c: 4a lsr A b66d: 29 0f and #$0f b66f: 8d 06 40 sta SQ2Cntrl2 b672: 60 rts b673: a0 25 LB673_0 ldy #$25 b675: 20 68 b3 jsr LB368_2 b678: a5 2e lda RandomNumber1 b67a: 29 0f and #$0f b67c: 8d 02 40 sta SQ1Cntrl2 b67f: 18 clc b680: a5 2e lda RandomNumber1 b682: 29 03 and #$03 b684: 69 01 adc #$01 b686: a0 25 ldy #$25 b688: 20 a5 b5 jsr LB5A5_2 b68b: a5 2e lda RandomNumber1 b68d: 4a lsr A b68e: 4a lsr A b68f: 29 0f and #$0f b691: 8d 06 40 sta SQ2Cntrl2 b694: 60 LB694_2 rts b695: a0 31 LB695_0 ldy #$31 b697: 20 68 b3 jsr LB368_2 b69a: a9 20 lda #$20 b69c: a0 35 ldy #$35 b69e: 4c a5 b5 jmp LB5A5_2 b6a1: 20 a9 b4 LB6A1_0 jsr LB4A9_2 b6a4: d0 ee bne LB694_2 b6a6: 4c cd b5 jmp LB5CD_2 b6a9: bd 8d 7e LB6A9_2 lda $7e8d,x b6ac: 5e 46 3e lsr $3e46,x b6af: 00 brk b6b0: 20 a9 b4 TB6B0_2 jsr LB4A9_2 b6b3: d0 17 bne LB6CC_2 b6b5: ac 71 06 ldy SQ1SFXData b6b8: b9 a9 b6 lda LB6A9_2,y b6bb: d0 03 bne LB6C0_2 b6bd: 4c f2 b6 jmp LB6F2_2 b6c0: 8d 02 40 LB6C0_2 sta SQ1Cntrl2 b6c3: ad 44 b2 lda LB200_1+68 b6c6: 8d 03 40 sta SQ1Cntrl3 b6c9: ee 71 06 inc SQ1SFXData b6cc: 60 LB6CC_2 rts b6cd: a9 05 TB6CD_2 lda #$05 b6cf: a0 41 ldy #$41 b6d1: d0 66 bne LB739_2 b6d3: 20 a9 b4 TB6D3_2 jsr LB4A9_2 b6d6: d0 f4 bne LB6CC_2 b6d8: ee 71 06 inc SQ1SFXData b6db: ad 71 06 lda SQ1SFXData b6de: c9 03 cmp #$03 b6e0: f0 10 beq LB6F2_2 b6e2: a0 3d ldy #$3d b6e4: 4c 68 b3 jmp LB368_2 b6e7: a9 06 TB6E7_2 lda #$06 b6e9: a0 3d ldy #$3d b6eb: d0 4c bne LB739_2 b6ed: 20 a9 b4 TB6ED_2 jsr LB4A9_2 b6f0: d0 da bne LB6CC_2 b6f2: a9 10 LB6F2_2 lda #$10 b6f4: 8d 00 40 sta SQ1Cntrl0 b6f7: a9 00 lda #$00 b6f9: 8d 53 06 sta SQ1InUse b6fc: 20 a2 b4 jsr LB4A2_2 b6ff: ee 07 06 inc WriteMultiChannelData b702: 60 rts b703: ad 8d 06 TB703_2 lda CurrentMusic b706: c9 04 cmp #$04 b708: f0 c2 beq LB6CC_2 b70a: a9 0c lda #$0c b70c: a0 51 ldy #$51 b70e: d0 29 bne LB739_2 b710: a9 08 TB710_2 lda #$08 b712: a0 55 ldy #$55 b714: d0 23 bne LB739_2 b716: ad 1f 06 TB716_2 lda HasBeamSFX b719: 4a lsr A b71a: b0 42 bcs LB75E_2 b71c: ad 89 06 lda SQ1ContSFX b71f: 29 cc and #$cc b721: d0 a9 bne LB6CC_2 b723: ad 1f 06 lda HasBeamSFX b726: 0a asl A b727: b0 06 bcs LB72F_2 b729: a9 03 lda #$03 b72b: a0 4d ldy #$4d b72d: d0 0a bne LB739_2 b72f: a9 07 LB72F_2 lda #$07 b731: a0 49 ldy #$49 b733: d0 04 bne LB739_2 b735: a9 0b TB735_2 lda #$0b b737: a0 45 ldy #$45 b739: 4c 52 b4 LB739_2 jmp LB452_2 b73c: ad 8d 06 TB73C_2 lda CurrentMusic b73f: c9 04 cmp #$04 b741: f0 06 beq LB749_2 b743: a9 16 lda #$16 b745: a0 59 ldy #$59 b747: d0 f0 bne LB739_2 b749: a9 07 LB749_2 lda #$07 b74b: a0 39 ldy #$39 b74d: d0 ea bne LB739_2 b74f: ad 1f 06 TB74F_2 lda HasBeamSFX b752: 4a lsr A b753: b0 10 bcs LB765_2 b755: 20 a9 b4 jsr LB4A9_2 b758: d0 03 bne LB75D_2 b75a: 4c f2 b6 jmp LB6F2_2 b75d: 60 LB75D_2 rts b75e: a9 07 LB75E_2 lda #$07 b760: a0 61 ldy #$61 b762: 4c 52 b4 jmp LB452_2 b765: 20 a9 b4 LB765_2 jsr LB4A9_2 b768: d0 03 bne LB76D_2 b76a: 4c f2 b6 jmp LB6F2_2 b76d: ad 71 06 LB76D_2 lda SQ1SFXData b770: 29 01 and #$01 b772: a8 tay b773: b9 78 b7 lda LB778_2,y b776: d0 28 bne LB7A0_2 b778: 93 LB778_2 .dd1 $93 b779: 81 .dd1 $81 b77a: a9 08 TB77A_2 lda #$08 b77c: a0 5d ldy #$5d b77e: 4c 52 b4 jmp LB452_2 b781: 20 a9 b4 TB781_2 jsr LB4A9_2 b784: d0 11 bne LB797_2 b786: ac 75 06 ldy SQ1SQ2SFXData b789: ee 75 06 inc SQ1SQ2SFXData b78c: b9 a9 b7 lda LB7A9_2,y b78f: 8d 00 40 sta SQ1Cntrl0 b792: d0 12 bne LB7A6_2 b794: 4c f2 b6 jmp LB6F2_2 b797: ad 71 06 LB797_2 lda SQ1SFXData b79a: 29 01 and #$01 b79c: a8 tay b79d: b9 a7 b7 lda LB7A7_2,y b7a0: 8d 02 40 LB7A0_2 sta SQ1Cntrl2 b7a3: ee 71 06 inc SQ1SFXData b7a6: 60 LB7A6_2 rts b7a7: 58 LB7A7_2 .dd1 $58 b7a8: 6f .dd1 $6f b7a9: 93 LB7A9_2 .dd1 $93 b7aa: 91 .dd1 $91 b7ab: 00 .dd1 $00 b7ac: ad 87 b2 TB7AC_2 lda LB200_1+135 b7af: 8d 10 06 sta TrianglePeriodLow b7b2: ad 88 b2 lda LB200_1+136 b7b5: 29 07 and #$07 b7b7: 8d 11 06 sta TrianglePeriodHigh b7ba: a9 0f lda #$0f b7bc: 8d 12 06 sta TriangleChangeLow b7bf: a9 00 lda #$00 b7c1: 8d 13 06 sta TriangleChangeHigh b7c4: a9 1f lda #$1f b7c6: a0 85 ldy #$85 b7c8: 4c 52 b4 jmp LB452_2 b7cb: 20 a9 b4 TB7CB_2 jsr LB4A9_2 b7ce: d0 03 bne LB7D3_2 b7d0: 4c 96 b8 jmp LB896_2 b7d3: 20 8c b9 LB7D3_2 jsr LB98C_2 b7d6: 4c 69 b8 jmp LB869_2 b7d9: ad 8b 06 TB7D9_2 lda TriangleContSFX b7dc: 29 80 and #$80 b7de: d0 c6 bne LB7A6_2 b7e0: a9 03 lda #$03 b7e2: a0 79 ldy #$79 b7e4: 4c 52 b4 jmp LB452_2 b7e7: 20 a9 b4 TB7E7_2 jsr LB4A9_2 b7ea: d0 ba bne LB7A6_2 b7ec: 4c 96 b8 jmp LB896_2 b7ef: a9 12 TB7EF_2 lda #$12 b7f1: 8d 12 06 sta TriangleChangeLow b7f4: a9 00 lda #$00 b7f6: 8d 13 06 sta TriangleChangeHigh b7f9: ad 7f b2 lda LB200_1+127 b7fc: 8d 10 06 sta TrianglePeriodLow b7ff: ad 80 b2 lda LB200_1+128 b802: 29 07 and #$07 b804: 8d 11 06 sta TrianglePeriodHigh b807: a9 0a lda #$0a b809: a0 7d ldy #$7d b80b: 4c 52 b4 jmp LB452_2 b80e: 20 a9 b4 TB80E_2 jsr LB4A9_2 b811: d0 03 bne LB816_2 b813: 4c 96 b8 jmp LB896_2 b816: 20 78 b9 LB816_2 jsr LB978_2 b819: a5 2e lda RandomNumber1 b81b: 29 3c and #$3c b81d: 8d 73 06 sta TriangleSFXData b820: ad 10 06 lda TrianglePeriodLow b823: 29 c3 and #$c3 b825: 0d 73 06 ora TriangleSFXData b828: 8d 0a 40 sta TriangleCntrl2 b82b: ad 11 06 lda TrianglePeriodHigh b82e: 09 40 ora #$40 b830: 8d 0b 40 sta TriangleCntrl3 b833: 60 rts b834: a9 08 TB834_2 lda #$08 b836: a0 6d ldy #$6d b838: 20 52 b4 jsr LB452_2 b83b: a9 05 lda #$05 b83d: 8d 16 06 sta PercentDifference b840: ad 6f b2 lda LB200_1+111 b843: 8d 10 06 sta TrianglePeriodLow b846: ad 70 b2 lda LB200_1+112 b849: 29 07 and #$07 b84b: 8d 11 06 sta TrianglePeriodHigh b84e: 60 rts b84f: 20 a9 b4 TB84F_2 jsr LB4A9_2 b852: d0 03 bne LB857_2 b854: 4c 96 b8 jmp LB896_2 b857: 20 a0 b9 LB857_2 jsr LB9A0_2 b85a: ad 14 06 lda TriangleLowPercentage b85d: 8d 12 06 sta TriangleChangeLow b860: ad 15 06 lda TriangleHighPercentage b863: 8d 13 06 sta TriangleChangeHigh b866: 20 8c b9 jsr LB98C_2 b869: ad 10 06 LB869_2 lda TrianglePeriodLow b86c: 8d 0a 40 sta TriangleCntrl2 b86f: ad 11 06 lda TrianglePeriodHigh b872: 09 08 ora #$08 b874: 8d 0b 40 sta TriangleCntrl3 b877: 60 rts b878: a9 04 TB878_2 lda #$04 b87a: a0 65 ldy #$65 b87c: 4c 52 b4 jmp LB452_2 b87f: 20 a9 b4 TB87F_2 jsr LB4A9_2 b882: d0 22 bne LB8A6_2 b884: ee 73 06 inc TriangleSFXData b887: ad 73 06 lda TriangleSFXData b88a: c9 02 cmp #$02 b88c: d0 03 bne LB891_2 b88e: 4c 96 b8 jmp LB896_2 b891: a0 69 LB891_2 ldy #$69 b893: 4c 6c b3 jmp LB36C_2 b896: a9 00 LB896_2 lda #$00 b898: 8d 08 40 sta TriangleCntrl0 b89b: 8d 55 06 sta TriangleInUse b89e: a9 18 lda #$18 b8a0: 8d 0b 40 sta TriangleCntrl3 b8a3: 20 a2 b4 jsr LB4A2_2 b8a6: 60 LB8A6_2 rts b8a7: a9 03 TB8A7_2 lda #$03 b8a9: a0 71 ldy #$71 b8ab: 20 52 b4 jsr LB452_2 b8ae: 4c c3 b8 jmp LB8C3_2 b8b1: 20 a9 b4 TB8B1_2 jsr LB4A9_2 b8b4: f0 0d beq LB8C3_2 b8b6: ee 73 06 inc TriangleSFXData b8b9: ad 73 06 lda TriangleSFXData b8bc: c9 09 cmp #$09 b8be: d0 e6 bne LB8A6_2 b8c0: 4c 96 b8 jmp LB896_2 b8c3: a5 2e LB8C3_2 lda RandomNumber1 b8c5: 09 6c ora #$6c b8c7: 8d 0a 40 sta TriangleCntrl2 b8ca: 29 01 and #$01 b8cc: 09 f8 ora #$f8 b8ce: 8d 0b 40 sta TriangleCntrl3 b8d1: 60 rts b8d2: 20 04 b4 TB8D2_2 jsr LB404_2 b8d5: a9 0e lda #$0e b8d7: a0 75 ldy #$75 b8d9: 20 52 b4 jsr LB452_2 b8dc: a9 15 lda #$15 b8de: 8d 16 06 sta PercentDifference b8e1: ad 77 b2 lda LB200_1+119 b8e4: 8d 10 06 sta TrianglePeriodLow b8e7: a9 00 lda #$00 b8e9: 8d 11 06 sta TrianglePeriodHigh b8ec: 60 LB8EC_2 rts b8ed: 20 a9 b4 TB8ED_2 jsr LB4A9_2 b8f0: d0 1a bne LB90C_2 b8f2: a9 20 lda #$20 b8f4: 8d 12 06 sta TriangleChangeLow b8f7: a9 00 lda #$00 b8f9: 8d 13 06 sta TriangleChangeHigh b8fc: 20 8c b9 jsr LB98C_2 b8ff: ee 73 06 inc TriangleSFXData b902: ad 73 06 lda TriangleSFXData b905: c9 06 cmp #$06 b907: d0 e3 bne LB8EC_2 b909: 4c 96 b8 jmp LB896_2 b90c: 20 a0 b9 LB90C_2 jsr LB9A0_2 b90f: ad 14 06 lda TriangleLowPercentage b912: 8d 12 06 sta TriangleChangeLow b915: ad 15 06 lda TriangleHighPercentage b918: 8d 13 06 sta TriangleChangeHigh b91b: 20 78 b9 jsr LB978_2 b91e: 4c 69 b8 jmp LB869_2 b921: ad 83 b2 TB921_2 lda LB200_1+131 b924: 8d 10 06 sta TrianglePeriodLow b927: ad 84 b2 lda LB200_1+132 b92a: 29 07 and #$07 b92c: 8d 11 06 sta TrianglePeriodHigh b92f: a9 00 lda #$00 b931: 8d 13 06 sta TriangleChangeHigh b934: a9 0b lda #$0b b936: 8d 12 06 sta TriangleChangeLow b939: a9 06 lda #$06 b93b: a0 81 ldy #$81 b93d: 4c 52 b4 jmp LB452_2 b940: 20 a9 b4 TB940_2 jsr LB4A9_2 b943: d0 2d bne LB972_2 b945: ee 73 06 inc TriangleSFXData b948: ad 73 06 lda TriangleSFXData b94b: c9 09 cmp #$09 b94d: d0 03 bne LB952_2 b94f: 4c 96 b8 jmp LB896_2 b952: ad 12 06 LB952_2 lda TriangleChangeLow b955: 48 pha b956: ad 13 06 lda TriangleChangeHigh b959: 48 pha b95a: a9 25 lda #$25 b95c: 8d 12 06 sta TriangleChangeLow b95f: a9 00 lda #$00 b961: 8d 13 06 sta TriangleChangeHigh b964: 20 78 b9 jsr LB978_2 b967: 68 pla b968: 8d 13 06 sta TriangleChangeHigh b96b: 68 pla b96c: 8d 12 06 sta TriangleChangeLow b96f: 4c 69 b8 jmp LB869_2 b972: 20 8c b9 LB972_2 jsr LB98C_2 b975: 4c 69 b8 jmp LB869_2 b978: 18 LB978_2 clc b979: ad 10 06 lda TrianglePeriodLow b97c: 6d 12 06 adc TriangleChangeLow b97f: 8d 10 06 sta TrianglePeriodLow b982: ad 11 06 lda TrianglePeriodHigh b985: 6d 13 06 adc TriangleChangeHigh b988: 8d 11 06 sta TrianglePeriodHigh b98b: 60 rts b98c: 38 LB98C_2 sec b98d: ad 10 06 lda TrianglePeriodLow b990: ed 12 06 sbc TriangleChangeLow b993: 8d 10 06 sta TrianglePeriodLow b996: ad 11 06 lda TrianglePeriodHigh b999: ed 13 06 sbc TriangleChangeHigh b99c: 8d 11 06 sta TrianglePeriodHigh b99f: 60 rts b9a0: ad 10 06 LB9A0_2 lda TrianglePeriodLow b9a3: 48 pha b9a4: ad 11 06 lda TrianglePeriodHigh b9a7: 48 pha b9a8: a9 00 lda #$00 b9aa: 8d 17 06 sta DivideData b9ad: a2 10 ldx #$10 b9af: 2e 10 06 rol TrianglePeriodLow b9b2: 2e 11 06 rol TrianglePeriodHigh b9b5: 2e 17 06 LB9B5_2 rol DivideData b9b8: ad 17 06 lda DivideData b9bb: cd 16 06 cmp PercentDifference b9be: 90 06 bcc LB9C6_2 b9c0: ed 16 06 sbc PercentDifference b9c3: 8d 17 06 sta DivideData b9c6: 2e 10 06 LB9C6_2 rol TrianglePeriodLow b9c9: 2e 11 06 rol TrianglePeriodHigh b9cc: ca dex b9cd: d0 e6 bne LB9B5_2 b9cf: ad 10 06 lda TrianglePeriodLow b9d2: 8d 14 06 sta TriangleLowPercentage b9d5: ad 11 06 lda TrianglePeriodHigh b9d8: 8d 15 06 sta TriangleHighPercentage b9db: 68 pla b9dc: 8d 11 06 sta TrianglePeriodHigh b9df: 68 pla b9e0: 8d 10 06 sta TrianglePeriodLow b9e3: 60 rts b9e4: a9 7f LB9E4_2 lda #$7f b9e6: 8d 48 06 sta MusicSQ1Sweep b9e9: 8d 49 06 sta MusicSQ2Sweep b9ec: 8e 28 06 stx SQ1DutyEnvelope b9ef: 8c 29 06 sty SQ2DutyEnvelope b9f2: 60 rts b9f3: ad 40 06 LB9F3_2 lda SQ1MusicFrameCount b9f6: c9 01 cmp #$01 b9f8: d0 03 bne LB9FD_2 b9fa: 8d 6a 06 sta SQ1VolumeIndex b9fd: ad 41 06 LB9FD_2 lda SQ2MusicFrameCount ba00: c9 01 cmp #$01 ba02: d0 03 bne LBA07_2 ba04: 8d 6b 06 sta SQ2VolumeIndex ba07: 60 LBA07_2 rts ba08: ad 07 06 LBA08_2 lda WriteMultiChannelData ba0b: f0 29 beq LBA36_2 ba0d: a9 00 lda #$00 ba0f: 8d 07 06 sta WriteMultiChannelData ba12: ad 48 06 lda MusicSQ1Sweep ba15: 8d 01 40 sta SQ1Cntrl1 ba18: ad 00 06 lda MusicSQ1PeriodLow ba1b: 8d 02 40 sta SQ1Cntrl2 ba1e: ad 01 06 lda MusicSQ1PeriodHigh ba21: 8d 03 40 sta SQ1Cntrl3 ba24: ad 49 06 lda MusicSQ2Sweep ba27: 8d 05 40 sta SQ2Cntrl1 ba2a: ad 04 06 lda MusicSQ2PeriodLow ba2d: 8d 06 40 sta SQ2Cntrl2 ba30: ad 05 06 lda MusicSQ2PeriodHigh ba33: 8d 07 40 sta SQ2Cntrl3 ba36: 60 LBA36_2 rts ba37: a2 00 LBA37_2 ldx #$00 ba39: 20 41 ba jsr LBA41_2 ba3c: e8 inx ba3d: 20 41 ba jsr LBA41_2 ba40: 60 rts ba41: bd 2e 06 LBA41_2 lda SQ1VolumeCntrl,x ba44: f0 45 beq LBA8B_2 ba46: 85 eb sta VolumeCntrlAddress ba48: 20 08 ba jsr LBA08_2 ba4b: bd 6c 06 lda SQ1VolumeData,x ba4e: c9 10 cmp #$10 ba50: f0 47 beq LBA99_2 ba52: a0 00 ldy #$00 ba54: c6 eb LBA54_2 dec VolumeCntrlAddress ba56: f0 04 beq LBA5C_2 ba58: c8 iny ba59: c8 iny ba5a: d0 f8 bne LBA54_2 ba5c: b9 b0 bc LBA5C_2 lda LBCB0_2,y ba5f: 85 ec sta $ec ba61: b9 b1 bc lda LBCB0_2+1,y ba64: 85 ed sta $ed ba66: bc 6a 06 ldy SQ1VolumeIndex,x ba69: b1 ec lda ($ec),y ba6b: 85 ea sta Cntrl0Data ba6d: c9 ff cmp #$ff ba6f: f0 1f beq LBA90_2 ba71: c9 f0 cmp #$f0 ba73: f0 20 beq LBA95_2 ba75: bd 28 06 lda SQ1DutyEnvelope,x ba78: 29 f0 and #$f0 ba7a: 05 ea ora Cntrl0Data ba7c: a8 tay ba7d: fe 6a 06 LBA7D_2 inc SQ1VolumeIndex,x ba80: bd 53 06 LBA80_2 lda SQ1InUse,x ba83: d0 06 bne LBA8B_2 ba85: 8a txa ba86: f0 04 beq LBA8C_2 ba88: 8c 04 40 sty SQ2Cntrl0 ba8b: 60 LBA8B_2 rts ba8c: 8c 00 40 LBA8C_2 sty SQ1Cntrl0 ba8f: 60 rts ba90: bc 28 06 LBA90_2 ldy SQ1DutyEnvelope,x ba93: d0 eb bne LBA80_2 ba95: a0 10 LBA95_2 ldy #$10 ba97: d0 e7 bne LBA80_2 ba99: a0 10 LBA99_2 ldy #$10 ba9b: d0 e0 bne LBA7D_2 ba9d: 20 f0 b3 LBA9D_2 jsr LB3F0_2 baa0: 60 rts baa1: 20 37 ba LBAA1_2 jsr LBA37_2 baa4: 60 rts baa5: 20 f3 b9 LBAA5_2 jsr LB9F3_2 baa8: a9 00 lda #$00 baaa: aa tax baab: 8d 4b 06 sta ThisSoundChannel baae: f0 12 beq LBAC2_2 bab0: 8a LBAB0_2 txa bab1: 4a lsr A bab2: aa tax bab3: e8 LBAB3_2 inx bab4: 8a txa bab5: c9 04 cmp #$04 bab7: f0 e8 beq LBAA1_2 bab9: ad 4b 06 lda ThisSoundChannel babc: 18 clc babd: 69 04 adc #$04 babf: 8d 4b 06 sta ThisSoundChannel bac2: 8a LBAC2_2 txa bac3: 0a asl A bac4: aa tax bac5: bd 30 06 lda SQ1LowBaseByte,x bac8: 85 e6 sta $e6 baca: bd 31 06 lda SQ1HighBaseByte,x bacd: 85 e7 sta $e7 bacf: bd 31 06 lda SQ1HighBaseByte,x bad2: f0 dc beq LBAB0_2 bad4: 8a txa bad5: 4a lsr A bad6: aa tax bad7: de 40 06 dec SQ1MusicFrameCount,x bada: d0 d7 bne LBAB3_2 badc: bc 38 06 LBADC_2 ldy SQ1MusicIndexIndex,x badf: fe 38 06 inc SQ1MusicIndexIndex,x bae2: b1 e6 lda ($e6),y bae4: f0 b7 beq LBA9D_2 bae6: a8 tay bae7: c9 ff cmp #$ff bae9: f0 09 beq LBAF4_2 baeb: 29 c0 and #$c0 baed: c9 c0 cmp #$c0 baef: f0 13 beq LBB04_2 baf1: 4c 1c bb jmp LBB1C_2 baf4: bd 24 06 LBAF4_2 lda SQ1RepeatCounter,x baf7: f0 1a beq LBB13_2 baf9: de 24 06 dec SQ1RepeatCounter,x bafc: bd 3c 06 lda SQ1LoopIndex,x baff: 9d 38 06 sta SQ1MusicIndexIndex,x bb02: d0 0f bne LBB13_2 bb04: 98 LBB04_2 tya bb05: 29 3f and #$3f bb07: 9d 24 06 sta SQ1RepeatCounter,x bb0a: de 24 06 dec SQ1RepeatCounter,x bb0d: bd 38 06 lda SQ1MusicIndexIndex,x bb10: 9d 3c 06 sta SQ1LoopIndex,x bb13: 4c dc ba LBB13_2 jmp LBADC_2 bb16: 4c de bb LBB16_2 jmp LBBDE_2 bb19: 4c b7 bb LBB19_2 jmp LBBB7_2 bb1c: 98 LBB1C_2 tya bb1d: 29 b0 and #$b0 bb1f: c9 b0 cmp #$b0 bb21: d0 1d bne LBB40_2 bb23: 98 tya bb24: 29 0f and #$0f bb26: 18 clc bb27: 6d 2b 06 adc NoteLengthTblOffset bb2a: a8 tay bb2b: b9 f7 be lda LBCBA_2+$23d,y bb2e: 9d 20 06 sta SQ1FrameCountInit,x bb31: a8 tay bb32: 8a txa bb33: c9 02 cmp #$02 bb35: f0 e2 beq LBB19_2 bb37: bc 38 06 LBB37_2 ldy SQ1MusicIndexIndex,x bb3a: fe 38 06 inc SQ1MusicIndexIndex,x bb3d: b1 e6 lda ($e6),y bb3f: a8 tay bb40: 8a LBB40_2 txa bb41: c9 03 cmp #$03 bb43: f0 d1 beq LBB16_2 bb45: 48 pha bb46: ae 4b 06 ldx ThisSoundChannel bb49: b9 78 be lda LBCBA_2+$1be,y bb4c: f0 0b beq LBB59_2 bb4e: 9d 00 06 sta MusicSQ1PeriodLow,x bb51: b9 77 be lda LBCBA_2+$1bd,y bb54: 09 08 ora #$08 bb56: 9d 01 06 sta MusicSQ1PeriodHigh,x bb59: a8 LBB59_2 tay bb5a: 68 pla bb5b: aa tax bb5c: 98 tya bb5d: d0 0f bne LBB6E_2 bb5f: a9 00 lda #$00 bb61: 85 ea sta Cntrl0Data bb63: 8a txa bb64: c9 02 cmp #$02 bb66: f0 0b beq LBB73_2 bb68: a9 10 lda #$10 bb6a: 85 ea sta Cntrl0Data bb6c: d0 05 bne LBB73_2 bb6e: bd 28 06 LBB6E_2 lda SQ1DutyEnvelope,x bb71: 85 ea sta Cntrl0Data bb73: 8a LBB73_2 txa bb74: de 53 06 dec SQ1InUse,x bb77: dd 53 06 cmp SQ1InUse,x bb7a: f0 35 beq LBBB1_2 bb7c: fe 53 06 inc SQ1InUse,x bb7f: ac 4b 06 ldy ThisSoundChannel bb82: 8a txa bb83: c9 02 cmp #$02 bb85: f0 05 beq LBB8C_2 bb87: bd 2e 06 lda SQ1VolumeCntrl,x bb8a: d0 05 bne LBB91_2 bb8c: a5 ea LBB8C_2 lda Cntrl0Data bb8e: 99 00 40 sta SQ1Cntrl0,y bb91: a5 ea LBB91_2 lda Cntrl0Data bb93: 9d 6c 06 sta SQ1VolumeData,x bb96: b9 00 06 lda MusicSQ1PeriodLow,y bb99: 99 02 40 sta SQ1Cntrl2,y bb9c: b9 01 06 lda MusicSQ1PeriodHigh,y bb9f: 99 03 40 sta SQ1Cntrl3,y bba2: bd 48 06 lda MusicSQ1Sweep,x bba5: 99 01 40 sta SQ1Cntrl1,y bba8: bd 20 06 LBBA8_2 lda SQ1FrameCountInit,x bbab: 9d 40 06 sta SQ1MusicFrameCount,x bbae: 4c b3 ba jmp LBAB3_2 bbb1: fe 53 06 LBBB1_2 inc SQ1InUse,x bbb4: 4c a8 bb jmp LBBA8_2 bbb7: ad 2d 06 LBBB7_2 lda TriangleCounterCntrl bbba: 29 0f and #$0f bbbc: d0 1a bne LBBD8_2 bbbe: ad 2d 06 lda TriangleCounterCntrl bbc1: 29 f0 and #$f0 bbc3: d0 04 bne LBBC9_2 bbc5: 98 tya bbc6: 4c cd bb jmp LBBCD_2 bbc9: a9 ff LBBC9_2 lda #$ff bbcb: d0 0b bne LBBD8_2 bbcd: 18 LBBCD_2 clc bbce: 69 ff adc #$ff bbd0: 0a asl A bbd1: 0a asl A bbd2: c9 3c cmp #$3c bbd4: 90 02 bcc LBBD8_2 bbd6: a9 3c lda #$3c bbd8: 8d 2a 06 LBBD8_2 sta TriLinearCount bbdb: 4c 37 bb jmp LBB37_2 bbde: ad 88 06 LBBDE_2 lda NoiseContSFX bbe1: 29 fc and #$fc bbe3: d0 12 bne LBBF7_2 bbe5: b9 00 b2 lda LB200_1,y bbe8: 8d 0c 40 sta NoiseCntrl0 bbeb: b9 01 b2 lda LB200_1+1,y bbee: 8d 0e 40 sta NoiseCntrl2 bbf1: b9 02 b2 lda LB200_1+2,y bbf4: 8d 0f 40 sta NoiseCntrl3 bbf7: 4c a8 bb LBBF7_2 jmp LBBA8_2 bbfa: 41 8f 34 27+ LBBFA_2 .bulk $41,$8f,$34,$27,$1a,$0d,$00,$82,$68,$75,$4e,$5b bc06: 80 bc LBC06 .dd2 LBC80_0 bc08: 7a bc .dd2 LBC7A_0 bc0a: 86 bc .dd2 LBC86_0 bc0c: 7a bc .dd2 LBC7A_0 bc0e: ee b4 .dd2 TB4EE_2 bc10: 73 b6 .dd2 LB673_0 bc12: ec b5 .dd2 LB5EC_0 bc14: 95 b6 .dd2 LB695_0 bc16: ee b4 LBC16 .dd2 TB4EE_2 bc18: ee b4 .dd2 TB4EE_2 bc1a: ee b4 .dd2 TB4EE_2 bc1c: ee b4 .dd2 TB4EE_2 bc1e: ee b4 .dd2 TB4EE_2 bc20: 50 b6 .dd2 LB650_0 bc22: f6 b5 .dd2 LB5F6_0 bc24: a1 b6 .dd2 LB6A1_0 bc26: 83 bc LBC26 .dd2 LBC83_0 bc28: 77 bc .dd2 LBC77_0 bc2a: 77 bc .dd2 LBC77_0 bc2c: 77 bc .dd2 LBC77_0 bc2e: 80 bc .dd2 LBC80_0 bc30: 7d bc .dd2 LBC7D_0 bc32: 77 bc .dd2 LBC77_0 bc34: 80 bc .dd2 LBC80_0 bc36: ad 5d 06 LBC36_1 lda CurrentMusicRepeat bc39: a2 b6 ldx #$b6 bc3b: d0 05 bne LBC42_1 bc3d: ad 85 06 LBC3D lda MusicInitFlag bc40: a2 b1 ldx #$b1 bc42: 20 bd b4 LBC42_1 jsr LB4BD_2 bc45: 20 53 bc jsr LBC53_1 bc48: 6c e2 00 jmp ($00e2) bc4b: ad 8d 06 LBC4B lda CurrentMusic bc4e: f0 26 beq LBC76_2 bc50: 4c a5 ba jmp LBAA5_2 bc53: a9 ff LBC53_1 lda #$ff bc55: 8d 5e 06 sta MusicInitIndex bc58: ad 4d 06 lda CurrentSFXFlags bc5b: f0 06 beq LBC63_1 bc5d: ee 5e 06 LBC5D_1 inc MusicInitIndex bc60: 0a asl A bc61: 90 fa bcc LBC5D_1 bc63: 60 LBC63_1 rts bc64: ad 5e 06 LBC64_1 lda MusicInitIndex bc67: 18 clc bc68: 69 08 adc #$08 bc6a: 8d 5e 06 sta MusicInitIndex bc6d: 60 rts bc6e: ad 8d 06 lda CurrentMusic bc71: 09 f0 ora #$f0 bc73: 8d 8d 06 sta CurrentMusic bc76: 60 LBC76_2 rts bc77: 4c aa bc LBC77_0 jmp LBCAA_2 bc7a: 4c a4 bc LBC7A_0 jmp LBCA4_2 bc7d: 4c 9a bc LBC7D_0 jmp LBC9A_2 bc80: 4c 96 bc LBC80_0 jmp LBC96_2 bc83: 4c 89 bc LBC83_0 jmp LBC89_2 bc86: 4c 9e bc LBC86_0 jmp LBC9E_2 bc89: a9 b3 LBC89_2 lda #$b3 bc8b: aa LBC8B_2 tax bc8c: a8 tay bc8d: 20 e4 b9 LBC8D_2 jsr LB9E4_2 bc90: 20 19 bf jsr LBF19_2 bc93: 4c a5 ba jmp LBAA5_2 bc96: a9 34 LBC96_2 lda #$34 bc98: d0 f1 bne LBC8B_2 bc9a: a9 f4 LBC9A_2 lda #$f4 bc9c: d0 ed bne LBC8B_2 bc9e: a2 f5 LBC9E_2 ldx #$f5 bca0: a0 f6 ldy #$f6 bca2: d0 e9 bne LBC8D_2 bca4: a2 b6 LBCA4_2 ldx #$b6 bca6: a0 f6 ldy #$f6 bca8: d0 e3 bne LBC8D_2 bcaa: a2 92 LBCAA_2 ldx #$92 bcac: a0 96 ldy #$96 bcae: d0 dd bne LBC8D_2 bcb0: ba bc LBCB0_2 .dd2 LBCBA_2 bcb2: c5 bc .dd2 LBCBA_2+11 bcb4: cf bc .dd2 LBCBA_2+21 bcb6: da bc .dd2 LBCBA_2+32 bcb8: 03 bd .dd2 LBCBA_2+73 bcba: 01 02 02 03+ LBCBA_2 .bulk $01,$02,$02,$03,$03,$04,$05,$06,$07,$08,$ff,$02,$04,$05,$06,$07 + $08,$07,$06,$05,$ff,$00,$0d,$09,$07,$06,$05,$05,$05,$04,$04,$ff + $02,$06,$07,$07,$07,$06,$06,$06,$06,$05,$05,$05,$04,$04,$04,$03 + $03,$03,$03,$02,$03,$03,$03,$03,$03,$02,$02,$02,$02,$02,$02,$02 + $02,$02,$02,$01,$01,$01,$01,$01,$f0,$0a,$0a,$09,$08,$07,$06,$05 + $04,$03,$02,$07,$07,$06,$05,$04,$04,$03,$02,$02,$02,$05,$05,$05 + $04,$03,$02,$02,$02,$01,$01,$04,$04,$03,$02,$01,$02,$02,$01,$01 + $01,$02,$02,$02,$01,$01,$f0,$0b,$ff,$f5,$00,$00,$8c,$b1,$8e,$b1 + $61,$b1,$00,$00,$0b,$ff,$00,$02,$02,$4d,$b0,$00,$b0,$cf,$b0,$5a + $b1,$0b,$ff,$f0,$04,$04,$00,$01,$00,$03,$00,$05,$00,$07,$00,$ff + $f0,$00,$00,$00,$01,$00,$03,$00,$05,$00,$00,$0b,$ff,$03,$00,$00 + $da,$bd,$dc,$bd,$cd,$bd,$00,$00,$0b,$ff,$f0,$01,$01,$00,$01,$00 + $03,$00,$05,$00,$00,$17,$00,$00,$02,$01,$00,$01,$00,$03,$00,$05 + $00,$07,$17,$00,$f0,$02,$05,$00,$01,$00,$03,$00,$05,$00,$07,$0b + $00,$f0,$02,$00,$3e,$be,$1d,$be,$36,$be,$00,$00,$00,$00,$f0,$01 + $00,$f7,$bd,$0d,$be,$08,$be,$00,$00,$0b,$ff,$00,$02,$03,$00,$01 + $00,$03,$00,$05,$00,$07,$0b,$ff,$03,$00,$00,$59,$be,$47,$be,$62 + $be,$00,$00,$c8,$b0,$38,$3a,$3c,$3e,$40,$3e,$3c,$3a,$b6,$02,$ff + $b8,$02,$b3,$02,$b2,$74,$02,$6a,$02,$72,$02,$62,$b4,$02,$b2,$60 + $02,$6c,$02,$76,$b3,$02,$b2,$7e,$02,$7c,$b3,$02,$00,$b3,$48,$42 + $b2,$3e,$38,$30,$38,$4c,$44,$3e,$36,$c8,$b0,$38,$3c,$ff,$b4,$2c + $2a,$1e,$1c,$b2,$22,$2c,$30,$34,$38,$30,$26,$30,$3a,$34,$2c,$26 + $b4,$2a,$00,$c4,$b0,$3e,$30,$ff,$c4,$42,$30,$ff,$c4,$3a,$2c,$ff + $c4,$38,$26,$ff,$c4,$34,$20,$ff,$e0,$34,$24,$ff,$b3,$36,$34,$30 + $2a,$b4,$1c,$1c,$b3,$34,$3a,$34,$30,$b4,$2a,$2a,$00,$b4,$12,$b3 + $10,$18,$16,$0a,$b4,$14,$12,$b3,$10,$06,$0e,$04,$b4,$0c,$00,$e0 + $b0,$54,$4e,$48,$42,$48,$4e,$ff,$e0,$b3,$02,$b0,$3c,$40,$44,$4a + $4e,$54,$58,$5c,$62,$66,$6c,$70,$74,$7a,$b3,$02,$ff,$07,$f0,$00 + $00,$06,$4e,$05,$f3,$05,$4d,$05,$01,$04,$b9,$04,$75,$04,$35,$03 + $f8,$03,$bf,$03,$89,$03,$57,$03,$27,$02,$f9,$02,$cf,$02,$a6,$02 + $80,$02,$5c,$02,$3a,$02,$1a,$01,$fc,$01,$df,$01,$c4,$01,$ab,$01 + $93,$01,$7c,$01,$67,$01,$52,$01,$3f,$01,$2d,$01,$1c,$01,$0c,$00 + $fd,$00,$ee,$00,$e1,$00,$d4,$00,$c8,$00,$bd,$00,$b2,$00,$a8,$00 + $9f,$00,$96,$00,$8d,$00,$85,$00,$7e,$00,$76,$00,$70,$00,$69,$00 + $63,$00,$5e,$00,$58,$00,$53,$00,$4f,$00,$4a,$00,$46,$00,$42,$00 + $3e,$00,$3a,$00,$37,$00,$34,$00,$31,$00,$2e,$00,$27,$04,$08,$10 + $20,$40,$18,$30,$0c,$0b,$05,$02,$06,$0c,$18,$30,$60,$24,$48,$12 + $10,$08,$03,$10,$07,$0e,$1c,$38,$70,$2a,$54,$15,$12,$02,$03 bf19: 20 fc b3 LBF19_2 jsr LB3FC_2 bf1c: ad 4d 06 lda CurrentSFXFlags bf1f: 8d 8d 06 sta CurrentMusic bf22: ad 5e 06 lda MusicInitIndex bf25: a8 tay bf26: b9 fa bb lda LBBFA_2,y bf29: a8 tay bf2a: a2 00 ldx #$00 bf2c: b9 31 bd LBF2C_2 lda LBCBA_2+119,y bf2f: 9d 2b 06 sta NoteLengthTblOffset,x bf32: c8 iny bf33: e8 inx bf34: 8a txa bf35: c9 0d cmp #$0d bf37: d0 f3 bne LBF2C_2 bf39: a9 01 lda #$01 bf3b: 8d 40 06 sta SQ1MusicFrameCount bf3e: 8d 41 06 sta SQ2MusicFrameCount bf41: 8d 42 06 sta TriangleMusicFrameCount bf44: 8d 43 06 sta NoiseMusicFrameCount bf47: a9 00 lda #$00 bf49: 8d 38 06 sta SQ1MusicIndexIndex bf4c: 8d 39 06 sta SQ2MusicIndexIndex bf4f: 8d 3a 06 sta TriangleMusicIndexIndex bf52: 8d 3b 06 sta NoiseMusicIndexIndex bf55: 60 rts bf56: 10 07 0e 1c+ .junk 90 bfb0: 78 RESET_T sei bfb1: d8 cld bfb2: a2 00 ldx #$00 bfb4: 8e 00 20 stx PPUControl0 bfb7: 8e 01 20 stx PPUControl1 bfba: ad 02 20 LBFBA_2 lda PPUStatus bfbd: 10 fb bpl LBFBA_2 bfbf: ad 02 20 LBFBF_2 lda PPUStatus bfc2: 10 fb bpl LBFBF_2 bfc4: 09 ff ora #$ff bfc6: 8d 00 80 sta MMC1Reg0 bfc9: 8d 00 a0 sta MMC1Reg1 bfcc: 8d 00 c0 sta MMC1Reg2 bfcf: 8d 00 e0 sta MMC1Reg3 bfd2: 4c 1a c0 jmp Startup bfd5: ff ff ff ff+ .junk 37 bffa: d9 c0 .dd2 NMI bffc: b0 bf .dd2 RESET_T bffe: b0 bf .dd2 RESET_T .adrend β $8000 .addrs $8000 8000: 4c 10 f4 L8000_2 jmp LF410 8003: 4c 38 f4 L8003_2 jmp LF438 8006: 4c 16 f4 L8006_2 jmp LF416 8009: 4c 52 f8 L8009_1 jmp LF852 800c: 4c 94 e0 L800C_1 jmp UpdateEnemyAnim 800f: 4c 8d f6 L800F_1 jmp LF68D 8012: 4c 3e f8 jmp LF83E 8015: 4c 5a f8 jmp LF85A 8018: 4c b9 fb jmp LFBB9 801b: 4c 88 fb L801B_1 jmp LFB88 801e: 4c ca fb L801E_1 jmp LFBCA 8021: 4c 70 f8 jmp LF870 8024: 4c 7c c2 ChooseRoutineK jmp ChooseRoutine 8027: 4c 8f fd L8027_3 jmp LFD8F 802a: 4c 6e eb L802A_2 jmp LEB6E 802d: 4c 44 82 L802D_0 jmp L8244_2 8030: 4c 18 83 L8030_0 jmp L8318_2 8033: 4c 1e fa L8033_0 jmp LFA1E 8036: 4c 3f 83 L8036_1 jmp L833F_2 8039: 4c 95 83 L8039_1 jmp L8395_2 803c: 4c 8b dd jmp LDD8B 803f: 4c dc fe jmp LFEDC 8042: 4c 92 ce jmp LCE92 8045: 4c fb c3 jmp LC3FB 8048: fd 84 L8048_1 .dd2 T84FE_2-1 804a: a6 84 .dd2 T84A7_2-1 804c: 4a 84 .dd2 T844B_2-1 804e: 4a 84 .dd2 T844B_2-1 8050: a6 84 .dd2 T84A7_2-1 8052: fd 84 .dd2 T84FE_2-1 8054: f4 83 .dd2 T83F5_2-1 8056: f4 83 .dd2 T83F5_2-1 8058: a6 4b ldx PageIndex 805a: bd 05 04 lda EnCounter-1,x 805d: 0a asl A 805e: 30 4f bmi L80AF_2 8060: bd f4 6a lda Enstatus,x 8063: c9 02 cmp #$02 8065: d0 48 bne L80AF_2 8067: 20 44 82 jsr L8244_2 806a: a5 00 lda $00 806c: 10 0f bpl L807D_2 806e: 20 d4 c3 jsr LC3D4 8071: 85 66 sta $66 8073: 20 f5 83 L8073_2 jsr T83F5_2 8076: 20 b8 80 jsr L80B8_2 8079: c6 66 dec $66 807b: d0 f6 bne L8073_2 807d: f0 0c L807D_2 beq L808B_2 807f: 85 66 sta $66 8081: 20 4b 84 L8081_2 jsr T844B_2 8084: 20 fb 80 jsr L80FB_2 8087: c6 66 dec $66 8089: d0 f6 bne L8081_2 808b: 20 18 83 L808B_2 jsr L8318_2 808e: a5 00 lda $00 8090: 10 0f bpl L80A1_2 8092: 20 d4 c3 jsr LC3D4 8095: 85 66 sta $66 8097: 20 a7 84 L8097_2 jsr T84A7_2 809a: 20 6e 81 jsr L816E_2 809d: c6 66 dec $66 809f: d0 f6 bne L8097_2 80a1: f0 0c L80A1_2 beq L80AF_2 80a3: 85 66 sta $66 80a5: 20 fe 84 L80A5_2 jsr T84FE_2 80a8: 20 34 81 jsr L8134_2 80ab: c6 66 dec $66 80ad: d0 f6 bne L80A5_2 80af: 60 L80AF_2 rts 80b0: bc 02 6b L80B0_1 ldy EnDataIndex,x 80b3: b9 7b 97 lda L960B_1+$170,y 80b6: 0a asl A 80b7: 60 rts 80b8: a6 4b L80B8_2 ldx PageIndex 80ba: b0 3e bcs L80FA_2 80bc: bd 05 04 lda EnCounter-1,x 80bf: 10 06 bpl L80C7_2 80c1: 20 fc 81 L80C1_2 jsr L81FC_2 80c4: 4c f6 80 jmp L80F6_2 80c7: 20 b0 80 L80C7_2 jsr L80B0_1 80ca: 10 1e bpl L80EA_2 80cc: bd 03 6b lda $6b03,x 80cf: f0 f0 beq L80C1_2 80d1: 10 05 bpl L80D8_2 80d3: 20 b1 81 jsr L81B1_2 80d6: f0 0a beq L80E2_2 80d8: 38 L80D8_2 sec 80d9: 7e 02 04 ror $0402,x 80dc: 7e 06 04 ror EnCounter,x 80df: 4c f6 80 jmp L80F6_2 80e2: 9d 02 04 L80E2_2 sta $0402,x 80e5: 9d 06 04 sta EnCounter,x 80e8: f0 0c beq L80F6_2 80ea: b9 7b 97 L80EA_2 lda L960B_1+$170,y 80ed: 4a lsr A 80ee: 4a lsr A 80ef: 90 05 bcc L80F6_2 80f1: a9 04 lda #$04 80f3: 20 6b 85 jsr L856B_2 80f6: a9 01 L80F6_2 lda #$01 80f8: 85 66 sta $66 80fa: 60 L80FA_2 rts 80fb: a6 4b L80FB_2 ldx PageIndex 80fd: b0 34 bcs L8133_2 80ff: bd 05 04 lda EnCounter-1,x 8102: 10 06 bpl L810A_2 8104: 20 fc 81 L8104_2 jsr L81FC_2 8107: 4c 2f 81 jmp L812F_2 810a: 20 b0 80 L810A_2 jsr L80B0_1 810d: 10 14 bpl L8123_2 810f: bd 03 6b lda $6b03,x 8112: f0 f0 beq L8104_2 8114: 10 0a bpl L8120_2 8116: 18 clc 8117: 7e 02 04 ror $0402,x 811a: 7e 06 04 ror EnCounter,x 811d: 4c 2f 81 jmp L812F_2 8120: 20 b1 81 L8120_2 jsr L81B1_2 8123: b9 7b 97 L8123_2 lda L960B_1+$170,y 8126: 4a lsr A 8127: 4a lsr A 8128: 90 05 bcc L812F_2 812a: a9 04 lda #$04 812c: 20 6b 85 jsr L856B_2 812f: a9 01 L812F_2 lda #$01 8131: 85 66 sta $66 8133: 60 L8133_2 rts 8134: a6 4b L8134_2 ldx PageIndex 8136: b0 35 bcs L816D_2 8138: 20 b0 80 jsr L80B0_1 813b: 10 21 bpl L815E_2 813d: bd 05 04 lda EnCounter-1,x 8140: 30 06 bmi L8148_2 8142: 20 c7 81 L8142_2 jsr L81C7_2 8145: 4c 69 81 jmp L8169_2 8148: bd 03 6b L8148_2 lda $6b03,x 814b: f0 f5 beq L8142_2 814d: 10 0a bpl L8159_2 814f: 18 clc 8150: 7e 03 04 ror $0403,x 8153: 7e 07 04 ror $0407,x 8156: 4c 69 81 jmp L8169_2 8159: 20 c0 81 L8159_2 jsr L81C0_2 815c: f0 0b beq L8169_2 815e: b9 7b 97 L815E_2 lda L960B_1+$170,y 8161: 4a lsr A 8162: 90 05 bcc L8169_2 8164: a9 01 lda #$01 8166: 20 6b 85 jsr L856B_2 8169: a9 01 L8169_2 lda #$01 816b: 85 66 sta $66 816d: 60 L816D_2 rts 816e: a6 4b L816E_2 ldx PageIndex 8170: b0 3e bcs L81B0_2 8172: 20 b0 80 jsr L80B0_1 8175: 10 29 bpl L81A0_2 8177: bd 05 04 lda EnCounter-1,x 817a: 30 06 bmi L8182_2 817c: 20 c7 81 L817C_2 jsr L81C7_2 817f: 4c ac 81 jmp L81AC_2 8182: bd 03 6b L8182_2 lda $6b03,x 8185: f0 f5 beq L817C_2 8187: 10 05 bpl L818E_2 8189: 20 c0 81 jsr L81C0_2 818c: f0 0a beq L8198_2 818e: 38 L818E_2 sec 818f: 7e 03 04 ror $0403,x 8192: 7e 07 04 ror $0407,x 8195: 4c ac 81 jmp L81AC_2 8198: 9d 03 04 L8198_2 sta $0403,x 819b: 9d 07 04 sta $0407,x 819e: f0 0c beq L81AC_2 81a0: 20 b0 80 L81A0_2 jsr L80B0_1 81a3: 4a lsr A 81a4: 4a lsr A 81a5: 90 05 bcc L81AC_2 81a7: a9 01 lda #$01 81a9: 20 6b 85 jsr L856B_2 81ac: a9 01 L81AC_2 lda #$01 81ae: 85 66 sta $66 81b0: 60 L81B0_2 rts 81b1: 20 b8 81 L81B1_2 jsr L81B8_2 81b4: 9d fe 6a sta $6afe,x 81b7: 60 rts 81b8: a9 20 L81B8_2 lda #$20 81ba: 20 44 f7 jsr LF744 81bd: a9 00 lda #$00 81bf: 60 rts 81c0: 20 b8 81 L81C0_2 jsr L81B8_2 81c3: 9d ff 6a sta $6aff,x 81c6: 60 rts 81c7: 20 f6 81 L81C7_2 jsr L81F6_2 81ca: d0 29 bne L81F5_2 81cc: a9 01 lda #$01 81ce: 20 6b 85 jsr L856B_2 81d1: bd ff 6a lda $6aff,x 81d4: 20 d4 c3 jsr LC3D4 81d7: 9d ff 6a sta $6aff,x 81da: 20 f6 81 jsr L81F6_2 81dd: d0 16 bne L81F5_2 81df: 20 b0 80 jsr L80B0_1 81e2: 38 sec 81e3: 10 08 bpl L81ED_2 81e5: a9 00 lda #$00 81e7: fd 07 04 sbc $0407,x 81ea: 9d 07 04 sta $0407,x 81ed: a9 00 L81ED_2 lda #$00 81ef: fd 03 04 sbc $0403,x 81f2: 9d 03 04 sta $0403,x 81f5: 60 L81F5_2 rts 81f6: 20 4b f7 L81F6_2 jsr LF74B 81f9: 29 20 and #$20 81fb: 60 rts 81fc: 20 f6 81 L81FC_2 jsr L81F6_2 81ff: d0 f4 bne L81F5_2 8201: a9 04 lda #$04 8203: 20 6b 85 jsr L856B_2 8206: bd fe 6a lda $6afe,x 8209: 20 d4 c3 jsr LC3D4 820c: 9d fe 6a sta $6afe,x 820f: 20 f6 81 jsr L81F6_2 8212: d0 16 bne L822A_2 8214: 20 b0 80 jsr L80B0_1 8217: 38 sec 8218: 10 08 bpl L8222_2 821a: a9 00 lda #$00 821c: fd 06 04 sbc EnCounter,x 821f: 9d 06 04 sta EnCounter,x 8222: a9 00 L8222_2 lda #$00 8224: fd 02 04 sbc $0402,x 8227: 9d 02 04 sta $0402,x 822a: 60 L822A_2 rts 822b: bd 05 04 L822B_2 lda EnCounter-1,x 822e: 10 02 bpl L8232_2 8230: 4a lsr A 8231: 4a lsr A 8232: 4a L8232_2 lsr A 8233: bd 08 04 lda EnDelay-1,x 8236: 2a rol A 8237: 0a asl A 8238: a8 tay 8239: b9 db 96 lda L960B_1+208,y 823c: 85 81 sta HideShowEndMsg 823e: b9 dc 96 lda L960B_1+209,y 8241: 85 82 sta ClrChangeCounter 8243: 60 rts 8244: 20 b0 80 L8244_2 jsr L80B0_1 8247: 10 03 bpl L824C_2 8249: 4c 3f 83 jmp L833F_2 824c: bd 05 04 L824C_2 lda EnCounter-1,x 824f: 29 20 and #$20 8251: 49 20 eor #$20 8253: f0 4d beq L82A2_3 8255: 20 2b 82 jsr L822B_2 8258: bc 06 04 L8258_2 ldy EnCounter,x 825b: b1 81 L825B_2 lda (HideShowEndMsg),y 825d: c9 f0 cmp #$f0 825f: 90 1e bcc L827F_3 8261: c9 fa cmp #$fa 8263: f0 17 beq L827C_2 8265: c9 fb cmp #$fb 8267: f0 47 beq L82B0_2 8269: c9 fc cmp #$fc 826b: f0 46 beq L82B3_2 826d: c9 fd cmp #$fd 826f: f0 34 beq L82A5_2 8271: c9 fe cmp #$fe 8273: f0 69 beq L82DE_2 8275: a9 00 lda #$00 8277: 9d 06 04 sta EnCounter,x 827a: f0 dc beq L8258_2 827c: 4c 12 83 L827C_2 jmp L8312_2 827f: 38 L827F_3 sec 8280: fd 09 04 sbc EnDelay,x 8283: d0 0b bne L8290_2 8285: 9d 09 04 sta EnDelay,x 8288: c8 iny 8289: c8 iny 828a: 98 tya 828b: 9d 06 04 sta EnCounter,x 828e: d0 cb bne L825B_2 8290: fe 09 04 L8290_2 inc EnDelay,x 8293: c8 iny 8294: b1 81 lda (HideShowEndMsg),y 8296: 0a asl A 8297: 08 php 8298: 20 be c2 jsr LC2BE 829b: 28 plp 829c: 90 04 bcc L82A2_3 829e: 49 ff eor #$ff 82a0: 69 00 adc #$00 82a2: 85 00 L82A2_3 sta $00 82a4: 60 rts 82a5: fe 06 04 L82A5_2 inc EnCounter,x 82a8: c8 iny 82a9: a9 00 lda #$00 82ab: 9d 01 6b sta EnDataIndex-1,x 82ae: f0 ab beq L825B_2 82b0: 68 L82B0_2 pla 82b1: 68 pla 82b2: 60 rts 82b3: bd 03 6b L82B3_2 lda $6b03,x 82b6: 10 06 bpl L82BE_2 82b8: 20 70 e7 jsr LE770 82bb: 4c c3 82 jmp L82C3_2 82be: f0 12 L82BE_2 beq L82D2_2 82c0: 20 7b e7 jsr LE77B 82c3: a6 4b L82C3_2 ldx PageIndex 82c5: b0 0b bcs L82D2_2 82c7: bc 06 04 ldy EnCounter,x 82ca: c8 iny 82cb: a9 00 lda #$00 82cd: 9d 03 6b sta $6b03,x 82d0: f0 05 beq L82D7_2 82d2: bc 06 04 L82D2_2 ldy EnCounter,x 82d5: 88 dey 82d6: 88 dey 82d7: 98 L82D7_2 tya 82d8: 9d 06 04 sta EnCounter,x 82db: 4c 5b 82 jmp L825B_2 82de: 88 L82DE_2 dey 82df: 88 dey 82e0: 98 tya 82e1: 9d 06 04 sta EnCounter,x 82e4: bd 03 6b lda $6b03,x 82e7: 10 06 bpl L82EF_2 82e9: 20 70 e7 jsr LE770 82ec: 4c f4 82 jmp L82F4_2 82ef: f0 0a L82EF_2 beq L82FB_2 82f1: 20 7b e7 jsr LE77B 82f4: a6 4b L82F4_2 ldx PageIndex 82f6: 90 03 bcc L82FB_2 82f8: 4c 58 82 jmp L8258_2 82fb: bc 02 6b L82FB_2 ldy EnDataIndex,x 82fe: b9 8b 96 lda L960B_1+128,y 8301: 29 20 and #$20 8303: f0 0d beq L8312_2 8305: bd 05 04 lda EnCounter-1,x 8308: 49 05 eor #$05 830a: 19 8b 96 ora L960B_1+128,y 830d: 29 1f and #$1f 830f: 9d 05 04 sta EnCounter-1,x 8312: 20 b1 81 L8312_2 jsr L81B1_2 8315: 4c a2 82 jmp L82A2_3 8318: 20 b0 80 L8318_2 jsr L80B0_1 831b: 10 03 bpl L8320_2 831d: 4c 95 83 jmp L8395_2 8320: bd 05 04 L8320_2 lda EnCounter-1,x 8323: 29 20 and #$20 8325: 49 20 eor #$20 8327: f0 13 beq L833C_2 8329: bc 06 04 ldy EnCounter,x 832c: c8 iny 832d: b1 81 lda (HideShowEndMsg),y 832f: aa tax 8330: 29 08 and #$08 8332: 08 php 8333: 8a txa 8334: 29 07 and #$07 8336: 28 plp 8337: f0 03 beq L833C_2 8339: 20 d4 c3 jsr LC3D4 833c: 85 00 L833C_2 sta $00 833e: 60 rts 833f: a0 0e L833F_2 ldy #$0e 8341: bd fe 6a lda $6afe,x 8344: 30 18 bmi L835E_2 8346: 18 clc 8347: 7d 06 04 adc EnCounter,x 834a: 9d 06 04 sta EnCounter,x 834d: bd 02 04 lda $0402,x 8350: 69 00 adc #$00 8352: 9d 02 04 sta $0402,x 8355: 10 1f bpl L8376_2 8357: 20 d4 c3 L8357_2 jsr LC3D4 835a: a0 f2 ldy #$f2 835c: d0 18 bne L8376_2 835e: 20 d4 c3 L835E_2 jsr LC3D4 8361: 38 sec 8362: 85 00 sta $00 8364: bd 06 04 lda EnCounter,x 8367: e5 00 sbc $00 8369: 9d 06 04 sta EnCounter,x 836c: bd 02 04 lda $0402,x 836f: e9 00 sbc #$00 8371: 9d 02 04 sta $0402,x 8374: 30 e1 bmi L8357_2 8376: c9 0e L8376_2 cmp #$0e 8378: 90 09 bcc L8383_2 837a: a9 00 lda #$00 837c: 9d 06 04 sta EnCounter,x 837f: 98 tya 8380: 9d 02 04 sta $0402,x 8383: bd fc 6a L8383_2 lda $6afc,x 8386: 18 clc 8387: 7d 06 04 adc EnCounter,x 838a: 9d fc 6a sta $6afc,x 838d: a9 00 lda #$00 838f: 7d 02 04 adc $0402,x 8392: 85 00 sta $00 8394: 60 rts 8395: a9 00 L8395_2 lda #$00 8397: 85 00 sta $00 8399: 85 02 sta $02 839b: a9 0e lda #$0e 839d: 85 01 sta $01 839f: 85 03 sta $03 83a1: bd 07 04 lda $0407,x 83a4: 18 clc 83a5: 7d ff 6a adc $6aff,x 83a8: 9d 07 04 sta $0407,x 83ab: 85 04 sta $04 83ad: a9 00 lda #$00 83af: bc ff 6a ldy $6aff,x 83b2: 10 02 bpl L83B6_2 83b4: a9 ff lda #$ff 83b6: 7d 03 04 L83B6_2 adc $0403,x 83b9: 9d 03 04 sta $0403,x 83bc: a8 tay 83bd: 10 11 bpl L83D0_2 83bf: a9 00 lda #$00 83c1: 38 sec 83c2: fd 07 04 sbc $0407,x 83c5: 85 04 sta $04 83c7: a9 00 lda #$00 83c9: fd 03 04 sbc $0403,x 83cc: a8 tay 83cd: 20 49 e4 jsr LE449 83d0: a5 04 L83D0_2 lda $04 83d2: c5 02 cmp $02 83d4: 98 tya 83d5: e5 03 sbc $03 83d7: 90 0a bcc L83E3_2 83d9: a5 00 lda $00 83db: 9d 07 04 sta $0407,x 83de: a5 01 lda $01 83e0: 9d 03 04 sta $0403,x 83e3: bd fd 6a L83E3_2 lda $6afd,x 83e6: 18 clc 83e7: 7d 07 04 adc $0407,x 83ea: 9d fd 6a sta $6afd,x 83ed: a9 00 lda #$00 83ef: 7d 03 04 adc $0403,x 83f2: 85 00 sta $00 83f4: 60 rts 83f5: a6 4b T83F5_2 ldx PageIndex 83f7: bd 00 04 lda EnYRoomPos,x 83fa: 38 sec 83fb: fd f5 6a sbc EnRadY,x 83fe: 29 07 and #$07 8400: 38 sec 8401: d0 03 bne L8406_2 8403: 20 70 e7 jsr LE770 8406: a0 00 L8406_2 ldy #$00 8408: 84 00 sty $00 840a: a6 4b ldx PageIndex 840c: 90 3c bcc L844A_2 840e: e6 00 inc $00 8410: bc 00 04 ldy EnYRoomPos,x 8413: d0 14 bne L8429_2 8415: a0 f0 ldy #$f0 8417: a5 49 lda ScrollDir 8419: c9 02 cmp #$02 841b: b0 0c bcs L8429_2 841d: a5 fc lda ScrollY 841f: f0 29 beq L844A_2 8421: 20 63 85 jsr L8563_2 8424: f0 24 beq L844A_2 8426: 20 5a 85 jsr L855A_2 8429: 88 L8429_2 dey 842a: 98 tya 842b: 9d 00 04 sta EnYRoomPos,x 842e: dd f5 6a cmp EnRadY,x 8431: d0 0e bne L8441_2 8433: a5 fc lda ScrollY 8435: f0 05 beq L843C_2 8437: 20 63 85 jsr L8563_2 843a: d0 05 bne L8441_2 843c: fe 00 04 L843C_2 inc EnYRoomPos,x 843f: 18 clc 8440: 60 rts 8441: bd 05 04 L8441_2 lda EnCounter-1,x 8444: 30 03 bmi L8449_2 8446: fe 01 6b inc EnDataIndex-1,x 8449: 38 L8449_2 sec 844a: 60 L844A_2 rts 844b: a6 4b T844B_2 ldx PageIndex 844d: bd 00 04 lda EnYRoomPos,x 8450: 18 clc 8451: 7d f5 6a adc EnRadY,x 8454: 29 07 and #$07 8456: 38 sec 8457: d0 03 bne L845C_2 8459: 20 7b e7 jsr LE77B 845c: a0 00 L845C_2 ldy #$00 845e: 84 00 sty $00 8460: a6 4b ldx PageIndex 8462: 90 42 bcc L84A6_2 8464: e6 00 inc $00 8466: bc 00 04 ldy EnYRoomPos,x 8469: c0 ef cpy #$ef 846b: d0 14 bne L8481_2 846d: a0 ff ldy #$ff 846f: a5 49 lda ScrollDir 8471: c9 02 cmp #$02 8473: b0 0c bcs L8481_2 8475: a5 fc lda ScrollY 8477: f0 2d beq L84A6_2 8479: 20 63 85 jsr L8563_2 847c: d0 28 bne L84A6_2 847e: 20 5a 85 jsr L855A_2 8481: c8 L8481_2 iny 8482: 98 tya 8483: 9d 00 04 sta EnYRoomPos,x 8486: 18 clc 8487: 7d f5 6a adc EnRadY,x 848a: c9 ef cmp #$ef 848c: d0 0f bne L849D_2 848e: a5 fc lda ScrollY 8490: f0 05 beq L8497_2 8492: 20 63 85 jsr L8563_2 8495: f0 06 beq L849D_2 8497: de 00 04 L8497_2 dec EnYRoomPos,x 849a: 18 clc 849b: 90 09 bcc L84A6_2 849d: bd 05 04 L849D_2 lda EnCounter-1,x 84a0: 30 03 bmi L84A5_2 84a2: de 01 6b dec EnDataIndex-1,x 84a5: 38 L84A5_2 sec 84a6: 60 L84A6_2 rts 84a7: a6 4b T84A7_2 ldx PageIndex 84a9: bd 01 04 lda EnXRoomPos,x 84ac: 38 sec 84ad: fd f6 6a sbc EnRadX,x 84b0: 29 07 and #$07 84b2: 38 sec 84b3: d0 03 bne L84B8_2 84b5: 20 f1 e8 jsr LE8F1 84b8: a0 00 L84B8_2 ldy #$00 84ba: 84 00 sty $00 84bc: a6 4b ldx PageIndex 84be: 90 3d bcc L84FD_2 84c0: e6 00 inc $00 84c2: bc 01 04 ldy EnXRoomPos,x 84c5: d0 13 bne L84DA_2 84c7: a5 49 lda ScrollDir 84c9: c9 02 cmp #$02 84cb: 90 0d bcc L84DA_2 84cd: a5 fd lda ScrollX 84cf: f0 03 beq L84D4_2 84d1: 20 63 85 jsr L8563_2 84d4: 18 L84D4_2 clc 84d5: f0 26 beq L84FD_2 84d7: 20 5a 85 jsr L855A_2 84da: de 01 04 L84DA_2 dec EnXRoomPos,x 84dd: bd 01 04 lda EnXRoomPos,x 84e0: dd f6 6a cmp EnRadX,x 84e3: d0 0f bne L84F4_2 84e5: a5 fd lda ScrollX 84e7: f0 05 beq L84EE_2 84e9: 20 63 85 jsr L8563_2 84ec: d0 06 bne L84F4_2 84ee: fe 01 04 L84EE_2 inc EnXRoomPos,x 84f1: 18 clc 84f2: 90 09 bcc L84FD_2 84f4: bd 05 04 L84F4_2 lda EnCounter-1,x 84f7: 10 03 bpl L84FC_2 84f9: fe 01 6b inc EnDataIndex-1,x 84fc: 38 L84FC_2 sec 84fd: 60 L84FD_2 rts 84fe: a6 4b T84FE_2 ldx PageIndex 8500: bd 01 04 lda EnXRoomPos,x 8503: 18 clc 8504: 7d f6 6a adc EnRadX,x 8507: 29 07 and #$07 8509: 38 sec 850a: d0 03 bne L850F_2 850c: 20 fc e8 jsr LE8FC 850f: a0 00 L850F_2 ldy #$00 8511: 84 00 sty $00 8513: a6 4b ldx PageIndex 8515: 90 42 bcc L8559_2 8517: e6 00 inc $00 8519: fe 01 04 inc EnXRoomPos,x 851c: d0 18 bne L8536_2 851e: a5 49 lda ScrollDir 8520: c9 02 cmp #$02 8522: 90 12 bcc L8536_2 8524: a5 fd lda ScrollX 8526: f0 05 beq L852D_2 8528: 20 63 85 jsr L8563_2 852b: f0 06 beq L8533_2 852d: de 01 04 L852D_2 dec EnXRoomPos,x 8530: 18 clc 8531: 90 26 bcc L8559_2 8533: 20 5a 85 L8533_2 jsr L855A_2 8536: bd 01 04 L8536_2 lda EnXRoomPos,x 8539: 18 clc 853a: 7d f6 6a adc EnRadX,x 853d: c9 ff cmp #$ff 853f: d0 0f bne L8550_2 8541: a5 fd lda ScrollX 8543: f0 05 beq L854A_2 8545: 20 63 85 jsr L8563_2 8548: f0 06 beq L8550_2 854a: de 01 04 L854A_2 dec EnXRoomPos,x 854d: 18 clc 854e: 90 09 bcc L8559_2 8550: bd 05 04 L8550_2 lda EnCounter-1,x 8553: 10 03 bpl L8558_2 8555: de 01 6b dec EnDataIndex-1,x 8558: 38 L8558_2 sec 8559: 60 L8559_2 rts 855a: bd fb 6a L855A_2 lda EnNameTable,x 855d: 49 01 eor #$01 855f: 9d fb 6a sta EnNameTable,x 8562: 60 rts 8563: bd fb 6a L8563_2 lda EnNameTable,x 8566: 45 ff eor PPUCNT0ZP 8568: 29 01 and #$01 856a: 60 rts 856b: 5d 05 04 L856B_2 eor EnCounter-1,x 856e: 9d 05 04 sta EnCounter-1,x 8571: 60 rts 8572: 03 04 05 ff+ .bulk $03,$04,$05,$ff,$07,$ff,$17,$08,$ff,$22,$ff,$04,$10,$ff,$17,$18 + $19,$1a,$ff,$03,$17,$ff,$1e,$1d,$1c,$1b,$ff,$28,$ff,$2a,$f7,$ff + $12,$ff,$0c,$0d,$0e,$ff,$30,$2b,$ff,$31,$31,$33,$f7,$ff,$33,$33 + $31,$ff,$35,$ff,$39,$38,$ff,$40,$41,$42,$ff,$46,$ff,$47,$ff,$48 + $ff,$07,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$f7,$f7,$07,$f7,$ff + $23,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$f7,$f7,$23,$f7,$ff,$07 + $f7,$f7,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$07,$f7,$ff,$23,$f7 + $f7,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$23,$f7,$ff,$4b,$ff,$4e + $4f,$ff,$3c,$4a,$49,$4a,$4d,$4a,$4d,$f7,$ff,$26,$ff,$25,$ff,$27 + $ff,$67,$67,$67,$68,$68,$69,$f7,$ff 860b: cb 87 .dd2 L86FD_1+206 860d: cb 87 .dd2 L86FD_1+206 860f: cb 87 .dd2 L86FD_1+206 8611: cb 87 .dd2 L86FD_1+206 8613: dd 87 .dd2 L86FD_1+224 8615: f0 87 .dd2 L86FD_1+243 8617: 02 88 .dd2 L86FD_1+$105 8619: 02 88 .dd2 L86FD_1+$105 861b: 18 88 .dd2 L86FD_1+$11b 861d: 2c 88 .dd2 L86FD_1+$12f 861f: 2c 88 .dd2 L86FD_1+$12f 8621: 2c 88 .dd2 L86FD_1+$12f 8623: 2c 88 .dd2 L86FD_1+$12f 8625: 3e 88 .dd2 L86FD_1+$141 8627: 51 88 .dd2 L86FD_1+$154 8629: 63 88 .dd2 L86FD_1+$166 862b: 63 88 .dd2 L86FD_1+$166 862d: 74 88 .dd2 L86FD_1+$177 862f: 74 88 .dd2 L86FD_1+$177 8631: 85 88 .dd2 L86FD_1+$188 8633: 85 88 .dd2 L86FD_1+$188 8635: 85 88 .dd2 L86FD_1+$188 8637: 85 88 .dd2 L86FD_1+$188 8639: 85 88 .dd2 L86FD_1+$188 863b: 8f 88 .dd2 L86FD_1+$192 863d: 99 88 .dd2 L86FD_1+$19c 863f: a3 88 .dd2 L86FD_1+$1a6 8641: ad 88 .dd2 L86FD_1+$1b0 8643: b8 88 .dd2 L86FD_1+$1bb 8645: c3 88 .dd2 L86FD_1+$1c6 8647: ce 88 .dd2 L86FD_1+$1d1 8649: d9 88 .dd2 L86FD_1+$1dc 864b: d9 88 .dd2 L86FD_1+$1dc 864d: d9 88 .dd2 L86FD_1+$1dc 864f: d9 88 .dd2 L86FD_1+$1dc 8651: ee 88 .dd2 L86FD_1+$1f1 8653: f8 88 .dd2 L86FD_1+$1fb 8655: f8 88 .dd2 L86FD_1+$1fb 8657: fe 88 .dd2 L86FD_1+$201 8659: 04 89 .dd2 L86FD_1+$207 865b: 0a 89 .dd2 L86FD_1+$20d 865d: 0f 89 .dd2 L86FD_1+$212 865f: 0f 89 .dd2 L86FD_1+$212 8661: 14 89 .dd2 L86FD_1+$217 8663: 28 89 .dd2 L86FD_1+$22b 8665: 28 89 .dd2 L86FD_1+$22b 8667: 28 89 .dd2 L86FD_1+$22b 8669: 28 89 .dd2 L86FD_1+$22b 866b: 28 89 .dd2 L86FD_1+$22b 866d: 3c 89 .dd2 L86FD_1+$23f 866f: 48 89 .dd2 L86FD_1+$24b 8671: 48 89 .dd2 L86FD_1+$24b 8673: 54 89 .dd2 L86FD_1+$257 8675: 54 89 .dd2 L86FD_1+$257 8677: 61 89 .dd2 L86FD_1+$264 8679: 61 89 .dd2 L86FD_1+$264 867b: 61 89 .dd2 L86FD_1+$264 867d: 74 89 .dd2 L86FD_1+$277 867f: 87 89 .dd2 L86FD_1+$28a 8681: 87 89 .dd2 L86FD_1+$28a 8683: 87 89 .dd2 L86FD_1+$28a 8685: 95 89 .dd2 L86FD_1+$298 8687: 95 89 .dd2 L86FD_1+$298 8689: 95 89 .dd2 L86FD_1+$298 868b: 95 89 .dd2 L86FD_1+$298 868d: a9 89 .dd2 L86FD_1+$2ac 868f: be 89 .dd2 L86FD_1+$2c1 8691: d2 89 .dd2 L86FD_1+$2d5 8693: d2 89 .dd2 L86FD_1+$2d5 8695: d2 89 .dd2 L86FD_1+$2d5 8697: d2 89 .dd2 L86FD_1+$2d5 8699: e6 89 .dd2 L86FD_1+$2e9 869b: fb 89 .dd2 L86FD_1+$2fe 869d: 0f 8a .dd2 L86FD_1+$312 869f: 1d 8a .dd2 L86FD_1+$320 86a1: 21 8a .dd2 L86FD_1+$324 86a3: 26 8a .dd2 L86FD_1+$329 86a5: 26 8a .dd2 L86FD_1+$329 86a7: 3c 8a .dd2 L86FD_1+$33f 86a9: 41 8a .dd2 L86FD_1+$344 86ab: 46 8a .dd2 L86FD_1+$349 86ad: 4e 8a .dd2 L86FD_1+$351 86af: 56 8a .dd2 L86FD_1+$359 86b1: 5e 8a .dd2 L86FD_1+$361 86b3: 66 8a .dd2 L86FD_1+$369 86b5: 6e 8a .dd2 L86FD_1+$371 86b7: 76 8a .dd2 L86FD_1+$379 86b9: 7e 8a .dd2 L86FD_1+$381 86bb: 86 8a .dd2 L86FD_1+$389 86bd: 8e 8a .dd2 L86FD_1+$391 86bf: 9c 8a .dd2 L86FD_1+$39f 86c1: a1 8a .dd2 L86FD_1+$3a4 86c3: a6 8a .dd2 L86FD_1+$3a9 86c5: ae 8a .dd2 L86FD_1+$3b1 86c7: ba 8a .dd2 L86FD_1+$3bd 86c9: c4 8a .dd2 L86FD_1+$3c7 86cb: c4 8a .dd2 L86FD_1+$3c7 86cd: c4 8a .dd2 L86FD_1+$3c7 86cf: c4 8a .dd2 L86FD_1+$3c7 86d1: c4 8a .dd2 L86FD_1+$3c7 86d3: c4 8a .dd2 L86FD_1+$3c7 86d5: c4 8a .dd2 L86FD_1+$3c7 86d7: d8 8a .dd2 L86FD_1+$3db 86d9: e9 8a .dd2 L86FD_1+$3ec 86db: f3 8a .dd2 L86FD_1+$3f6 86dd: 03 8b .dd2 L86FD_1+$406 86df: 01 87 .dd2 L86FD_1+4 86e1: 1f 87 .dd2 L86FD_1+34 86e3: 2b 87 .dd2 L86FD_1+46 86e5: 37 87 .dd2 L86FD_1+58 86e7: 47 87 .dd2 L86FD_1+74 86e9: 51 87 .dd2 L86FD_1+84 86eb: fd 86 .dd2 L86FD_1 86ed: 5d 87 .dd2 L86FD_1+96 86ef: 75 87 .dd2 L86FD_1+120 86f1: 8d 87 .dd2 L86FD_1+144 86f3: 91 87 .dd2 L86FD_1+148 86f5: 99 87 .dd2 L86FD_1+156 86f7: a5 87 .dd2 L86FD_1+168 86f9: 49 87 .dd2 L86FD_1+76 86fb: b1 87 .dd2 L86FD_1+180 86fd: e8 fc ea fc+ L86FD_1 .bulk $e8,$fc,$ea,$fc,$f0,$f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$00,$f8 + $00,$00,$00,$08,$08,$f8,$08,$00,$08,$08,$f8,$f4,$f8,$f6,$ec,$f4 + $ee,$f4,$f3,$f8,$f3,$00,$fb,$f8,$fb,$00,$03,$f8,$03,$00,$f8,$f6 + $f8,$fe,$f8,$06,$00,$f6,$00,$fe,$00,$06,$fc,$f0,$fc,$f8,$fc,$00 + $fc,$08,$fc,$10,$fc,$18,$fc,$20,$fc,$28,$fc,$fc,$f8,$f8,$f8,$00 + $00,$f8,$00,$00,$e8,$00,$f0,$00,$f8,$00,$00,$00,$08,$00,$10,$00 + $80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8,$f4,$00 + $fc,$f8,$fc,$00,$04,$f8,$04,$00,$f0,$00,$f0,$08,$f8,$08,$f0,$f0 + $f0,$f8,$f8,$f0,$00,$f0,$08,$f0,$08,$f8,$00,$08,$08,$00,$08,$08 + $f8,$fc,$00,$fc,$fc,$f8,$fc,$00,$fc,$10,$fc,$18,$fc,$f0,$f4,$f8 + $f4,$00,$fc,$08,$04,$f8,$04,$00,$fc,$e8,$ec,$f0,$ec,$08,$fc,$10 + $0c,$f0,$0c,$08,$00,$f8,$00,$00,$08,$f8,$08,$00,$e8,$f0,$e8,$f8 + $e8,$00,$f0,$f0,$f0,$f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$40,$0f + $04,$00,$01,$fd,$20,$fe,$41,$40,$fd,$60,$20,$21,$fe,$fe,$31,$ff + $40,$0f,$04,$02,$03,$fd,$20,$fe,$43,$42,$fd,$60,$22,$23,$fe,$32 + $33,$34,$ff,$40,$0f,$04,$05,$06,$fd,$20,$fe,$45,$44,$fd,$60,$25 + $26,$27,$35,$36,$ff,$00,$0f,$04,$09,$fd,$60,$09,$fd,$20,$fe,$19 + $1a,$fd,$20,$29,$2a,$fe,$39,$fd,$60,$39,$ff,$40,$0f,$04,$fd,$20 + $0e,$0d,$fe,$1e,$1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$17,$ff,$40 + $0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$20,$21,$fe,$fe,$31 + $ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$22,$23,$fe + $32,$33,$34,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60 + $25,$26,$27,$35,$36,$ff,$40,$0f,$04,$00,$01,$fd,$20,$fe,$41,$40 + $fd,$60,$22,$07,$08,$32,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a + $49,$fd,$60,$22,$07,$08,$32,$ff,$41,$0f,$04,$52,$53,$62,$63,$72 + $73,$ff,$42,$0f,$04,$54,$55,$56,$64,$65,$66,$ff,$81,$0f,$04,$52 + $53,$62,$63,$72,$73,$ff,$82,$0f,$04,$54,$55,$56,$64,$65,$66,$ff + $01,$08,$04,$fc,$03,$00,$50,$51,$60,$61,$ff,$81,$08,$04,$fc,$fd + $00,$50,$51,$60,$61,$ff,$c1,$08,$04,$fc,$fd,$00,$50,$51,$60,$61 + $ff,$41,$08,$04,$fc,$03,$00,$50,$51,$60,$61,$ff,$40,$0f,$04,$fd + $20,$0e,$0d,$fe,$1e,$1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$fe,$17 + $ff,$03,$04,$10,$28,$38,$38,$fd,$60,$28,$ff,$4a,$04,$08,$5e,$5f + $ff,$0a,$04,$08,$5e,$5f,$ff,$09,$08,$04,$14,$24,$ff,$04,$02,$02 + $30,$ff,$04,$00,$00,$04,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79 + $fe,$78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$46,$0f,$04,$fe,$69 + $fd,$20,$7a,$79,$fe,$78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$35 + $18,$08,$0f,$1f,$2f,$fd,$a3,$2f,$1f,$0f,$ff,$35,$18,$04,$6a,$6b + $6c,$fd,$a3,$6c,$6b,$6a,$ff,$07,$00,$00,$fc,$fc,$00,$0b,$0c,$1b + $1c,$2b,$2c,$ff,$46,$0f,$04,$69,$fd,$20,$fe,$7a,$79,$fe,$78,$77 + $fd,$60,$22,$07,$08,$32,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79 + $fe,$78,$77,$fd,$60,$22,$07,$08,$32,$ff,$0d,$0c,$0c,$74,$fd,$60 + $74,$fd,$a0,$74,$fd,$e0,$74,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a + $79,$fe,$78,$77,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$69 + $fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34 + $ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25 + $26,$27,$35,$36,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79,$fe,$78 + $77,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$fe,$69,$fd,$20 + $7a,$79,$fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34,$ff,$46,$0f + $04,$fe,$69,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25,$26,$27,$35 + $36,$ff,$0d,$0c,$0c,$75,$fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff + $00,$00,$00,$ff,$04,$04,$04,$4c,$ff,$08,$10,$10,$3d,$3e,$4e,$fd + $60,$3e,$3d,$4e,$fd,$e0,$4e,$3e,$3d,$fd,$a0,$4e,$3d,$3e,$ff,$04 + $04,$04,$70,$ff,$04,$04,$04,$71,$ff,$0d,$03,$03,$86,$87,$96,$97 + $ff,$0d,$03,$03,$7b,$7c,$8b,$8c,$ff,$0d,$03,$03,$88,$67,$98,$99 + $ff,$0d,$03,$03,$80,$81,$90,$91,$ff,$0d,$03,$03,$7d,$7e,$8d,$8e + $ff,$0d,$03,$03,$82,$83,$92,$93,$ff,$0d,$03,$03,$88,$89,$98,$99 + $ff,$0d,$03,$03,$88,$68,$98,$99,$ff,$0d,$03,$03,$84,$85,$94,$95 + $ff,$0d,$03,$03,$3f,$fd,$40,$3f,$fd,$00,$4f,$fd,$40,$4f,$ff,$34 + $04,$04,$f2,$ff,$04,$00,$00,$5a,$ff,$13,$00,$00,$b0,$b1,$b2,$b3 + $ff,$13,$00,$00,$b4,$b5,$b6,$b7,$b8,$b6,$b9,$b3,$ff,$13,$00,$00 + $b3,$ba,$ba,$fe,$80,$80,$ff,$1e,$00,$08,$fa,$fb,$fa,$fb,$fc,$00 + $04,$c5,$c6,$c7,$d5,$d6,$d7,$e5,$e6,$e7,$ff,$1e,$00,$08,$fa,$fb + $fa,$fb,$fe,$c8,$c9,$eb,$d8,$d9,$ea,$e8,$e9,$ff,$0a,$04,$08,$fd + $00,$57,$fd,$40,$57,$ff,$0b,$04,$0c,$fd,$00,$57,$18,$fd,$40,$18 + $57,$fd,$c0,$18,$18,$ff,$0c,$04,$10,$fd,$00,$57,$18,$fd,$40,$18 + $57,$fd,$c0,$18,$18,$ff 8b13: a5 56 lda DoorStatus 8b15: d0 55 bne L8B6C_3 8b17: a4 58 ldy SamusDoorData 8b19: f0 51 beq L8B6C_3 8b1b: 85 95 sta CurrentMissilePickups 8b1d: 85 96 sta CurrentEnergyPickups 8b1f: a5 2e lda RandomNumber1 8b21: 29 0f and #$0f 8b23: 85 93 sta MaxMissilePickup 8b25: 0a asl A 8b26: 09 40 ora #$40 8b28: 85 94 sta MaxEnergyPickup 8b2a: a5 ff lda PPUCNT0ZP 8b2c: 49 01 eor #$01 8b2e: 29 01 and #$01 8b30: a8 tay 8b31: 4a lsr A 8b32: 99 6c 00 sta DoorOnNameTable3,y 8b35: a5 49 lda ScrollDir 8b37: 29 02 and #$02 8b39: d0 10 bne L8B4B_2 8b3b: a2 04 ldx #$04 8b3d: a5 fc lda ScrollY 8b3f: f0 2c beq L8B6D_3 8b41: a5 ff lda PPUCNT0ZP 8b43: 4d 0c 03 eor ObjectHi 8b46: 4a lsr A 8b47: 90 0a bcc L8B53_2 8b49: b0 07 bcs L8B52_2 8b4b: a2 02 L8B4B_2 ldx #$02 8b4d: ad 0e 03 lda ObjectX 8b50: 10 01 bpl L8B53_2 8b52: ca L8B52_2 dex 8b53: 8a L8B53_2 txa 8b54: 85 57 sta DoorScrollStatus 8b56: 20 74 8b jsr L8B74_2 8b59: a9 12 lda #$12 8b5b: 85 59 sta DoorDelay 8b5d: a5 58 lda SamusDoorData 8b5f: 20 c5 c2 jsr LC2C5 8b62: 0d 00 03 ora ObjAction 8b65: 85 58 sta SamusDoorData 8b67: a9 05 lda #$05 8b69: 8d 00 03 sta ObjAction 8b6c: 60 L8B6C_3 rts 8b6d: 20 53 8b L8B6D_3 jsr L8B53_2 8b70: 20 1b e2 jsr LE21B 8b73: 8a txa 8b74: 09 80 L8B74_2 ora #$80 8b76: 85 56 sta DoorStatus 8b78: 60 rts 8b79: a2 b0 ldx #$b0 8b7b: 20 87 8b L8B7B_2 jsr L8B87_2 8b7e: a5 4b lda PageIndex 8b80: 38 sec 8b81: e9 10 sbc #$10 8b83: aa tax 8b84: 30 f5 bmi L8B7B_2 8b86: 60 rts 8b87: 86 4b L8B87_2 stx PageIndex 8b89: bd 00 03 lda ObjAction,x 8b8c: 20 7c c2 jsr ChooseRoutine 8b8f: 5c c4 .dd2 TC45C 8b91: 9d 8b .dd2 T8B9D_2 8b93: d5 8b .dd2 T8BD5_2 8b95: 01 8c .dd2 T8C01_2 8b97: 84 8c .dd2 T8C84_2 8b99: c6 8c .dd2 T8CC6_2 8b9b: f0 8c .dd2 T8CF0_2 8b9d: fe 00 03 T8B9D_2 inc ObjAction,x 8ba0: a9 30 lda #$30 8ba2: 20 fa d2 jsr LD2FA 8ba5: 20 fb 8c jsr L8CFB_2 8ba8: bc 07 03 ldy SamusOnElevator,x 8bab: b9 d1 8b lda L8BD1_2,y 8bae: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bb1: bd 07 03 L8BB1_2 lda SamusOnElevator,x 8bb4: c9 03 cmp #$03 8bb6: d0 02 bne L8BBA_2 8bb8: a9 01 lda #$01 8bba: 09 a0 L8BBA_2 ora #$a0 8bbc: 85 6b sta ObjectCntrl 8bbe: a9 00 lda #$00 8bc0: 9d 0a 03 sta SamusHit,x 8bc3: 8a txa 8bc4: 29 10 and #$10 8bc6: 49 10 eor #$10 8bc8: 05 6b ora ObjectCntrl 8bca: 85 6b sta ObjectCntrl 8bcc: a9 06 lda #$06 8bce: 4c 47 de jmp LDE47 8bd1: 05 L8BD1_2 .dd1 $05 8bd2: 01 .dd1 $01 8bd3: 0a .dd1 $0a 8bd4: 01 .dd1 $01 8bd5: bd 0a 03 T8BD5_2 lda SamusHit,x 8bd8: 29 04 and #$04 8bda: f0 d5 beq L8BB1_2 8bdc: de 0f 03 dec SamusJumpDsplcmnt,x 8bdf: d0 d0 bne L8BB1_2 8be1: a9 03 lda #$03 8be3: dd 07 03 cmp SamusOnElevator,x 8be6: d0 06 bne L8BEE_2 8be8: ac 0b 01 ldy EndTimerHi 8beb: c8 iny 8bec: d0 c3 bne L8BB1_2 8bee: 9d 00 03 L8BEE_2 sta ObjAction,x 8bf1: a9 50 lda #$50 8bf3: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bf6: a9 2c lda #$2c 8bf8: 9d 05 03 sta AnimResetIndex,x 8bfb: 38 sec 8bfc: e9 03 sbc #$03 8bfe: 4c 7e 8c jmp L8C7E_3 8c01: a5 56 T8C01_2 lda DoorStatus 8c03: f0 18 beq L8C1D_2 8c05: ad 0c 03 lda ObjectHi 8c08: 5d 0c 03 eor ObjectHi,x 8c0b: 4a lsr A 8c0c: b0 0f bcs L8C1D_2 8c0e: ad 0e 03 lda ObjectX 8c11: 5d 0e 03 eor ObjectX,x 8c14: 30 07 bmi L8C1D_2 8c16: a9 04 lda #$04 8c18: 9d 00 03 sta ObjAction,x 8c1b: d0 56 bne L8C73_2 8c1d: bd 06 03 L8C1D_2 lda AnimIndex,x 8c20: dd 05 03 cmp AnimResetIndex,x 8c23: 90 4e bcc L8C73_2 8c25: bd 0f 03 lda SamusJumpDsplcmnt,x 8c28: c9 50 cmp #$50 8c2a: d0 2b bne L8C57_2 8c2c: 20 f7 8c jsr L8CF7_3 8c2f: bd 07 03 lda SamusOnElevator,x 8c32: c9 01 cmp #$01 8c34: f0 21 beq L8C57_2 8c36: c9 03 cmp #$03 8c38: f0 1d beq L8C57_2 8c3a: a9 0a lda #$0a 8c3c: 85 09 sta $09 8c3e: bd 0c 03 lda ObjectHi,x 8c41: 85 08 sta $08 8c43: a4 50 ldy MapPosX 8c45: 8a txa 8c46: 20 c5 c2 jsr LC2C5 8c49: 90 01 bcc L8C4C_2 8c4b: 88 dey 8c4c: 98 L8C4C_2 tya 8c4d: 20 1e dc jsr LDC1E 8c50: a9 00 lda #$00 8c52: 9d 00 03 sta ObjAction,x 8c55: f0 1c beq L8C73_2 8c57: a5 2d L8C57_2 lda FrameCount 8c59: 4a lsr A 8c5a: b0 17 bcs L8C73_2 8c5c: de 0f 03 dec SamusJumpDsplcmnt,x 8c5f: d0 12 bne L8C73_2 8c61: a9 01 L8C61_2 lda #$01 8c63: 9d 0f 03 sta SamusJumpDsplcmnt,x 8c66: 20 fb 8c jsr L8CFB_2 8c69: a9 02 lda #$02 8c6b: 9d 00 03 sta ObjAction,x 8c6e: 20 76 8c jsr L8C76_2 8c71: a6 4b L8C71_2 ldx PageIndex 8c73: 4c b1 8b L8C73_2 jmp L8BB1_2 8c76: a9 30 L8C76_2 lda #$30 8c78: 9d 05 03 sta AnimResetIndex,x 8c7b: 38 sec 8c7c: e9 02 sbc #$02 8c7e: 20 fd d2 L8C7E_3 jsr LD2FD 8c81: 4c da cb jmp LCBDA 8c84: a5 56 T8C84_2 lda DoorStatus 8c86: c9 05 cmp #$05 8c88: b0 39 bcs L8CC3_2 8c8a: 20 fb 8c jsr L8CFB_2 8c8d: 20 76 8c jsr L8C76_2 8c90: a6 4b ldx PageIndex 8c92: a5 91 lda $91 8c94: f0 11 beq L8CA7_2 8c96: 8a txa 8c97: 20 bf c2 jsr LC2BF 8c9a: 45 91 eor $91 8c9c: 4a lsr A 8c9d: 90 08 bcc L8CA7_2 8c9f: a5 76 lda PalToggle 8ca1: 49 07 eor #$07 8ca3: 85 76 sta PalToggle 8ca5: 85 1c sta PalDataPending 8ca7: fe 00 03 L8CA7_2 inc ObjAction,x 8caa: a9 00 lda #$00 8cac: 85 91 sta $91 8cae: bd 07 03 lda SamusOnElevator,x 8cb1: c9 03 cmp #$03 8cb3: d0 0e bne L8CC3_2 8cb5: 8a txa 8cb6: 20 c5 c2 jsr LC2C5 8cb9: b0 05 bcs L8CC0_2 8cbb: 20 07 cc jsr LCC07 8cbe: d0 03 bne L8CC3_2 8cc0: 20 03 cc L8CC0_2 jsr LCC03 8cc3: 4c 71 8c L8CC3_2 jmp L8C71_2 8cc6: a5 56 T8CC6_2 lda DoorStatus 8cc8: c9 05 cmp #$05 8cca: d0 21 bne L8CED_2 8ccc: 8a txa 8ccd: 49 10 eor #$10 8ccf: aa tax 8cd0: a9 06 lda #$06 8cd2: 9d 00 03 sta ObjAction,x 8cd5: a9 2c lda #$2c 8cd7: 9d 05 03 sta AnimResetIndex,x 8cda: 38 sec 8cdb: e9 03 sbc #$03 8cdd: 20 fd d2 jsr LD2FD 8ce0: 20 da cb jsr LCBDA 8ce3: 20 73 cb jsr LCB73 8ce6: a6 4b ldx PageIndex 8ce8: a9 02 lda #$02 8cea: 9d 00 03 sta ObjAction,x 8ced: 4c b1 8b L8CED_2 jmp L8BB1_2 8cf0: a5 56 T8CF0_2 lda DoorStatus 8cf2: d0 f9 bne L8CED_2 8cf4: 4c 61 8c jmp L8C61_2 8cf7: a9 ff L8CF7_3 lda #$ff 8cf9: d0 02 bne L8CFD_2 8cfb: a9 4e L8CFB_2 lda #$4e 8cfd: 48 L8CFD_2 pha 8cfe: a9 50 lda #$50 8d00: 85 02 sta $02 8d02: 8a txa 8d03: 20 bf c2 jsr LC2BF 8d06: 29 01 and #$01 8d08: a8 tay 8d09: b9 3a 8d lda L8D3A_2,y 8d0c: 85 03 sta $03 8d0e: bd 0c 03 lda ObjectHi,x 8d11: 85 0b sta $0b 8d13: 20 6a e9 jsr LE96A 8d16: a0 00 ldy #$00 8d18: 68 pla 8d19: 91 04 L8D19_2 sta ($04),y 8d1b: aa tax 8d1c: 98 tya 8d1d: 18 clc 8d1e: 69 20 adc #$20 8d20: a8 tay 8d21: 8a txa 8d22: c0 c0 cpy #$c0 8d24: d0 f3 bne L8D19_2 8d26: a6 4b ldx PageIndex 8d28: 8a txa 8d29: 20 c0 c2 jsr LC2C0 8d2c: 29 06 and #$06 8d2e: a8 tay 8d2f: a5 04 lda $04 8d31: 99 5c 00 sta $005c,y 8d34: a5 05 lda $05 8d36: 99 5d 00 sta $005d,y 8d39: 60 rts 8d3a: e8 10 60 ad+ L8D3A_2 .bulk $e8,$10,$60,$ad,$91,$69,$8d,$78,$68,$ad,$92,$69,$8d,$79,$68,$a9 + $00,$85,$00,$85,$02,$ad,$97,$69,$29,$80,$f0,$06,$a5,$00,$09,$80 + $85,$00,$ad,$97,$69,$29 8d60: 00 00 00 00+ .bulk $00,$00,$00,$00,$01,$01,$03,$03,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$3c,$ff,$ff,$bd,$5a,$24,$00,$00,$00,$20,$00,$42,$e7,$ff + $00,$00,$00,$00,$00,$01,$01,$03,$00,$00,$00,$00,$00,$00,$0c,$1c + $00,$00,$00,$3c,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$40,$80,$00 + $00,$00,$00,$00,$00,$80,$a0,$f0,$00,$00,$00,$00,$00,$00,$20,$30 + $1d,$39,$38,$70,$f0,$f0,$f0,$e0,$1d,$39,$18,$60,$f0,$f0,$f0,$e0 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $80,$80,$00,$00,$00,$00,$00,$00,$80,$80,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $e7,$e7,$c3,$c3,$42,$c3,$e7,$e7,$e7,$e7,$c3,$00,$42,$c3,$e7,$e7 + $0e,$0d,$07,$0e,$1c,$19,$1b,$1a,$0e,$0d,$07,$0e,$1c,$18,$18,$18 + $7c,$6d,$39,$10,$38,$ff,$ff,$7c,$00,$11,$01,$00,$00,$00,$00,$82 + $88,$0c,$8c,$dc,$5c,$0c,$88,$98,$80,$00,$80,$c0,$40,$00,$00,$00 + $00,$00,$01,$03,$03,$07,$07,$0e,$00,$00,$01,$03,$03,$07,$07,$0e + $1c,$7e,$ff,$e7,$99,$3d,$7c,$56,$1c,$7e,$ff,$e7,$81,$01,$00,$00 + $00,$00,$00,$00,$80,$80,$80,$80,$00,$00,$00,$00,$80,$80,$80,$80 + $03,$03,$03,$0f,$1f,$1f,$1f,$07,$00,$00,$00,$0f,$1f,$1f,$1f,$0e + $00,$81,$c3,$66,$a5,$db,$ff,$ff,$7e,$3c,$18,$00,$c3,$a7,$44,$88 + $03,$03,$02,$0f,$1f,$1f,$1f,$07,$1c,$0c,$00,$0f,$1f,$1f,$1f,$0f + $ff,$00,$ff,$ff,$ff,$ff,$ff,$ff,$00,$3c,$ff,$ff,$ff,$ff,$ff,$ff + $d8,$d8,$78,$f0,$f0,$e0,$c0,$80,$18,$18,$38,$f0,$f0,$e0,$c0,$80 + $70,$f9,$f9,$d1,$71,$01,$00,$00,$40,$01,$01,$01,$01,$01,$00,$00 + $ff,$ff,$e7,$e7,$e7,$e7,$e7,$e7,$ff,$ff,$e7,$e7,$e7,$e7,$e7,$e7 + $00,$80,$80,$80,$80,$80,$00,$00,$00,$80,$80,$80,$80,$80,$00,$00 + $01,$01,$01,$03,$03,$01,$01,$00,$01,$01,$00,$00,$00,$02,$00,$00 + $e7,$e7,$e7,$e7,$e7,$c3,$c3,$00,$e7,$e7,$e7,$c3,$c3,$24,$00,$00 + $0a,$0a,$02,$06,$06,$06,$0c,$0c,$09,$09,$00,$00,$00,$00,$00,$00 + $38,$00,$10,$38,$7c,$7c,$38,$81,$c7,$ef,$c6,$00,$00,$00,$c6,$3c + $d8,$f8,$70,$30,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $0e,$0d,$07,$0e,$1c,$18,$18,$18,$0e,$0d,$07,$0e,$1c,$19,$1b,$1a + $7c,$6d,$39,$10,$38,$7c,$7c,$38,$00,$11,$01,$00,$82,$83,$83,$c6 + $88,$0c,$8c,$dc,$5c,$0c,$00,$00,$80,$00,$80,$c0,$40,$00,$80,$98 + $0d,$1d,$1c,$39,$78,$08,$00,$10,$0c,$1c,$05,$31,$78,$78,$b8,$b8 + $ff,$ff,$e7,$66,$99,$ff,$ff,$ff,$10,$00,$18,$99,$ff,$ff,$ff,$ff + $b0,$b8,$38,$9c,$1e,$1e,$1e,$3f,$30,$38,$b0,$8c,$1e,$1e,$1c,$00 + $00,$00,$00,$18,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$04,$00,$00,$40,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$04,$00,$00,$00,$00,$00,$00,$00,$00,$00,$40,$00,$00,$00 + $00,$00,$00,$00,$81,$db,$ff,$ff,$00,$00,$00,$00,$c3,$a7,$44,$88 + $00,$00,$00,$f0,$f8,$f8,$f8,$e0,$00,$00,$00,$f0,$f8,$f8,$f8,$70 + $80,$00,$80,$c0,$40,$00,$00,$00,$80,$00,$80,$c0,$40,$00,$80,$80 + $80,$00,$80,$c0,$40,$00,$01,$00,$80,$00,$80,$c0,$40,$00,$80,$c2 + $00,$00,$00,$00,$40,$f8,$f8,$70,$00,$00,$00,$00,$00,$00,$00,$00 + $80,$00,$80,$c0,$40,$00,$80,$80,$80,$00,$80,$c0,$40,$00,$00,$00 + $08,$08,$00,$00,$00,$00,$00,$00,$0b,$0b,$02,$06,$06,$06,$0c,$0c + $10,$00,$00,$00,$00,$00,$00,$81,$ef,$ef,$d6,$38,$7c,$7c,$fe,$3c + $00,$00,$00,$00,$00,$00,$00,$00,$d8,$78,$70,$30,$00,$00,$00,$00 + $10,$00,$01,$01,$01,$01,$01,$01,$b8,$b8,$b9,$89,$89,$71,$01,$01 + $ff,$ff,$e7,$e7,$c3,$c3,$c3,$c3,$ff,$ff,$e7,$e7,$c3,$c3,$c3,$c3 + $1e,$0f,$9f,$9f,$96,$86,$8c,$80,$00,$00,$80,$80,$80,$80,$80,$80 + $c0,$80,$00,$80,$00,$00,$00,$00,$40,$00,$80,$80,$00,$00,$00,$00 + $0e,$1f,$1f,$1b,$9f,$8f,$c7,$ce,$00,$00,$00,$00,$00,$00,$00,$02 + $00,$00,$00,$0f,$1f,$1f,$1f,$07,$00,$00,$00,$0f,$1f,$1f,$1f,$0e + $00,$00,$01,$03,$03,$07,$07,$0f,$00,$00,$01,$03,$03,$07,$07,$0f + $1c,$7e,$ff,$ff,$ff,$ff,$ff,$ff,$1c,$7e,$ff,$ff,$e7,$c3,$83,$a9 + $00,$00,$00,$00,$80,$80,$c0,$c0,$00,$00,$00,$00,$80,$80,$c0,$c0 + $00,$00,$00,$00,$00,$00,$00,$00,$80,$80,$c0,$c0,$c0,$c0,$60,$70 + $00,$00,$00,$00,$00,$00,$00,$00,$e7,$7e,$18,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$78,$38,$38,$30,$78,$78,$f8,$c0 + $80,$80,$80,$c0,$c0,$60,$60,$30,$00,$00,$00,$00,$00,$00,$00,$00 + $09,$0d,$0d,$09,$08,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c3,$c3,$e7,$e7,$e7,$e7,$e7,$63,$18,$18,$00,$00,$00,$00,$00,$00 + $00,$80,$80,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$01,$01,$03,$03,$03,$07,$07,$01,$00,$01,$03,$03,$03,$07,$07 + $81,$81,$81,$00,$81,$81,$81,$81,$81,$81,$00,$00,$81,$81,$81,$81 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$80,$80,$80,$80,$80,$80,$00,$00,$80,$80,$80,$80,$80,$80 + $cf,$c7,$f7,$ef,$ef,$ff,$fe,$de,$07,$07,$77,$ef,$ef,$ff,$fa,$5c + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$03 + $0f,$0f,$00,$00,$00,$00,$00,$00,$0f,$0f,$00,$00,$00,$00,$00,$00 + $ff,$ef,$ff,$7c,$38,$00,$00,$00,$83,$93,$c7,$6c,$00,$00,$00,$00 + $c0,$c0,$00,$00,$00,$00,$00,$00,$c0,$c0,$00,$00,$00,$00,$00,$00 + $81,$81,$00,$81,$00,$81,$00,$00,$00,$00,$00,$00,$81,$00,$00,$00 + $80,$00,$80,$c0,$40,$00,$81,$c3,$80,$00,$80,$c0,$40,$00,$00,$00 + $00,$00,$00,$00,$40,$f8,$f8,$70,$00,$00,$00,$00,$00,$00,$00,$00 + $10,$b0,$b0,$90,$90,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $e7,$7e,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $63,$31,$31,$39,$39,$39,$18,$00,$00,$00,$00,$00,$00,$00,$00,$60 + $00,$80,$80,$c0,$c0,$c0,$c0,$00,$00,$00,$00,$00,$00,$00,$00,$30 + $07,$07,$0f,$08,$07,$0f,$07,$00,$03,$00,$00,$07,$08,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$f0,$f0,$70,$78,$38,$78,$7c,$1e + $f2,$64,$0f,$da,$8d,$5b,$10,$10,$fb,$70,$01,$c0,$8d,$58,$10,$10 + $90,$40,$20,$80,$b0,$70,$5c,$60,$ef,$3e,$18,$80,$00,$10,$5c,$60 + $b8,$38,$30,$80,$80,$60,$20,$18,$a0,$a4,$66,$c6,$3e,$0c,$20,$18 + $30,$27,$2d,$38,$2a,$5e,$70,$40,$10,$00,$01,$00,$12,$20,$00,$00 + $0a,$40,$40,$51,$78,$c4,$c2,$90,$31,$3d,$3b,$2c,$06,$3b,$3d,$6f + $00,$08,$10,$80,$42,$00,$2e,$5a,$f9,$b1,$40,$60,$3e,$0e,$82,$92 + $00,$00,$00,$00,$00,$0c,$0e,$0c,$00,$00,$00,$0c,$1e,$13,$15,$16 + $00,$01,$01,$00,$00,$08,$04,$12,$00,$00,$00,$06,$0f,$07,$03,$09 + $5d,$23,$54,$2b,$24,$1e,$0f,$04,$5d,$23,$55,$2b,$20,$1c,$0f,$04 + $01,$a7,$06,$0b,$4a,$d6,$2c,$f0,$59,$f1,$52,$fb,$6a,$d6,$2c,$f0 + $ec,$f5,$7c,$99,$42,$60,$38,$0f,$ce,$d5,$70,$9d,$47,$68,$38,$0f + $af,$73,$36,$26,$0c,$1c,$78,$c0,$af,$73,$76,$a6,$4c,$1c,$78,$c0 + $69,$2c,$0e,$77,$d4,$b4,$e2,$00,$03,$01,$00,$70,$f0,$f0,$e0,$00 + $69,$2c,$0e,$37,$14,$04,$02,$00,$03,$01,$00,$30,$10,$00,$00,$00 + $ff,$ff,$c0,$c0,$cf,$cb,$cc,$cc,$00,$00,$1f,$3f,$3f,$38,$3b,$3b + $fc,$fc,$0c,$0c,$cc,$4c,$cc,$cc,$00,$04,$ec,$fc,$fc,$3c,$bc,$bc + $cb,$cf,$c0,$c0,$ff,$ff,$00,$00,$3b,$30,$3f,$1f,$7f,$ff,$00,$00 + $4c,$cc,$0c,$0c,$fc,$fc,$00,$00,$3c,$3c,$fc,$ec,$fc,$fc,$00,$00 + $fe,$02,$02,$02,$fe,$00,$00,$7f,$00,$fe,$0e,$fe,$fe,$00,$00,$00 + $7f,$40,$40,$40,$7f,$00,$00,$fe,$00,$3f,$30,$3f,$7f,$00,$00,$00 + $40,$40,$40,$7f,$00,$00,$00,$ff,$3f,$30,$3f,$7f,$00,$00,$ff,$ff + $02,$02,$02,$fe,$00,$00,$00,$ff,$fe,$0e,$fe,$fe,$00,$00,$ff,$ff + $ff,$ff,$c0,$d0,$c0,$c0,$c0,$c0,$00,$00,$3f,$27,$3f,$3f,$3f,$3f + $fc,$fc,$0c,$4c,$0c,$0c,$0c,$0c,$00,$04,$fc,$9c,$fc,$fc,$fc,$fc + $c0,$c0,$d0,$c0,$ff,$ff,$00,$00,$3f,$3f,$27,$3f,$3f,$7f,$00,$00 + $0c,$0c,$4c,$0c,$fc,$fc,$00,$00,$fc,$fc,$9c,$fc,$fc,$fc,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$20,$48,$30,$5a,$fc,$76,$be,$2c + $00,$00,$00,$00,$00,$00,$00,$00,$7e,$75,$1c,$aa,$54,$30,$44,$10 + $00,$00,$00,$00,$00,$00,$00,$00,$04,$12,$0c,$5a,$3f,$6e,$7d,$34 + $00,$00,$00,$00,$00,$00,$00,$00,$7e,$ae,$38,$55,$2a,$0c,$22,$08 + $45,$d7,$ff,$ff,$fd,$ff,$bf,$fb,$00,$00,$00,$00,$02,$00,$40,$04 + $ff,$bb,$ff,$ff,$ef,$ff,$7f,$fd,$00,$44,$00,$00,$10,$00,$80,$02 + $7e,$42,$c2,$1e,$02,$06,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$04,$12,$08,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $44,$fe,$44,$44,$04,$0c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $06,$0c,$38,$f0,$10,$10,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$c0,$c0,$fc,$c0,$c0,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$c6,$c6,$ce,$f8,$dc,$ce,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 9560: 55 a1 .dd2 L9E45+$310 9562: 79 a1 .dd2 L9E45+$334 9564: 85 a1 .dd2 L9E45+$340 9566: 7f a1 .dd2 L9E45+$33a 9568: 8b a1 .dd2 L9E45+$346 956a: 91 a1 .dd2 L9E45+$34c 956c: 91 a1 .dd2 L9E45+$34c 956e: 91 a1 .dd2 L9E45+$34c 9570: 91 a1 .dd2 L9E45+$34c 9572: 91 a1 .dd2 L9E45+$34c 9574: 91 a1 .dd2 L9E45+$34c 9576: 91 a1 .dd2 L9E45+$34c 9578: 91 a1 .dd2 L9E45+$34c 957a: 91 a1 .dd2 L9E45+$34c 957c: 91 a1 .dd2 L9E45+$34c 957e: 91 a1 .dd2 L9E45+$34c 9580: 91 a1 .dd2 L9E45+$34c 9582: 91 a1 .dd2 L9E45+$34c 9584: 91 a1 .dd2 L9E45+$34c 9586: 91 a1 .dd2 L9E45+$34c 9588: 98 a1 .dd2 L9E45+$353 958a: 9f a1 .dd2 L9E45+$35a 958c: a6 a1 .dd2 L9E45+$361 958e: ad a1 .dd2 L9E45+$368 9590: b5 a1 .dd2 L9E45+$370 9592: bd a1 .dd2 L9E45+$378 9594: c5 a1 .dd2 L9E45+$380 9596: cd a1 .dd2 L9E45+$388 9598: 6d a2 .dd2 LA26D 959a: d5 a1 .dd2 LA1D5 959c: 1f a2 .dd2 LA21F 959e: 32 ac .dd2 LA26D+$9c5 95a0: f7 9c .dd2 L9CF7 95a2: f7 9d .dd2 L9DF7 95a4: 25 9e .dd2 L9E25 95a6: 86 9c .dd2 L9C4A+60 95a8: 60 ea ea 60+ .junk 27 95c3: 4c 49 9c jmp L9C49 95c6: 49 ff eor #$ff 95c8: 18 clc 95c9: 69 01 adc #$01 95cb: 60 T95CB_0 rts 95cc: 1d 10 00 02+ .bulk $1d,$10,$00,$02,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$07,$14,$6e,$06,$00 + $03,$43,$00,$00,$00,$00,$00,$00,$64 95e5: bd 02 6b lda EnDataIndex,x 95e8: 20 24 80 jsr ChooseRoutineK 95eb: 1c 99 .dd2 T991C 95ed: 37 99 .dd2 T9937 95ef: cb 95 .dd2 T95CB_0 95f1: 3c 99 .dd2 T993C 95f3: 49 99 .dd2 T9949 95f5: 9b 99 .dd2 T999B 95f7: cb 95 .dd2 T95CB_0 95f9: 44 9a .dd2 T9A44 95fb: b4 9a .dd2 T9AB4 95fd: e4 9a .dd2 T9AE4 95ff: 2c 9b .dd2 T9B2C 9601: cb 95 .dd2 T95CB_0 9603: cb 95 .dd2 T95CB_0 9605: cb 95 .dd2 T95CB_0 9607: cb 95 .dd2 T95CB_0 9609: cb 95 .dd2 T95CB_0 960b: 27 27 29 29+ L960B_1 .bulk $27,$27,$29,$29,$2d,$2b,$31,$2f,$33,$33,$41,$41,$48,$48,$50,$4e + $6d,$6f,$00,$00,$00,$00,$64,$64,$64,$64,$00,$00,$00,$00,$00,$00 + $08,$08,$00,$ff,$02,$02,$00,$01,$60,$ff,$ff,$00,$00,$00,$00,$00 + $05,$05,$0b,$0b,$17,$13,$1b,$19,$23,$23,$35,$35,$48,$48,$54,$52 + $67,$6a,$56,$58,$5d,$62,$64,$64,$64,$64,$00,$00,$00,$00,$00,$00 + $05,$05,$0b,$0b,$17,$13,$1b,$19,$23,$23,$35,$35,$48,$48,$4b,$48 + $67,$6a,$56,$58,$5a,$5f,$64,$64,$64,$64,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$00,$00 + $89,$89,$09,$00,$86,$04,$89,$80,$83,$00,$00,$00,$82,$00,$00,$00 + $01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$40,$00,$00,$00 + $00,$00,$06,$00,$83,$00,$84,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $08,$08,$01,$01,$01,$01,$10,$08,$10,$00,$00,$01,$01,$00,$00,$00 + $00,$03,$00,$06,$08,$0c,$00,$0a,$0e,$11,$13,$00,$00,$00,$00,$00 + $e9,$97,$ec,$97,$ef,$97,$ef,$97,$ef,$97,$ef,$97,$ef,$97,$ef,$97 + $ef,$97,$ef,$97,$ef,$97,$ef,$97,$ef,$97,$f2,$97,$f5,$97,$09,$98 + $1d,$98,$1d,$98,$1d,$98,$1d,$98,$1d,$98,$1d,$98,$1d,$98,$1d,$98 + $1d,$98,$24,$98,$2b,$98,$32,$98,$39,$98,$3c,$98,$3f,$98,$56,$98 + $6d,$98,$84,$98,$9b,$98,$b2,$98,$00,$00,$00,$00,$00,$00,$00,$00 + $7f,$70,$70,$90,$90,$00,$00,$7f,$80,$00,$54,$70,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$f6,$f6,$fc,$0a,$04,$00,$00,$00 + $0c,$fc,$fc,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$02,$02,$02 + $02,$00,$00,$00,$02,$00,$02,$02,$00,$00,$00,$00,$00,$00,$00,$00 + $64,$6c,$21,$01,$04,$00,$4c,$40,$04,$00,$00,$40,$40,$00,$00,$00 + $00,$00,$5f,$62,$64,$64,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $0c,$f4,$00,$00,$00,$00,$00,$00,$f4,$00,$00,$00,$c9,$98,$d8,$98 + $e7,$98,$f6,$98,$4a,$9c,$4f,$9c,$54,$9c,$59,$9c,$5e,$9c,$63,$9c + $68,$9c,$6d,$9c,$72,$9c,$77,$9c,$7c,$9c,$81,$9c,$86,$9c,$86,$9c + $86,$9c,$86,$9c,$86,$9c,$01,$01,$02,$01,$03,$04,$00,$06,$00,$07 + $00,$09,$00,$00,$01,$0c,$0d,$00,$0e,$03,$0f,$10,$11,$0f,$20,$22 + $fe,$20,$2a,$fe,$01,$01,$ff,$01,$09,$ff,$04,$22,$01,$42,$01,$22 + $01,$42,$01,$62,$01,$42,$04,$62,$fc,$01,$00,$64,$00,$fb,$04,$2a + $01,$4a,$01,$2a,$01,$4a,$01,$6a,$01,$4a,$04,$6a,$fc,$01,$00,$64 + $00,$fb,$14,$11,$0a,$00,$14,$19,$fe,$14,$19,$0a,$00,$14,$11,$fe + $32,$11,$0a,$00,$32,$19,$fe,$32,$19,$0a,$00,$32,$11,$fe,$50,$04 + $ff,$50,$0c,$ff,$02,$f3,$04,$e3,$04,$d3,$05,$b3,$03,$93,$04,$03 + $05,$13,$03,$33,$05,$53,$04,$63,$50,$73,$ff,$02,$fb,$04,$eb,$04 + $db,$05,$bb,$03,$9b,$04,$0b,$05,$1b,$03,$3b,$05,$5b,$04,$6b,$50 + $7b,$ff,$02,$f4,$04,$e4,$04,$d4,$05,$b4,$03,$94,$04,$04,$05,$14 + $03,$34,$05,$54,$04,$64,$50,$74,$ff,$02,$fc,$04,$ec,$04,$dc,$05 + $bc,$03,$9c,$04,$0c,$05,$1c,$03,$3c,$05,$5c,$04,$6c,$50,$7c,$ff + $02,$f2,$04,$e2,$04,$d2,$05,$b2,$03,$92,$04,$02,$05,$12,$03,$32 + $05,$52,$04,$62,$50,$72,$ff,$02,$fa,$04,$ea,$04,$da,$05,$ba,$03 + $9a,$04,$0a,$05,$1a,$03,$3a,$05,$5a,$04,$6a,$50,$7a,$ff,$04,$b3 + $05,$a3,$06,$93,$07,$03,$06,$13,$05,$23,$50,$33,$ff,$09,$c2,$08 + $a2,$07,$92,$07,$12,$08,$22,$09,$42,$50,$72,$ff,$07,$c2,$06,$a2 + $05,$92,$05,$12,$06,$22,$07,$42,$50,$72,$ff,$05,$c2,$04,$a2,$03 + $92,$03,$12,$04,$22,$05,$42,$50,$72,$ff 9905: a5 81 L9905 lda HideShowEndMsg 9907: c9 01 cmp #$01 9909: f0 09 beq L9914 990b: c9 03 cmp #$03 990d: f0 0a beq L9919 990f: a5 00 lda $00 9911: 4c 00 80 jmp L8000_2 9914: a5 01 L9914 lda $01 9916: 4c 03 80 jmp L8003_2 9919: 4c 06 80 L9919 jmp L8006_2 991c: a9 09 T991C lda #$09 991e: 85 85 L991E_0 sta $85 9920: 85 86 sta $86 9922: bd f4 6a lda Enstatus,x 9925: c9 03 cmp #$03 9927: f0 03 beq L992C 9929: 20 1b 80 jsr L801B_1 992c: a9 06 L992C lda #$06 992e: 85 00 sta $00 9930: a9 08 L9930 lda #$08 9932: 85 01 sta $01 9934: 4c 05 99 jmp L9905 9937: a9 0f T9937 lda #$0f 9939: 4c 1e 99 jmp L991E_0 993c: bd f4 6a T993C lda Enstatus,x 993f: c9 03 cmp #$03 9941: f0 03 beq L9946 9943: 20 1e 80 jsr L801E_1 9946: 4c 2c 99 L9946 jmp L992C 9949: a5 81 T9949 lda HideShowEndMsg 994b: c9 01 cmp #$01 994d: f0 44 beq L9993_0 994f: c9 03 cmp #$03 9951: f0 45 beq L9998_0 9953: bd 06 04 lda EnCounter,x 9956: c9 0f cmp #$0f 9958: 90 34 bcc L998E 995a: c9 11 cmp #$11 995c: b0 07 bcs L9965 995e: a9 3a lda #$3a 9960: 9d 01 6b sta EnDataIndex-1,x 9963: d0 29 bne L998E 9965: de 01 6b L9965 dec EnDataIndex-1,x 9968: d0 24 bne L998E 996a: a9 00 lda #$00 996c: 9d f4 6a sta Enstatus,x 996f: a0 0c ldy #$0c 9971: a9 0a L9971_0 lda #$0a 9973: 99 a0 00 sta $00a0,y 9976: bd 00 04 lda EnYRoomPos,x 9979: 99 a1 00 sta $00a1,y 997c: bd 01 04 lda EnXRoomPos,x 997f: 99 a2 00 sta $00a2,y 9982: bd fb 6a lda EnNameTable,x 9985: 99 a3 00 sta $00a3,y 9988: 88 dey 9989: 88 dey 998a: 88 dey 998b: 88 dey 998c: 10 e3 bpl L9971_0 998e: a9 02 L998E lda #$02 9990: 4c 00 80 jmp L8000_2 9993: a9 08 L9993_0 lda #$08 9995: 4c 03 80 jmp L8003_2 9998: 4c 06 80 L9998_0 jmp L8006_2 999b: 20 09 80 T999B jsr L8009_1 999e: 29 03 and #$03 99a0: f0 34 beq L99D6_0 99a2: a5 81 lda HideShowEndMsg 99a4: c9 01 cmp #$01 99a6: f0 eb beq L9993_0 99a8: c9 03 cmp #$03 99aa: f0 ec beq L9998_0 99ac: bd f4 6a lda Enstatus,x 99af: c9 03 cmp #$03 99b1: f0 23 beq L99D6_0 99b3: bd 0a 04 lda EnHitPoints-1,x 99b6: 29 03 and #$03 99b8: c9 01 cmp #$01 99ba: d0 11 bne L99CD 99bc: bc 00 04 ldy EnYRoomPos,x 99bf: c0 e4 cpy #$e4 99c1: d0 0a bne L99CD 99c3: 20 0c 9a jsr L9A0C 99c6: a9 03 lda #$03 99c8: 9d 0a 04 sta EnHitPoints-1,x 99cb: d0 06 bne L99D3 99cd: 20 31 9a L99CD jsr L9A31 99d0: 20 f7 99 jsr L99F7_0 99d3: 20 15 9a L99D3 jsr L9A15 99d6: a9 03 L99D6_0 lda #$03 99d8: 20 0c 80 jsr L800C_1 99db: 4c 06 80 jmp L8006_2 99de: bd 05 04 L99DE lda EnCounter-1,x 99e1: 4a lsr A 99e2: bd 0a 04 lda EnHitPoints-1,x 99e5: 29 03 and #$03 99e7: 2a rol A 99e8: a8 tay 99e9: b9 ef 99 lda L99EF,y 99ec: 4c 0f 80 jmp L800F_1 99ef: 35 35 3e 38+ L99EF .bulk $35,$35,$3e,$38,$3b,$3b,$38,$3e 99f7: a6 4b L99F7_0 ldx PageIndex 99f9: b0 19 bcs L9A14 99fb: a5 00 lda $00 99fd: d0 0d bne L9A0C 99ff: bc 0a 04 ldy EnHitPoints-1,x 9a02: 88 dey 9a03: 98 tya 9a04: 29 03 and #$03 9a06: 9d 0a 04 sta EnHitPoints-1,x 9a09: 4c de 99 jmp L99DE 9a0c: bd 05 04 L9A0C lda EnCounter-1,x 9a0f: 49 01 eor #$01 9a11: 9d 05 04 sta EnCounter-1,x 9a14: 60 L9A14 rts 9a15: 20 29 9a L9A15 jsr L9A29 9a18: 20 31 9a jsr L9A31 9a1b: a6 4b ldx PageIndex 9a1d: 90 09 bcc L9A28 9a1f: 20 29 9a jsr L9A29 9a22: 9d 0a 04 sta EnHitPoints-1,x 9a25: 20 de 99 jsr L99DE 9a28: 60 L9A28 rts 9a29: bc 0a 04 L9A29 ldy EnHitPoints-1,x 9a2c: c8 iny 9a2d: 98 tya 9a2e: 29 03 and #$03 9a30: 60 rts 9a31: bc 05 04 L9A31 ldy EnCounter-1,x 9a34: 84 00 sty $00 9a36: 46 00 lsr $00 9a38: 2a rol A 9a39: 0a asl A 9a3a: a8 tay 9a3b: b9 49 80 lda L8048_1+1,y 9a3e: 48 pha 9a3f: b9 48 80 lda L8048_1,y 9a42: 48 pha 9a43: 60 rts 9a44: bd f4 6a T9A44 lda Enstatus,x 9a47: c9 02 cmp #$02 9a49: d0 38 bne L9A83_1 9a4b: bd 03 04 lda $0403,x 9a4e: d0 33 bne L9A83_1 9a50: bd fe 6a lda $6afe,x 9a53: d0 12 bne L9A67 9a55: ad 0d 03 lda ObjectY 9a58: 38 sec 9a59: fd 00 04 sbc EnYRoomPos,x 9a5c: c9 40 cmp #$40 9a5e: b0 23 bcs L9A83_1 9a60: a9 7f lda #$7f 9a62: 9d fe 6a sta $6afe,x 9a65: d0 1c bne L9A83_1 9a67: bd 02 04 L9A67 lda $0402,x 9a6a: 30 17 bmi L9A83_1 9a6c: a9 00 lda #$00 9a6e: 9d 02 04 sta $0402,x 9a71: 9d 06 04 sta EnCounter,x 9a74: 9d fe 6a sta $6afe,x 9a77: bd 05 04 lda EnCounter-1,x 9a7a: 29 01 and #$01 9a7c: a8 tay 9a7d: b9 b2 9a lda L9AB2,y 9a80: 9d 03 04 sta $0403,x 9a83: bd 05 04 L9A83_1 lda EnCounter-1,x 9a86: 0a asl A 9a87: 30 1e bmi L9AA7 9a89: bd f4 6a lda Enstatus,x 9a8c: c9 02 cmp #$02 9a8e: d0 17 bne L9AA7 9a90: 20 36 80 jsr L8036_1 9a93: 48 pha 9a94: 20 39 80 jsr L8039_1 9a97: 85 05 sta $05 9a99: 68 pla 9a9a: 85 04 sta $04 9a9c: 20 bc 9b jsr L9BBC 9a9f: 20 27 80 jsr L8027_3 9aa2: 90 08 bcc L9AAC_0 9aa4: 20 aa 9b jsr L9BAA 9aa7: a9 03 L9AA7 lda #$03 9aa9: 4c 03 80 jmp L8003_2 9aac: a9 00 L9AAC_0 lda #$00 9aae: 9d f4 6a sta Enstatus,x 9ab1: 60 rts 9ab2: 08 L9AB2 .dd1 $08 9ab3: f8 .dd1 $f8 9ab4: bd f4 6a T9AB4 lda Enstatus,x 9ab7: c9 03 cmp #$03 9ab9: 90 19 bcc L9AD4 9abb: f0 04 beq L9AC1 9abd: c9 05 cmp #$05 9abf: d0 1c bne L9ADD 9ac1: a9 00 L9AC1 lda #$00 9ac3: 8d 04 6b sta $6b04 9ac6: 8d 14 6b sta $6b14 9ac9: 8d 24 6b sta $6b24 9acc: 8d 34 6b sta $6b34 9acf: 8d 44 6b sta $6b44 9ad2: f0 09 beq L9ADD 9ad4: 20 2f 9b L9AD4 jsr L9B2F 9ad7: 20 e0 9b jsr L9BE0_0 9ada: 20 19 9c jsr L9C19 9add: a9 0a L9ADD lda #$0a 9adf: 85 00 sta $00 9ae1: 4c 30 99 jmp L9930 9ae4: bd 05 04 T9AE4 lda EnCounter-1,x 9ae7: 29 02 and #$02 9ae9: f0 07 beq L9AF2 9aeb: bd f4 6a lda Enstatus,x 9aee: c9 03 cmp #$03 9af0: d0 07 bne L9AF9_0 9af2: a9 00 L9AF2 lda #$00 9af4: 9d f4 6a sta Enstatus,x 9af7: f0 2b beq L9B24 9af9: bd 05 04 L9AF9_0 lda EnCounter-1,x 9afc: 0a asl A 9afd: 30 25 bmi L9B24 9aff: bd f4 6a lda Enstatus,x 9b02: c9 02 cmp #$02 9b04: d0 1e bne L9B24 9b06: 20 2d 80 jsr L802D_0 9b09: a6 4b ldx PageIndex 9b0b: a5 00 lda $00 9b0d: 9d 02 04 sta $0402,x 9b10: 20 30 80 jsr L8030_0 9b13: a6 4b ldx PageIndex 9b15: a5 00 lda $00 9b17: 9d 03 04 sta $0403,x 9b1a: 20 33 80 jsr L8033_0 9b1d: b0 05 bcs L9B24 9b1f: a9 03 lda #$03 9b21: 9d f4 6a sta Enstatus,x 9b24: a9 01 L9B24 lda #$01 9b26: 20 0c 80 jsr L800C_1 9b29: 4c 06 80 jmp L8006_2 9b2c: 4c e4 9a T9B2C jmp T9AE4 9b2f: a2 50 L9B2F ldx #$50 9b31: 20 3c 9b L9B31 jsr L9B3C_0 9b34: 8a txa 9b35: 38 sec 9b36: e9 10 sbc #$10 9b38: aa tax 9b39: d0 f6 bne L9B31 9b3b: 60 rts 9b3c: bc f4 6a L9B3C_0 ldy Enstatus,x 9b3f: f0 26 beq L9B67 9b41: bd 02 6b lda EnDataIndex,x 9b44: c9 0a cmp #$0a 9b46: f0 04 beq L9B4C_0 9b48: c9 09 cmp #$09 9b4a: d0 6f bne L9BBB 9b4c: bd 05 04 L9B4C_0 lda EnCounter-1,x 9b4f: 29 02 and #$02 9b51: f0 14 beq L9B67 9b53: 88 dey 9b54: f0 1c beq L9B72 9b56: c0 02 cpy #$02 9b58: f0 0d beq L9B67 9b5a: c0 03 cpy #$03 9b5c: d0 5d bne L9BBB 9b5e: bd 0c 04 lda $040c,x 9b61: c9 01 cmp #$01 9b63: d0 56 bne L9BBB 9b65: f0 0b beq L9B72 9b67: a9 00 L9B67 lda #$00 9b69: 9d f4 6a sta Enstatus,x 9b6c: 9d 0f 04 sta EnSpecialAttribs,x 9b6f: 20 2a 80 jsr L802A_2 9b72: ad 05 04 L9B72 lda EnCounter-1 9b75: 9d 05 04 sta EnCounter-1,x 9b78: 4a lsr A 9b79: 08 php 9b7a: 8a txa 9b7b: 4a lsr A 9b7c: 4a lsr A 9b7d: 4a lsr A 9b7e: 4a lsr A 9b7f: a8 tay 9b80: b9 cb 9b lda L9BCC-1,y 9b83: 85 04 sta $04 9b85: b9 da 9b lda L9BCC+14,y 9b88: 9d 02 6b sta EnDataIndex,x 9b8b: 98 tya 9b8c: 28 plp 9b8d: 2a rol A 9b8e: a8 tay 9b8f: b9 cf 9b lda L9BCC+3,y 9b92: 85 05 sta $05 9b94: 8a txa 9b95: 48 pha 9b96: a2 00 ldx #$00 9b98: 20 bc 9b jsr L9BBC 9b9b: 68 pla 9b9c: aa tax 9b9d: 20 27 80 jsr L8027_3 9ba0: 90 19 bcc L9BBB 9ba2: bd f4 6a lda Enstatus,x 9ba5: d0 03 bne L9BAA 9ba7: fe f4 6a inc Enstatus,x 9baa: a5 08 L9BAA lda $08 9bac: 9d 00 04 sta EnYRoomPos,x 9baf: a5 09 lda $09 9bb1: 9d 01 04 sta EnXRoomPos,x 9bb4: a5 0b lda $0b 9bb6: 29 01 and #$01 9bb8: 9d fb 6a sta EnNameTable,x 9bbb: 60 L9BBB rts 9bbc: bd 00 04 L9BBC lda EnYRoomPos,x 9bbf: 85 08 sta $08 9bc1: bd 01 04 lda EnXRoomPos,x 9bc4: 85 09 sta $09 9bc6: bd fb 6a lda EnNameTable,x 9bc9: 85 0b sta $0b 9bcb: 60 rts 9bcc: f5 fd 05 f6+ L9BCC .bulk $f5,$fd,$05,$f6,$fe,$0a,$f6,$0c,$f4,$0e,$f2,$f8,$08,$f4,$0c,$09 + $09,$09,$0a,$0a 9be0: a4 7e L9BE0_0 ldy SpriteAttribByte 9be2: d0 02 bne L9BE6 9be4: a0 80 ldy #$80 9be6: a5 2d L9BE6 lda FrameCount 9be8: 29 02 and #$02 9bea: d0 2c bne L9C18 9bec: 88 dey 9bed: 84 7e sty SpriteAttribByte 9bef: 98 tya 9bf0: 0a asl A 9bf1: 30 25 bmi L9C18 9bf3: 29 0f and #$0f 9bf5: c9 0a cmp #$0a 9bf7: d0 1f bne L9C18 9bf9: a9 01 lda #$01 9bfb: a2 10 ldx #$10 9bfd: dd f4 6a cmp Enstatus,x 9c00: f0 11 beq L9C13 9c02: a2 20 ldx #$20 9c04: dd f4 6a cmp Enstatus,x 9c07: f0 0a beq L9C13 9c09: a2 30 ldx #$30 9c0b: dd f4 6a cmp Enstatus,x 9c0e: f0 03 beq L9C13 9c10: e6 7e inc SpriteAttribByte 9c12: 60 rts 9c13: a9 08 L9C13 lda #$08 9c15: 9d 09 04 sta EnDelay,x 9c18: 60 L9C18 rts 9c19: a4 7f L9C19 ldy ColorCntIndex 9c1b: d0 02 bne L9C1F_0 9c1d: a0 60 ldy #$60 9c1f: a5 2d L9C1F_0 lda FrameCount 9c21: 29 02 and #$02 9c23: d0 23 bne L9C48 9c25: 88 dey 9c26: 84 7f sty ColorCntIndex 9c28: 98 tya 9c29: 0a asl A 9c2a: 30 1c bmi L9C48 9c2c: 29 0f and #$0f 9c2e: d0 18 bne L9C48 9c30: a9 01 lda #$01 9c32: a2 40 ldx #$40 9c34: dd f4 6a cmp Enstatus,x 9c37: f0 0a beq L9C43 9c39: a2 50 ldx #$50 9c3b: dd f4 6a cmp Enstatus,x 9c3e: f0 03 beq L9C43 9c40: e6 7f inc ColorCntIndex 9c42: 60 rts 9c43: a9 08 L9C43 lda #$08 9c45: 9d 09 04 sta EnDelay,x 9c48: 60 L9C48 rts 9c49: 60 L9C49 rts 9c4a: 22 ff ff ff+ L9C4A .bulk $22,$ff,$ff,$ff,$ff,$22,$80,$81,$82,$83,$22,$84,$85,$86,$87,$22 + $88,$89,$8a,$8b,$22,$8c,$8d,$8e,$8f,$22,$94,$95,$96,$97,$22,$9c + $9d,$9d,$9c,$22,$9e,$9f,$9f,$9e,$22,$90,$91,$92,$93,$22,$70,$71 + $72,$73,$22,$74,$75,$76,$77,$22,$78,$79,$7a,$7b,$00,$01,$ff,$02 + $ff,$19,$1a,$ff,$1a,$1b,$ff,$1c,$1d,$ff,$1d,$1e,$ff,$22,$23,$24 + $ff,$1f,$20,$21,$ff,$22,$ff,$1f,$ff,$23,$04,$ff,$20,$03,$ff,$27 + $28,$29,$ff,$37,$ff,$38,$ff,$39,$ff,$3a,$ff,$3b,$ff,$3c,$ff,$3d + $ff,$58,$59,$ff,$5a,$5b,$ff,$5c,$5d,$ff,$5e,$5f,$ff,$60,$ff,$61 + $f7,$62,$f7,$ff,$66,$67,$ff,$69,$6a,$ff,$68,$ff,$6b,$ff,$66,$ff + $69,$ff,$6c,$ff,$6d,$ff,$6f,$70,$71,$6e,$ff,$73,$74,$75,$72,$ff + $8f,$90,$ff,$91,$92,$ff,$93,$94,$ff,$95,$ff,$96,$ff 9cf7: d9 9e L9CF7 .dd2 L9E45+148 9cf9: de 9e .dd2 L9E45+153 9cfb: e3 9e .dd2 L9E45+158 9cfd: e8 9e .dd2 L9E45+163 9cff: e8 9e .dd2 L9E45+163 9d01: e8 9e .dd2 L9E45+163 9d03: e8 9e .dd2 L9E45+163 9d05: e8 9e .dd2 L9E45+163 9d07: e8 9e .dd2 L9E45+163 9d09: e8 9e .dd2 L9E45+163 9d0b: e8 9e .dd2 L9E45+163 9d0d: e8 9e .dd2 L9E45+163 9d0f: e8 9e .dd2 L9E45+163 9d11: e8 9e .dd2 L9E45+163 9d13: e8 9e .dd2 L9E45+163 9d15: e8 9e .dd2 L9E45+163 9d17: e8 9e .dd2 L9E45+163 9d19: e8 9e .dd2 L9E45+163 9d1b: e8 9e .dd2 L9E45+163 9d1d: e8 9e .dd2 L9E45+163 9d1f: e8 9e .dd2 L9E45+163 9d21: e8 9e .dd2 L9E45+163 9d23: e8 9e .dd2 L9E45+163 9d25: e8 9e .dd2 L9E45+163 9d27: e8 9e .dd2 L9E45+163 9d29: e8 9e .dd2 L9E45+163 9d2b: f6 9e .dd2 L9E45+177 9d2d: 04 9f .dd2 L9E45+191 9d2f: 10 9f .dd2 L9E45+203 9d31: 1e 9f .dd2 L9E45+217 9d33: 2c 9f .dd2 L9E45+231 9d35: 38 9f .dd2 L9E45+243 9d37: 41 9f .dd2 L9E45+252 9d39: 4b 9f .dd2 L9E45+$106 9d3b: 55 9f .dd2 L9E45+$110 9d3d: 5e 9f .dd2 L9E45+$119 9d3f: 68 9f .dd2 L9E45+$123 9d41: 72 9f .dd2 L9E45+$12d 9d43: 72 9f .dd2 L9E45+$12d 9d45: 72 9f .dd2 L9E45+$12d 9d47: 80 9f .dd2 L9E45+$13b 9d49: 87 9f .dd2 L9E45+$142 9d4b: 90 9f .dd2 L9E45+$14b 9d4d: 90 9f .dd2 L9E45+$14b 9d4f: 90 9f .dd2 L9E45+$14b 9d51: 90 9f .dd2 L9E45+$14b 9d53: 90 9f .dd2 L9E45+$14b 9d55: 90 9f .dd2 L9E45+$14b 9d57: 90 9f .dd2 L9E45+$14b 9d59: 90 9f .dd2 L9E45+$14b 9d5b: 90 9f .dd2 L9E45+$14b 9d5d: 90 9f .dd2 L9E45+$14b 9d5f: 90 9f .dd2 L9E45+$14b 9d61: 90 9f .dd2 L9E45+$14b 9d63: 90 9f .dd2 L9E45+$14b 9d65: 90 9f .dd2 L9E45+$14b 9d67: a4 9f .dd2 L9E45+$15f 9d69: b8 9f .dd2 L9E45+$173 9d6b: c3 9f .dd2 L9E45+$17e 9d6d: ce 9f .dd2 L9E45+$189 9d6f: d7 9f .dd2 L9E45+$192 9d71: e0 9f .dd2 L9E45+$19b 9d73: eb 9f .dd2 L9E45+$1a6 9d75: eb 9f .dd2 L9E45+$1a6 9d77: eb 9f .dd2 L9E45+$1a6 9d79: eb 9f .dd2 L9E45+$1a6 9d7b: eb 9f .dd2 L9E45+$1a6 9d7d: eb 9f .dd2 L9E45+$1a6 9d7f: eb 9f .dd2 L9E45+$1a6 9d81: eb 9f .dd2 L9E45+$1a6 9d83: eb 9f .dd2 L9E45+$1a6 9d85: eb 9f .dd2 L9E45+$1a6 9d87: eb 9f .dd2 L9E45+$1a6 9d89: eb 9f .dd2 L9E45+$1a6 9d8b: eb 9f .dd2 L9E45+$1a6 9d8d: eb 9f .dd2 L9E45+$1a6 9d8f: eb 9f .dd2 L9E45+$1a6 9d91: eb 9f .dd2 L9E45+$1a6 9d93: eb 9f .dd2 L9E45+$1a6 9d95: eb 9f .dd2 L9E45+$1a6 9d97: eb 9f .dd2 L9E45+$1a6 9d99: eb 9f .dd2 L9E45+$1a6 9d9b: eb 9f .dd2 L9E45+$1a6 9d9d: eb 9f .dd2 L9E45+$1a6 9d9f: eb 9f .dd2 L9E45+$1a6 9da1: eb 9f .dd2 L9E45+$1a6 9da3: eb 9f .dd2 L9E45+$1a6 9da5: eb 9f .dd2 L9E45+$1a6 9da7: eb 9f .dd2 L9E45+$1a6 9da9: f3 9f .dd2 L9E45+$1ae 9dab: fb 9f .dd2 L9E45+$1b6 9dad: 03 a0 .dd2 L9E45+$1be 9daf: 0b a0 .dd2 L9E45+$1c6 9db1: 13 a0 .dd2 L9E45+$1ce 9db3: 1b a0 .dd2 L9E45+$1d6 9db5: 23 a0 .dd2 L9E45+$1de 9db7: 2b a0 .dd2 L9E45+$1e6 9db9: 33 a0 .dd2 L9E45+$1ee 9dbb: 41 a0 .dd2 L9E45+$1fc 9dbd: 5b a0 .dd2 L9E45+$216 9dbf: 5b a0 .dd2 L9E45+$216 9dc1: 5b a0 .dd2 L9E45+$216 9dc3: 5b a0 .dd2 L9E45+$216 9dc5: 63 a0 .dd2 L9E45+$21e 9dc7: 6b a0 .dd2 L9E45+$226 9dc9: 73 a0 .dd2 L9E45+$22e 9dcb: 7b a0 .dd2 L9E45+$236 9dcd: 83 a0 .dd2 L9E45+$23e 9dcf: 8b a0 .dd2 L9E45+$246 9dd1: 93 a0 .dd2 L9E45+$24e 9dd3: 9b a0 .dd2 L9E45+$256 9dd5: a3 a0 .dd2 L9E45+$25e 9dd7: ab a0 .dd2 L9E45+$266 9dd9: b3 a0 .dd2 L9E45+$26e 9ddb: bb a0 .dd2 L9E45+$276 9ddd: c3 a0 .dd2 L9E45+$27e 9ddf: cb a0 .dd2 L9E45+$286 9de1: d3 a0 .dd2 L9E45+$28e 9de3: db a0 .dd2 L9E45+$296 9de5: db a0 .dd2 L9E45+$296 9de7: db a0 .dd2 L9E45+$296 9de9: db a0 .dd2 L9E45+$296 9deb: db a0 .dd2 L9E45+$296 9ded: db a0 .dd2 L9E45+$296 9def: db a0 .dd2 L9E45+$296 9df1: db a0 .dd2 L9E45+$296 9df3: db a0 .dd2 L9E45+$296 9df5: db a0 .dd2 L9E45+$296 9df7: db a0 L9DF7 .dd2 L9E45+$296 9df9: e3 a0 .dd2 L9E45+$29e 9dfb: e8 a0 .dd2 L9E45+$2a3 9dfd: e8 a0 .dd2 L9E45+$2a3 9dff: e8 a0 .dd2 L9E45+$2a3 9e01: e8 a0 .dd2 L9E45+$2a3 9e03: e8 a0 .dd2 L9E45+$2a3 9e05: e8 a0 .dd2 L9E45+$2a3 9e07: e8 a0 .dd2 L9E45+$2a3 9e09: e8 a0 .dd2 L9E45+$2a3 9e0b: ed a0 .dd2 L9E45+$2a8 9e0d: ed a0 .dd2 L9E45+$2a8 9e0f: ed a0 .dd2 L9E45+$2a8 9e11: ed a0 .dd2 L9E45+$2a8 9e13: ed a0 .dd2 L9E45+$2a8 9e15: ed a0 .dd2 L9E45+$2a8 9e17: f7 a0 .dd2 L9E45+$2b2 9e19: 01 a1 .dd2 L9E45+$2bc 9e1b: 11 a1 .dd2 L9E45+$2cc 9e1d: 21 a1 .dd2 L9E45+$2dc 9e1f: 31 a1 .dd2 L9E45+$2ec 9e21: 41 a1 .dd2 L9E45+$2fc 9e23: 4b a1 .dd2 L9E45+$306 9e25: 45 9e L9E25 .dd2 L9E45 9e27: 47 9e .dd2 L9E45+2 9e29: 5f 9e .dd2 L9E45+26 9e2b: 77 9e .dd2 L9E45+50 9e2d: 77 9e .dd2 L9E45+50 9e2f: 77 9e .dd2 L9E45+50 9e31: 87 9e .dd2 L9E45+66 9e33: 93 9e .dd2 L9E45+78 9e35: 9b 9e .dd2 L9E45+86 9e37: a7 9e .dd2 L9E45+98 9e39: a7 9e .dd2 L9E45+98 9e3b: c7 9e .dd2 L9E45+130 9e3d: d5 9e .dd2 L9E45+144 9e3f: d5 9e .dd2 L9E45+144 9e41: d5 9e .dd2 L9E45+144 9e43: d5 9e .dd2 L9E45+144 9e45: fc fc 80 80+ L9E45 .bulk $fc,$fc,$80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8 + $f4,$00,$fc,$f8,$fc,$00,$04,$f8,$04,$00,$f0,$f4,$f0,$fc,$f0,$04 + $f8,$f4,$f8,$fc,$f8,$04,$00,$f4,$00,$fc,$00,$04,$08,$f4,$08,$fc + $08,$04,$f8,$f4,$00,$f4,$f8,$fc,$00,$fc,$f4,$fc,$fc,$fc,$f8,$04 + $00,$04,$02,$f4,$0a,$f4,$f8,$fc,$00,$fc,$02,$04,$0a,$04,$f8,$f8 + $f8,$00,$00,$f8,$00,$00,$f4,$fc,$fc,$fc,$04,$fc,$fc,$04,$04,$04 + $0c,$fc,$f8,$f8,$f8,$00,$00,$f8,$00,$00,$f0,$00,$f0,$08,$f8,$08 + $f0,$f0,$f0,$f8,$f8,$f0,$00,$f0,$08,$f0,$08,$f8,$00,$08,$08,$00 + $08,$08,$f8,$fc,$00,$f8,$f4,$f4,$fc,$f4,$00,$00,$f4,$04,$fc,$04 + $fc,$f8,$fc,$00,$00,$02,$02,$14,$ff,$00,$02,$02,$24,$ff,$00,$00 + $00,$04,$ff,$25,$08,$0a,$e2,$f2,$e3,$f3,$fe,$fe,$fd,$62,$e2,$f2 + $ff,$25,$08,$0a,$e4,$f2,$fe,$fe,$e3,$f3,$fd,$62,$e4,$f2,$ff,$26 + $08,$0a,$f4,$f2,$e3,$f3,$fd,$62,$f4,$f2,$ff,$a5,$08,$0a,$e2,$f2 + $e3,$f3,$fe,$fe,$fd,$e2,$e2,$f2,$ff,$a5,$08,$0a,$e4,$f2,$fe,$fe + $e3,$f3,$fd,$e2,$e4,$f2,$ff,$a6,$08,$0a,$f4,$f2,$e3,$f3,$fd,$e2 + $f4,$f2,$ff,$27,$06,$08,$fc,$04,$00,$c0,$c1,$ff,$27,$06,$08,$e0 + $e1,$fd,$a2,$e0,$e1,$ff,$27,$06,$08,$f0,$f1,$fd,$a2,$f0,$f1,$ff + $67,$06,$08,$fc,$04,$00,$c0,$c1,$ff,$67,$06,$08,$e0,$e1,$fd,$e2 + $e0,$e1,$ff,$67,$06,$08,$f0,$f1,$fd,$e2,$f0,$f1,$ff,$28,$0c,$08 + $ce,$fc,$00,$fc,$de,$ee,$df,$fd,$62,$ee,$ff,$28,$0c,$08,$ce,$cf + $ef,$ff,$28,$0c,$08,$ce,$fd,$62,$cf,$ef,$ff,$21,$00,$00,$fc,$08 + $fc,$e2,$fc,$00,$08,$e2,$fc,$00,$f8,$f2,$fc,$00,$08,$f2,$ff,$21 + $00,$00,$fc,$00,$fc,$f2,$fc,$00,$08,$f2,$fc,$00,$f8,$e2,$fc,$00 + $08,$e2,$ff,$21,$00,$00,$fc,$04,$00,$f1,$f0,$f1,$f0,$ff,$21,$00 + $00,$fc,$04,$00,$f0,$f1,$f0,$f1,$ff,$21,$00,$00,$fc,$08,$00,$d1 + $d0,$ff,$21,$00,$00,$fc,$08,$00,$d0,$d1,$ff,$21,$00,$00,$fc,$08 + $00,$de,$df,$ee,$ee,$ff,$27,$08,$08,$cc,$cd,$dc,$dd,$ff,$67,$08 + $08,$cc,$cd,$dc,$dd,$ff,$27,$08,$08,$ca,$cb,$da,$db,$ff,$a7,$08 + $08,$ca,$cb,$da,$db,$ff,$a7,$08,$08,$cc,$cd,$dc,$dd,$ff,$e7,$08 + $08,$cc,$cd,$dc,$dd,$ff,$67,$08,$08,$ca,$cb,$da,$db,$ff,$e7,$08 + $08,$ca,$cb,$da,$db,$ff,$21,$00,$00,$cc,$cd,$dc,$dd,$ff,$0a,$00 + $00,$75,$fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff,$0a,$00,$00,$fe + $fe,$fe,$fe,$3d,$3e,$4e,$fd,$60,$3e,$3d,$4e,$fd,$e0,$4e,$3e,$3d + $fd,$a0,$4e,$3d,$3e,$ff,$2a,$08,$08,$c2,$c3,$d2,$d3,$ff,$2a,$08 + $08,$c2,$c4,$d2,$d4,$ff,$21,$08,$08,$c2,$c4,$d2,$d4,$ff,$6a,$08 + $08,$c2,$c3,$d2,$d3,$ff,$6a,$08,$08,$c2,$c4,$d2,$d4,$ff,$61,$08 + $08,$c2,$c4,$d2,$d4,$ff,$20,$02,$04,$fc,$ff,$00,$f8,$ff,$60,$02 + $04,$fc,$ff,$00,$f8,$ff,$20,$02,$02,$fc,$fe,$00,$d9,$ff,$e0,$02 + $02,$fc,$00,$02,$d8,$ff,$e0,$02,$02,$fc,$02,$00,$d9,$ff,$20,$02 + $02,$fc,$00,$fe,$d8,$ff,$60,$02,$02,$fc,$fe,$00,$d9,$ff,$a0,$02 + $02,$fc,$00,$fe,$d8,$ff,$a0,$02,$02,$fc,$02,$00,$d9,$ff,$60,$02 + $02,$fc,$00,$02,$d8,$ff,$06,$08,$04,$fe,$fe,$14,$24,$ff,$00,$04 + $04,$8a,$ff,$00,$04,$04,$8a,$ff,$3f,$04,$08,$fd,$03,$ec,$fd,$43 + $ec,$ff,$3f,$04,$08,$fd,$03,$ed,$fd,$43,$ed,$ff,$22,$10,$0c,$c5 + $c6,$c7,$d5,$d6,$d7,$e5,$e6,$e7,$f5,$f6,$f7,$ff,$22,$10,$0c,$c5 + $c6,$c7,$d5,$d6,$d7,$e5,$e6,$e7,$e8,$e9,$f9,$ff,$62,$10,$0c,$c5 + $c6,$c7,$d5,$d6,$d7,$e5,$e6,$e7,$f5,$f6,$f7,$ff,$62,$10,$0c,$c5 + $c6,$c7,$d5,$d6,$d7,$e5,$e6,$e7,$e8,$e9,$f9,$ff,$21,$00,$00,$c5 + $c7,$d5,$d7,$e5,$e7,$ff,$21,$00,$00,$c7,$c5,$d7,$d5,$e7,$e5,$ff + $3f,$00,$20,$0f,$20,$10,$00,$0f,$28,$19,$1a,$0f,$28,$16,$04,$0f + $23,$11,$02,$0f,$16,$19,$27,$0f,$12,$30,$21,$0f,$27,$1b,$36,$0f + $17,$22,$31,$00,$3f,$12,$02,$19,$27,$00,$3f,$12,$02,$2c,$27,$00 + $3f,$12,$02,$19,$35,$00,$3f,$12,$02,$2c,$24,$00,$3f,$11,$03,$04 + $09,$07,$00,$3f,$11,$03,$05,$09,$17,$00,$3f,$11,$03,$06,$0a,$26 + $00,$3f,$11,$03,$16,$19,$27,$00,$3f,$00,$04,$0f,$30,$30,$21,$00 + $3f,$10,$04,$0f,$15,$34,$17,$00,$3f,$10,$04,$0f,$15,$34,$19,$00 + $3f,$10,$04,$0f,$15,$34,$28,$00,$3f,$10,$04,$0f,$15,$34,$29,$00 a1d5: b7 a2 LA1D5 .dd2 LA26D+74 a1d7: c5 a2 .dd2 LA26D+88 a1d9: cd a2 .dd2 LA26D+96 a1db: 08 a3 .dd2 LA26D+155 a1dd: 45 a3 .dd2 LA26D+216 a1df: 88 a3 .dd2 LA26D+$11b a1e1: b8 a3 .dd2 LA26D+$14b a1e3: 01 a4 .dd2 LA26D+$194 a1e5: 42 a4 .dd2 LA26D+$1d5 a1e7: 7e a4 .dd2 LA26D+$211 a1e9: ad a4 .dd2 LA26D+$240 a1eb: e2 a4 .dd2 LA26D+$275 a1ed: 14 a5 .dd2 LA26D+$2a7 a1ef: 58 a5 .dd2 LA26D+$2eb a1f1: 90 a5 .dd2 LA26D+$323 a1f3: bf a5 .dd2 LA26D+$352 a1f5: e8 a5 .dd2 LA26D+$37b a1f7: 47 a6 .dd2 LA26D+$3da a1f9: 47 a6 .dd2 LA26D+$3da a1fb: 83 a6 .dd2 LA26D+$416 a1fd: b5 a6 .dd2 LA26D+$448 a1ff: d9 a6 .dd2 LA26D+$46c a201: 13 a7 .dd2 LA26D+$4a6 a203: 45 a7 .dd2 LA26D+$4d8 a205: 80 a7 .dd2 LA26D+$513 a207: b2 a7 .dd2 LA26D+$545 a209: f6 a7 .dd2 LA26D+$589 a20b: 3f a8 .dd2 LA26D+$5d2 a20d: a3 a8 .dd2 LA26D+$636 a20f: c7 a8 .dd2 LA26D+$65a a211: 23 a9 .dd2 LA26D+$6b6 a213: 4f a9 .dd2 LA26D+$6e2 a215: 72 a9 .dd2 LA26D+$705 a217: 90 a9 .dd2 LA26D+$723 a219: be a9 .dd2 LA26D+$751 a21b: fe a9 .dd2 LA26D+$791 a21d: 33 aa .dd2 LA26D+$7c6 a21f: 6b aa LA21F .dd2 LA26D+$7fe a221: 7e aa .dd2 LA26D+$811 a223: 97 aa .dd2 LA26D+$82a a225: b0 aa .dd2 LA26D+$843 a227: b7 aa .dd2 LA26D+$84a a229: be aa .dd2 LA26D+$851 a22b: c2 aa .dd2 LA26D+$855 a22d: d2 aa .dd2 LA26D+$865 a22f: e2 aa .dd2 LA26D+$875 a231: e7 aa .dd2 LA26D+$87a a233: ec aa .dd2 LA26D+$87f a235: ef aa .dd2 LA26D+$882 a237: f2 aa .dd2 LA26D+$885 a239: fd aa .dd2 LA26D+$890 a23b: 03 ab .dd2 LA26D+$896 a23d: 08 ab .dd2 LA26D+$89b a23f: 11 ab .dd2 LA26D+$8a4 a241: 26 ab .dd2 LA26D+$8b9 a243: 29 ab .dd2 LA26D+$8bc a245: 3c ab .dd2 LA26D+$8cf a247: 51 ab .dd2 LA26D+$8e4 a249: 55 ab .dd2 LA26D+$8e8 a24b: 68 ab .dd2 LA26D+$8fb a24d: 75 ab .dd2 LA26D+$908 a24f: 88 ab .dd2 LA26D+$91b a251: 9b ab .dd2 LA26D+$92e a253: b0 ab .dd2 LA26D+$943 a255: ba ab .dd2 LA26D+$94d a257: bd ab .dd2 LA26D+$950 a259: c4 ab .dd2 LA26D+$957 a25b: e0 ab .dd2 LA26D+$973 a25d: e9 ab .dd2 LA26D+$97c a25f: fe ab .dd2 LA26D+$991 a261: 01 ac .dd2 LA26D+$994 a263: 0a ac .dd2 LA26D+$99d a265: 0f ac .dd2 LA26D+$9a2 a267: 14 ac .dd2 LA26D+$9a7 a269: 1e ac .dd2 LA26D+$9b1 a26b: 27 ac .dd2 LA26D+$9ba a26d: 12 75 a2 07+ LA26D .bulk $12,$75,$a2,$07,$ff,$04,$81,$00,$14,$7d,$a2,$07,$ff,$04,$82,$00 + $15,$8c,$a2,$04,$06,$02,$09,$47,$00,$09,$ff,$02,$09,$47,$00,$16 + $95,$a2,$0a,$ff,$02,$08,$66,$00,$19,$9e,$a2,$0a,$ff,$02,$09,$47 + $00,$1b,$a7,$a2,$05,$ff,$02,$09,$47,$00,$1c,$ae,$a2,$07,$ff,$03 + $00,$1d,$ff,$ff,$08,$ff,$02,$08,$be,$00,$02,$40,$01,$03,$48,$01 + $03,$50,$04,$02,$5f,$04,$02,$ff,$02,$07,$02,$02,$87,$02,$02,$ff + $00,$00,$10,$00,$04,$10,$00,$08,$10,$00,$0c,$10,$00,$40,$06,$00 + $42,$08,$01,$4e,$06,$00,$6d,$09,$01,$75,$0c,$00,$7a,$0c,$00,$90 + $06,$00,$92,$0c,$00,$96,$0d,$00,$9d,$0c,$00,$9e,$06,$00,$e0,$06 + $00,$e1,$0d,$00,$eb,$0d,$00,$ee,$06,$00,$ff,$00,$00,$06,$00,$0a + $0d,$00,$0e,$06,$00,$22,$08,$01,$2d,$09,$01,$45,$0d,$00,$50,$03 + $02,$5f,$03,$02,$80,$10,$00,$8a,$06,$00,$8c,$10,$00,$a4,$08,$01 + $c0,$10,$00,$c9,$0d,$00,$cc,$10,$00,$db,$09,$01,$e1,$10,$00,$fd + $02,$a0,$02,$b1,$31,$85,$37,$ff,$00,$00,$06,$00,$07,$06,$00,$0b + $10,$00,$0e,$06,$00,$22,$08,$01,$2a,$09,$01,$35,$0d,$00,$50,$03 + $02,$57,$06,$00,$5f,$03,$02,$80,$0d,$00,$8c,$0d,$00,$8e,$06,$00 + $90,$06,$00,$92,$08,$01,$be,$06,$00,$cd,$09,$01,$d0,$06,$00,$fd + $02,$a0,$02,$b1,$41,$85,$25,$21,$83,$c8,$ff,$00,$00,$10,$00,$0c + $10,$00,$14,$08,$01,$40,$10,$00,$4c,$10,$00,$6b,$09,$01,$7c,$10 + $00,$80,$10,$00,$94,$08,$01,$bc,$10,$00,$c0,$10,$00,$db,$09,$01 + $fd,$51,$83,$57,$01,$03,$95,$11,$03,$ca,$ff,$00,$00,$06,$00,$0e + $06,$00,$12,$08,$01,$17,$0e,$00,$1a,$0d,$00,$27,$0c,$00,$31,$0e + $00,$36,$11,$00,$39,$07,$00,$50,$03,$02,$59,$0e,$00,$5f,$03,$02 + $80,$10,$00,$84,$10,$00,$88,$10,$00,$8c,$10,$00,$c0,$10,$00,$c4 + $10,$00,$c8,$10,$00,$cc,$10,$00,$fd,$02,$a1,$02,$b1,$01,$85,$2a + $51,$85,$26,$ff,$00,$00,$10,$00,$0a,$10,$00,$0e,$07,$00,$24,$08 + $01,$27,$0e,$00,$40,$07,$00,$5f,$03,$02,$62,$10,$00,$8b,$0e,$00 + $8e,$07,$00,$90,$07,$00,$9d,$09,$01,$b0,$07,$00,$b2,$10,$00,$b6 + $0d,$00,$ce,$07,$00,$d6,$08,$01,$fd,$02,$a1,$01,$85,$17,$21,$85 + $a8,$31,$03,$87,$ff,$00,$00,$10,$00,$03,$10,$00,$0a,$10,$00,$0c + $10,$00,$29,$09,$01,$35,$0e,$00,$40,$10,$00,$44,$08,$01,$4c,$10 + $00,$79,$0e,$00,$80,$10,$00,$8c,$10,$00,$ab,$09,$01,$b0,$10,$00 + $b4,$0d,$00,$cc,$10,$00,$d4,$08,$01,$fd,$11,$85,$6a,$41,$85,$a6 + $ff,$00,$00,$07,$00,$0d,$09,$01,$0e,$07,$00,$42,$08,$01,$50,$07 + $00,$5f,$03,$02,$8b,$0e,$00,$8e,$07,$00,$9d,$09,$01,$a0,$07,$00 + $a6,$0e,$00,$de,$07,$00,$fd,$02,$a1,$21,$85,$97,$31,$03,$83,$ff + $00,$00,$07,$00,$0e,$07,$00,$12,$08,$01,$50,$07,$00,$5f,$03,$02 + $72,$08,$01,$87,$0e,$00,$8b,$0e,$00,$8e,$07,$00,$a0,$10,$00,$ad + $09,$01,$cc,$10,$00,$d4,$00,$02,$e0,$10,$00,$fd,$02,$a1,$01,$85 + $78,$11,$03,$28,$ff,$00,$00,$10,$00,$04,$10,$00,$08,$10,$00,$0c + $10,$00,$40,$10,$00,$44,$10,$00,$48,$10,$00,$4c,$10,$00,$80,$10 + $00,$84,$10,$00,$88,$10,$00,$8c,$10,$00,$b0,$10,$00,$b4,$10,$00 + $b8,$10,$00,$bc,$10,$00,$ff,$00,$00,$07,$00,$0a,$11,$00,$0e,$07 + $00,$25,$11,$00,$32,$08,$01,$49,$11,$00,$50,$03,$02,$5d,$09,$01 + $5e,$07,$00,$80,$07,$00,$82,$11,$00,$86,$11,$00,$9c,$11,$00,$ae + $07,$00,$bd,$09,$01,$c2,$08,$01,$c8,$11,$00,$d0,$07,$00,$d4,$11 + $00,$fd,$02,$b1,$51,$85,$39,$41,$05,$c4,$ff,$00,$00,$07,$00,$0a + $0f,$02,$0e,$07,$00,$1d,$09,$01,$4a,$0f,$02,$50,$03,$02,$5e,$07 + $00,$80,$07,$00,$86,$0f,$02,$8a,$0f,$02,$8c,$11,$00,$9d,$09,$01 + $a2,$11,$00,$ae,$07,$00,$c2,$08,$01,$ca,$0f,$02,$d0,$07,$00,$fd + $02,$b1,$ff,$00,$00,$07,$00,$0a,$0f,$02,$0e,$07,$00,$2d,$09,$01 + $32,$08,$01,$4a,$0f,$02,$50,$07,$00,$5e,$07,$00,$78,$11,$00,$8a + $0f,$02,$92,$08,$01,$a0,$07,$00,$ae,$07,$00,$bd,$09,$01,$ca,$0f + $02,$ff,$01,$00,$1d,$01,$08,$1d,$01,$1e,$1f,$01,$5f,$03,$02,$8c + $1f,$01,$9b,$09,$01,$c9,$1d,$01,$d0,$1f,$01,$d4,$00,$02,$fd,$02 + $a1,$41,$84,$31,$57,$87,$d5,$07,$87,$d8,$ff,$00,$00,$12,$00,$08 + $12,$00,$57,$0c,$00,$75,$0c,$00,$79,$0c,$00,$93,$0c,$00,$9b,$0c + $00,$b1,$0c,$00,$bd,$0c,$00,$cf,$0c,$00,$d0,$00,$02,$d8,$00,$02 + $fd,$41,$81,$2d,$27,$07,$d4,$17,$87,$da,$ff,$00,$00,$07,$00,$02 + $08,$01,$0e,$07,$00,$2d,$09,$01,$32,$0e,$00,$50,$03,$02,$5f,$03 + $02,$80,$10,$00,$84,$10,$00,$88,$10,$00,$8c,$10,$00,$c0,$10,$00 + $c4,$10,$00,$c8,$10,$00,$cc,$10,$00,$ff,$00,$00,$12,$00,$08,$12 + $00,$24,$11,$00,$37,$0c,$00,$45,$0c,$00,$48,$0e,$00,$57,$0c,$00 + $63,$0c,$00,$65,$0c,$00,$9b,$0e,$00,$a2,$11,$00,$c0,$13,$03,$c5 + $0e,$00,$c9,$0c,$00,$cc,$13,$03,$d4,$00,$02,$fd,$21,$85,$39,$31 + $85,$8c,$41,$85,$b6,$ff,$03,$00,$15,$03,$08,$15,$03,$10,$16,$03 + $50,$03,$02,$68,$14,$03,$80,$16,$03,$93,$14,$03,$ab,$14,$03,$bf + $14,$03,$c0,$16,$03,$d2,$00,$02,$da,$00,$02,$fd,$02,$b0,$21,$81 + $27,$41,$85,$84,$37,$87,$dd,$ff,$03,$00,$15,$03,$08,$15,$03,$8a + $14,$03,$a4,$14,$03,$af,$14,$03,$d0,$00,$02,$d8,$00,$02,$fd,$37 + $87,$d1,$47,$87,$d7,$57,$87,$dc,$01,$85,$95,$ff,$01,$00,$1d,$01 + $08,$1d,$01,$20,$1d,$01,$28,$1d,$01,$50,$03,$02,$5f,$03,$02,$80 + $1d,$01,$87,$20,$01,$88,$1d,$01,$97,$21,$01,$b0,$1d,$01,$b7,$21 + $01,$b8,$1d,$01,$c0,$1d,$01,$c7,$21,$01,$c8,$1d,$01,$fd,$02,$a1 + $02,$b1,$01,$80,$68,$ff,$03,$00,$15,$03,$08,$15,$03,$1e,$16,$03 + $5f,$03,$02,$61,$14,$03,$85,$14,$03,$8c,$15,$03,$8e,$16,$03,$ba + $14,$03,$ce,$16,$03,$d0,$00,$02,$d6,$00,$02,$fd,$02,$a1,$07,$87 + $d3,$17,$07,$d8,$21,$81,$27,$ff,$01,$00,$17,$03,$08,$17,$03,$10 + $19,$03,$24,$18,$03,$36,$0c,$00,$3b,$0c,$00,$50,$03,$02,$80,$19 + $03,$ae,$0c,$00,$c0,$19,$03,$d4,$18,$03,$d8,$00,$02,$d9,$18,$03 + $db,$05,$02,$df,$00,$02,$fd,$02,$b1,$41,$80,$c5,$57,$87,$dc,$31 + $04,$48,$ff,$01,$00,$17,$03,$08,$17,$03,$1c,$19,$03,$20,$19,$03 + $5f,$03,$02,$8c,$19,$03,$cc,$19,$03,$d0,$18,$03,$d3,$00,$02,$d4 + $18,$03,$d5,$05,$02,$fd,$02,$a1,$37,$87,$d6,$21,$84,$62,$11,$84 + $25,$01,$84,$29,$ff,$03,$00,$19,$03,$04,$19,$03,$08,$19,$03,$0c + $19,$03,$40,$19,$03,$44,$19,$03,$48,$19,$03,$4c,$19,$03,$70,$19 + $03,$74,$19,$03,$78,$19,$03,$7c,$19,$03,$90,$1a,$03,$94,$1a,$03 + $98,$1a,$03,$9c,$1a,$03,$b0,$1a,$03,$b8,$1a,$03,$c0,$19,$03,$c4 + $19,$03,$c8,$19,$03,$cc,$19,$03,$ff,$03,$00,$13,$03,$04,$13,$03 + $08,$13,$03,$0c,$13,$03,$10,$13,$03,$14,$13,$03,$18,$13,$03,$1c + $13,$03,$50,$03,$02,$5f,$03,$02,$80,$13,$03,$81,$1b,$03,$84,$13 + $03,$88,$13,$03,$8c,$13,$03,$91,$1c,$03,$c0,$13,$03,$c1,$1c,$03 + $c4,$13,$03,$c8,$13,$03,$cc,$13,$03,$fd,$02,$a0,$02,$b1,$31,$81 + $68,$ff,$00,$00,$1f,$01,$04,$1d,$01,$07,$21,$01,$0c,$1f,$01,$10 + $0c,$00,$14,$1f,$01,$17,$21,$01,$18,$1f,$01,$1f,$0c,$00,$25,$0b + $02,$2a,$0b,$02,$41,$22,$00,$4c,$23,$00,$50,$03,$02,$54,$22,$00 + $59,$23,$00,$5f,$03,$02,$80,$07,$00,$82,$14,$03,$84,$14,$03,$86 + $14,$03,$88,$14,$03,$8a,$14,$03,$8c,$14,$03,$8e,$07,$00,$92,$16 + $03,$9c,$16,$03,$d0,$12,$00,$d4,$00,$02,$dc,$12,$00,$fd,$02,$a1 + $02,$b0,$27,$07,$d9,$ff,$03,$00,$17,$03,$08,$17,$03,$b0,$18,$03 + $b6,$05,$02,$b8,$18,$03,$d0,$18,$03,$d8,$18,$03,$fd,$37,$87,$b7 + $01,$80,$45,$11,$00,$3b,$21,$81,$9a,$ff,$01,$00,$15,$03,$08,$15 + $03,$10,$24,$03,$13,$0b,$02,$18,$24,$03,$1c,$0b,$02,$1f,$25,$03 + $20,$25,$03,$22,$22,$00,$2b,$23,$00,$5f,$03,$02,$60,$25,$03,$8e + $25,$03,$8f,$13,$03,$a0,$25,$03,$a2,$11,$00,$ac,$11,$00,$b3,$12 + $00,$bb,$0c,$00,$be,$1b,$03,$c3,$24,$03,$ce,$12,$00,$d1,$00,$02 + $d3,$24,$03,$dc,$00,$02,$de,$12,$00,$e0,$25,$03,$e3,$15,$03,$fd + $02,$a0,$01,$48,$95,$ff,$01,$00,$1e,$01,$02,$1d,$01,$08,$1d,$01 + $1f,$1f,$01,$40,$1e,$01,$5f,$03,$02,$77,$0c,$00,$80,$1e,$01,$87 + $1e,$01,$8d,$1f,$01,$c0,$1d,$01,$c8,$1d,$01,$fd,$02,$a1,$11,$81 + $35,$ff,$01,$00,$1d,$01,$08,$1d,$01,$10,$1e,$01,$50,$03,$02,$80 + $1f,$01,$c0,$1d,$01,$c8,$1d,$01,$cc,$05,$02,$fd,$02,$b1,$01,$88 + $ab,$17,$07,$cd,$ff,$01,$00,$1d,$01,$08,$1d,$01,$78,$0c,$00,$88 + $21,$01,$c0,$1d,$01,$c8,$1d,$01,$cd,$05,$02,$fd,$27,$87,$ce,$41 + $80,$bc,$ff,$01,$00,$1d,$01,$08,$1d,$01,$20,$1d,$01,$28,$1d,$01 + $50,$03,$02,$5f,$03,$02,$80,$1d,$01,$88,$1d,$01,$b0,$1d,$01,$b8 + $1d,$01,$c0,$1d,$01,$c8,$1d,$01,$fd,$02,$a1,$02,$b1,$21,$81,$68 + $ff,$03,$00,$13,$03,$04,$13,$03,$08,$13,$03,$0c,$13,$03,$10,$13 + $03,$14,$13,$03,$18,$13,$03,$1c,$13,$03,$50,$03,$02,$5f,$03,$02 + $80,$13,$03,$84,$13,$03,$88,$13,$03,$8c,$13,$03,$c0,$13,$03,$c4 + $13,$03,$c8,$13,$03,$cc,$13,$03,$fd,$02,$a1,$02,$b1,$41,$81,$68 + $ff,$00,$00,$10,$00,$0e,$06,$00,$16,$0d,$00,$2d,$09,$01,$34,$08 + $01,$40,$10,$00,$4b,$0e,$00,$5f,$03,$02,$80,$10,$00,$84,$10,$00 + $88,$10,$00,$8c,$10,$00,$c0,$10,$00,$cc,$10,$00,$d4,$00,$02,$fd + $02,$a1,$01,$03,$38,$ff,$00,$00,$07,$00,$0e,$07,$00,$19,$11,$00 + $1d,$09,$01,$32,$08,$01,$4c,$11,$00,$50,$03,$02,$5e,$07,$00,$80 + $10,$00,$84,$10,$00,$88,$10,$00,$8c,$10,$00,$c0,$10,$00,$cc,$10 + $00,$fd,$02,$b1,$41,$80,$75,$51,$00,$7a,$01,$83,$45,$ff,$08,$01 + $01,$01,$01,$01,$01,$01,$01,$08,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$08,$02,$02,$02,$02,$02,$02,$02,$02,$01,$1c,$01,$1c,$01,$1c + $08,$02,$02,$02,$02,$02,$02,$02,$02,$ff,$02,$04,$05,$02,$04,$05 + $02,$04,$05,$02,$04,$05,$02,$04,$05,$02,$04,$05,$02,$04,$05,$02 + $04,$05,$ff,$01,$06,$01,$06,$01,$06,$ff,$01,$07,$01,$07,$01,$07 + $ff,$02,$14,$15,$ff,$02,$17,$17,$02,$17,$1b,$02,$17,$1b,$02,$1b + $17,$02,$17,$17,$ff,$02,$1a,$17,$02,$17,$17,$02,$1b,$1a,$02,$17 + $17,$02,$1a,$1b,$ff,$01,$18,$01,$18,$ff,$01,$19,$01,$19,$ff,$01 + $09,$ff,$01,$0a,$ff,$01,$1e,$01,$1a,$01,$1a,$01,$1a,$01,$1e,$ff + $04,$17,$17,$17,$17,$ff,$03,$17,$1d,$17,$ff,$01,$0b,$01,$0b,$01 + $0b,$01,$0b,$ff,$04,$17,$17,$1b,$17,$04,$1b,$17,$17,$17,$04,$1b + $17,$1b,$1b,$04,$17,$1b,$17,$17,$ff,$01,$17,$ff,$08,$1e,$1e,$1e + $1e,$1e,$1e,$1e,$1e,$08,$1e,$1e,$1e,$1e,$1e,$1e,$1e,$1e,$ff,$04 + $0f,$0f,$0f,$0f,$04,$0f,$0f,$0f,$0f,$04,$0f,$0f,$0f,$0f,$04,$0f + $0f,$0f,$0f,$ff,$02,$12,$12,$ff,$08,$10,$10,$10,$10,$10,$10,$10 + $10,$08,$10,$10,$10,$10,$10,$10,$10,$10,$ff,$02,$10,$10,$02,$10 + $10,$02,$10,$10,$02,$10,$10,$ff,$08,$13,$0e,$13,$0e,$0e,$13,$0e + $0e,$08,$0e,$0e,$13,$13,$0e,$0e,$13,$13,$ff,$08,$11,$11,$11,$11 + $11,$11,$11,$11,$08,$11,$11,$11,$11,$11,$11,$11,$11,$ff,$04,$11 + $11,$11,$11,$04,$11,$11,$11,$11,$04,$11,$11,$11,$11,$04,$11,$11 + $11,$11,$ff,$08,$20,$22,$22,$22,$22,$22,$22,$22,$ff,$01,$1f,$ff + $01,$21,$01,$21,$01,$21,$ff,$08,$23,$23,$23,$23,$23,$23,$23,$23 + $08,$23,$24,$24,$24,$24,$24,$24,$23,$08,$23,$23,$23,$23,$23,$23 + $23,$23,$ff,$01,$23,$01,$23,$01,$23,$01,$23,$ff,$04,$23,$23,$23 + $23,$04,$23,$24,$24,$23,$04,$23,$24,$24,$23,$04,$23,$23,$23,$23 + $ff,$01,$25,$ff,$01,$26,$01,$26,$01,$26,$01,$26,$ff,$03,$27,$27 + $27,$ff,$03,$28,$28,$28,$ff,$08,$13,$13,$13,$13,$13,$13,$13,$13 + $ff,$01,$13,$01,$13,$01,$13,$01,$13,$ff,$04,$0c,$0c,$0c,$0c,$04 + $0d,$0d,$0d,$0d,$ff,$f1,$f1,$f1,$f1,$ff,$ff,$f0,$f0,$64,$64,$64 + $64,$ff,$ff,$64,$64,$a4,$ff,$a4,$ff,$ff,$a5,$ff,$a5,$a0,$a0,$a0 + $a0,$a1,$a1,$a1,$a1,$4f,$4f,$4f,$4f,$84,$85,$86,$87,$88,$89,$8a + $8b,$80,$81,$82,$83,$ff,$ff,$ba,$ba,$bb,$bb,$bb,$bb,$10,$11,$12 + $13,$04,$05,$06,$07,$14,$15,$16,$17,$1c,$1d,$1e,$1f,$09,$09,$09 + $09,$0c,$0d,$0e,$0f,$ff,$ff,$59,$5a,$ff,$ff,$5a,$5b,$51,$52,$53 + $54,$55,$56,$57,$58,$ec,$ff,$ed,$ff,$ff,$ee,$ff,$ef,$45,$46,$45 + $46,$4b,$4c,$4d,$50,$ff,$ff,$ff,$ff,$47,$48,$47,$48,$08,$08,$08 + $08,$70,$71,$72,$73,$74,$75,$76,$77,$e0,$e1,$e2,$e3,$e4,$e5,$e6 + $e7,$20,$21,$22,$23,$25,$25,$24,$24,$78,$79,$7a,$7b,$e8,$e9,$ea + $eb,$26,$27,$28,$29,$2a,$2b,$2c,$2d acd6: 0d 1e 07 21+ .junk 810 b000: b6 20 b2 28+ .bulk $b6,$20,$b2,$28,$b3,$2c,$34,$b4,$30,$30,$b3,$3c,$38,$30,$28,$b4 + $24,$24,$1e,$b3,$2a,$26,$b4,$2e,$2e,$b3,$32,$36,$2e,$32,$b4,$2a + $2a,$00,$ba,$02,$d0,$b1,$3c,$40,$44,$40,$ff,$d0,$42,$46,$4a,$46 + $ff,$d0,$b1,$44,$48,$4c,$48,$ff,$d0,$4a,$4e,$52,$4e,$ff,$00,$b8 + $02,$c4,$b3,$38,$b2,$2e,$b3,$42,$b2,$30,$b3,$3c,$b2,$34,$b3,$2e + $b2,$2c,$ff,$c2,$b3,$3e,$b2,$34,$b3,$38,$b2,$2e,$b3,$3c,$b2,$34 + $b3,$42,$b2,$38,$ff,$c4,$b1,$3e,$2e,$3e,$2e,$3e,$2e,$44,$38,$44 + $38,$44,$38,$42,$30,$42,$30,$42,$30,$42,$36,$3c,$36,$46,$36,$ff + $c2,$3c,$3e,$42,$46,$4c,$46,$54,$4c,$42,$3e,$3c,$46,$5a,$54,$4c + $42,$3e,$3c,$38,$3e,$42,$4c,$50,$02,$ff,$c4,$b1,$5a,$02,$56,$02 + $54,$02,$50,$02,$54,$02,$56,$02,$ff,$00,$d0,$b2,$20,$b3,$38,$ff + $c2,$b2,$18,$b3,$30,$b2,$18,$b3,$30,$b2,$1c,$b3,$34,$b2,$1c,$b3 + $34,$ff,$c4,$b2,$20,$38,$50,$24,$3c,$54,$22,$3a,$52,$16,$2e,$46 + $ff,$c2,$b3,$20,$b2,$2e,$b3,$30,$b2,$2e,$b3,$18,$b2,$26,$b3,$2a + $b2,$2e,$ff,$c8,$b4,$08,$ff,$2a,$2a,$2a,$b9,$2a,$2a,$2a,$b2,$2a + $2a,$2a,$2a,$2a,$b9,$2a,$12,$2a,$b2,$26,$b9,$0e,$26,$26,$b2,$26 + $b9,$0e,$26,$26,$b2,$22,$b9,$0a,$22,$22,$b2,$22,$b9,$0a,$22,$22 + $b2,$20,$20,$b9,$20,$20,$20,$b2,$20,$b9,$34,$30,$34,$38,$34,$38 + $3a,$38,$3a,$3e,$3a,$3e,$ff,$c2,$b2,$18,$30,$18,$30,$18,$30,$18 + $30,$22,$22,$b1,$22,$22,$b2,$22,$20,$1c,$18,$16,$14,$14,$14,$2c + $2a,$2a,$b9,$2a,$2a,$2a,$b2,$2a,$28,$28,$b9,$28,$28,$28,$b2,$28 + $26,$26,$b9,$26,$26,$3e,$26,$26,$3e,$ff,$f0,$b2,$01,$04,$01,$04 + $ff,$e0,$ba,$2a,$1a,$02,$3a,$40,$02,$1c,$2e,$38,$2c,$3c,$38,$02 + $40,$44,$46,$02,$1e,$02,$2c,$38,$46,$26,$02,$3a,$20,$02,$28,$2e + $02,$18,$44,$02,$46,$48,$4a,$4c,$02,$18,$1e,$ff,$b8,$02,$c8,$b0 + $0a,$0c,$ff,$c8,$0e,$0c,$ff,$c8,$10,$0e,$ff,$c8,$0e,$0c,$ff,$00 + $2b,$3b,$1b,$5a,$d0,$d1,$c3,$c3,$3b,$3b,$9b,$da,$d0,$d0,$c0,$c0 + $2c,$23,$20,$20,$30,$98,$cf,$c7,$00,$00,$00,$00,$00,$00,$00,$30 + $1f,$80,$c0,$c0,$60,$70,$fc,$c0,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$00,$00,$00,$00,$00,$00,$00,$80,$80,$c0,$78,$4c,$c7,$80,$80 + $c4,$a5,$45,$0b,$1b,$03,$03,$00,$3a,$13,$31,$63,$c3,$83,$03,$04 + $e6,$e6,$c4,$8e,$1c,$3c,$18,$30,$e8,$e8,$c8,$90,$60,$00,$00,$00 b200: 00 10 01 18+ LB200_2 .bulk $00,$10,$01,$18,$00,$01,$38,$01,$02,$40,$00,$09,$58,$80,$7f,$80 + $48,$35,$7f,$00,$b0,$19,$7f,$0e,$a0,$0d,$7f,$0f,$08,$16,$7f,$0b + $18,$13,$7f,$0e,$f8,$c1,$89,$02,$0f,$34,$ba,$e0,$05,$34,$bb,$ce + $05,$b6,$7f,$00,$c2,$b6,$7f,$04,$c2,$17,$7f,$66,$89,$89,$7f,$67 + $18,$8b,$7f,$fd,$28,$02,$7f,$a8,$f8,$d7,$83,$58,$f8,$d6,$82,$58 + $f8,$95,$8c,$40,$b9,$1d,$9a,$20,$8f,$16,$8d,$e0,$42,$19,$7f,$6f + $40,$18,$7f,$80,$40,$07,$7f,$40,$28,$07,$7f,$45,$28,$7f,$7f,$dd + $3b,$7f,$7f,$ff,$98,$7f,$7f,$40,$08,$09,$7f,$30,$48,$03,$7f,$42 + $18,$03,$7f,$11,$09,$7f,$7f,$30,$b2 b289: bb b2 .dd2 LB2BB_0 b28b: 22 b3 .dd2 LB322_0 b28d: 00 .dd1 $00 b28e: cb b2 .dd2 LB2CB_0 b290: ee b4 .dd2 TB4EE_3 b292: 00 .dd1 $00 b293: db b2 .dd2 LB2DB_0 b295: 30 b3 .dd2 LB330_0 b297: 01 .dd1 $01 b298: eb b2 .dd2 LB2EB_0 b29a: ee b4 .dd2 TB4EE_3 b29c: 01 .dd1 $01 b29d: fb b2 .dd2 LB2FB_0 b29f: 44 b3 .dd2 LB344_0 b2a1: 03 .dd1 $03 b2a2: 0b b3 .dd2 LB30B_0 b2a4: ee b4 .dd2 TB4EE_3 b2a6: 03 .dd1 $03 b2a7: 06 bc .dd2 LBC06_0 b2a9: 5c b3 .dd2 LB35C_0 b2ab: 04 .dd1 $04 b2ac: 16 bc .dd2 LBC16_0 b2ae: 64 b3 .dd2 LB364_0 b2b0: 04 .dd1 $04 b2b1: 26 bc .dd2 LBC26_0 b2b3: 4b bc .dd2 LBC4B_0 b2b5: 00 .dd1 $00 b2b6: 26 bc .dd2 LBC26_0 b2b8: 3d bc .dd2 LBC3D_0 b2ba: 00 .dd1 $00 b2bb: ee b4 LB2BB_0 .dd2 TB4EE_3 b2bd: 2b b5 .dd2 TB52B_3 b2bf: 6e b5 .dd2 TB56E_3 b2c1: 83 b5 .dd2 TB583_3 b2c3: 98 b5 .dd2 TB598_3 b2c5: 0f b5 .dd2 TB50F_3 b2c7: ee b4 .dd2 TB4EE_3 b2c9: ee b4 .dd2 TB4EE_3 b2cb: ee b4 LB2CB_0 .dd2 TB4EE_3 b2cd: 39 b5 .dd2 TB539_3 b2cf: 7b b5 .dd2 TB57B_3 b2d1: 8a b5 .dd2 TB58A_3 b2d3: 8a b5 .dd2 TB58A_3 b2d5: 16 b5 .dd2 TB516_3 b2d7: ee b4 .dd2 TB4EE_3 b2d9: ee b4 .dd2 TB4EE_3 b2db: cd b6 LB2DB_0 .dd2 TB6CD_3 b2dd: e7 b6 .dd2 TB6E7_3 b2df: 35 b7 .dd2 TB735_3 b2e1: 16 b7 .dd2 TB716_3 b2e3: 3c b7 .dd2 TB73C_3 b2e5: 10 b7 .dd2 TB710_3 b2e7: 03 b7 .dd2 TB703_3 b2e9: 7a b7 .dd2 TB77A_3 b2eb: b0 b6 LB2EB_0 .dd2 TB6B0_3 b2ed: d3 b6 .dd2 TB6D3_3 b2ef: ed b6 .dd2 TB6ED_3 b2f1: 4f b7 .dd2 TB74F_3 b2f3: ed b6 .dd2 TB6ED_3 b2f5: ed b6 .dd2 TB6ED_3 b2f7: ed b6 .dd2 TB6ED_3 b2f9: 81 b7 .dd2 TB781_3 b2fb: d2 b8 LB2FB_0 .dd2 TB8D2_3 b2fd: ac b7 .dd2 TB7AC_3 b2ff: a7 b8 .dd2 TB8A7_3 b301: 21 b9 .dd2 TB921_3 b303: d9 b7 .dd2 TB7D9_3 b305: ef b7 .dd2 TB7EF_3 b307: 34 b8 .dd2 TB834_3 b309: 78 b8 .dd2 TB878_3 b30b: ed b8 LB30B_0 .dd2 TB8ED_3 b30d: cb b7 .dd2 TB7CB_3 b30f: b1 b8 .dd2 TB8B1_3 b311: 40 b9 .dd2 TB940_3 b313: e7 b7 .dd2 TB7E7_3 b315: 0e b8 .dd2 TB80E_3 b317: 4f b8 .dd2 TB84F_3 b319: 7f b8 .dd2 TB87F_3 b31b: ad 80 06 LB31B_2 lda NoiseSFXFlag b31e: a2 89 ldx #$89 b320: d0 15 bne LB337_3 b322: ad 88 06 LB322_0 lda NoiseContSFX b325: a2 8e ldx #$8e b327: d0 0e bne LB337_3 b329: ad 81 06 LB329_3 lda SQ1SFXFlag b32c: a2 93 ldx #$93 b32e: d0 07 bne LB337_3 b330: ad 89 06 LB330_0 lda SQ1ContSFX b333: a2 98 ldx #$98 b335: d0 00 bne LB337_3 b337: 20 bd b4 LB337_3 jsr LB4BD_3 b33a: 6c e2 00 jmp ($00e2) b33d: ad 83 06 LB33D_2 lda TriangleSFXFlag b340: a2 9d ldx #$9d b342: d0 f3 bne LB337_3 b344: ad 8b 06 LB344_0 lda TriangleContSFX b347: a2 a2 ldx #$a2 b349: d0 ec bne LB337_3 b34b: ad 84 06 LB34B_2 lda MultiSFXFlag b34e: a2 a7 ldx #$a7 b350: 20 bd b4 jsr LB4BD_3 b353: 20 53 bc jsr LBC53_2 b356: 20 64 bc jsr LBC64_2 b359: 6c e2 00 jmp ($00e2) b35c: ad 8c 06 LB35C_0 lda MultiContSFX b35f: a2 ac ldx #$ac b361: 4c 37 b3 jmp LB337_3 b364: 20 29 b3 LB364_0 jsr LB329_3 b367: 60 rts b368: a9 00 LB368_3 lda #$00 b36a: f0 0a beq LB376_3 b36c: a9 08 LB36C_3 lda #$08 b36e: d0 06 bne LB376_3 b370: a9 0c LB370_3 lda #$0c b372: d0 02 bne LB376_3 b374: a9 04 LB374_3 lda #$04 b376: 85 e0 LB376_3 sta $e0 b378: a9 40 lda #$40 b37a: 85 e1 sta $e1 b37c: 84 e2 sty $e2 b37e: a9 b2 lda #$b2 b380: 85 e3 sta $e3 b382: a0 00 ldy #$00 b384: b1 e2 LB384_3 lda ($e2),y b386: 91 e0 sta ($e0),y b388: c8 iny b389: 98 tya b38a: c9 04 cmp #$04 b38c: d0 f6 bne LB384_3 b38e: 60 rts b38f: ee 02 06 LB38F_2 inc SFXPaused b392: 20 3e b4 jsr LB43E_3 b395: 8d 03 06 sta PauseSFXStatus b398: 60 rts b399: ad 02 06 LB399_2 lda SFXPaused b39c: f0 f1 beq LB38F_2 b39e: ad 03 06 lda PauseSFXStatus b3a1: c9 12 cmp #$12 b3a3: f0 0e beq LB3B3_2 b3a5: 29 03 and #$03 b3a7: c9 03 cmp #$03 b3a9: d0 05 bne LB3B0_2 b3ab: a0 0d ldy #$0d b3ad: 20 68 b3 jsr LB368_3 b3b0: ee 03 06 LB3B0_2 inc PauseSFXStatus b3b3: 60 LB3B3_2 rts b3b4: a9 c0 lda #$c0 b3b6: 8d 17 40 sta APUCommonCntrl1 b3b9: ad 80 06 lda NoiseSFXFlag b3bc: 4a lsr A b3bd: b0 2c bcs LB3EB_2 b3bf: a5 1e lda MainRoutine b3c1: c9 05 cmp #$05 b3c3: f0 d4 beq LB399_2 b3c5: a9 00 lda #$00 b3c7: 8d 02 06 sta SFXPaused b3ca: 20 1b b3 jsr LB31B_2 b3cd: 20 4b b3 jsr LB34B_2 b3d0: 20 3d b3 jsr LB33D_2 b3d3: 20 36 bc jsr LBC36_2 b3d6: a9 00 LB3D6_2 lda #$00 b3d8: 8d 80 06 sta NoiseSFXFlag b3db: 8d 81 06 sta SQ1SFXFlag b3de: 8d 82 06 sta SQ2SFXFlag b3e1: 8d 83 06 sta TriangleSFXFlag b3e4: 8d 84 06 sta MultiSFXFlag b3e7: 8d 85 06 sta MusicInitFlag b3ea: 60 rts b3eb: 20 04 b4 LB3EB_2 jsr LB404_3 b3ee: f0 e6 beq LB3D6_2 b3f0: ad 2c 06 LB3F0_3 lda MusicRepeat b3f3: f0 0f beq LB404_3 b3f5: ad 8d 06 lda CurrentMusic b3f8: 8d 5d 06 sta CurrentMusicRepeat b3fb: 60 rts b3fc: ad 8d 06 LB3FC_3 lda CurrentMusic b3ff: cd 4d 06 cmp CurrentSFXFlags b402: f0 06 beq LB40A_3 b404: 20 1d b4 LB404_3 jsr LB41D_3 b407: 20 3e b4 jsr LB43E_3 b40a: 20 0e b4 LB40A_3 jsr LB40E_3 b40d: 60 rts b40e: a9 00 LB40E_3 lda #$00 b410: 8d 2d 06 sta TriangleCounterCntrl b413: 8d 02 06 sta SFXPaused b416: 8d 5d 06 sta CurrentMusicRepeat b419: 8d 2c 06 sta MusicRepeat b41c: 60 rts b41d: a9 00 LB41D_3 lda #$00 b41f: 8d 53 06 sta SQ1InUse b422: 8d 54 06 sta SQ2InUse b425: 8d 55 06 sta TriangleInUse b428: 8d 07 06 sta WriteMultiChannelData b42b: 8d 88 06 sta NoiseContSFX b42e: 8d 89 06 sta SQ1ContSFX b431: 8d 8a 06 sta SQ2ContSFX b434: 8d 8b 06 sta TriangleContSFX b437: 8d 8c 06 sta MultiContSFX b43a: 8d 8d 06 sta CurrentMusic b43d: 60 rts b43e: a9 10 LB43E_3 lda #$10 b440: 8d 00 40 sta SQ1Cntrl0 b443: 8d 04 40 sta SQ2Cntrl0 b446: 8d 0c 40 sta NoiseCntrl0 b449: a9 00 lda #$00 b44b: 8d 08 40 sta TriangleCntrl0 b44e: 8d 11 40 sta DMCCntrl1 b451: 60 rts b452: ae 5c 06 LB452_3 ldx ChannelType b455: 9d 60 06 sta NoiseSFXLength,x b458: 8a txa b459: f0 1c beq LB477_3 b45b: c9 01 cmp #$01 b45d: f0 09 beq LB468_3 b45f: c9 02 cmp #$02 b461: f0 0a beq LB46D_3 b463: c9 03 cmp #$03 b465: f0 0b beq LB472_3 b467: 60 rts b468: 20 68 b3 LB468_3 jsr LB368_3 b46b: f0 0d beq LB47A_3 b46d: 20 74 b3 LB46D_3 jsr LB374_3 b470: f0 08 beq LB47A_3 b472: 20 6c b3 LB472_3 jsr LB36C_3 b475: f0 03 beq LB47A_3 b477: 20 70 b3 LB477_3 jsr LB370_3 b47a: 20 93 b4 LB47A_3 jsr LB493_3 b47d: 8a txa b47e: 9d 52 06 sta NoiseInUse,x b481: a9 00 lda #$00 b483: 9d 65 06 sta ThisNoiseFrame,x b486: 9d 70 06 sta NoiseSFXData,x b489: 9d 74 06 sta MultiSFXData,x b48c: 9d 78 06 sta ScrewAttackSFXData,x b48f: 8d 07 06 sta WriteMultiChannelData b492: 60 rts b493: ae 5c 06 LB493_3 ldx ChannelType b496: bd 88 06 lda NoiseContSFX,x b499: 29 00 and #$00 b49b: 0d 4d 06 ora CurrentSFXFlags b49e: 9d 88 06 sta NoiseContSFX,x b4a1: 60 rts b4a2: a9 00 LB4A2_3 lda #$00 b4a4: 8d 4d 06 sta CurrentSFXFlags b4a7: f0 ea beq LB493_3 b4a9: ae 5c 06 LB4A9_3 ldx ChannelType b4ac: fe 65 06 inc ThisNoiseFrame,x b4af: bd 65 06 lda ThisNoiseFrame,x b4b2: dd 60 06 cmp NoiseSFXLength,x b4b5: d0 05 bne LB4BC_3 b4b7: a9 00 lda #$00 b4b9: 9d 65 06 sta ThisNoiseFrame,x b4bc: 60 LB4BC_3 rts b4bd: 8d 4d 06 LB4BD_3 sta CurrentSFXFlags b4c0: 86 e4 stx $e4 b4c2: a0 b2 ldy #$b2 b4c4: 84 e5 sty $e5 b4c6: a0 00 ldy #$00 b4c8: b1 e4 LB4C8_3 lda ($e4),y b4ca: 99 e0 00 sta $00e0,y b4cd: c8 iny b4ce: 98 tya b4cf: c9 04 cmp #$04 b4d1: d0 f5 bne LB4C8_3 b4d3: b1 e4 lda ($e4),y b4d5: 8d 5c 06 sta ChannelType b4d8: a0 00 ldy #$00 b4da: ad 4d 06 lda CurrentSFXFlags b4dd: 48 pha b4de: 0e 4d 06 LB4DE_3 asl CurrentSFXFlags b4e1: b0 0c bcs LB4EF_3 b4e3: c8 iny b4e4: c8 iny b4e5: 98 tya b4e6: c9 10 cmp #$10 b4e8: d0 f4 bne LB4DE_3 b4ea: 68 LB4EA_3 pla b4eb: 8d 4d 06 sta CurrentSFXFlags b4ee: 60 TB4EE_3 rts b4ef: b1 e0 LB4EF_3 lda ($e0),y b4f1: 85 e2 sta $e2 b4f3: c8 iny b4f4: b1 e0 lda ($e0),y b4f6: 85 e3 sta $e3 b4f8: 4c ea b4 jmp LB4EA_3 b4fb: 12 13 14 15+ LB4FB_3 .bulk $12,$13,$14,$15,$16,$17,$18,$19,$1a,$1b,$1c,$1d,$1b,$1a,$19,$17 + $16,$15,$14,$12 b50f: a9 14 TB50F_3 lda #$14 b511: a0 21 ldy #$21 b513: 4c 52 b4 jmp LB452_3 b516: 20 a9 b4 TB516_3 jsr LB4A9_3 b519: d0 03 bne LB51E_3 b51b: 4c 8f b5 jmp LB58F_3 b51e: ac 70 06 LB51E_3 ldy NoiseSFXData b521: b9 fb b4 lda LB4FB_3,y b524: 8d 0c 40 sta NoiseCntrl0 b527: ee 70 06 inc NoiseSFXData b52a: 60 rts b52b: a9 05 TB52B_3 lda #$05 b52d: a0 11 ldy #$11 b52f: 20 52 b4 jsr LB452_3 b532: ad 13 b2 lda LB200_2+19 b535: 8d 70 06 sta NoiseSFXData b538: 60 LB538_3 rts b539: ad 78 06 TB539_3 lda ScrewAttackSFXData b53c: c9 02 cmp #$02 b53e: f0 09 beq LB549_3 b540: 20 a9 b4 jsr LB4A9_3 b543: d0 f3 bne LB538_3 b545: ee 78 06 inc ScrewAttackSFXData b548: 60 rts b549: 20 a9 b4 LB549_3 jsr LB4A9_3 b54c: d0 16 bne LB564_3 b54e: ce 70 06 dec NoiseSFXData b551: ce 70 06 dec NoiseSFXData b554: ce 70 06 dec NoiseSFXData b557: ee 74 06 inc MultiSFXData b55a: ad 74 06 lda MultiSFXData b55d: c9 0f cmp #$0f b55f: d0 d7 bne LB538_3 b561: 4c 8f b5 jmp LB58F_3 b564: ee 70 06 LB564_3 inc NoiseSFXData b567: ad 70 06 lda NoiseSFXData b56a: 8d 0e 40 sta NoiseCntrl2 b56d: 60 rts b56e: a9 18 TB56E_3 lda #$18 b570: a0 15 ldy #$15 b572: 20 87 b5 jsr LB587_3 b575: a9 0a lda #$0a b577: 8d 70 06 sta NoiseSFXData b57a: 60 rts b57b: 20 a9 b4 TB57B_3 jsr LB4A9_3 b57e: d0 e4 bne LB564_3 b580: 4c 8f b5 jmp LB58F_3 b583: a9 30 TB583_3 lda #$30 b585: a0 19 ldy #$19 b587: 4c 52 b4 LB587_3 jmp LB452_3 b58a: 20 a9 b4 TB58A_3 jsr LB4A9_3 b58d: d0 08 bne LB597_3 b58f: 20 a2 b4 LB58F_3 jsr LB4A2_3 b592: a9 10 lda #$10 b594: 8d 0c 40 sta NoiseCntrl0 b597: 60 LB597_3 rts b598: ad 88 06 TB598_3 lda NoiseContSFX b59b: 29 34 and #$34 b59d: d0 f8 bne LB597_3 b59f: a9 03 lda #$03 b5a1: a0 1d ldy #$1d b5a3: d0 e2 bne LB587_3 b5a5: 8d 64 06 LB5A5_3 sta MultiSFXLength b5a8: 20 74 b3 jsr LB374_3 b5ab: 20 93 b4 jsr LB493_3 b5ae: a9 01 lda #$01 b5b0: 8d 53 06 sta SQ1InUse b5b3: a9 02 lda #$02 b5b5: 8d 54 06 sta SQ2InUse b5b8: a9 00 lda #$00 b5ba: 8d 89 06 sta SQ1ContSFX b5bd: 8d 71 06 sta SQ1SFXData b5c0: 8d 75 06 sta SQ1SQ2SFXData b5c3: 8d 79 06 sta SQ1SFXPeriodLow b5c6: 8d 69 06 sta ThisMultiFrame b5c9: 8d 07 06 sta WriteMultiChannelData b5cc: 60 rts b5cd: a9 10 LB5CD_3 lda #$10 b5cf: 8d 00 40 sta SQ1Cntrl0 b5d2: 8d 04 40 sta SQ2Cntrl0 b5d5: a9 7f lda #$7f b5d7: 8d 01 40 sta SQ1Cntrl1 b5da: 8d 05 40 sta SQ2Cntrl1 b5dd: 20 a2 b4 jsr LB4A2_3 b5e0: a9 00 lda #$00 b5e2: 8d 53 06 sta SQ1InUse b5e5: 8d 54 06 sta SQ2InUse b5e8: ee 07 06 inc WriteMultiChannelData b5eb: 60 rts b5ec: a0 2d TB5EC_1 ldy #$2d b5ee: 20 68 b3 jsr LB368_3 b5f1: a0 29 ldy #$29 b5f3: 4c a5 b5 jmp LB5A5_3 b5f6: ee 71 06 TB5F6_1 inc SQ1SFXData b5f9: ac 71 06 ldy SQ1SFXData b5fc: b9 3c b6 lda LB63C_3,y b5ff: 8d 00 40 sta SQ1Cntrl0 b602: 8d 04 40 sta SQ2Cntrl0 b605: ad 71 06 lda SQ1SFXData b608: c9 14 cmp #$14 b60a: f0 2d beq LB639_3 b60c: c9 06 cmp #$06 b60e: 90 10 bcc LB620_3 b610: a5 2e lda RandomNumber1 b612: 09 10 ora #$10 b614: 29 7f and #$7f b616: 8d 79 06 sta SQ1SFXPeriodLow b619: 2a rol A b61a: 8d 75 06 sta SQ1SQ2SFXData b61d: 4c 2c b6 jmp LB62C_3 b620: ee 75 06 LB620_3 inc SQ1SQ2SFXData b623: ee 75 06 inc SQ1SQ2SFXData b626: ee 79 06 inc SQ1SFXPeriodLow b629: ee 79 06 inc SQ1SFXPeriodLow b62c: ad 75 06 LB62C_3 lda SQ1SQ2SFXData b62f: 8d 06 40 sta SQ2Cntrl2 b632: ad 79 06 lda SQ1SFXPeriodLow b635: 8d 02 40 sta SQ1Cntrl2 b638: 60 rts b639: 4c cd b5 LB639_3 jmp LB5CD_3 b63c: 38 3d 3f 3f+ LB63C_3 .bulk $38,$3d,$3f,$3f,$3f,$3f,$3f,$3d,$3b,$39,$3b,$3d,$3f,$3d,$3b,$39 + $3b,$3d,$3f,$39 b650: 20 a9 b4 TB650_1 jsr LB4A9_3 b653: d0 03 bne LB658_3 b655: 4c cd b5 jmp LB5CD_3 b658: a0 25 LB658_3 ldy #$25 b65a: 20 68 b3 jsr LB368_3 b65d: a5 2e lda RandomNumber1 b65f: 29 0f and #$0f b661: 8d 02 40 sta SQ1Cntrl2 b664: a0 25 ldy #$25 b666: 20 74 b3 jsr LB374_3 b669: a5 2e lda RandomNumber1 b66b: 4a lsr A b66c: 4a lsr A b66d: 29 0f and #$0f b66f: 8d 06 40 sta SQ2Cntrl2 b672: 60 rts b673: a0 25 TB673_1 ldy #$25 b675: 20 68 b3 jsr LB368_3 b678: a5 2e lda RandomNumber1 b67a: 29 0f and #$0f b67c: 8d 02 40 sta SQ1Cntrl2 b67f: 18 clc b680: a5 2e lda RandomNumber1 b682: 29 03 and #$03 b684: 69 01 adc #$01 b686: a0 25 ldy #$25 b688: 20 a5 b5 jsr LB5A5_3 b68b: a5 2e lda RandomNumber1 b68d: 4a lsr A b68e: 4a lsr A b68f: 29 0f and #$0f b691: 8d 06 40 sta SQ2Cntrl2 b694: 60 LB694_3 rts b695: a0 31 TB695_1 ldy #$31 b697: 20 68 b3 jsr LB368_3 b69a: a9 20 lda #$20 b69c: a0 35 ldy #$35 b69e: 4c a5 b5 jmp LB5A5_3 b6a1: 20 a9 b4 TB6A1_1 jsr LB4A9_3 b6a4: d0 ee bne LB694_3 b6a6: 4c cd b5 jmp LB5CD_3 b6a9: bd 8d 7e 5e+ LB6A9_3 .bulk $bd,$8d,$7e,$5e,$46,$3e,$00 b6b0: 20 a9 b4 TB6B0_3 jsr LB4A9_3 b6b3: d0 17 bne LB6CC_3 b6b5: ac 71 06 ldy SQ1SFXData b6b8: b9 a9 b6 lda LB6A9_3,y b6bb: d0 03 bne LB6C0_3 b6bd: 4c f2 b6 jmp LB6F2_3 b6c0: 8d 02 40 LB6C0_3 sta SQ1Cntrl2 b6c3: ad 44 b2 lda LB200_2+68 b6c6: 8d 03 40 sta SQ1Cntrl3 b6c9: ee 71 06 inc SQ1SFXData b6cc: 60 LB6CC_3 rts b6cd: a9 05 TB6CD_3 lda #$05 b6cf: a0 41 ldy #$41 b6d1: d0 66 bne LB739_3 b6d3: 20 a9 b4 TB6D3_3 jsr LB4A9_3 b6d6: d0 f4 bne LB6CC_3 b6d8: ee 71 06 inc SQ1SFXData b6db: ad 71 06 lda SQ1SFXData b6de: c9 03 cmp #$03 b6e0: f0 10 beq LB6F2_3 b6e2: a0 3d ldy #$3d b6e4: 4c 68 b3 jmp LB368_3 b6e7: a9 06 TB6E7_3 lda #$06 b6e9: a0 3d ldy #$3d b6eb: d0 4c bne LB739_3 b6ed: 20 a9 b4 TB6ED_3 jsr LB4A9_3 b6f0: d0 da bne LB6CC_3 b6f2: a9 10 LB6F2_3 lda #$10 b6f4: 8d 00 40 sta SQ1Cntrl0 b6f7: a9 00 lda #$00 b6f9: 8d 53 06 sta SQ1InUse b6fc: 20 a2 b4 jsr LB4A2_3 b6ff: ee 07 06 inc WriteMultiChannelData b702: 60 rts b703: ad 8d 06 TB703_3 lda CurrentMusic b706: c9 04 cmp #$04 b708: f0 c2 beq LB6CC_3 b70a: a9 0c lda #$0c b70c: a0 51 ldy #$51 b70e: d0 29 bne LB739_3 b710: a9 08 TB710_3 lda #$08 b712: a0 55 ldy #$55 b714: d0 23 bne LB739_3 b716: ad 1f 06 TB716_3 lda HasBeamSFX b719: 4a lsr A b71a: b0 42 bcs LB75E_3 b71c: ad 89 06 lda SQ1ContSFX b71f: 29 cc and #$cc b721: d0 a9 bne LB6CC_3 b723: ad 1f 06 lda HasBeamSFX b726: 0a asl A b727: b0 06 bcs LB72F_3 b729: a9 03 lda #$03 b72b: a0 4d ldy #$4d b72d: d0 0a bne LB739_3 b72f: a9 07 LB72F_3 lda #$07 b731: a0 49 ldy #$49 b733: d0 04 bne LB739_3 b735: a9 0b TB735_3 lda #$0b b737: a0 45 ldy #$45 b739: 4c 52 b4 LB739_3 jmp LB452_3 b73c: ad 8d 06 TB73C_3 lda CurrentMusic b73f: c9 04 cmp #$04 b741: f0 06 beq LB749_3 b743: a9 16 lda #$16 b745: a0 59 ldy #$59 b747: d0 f0 bne LB739_3 b749: a9 07 LB749_3 lda #$07 b74b: a0 39 ldy #$39 b74d: d0 ea bne LB739_3 b74f: ad 1f 06 TB74F_3 lda HasBeamSFX b752: 4a lsr A b753: b0 10 bcs LB765_3 b755: 20 a9 b4 jsr LB4A9_3 b758: d0 03 bne LB75D_3 b75a: 4c f2 b6 jmp LB6F2_3 b75d: 60 LB75D_3 rts b75e: a9 07 LB75E_3 lda #$07 b760: a0 61 ldy #$61 b762: 4c 52 b4 jmp LB452_3 b765: 20 a9 b4 LB765_3 jsr LB4A9_3 b768: d0 03 bne LB76D_3 b76a: 4c f2 b6 jmp LB6F2_3 b76d: ad 71 06 LB76D_3 lda SQ1SFXData b770: 29 01 and #$01 b772: a8 tay b773: b9 78 b7 lda LB778_3,y b776: d0 28 bne LB7A0_3 b778: 93 LB778_3 .dd1 $93 b779: 81 .dd1 $81 b77a: a9 08 TB77A_3 lda #$08 b77c: a0 5d ldy #$5d b77e: 4c 52 b4 jmp LB452_3 b781: 20 a9 b4 TB781_3 jsr LB4A9_3 b784: d0 11 bne LB797_3 b786: ac 75 06 ldy SQ1SQ2SFXData b789: ee 75 06 inc SQ1SQ2SFXData b78c: b9 a9 b7 lda LB7A9_3,y b78f: 8d 00 40 sta SQ1Cntrl0 b792: d0 12 bne LB7A6_3 b794: 4c f2 b6 jmp LB6F2_3 b797: ad 71 06 LB797_3 lda SQ1SFXData b79a: 29 01 and #$01 b79c: a8 tay b79d: b9 a7 b7 lda LB7A7_3,y b7a0: 8d 02 40 LB7A0_3 sta SQ1Cntrl2 b7a3: ee 71 06 inc SQ1SFXData b7a6: 60 LB7A6_3 rts b7a7: 58 LB7A7_3 .dd1 $58 b7a8: 6f .dd1 $6f b7a9: 93 LB7A9_3 .dd1 $93 b7aa: 91 .dd1 $91 b7ab: 00 .dd1 $00 b7ac: ad 87 b2 TB7AC_3 lda LB200_2+135 b7af: 8d 10 06 sta TrianglePeriodLow b7b2: ad 88 b2 lda LB200_2+136 b7b5: 29 07 and #$07 b7b7: 8d 11 06 sta TrianglePeriodHigh b7ba: a9 0f lda #$0f b7bc: 8d 12 06 sta TriangleChangeLow b7bf: a9 00 lda #$00 b7c1: 8d 13 06 sta TriangleChangeHigh b7c4: a9 1f lda #$1f b7c6: a0 85 ldy #$85 b7c8: 4c 52 b4 jmp LB452_3 b7cb: 20 a9 b4 TB7CB_3 jsr LB4A9_3 b7ce: d0 03 bne LB7D3_3 b7d0: 4c 96 b8 jmp LB896_3 b7d3: 20 8c b9 LB7D3_3 jsr LB98C_3 b7d6: 4c 69 b8 jmp LB869_3 b7d9: ad 8b 06 TB7D9_3 lda TriangleContSFX b7dc: 29 80 and #$80 b7de: d0 c6 bne LB7A6_3 b7e0: a9 03 lda #$03 b7e2: a0 79 ldy #$79 b7e4: 4c 52 b4 jmp LB452_3 b7e7: 20 a9 b4 TB7E7_3 jsr LB4A9_3 b7ea: d0 ba bne LB7A6_3 b7ec: 4c 96 b8 jmp LB896_3 b7ef: a9 12 TB7EF_3 lda #$12 b7f1: 8d 12 06 sta TriangleChangeLow b7f4: a9 00 lda #$00 b7f6: 8d 13 06 sta TriangleChangeHigh b7f9: ad 7f b2 lda LB200_2+127 b7fc: 8d 10 06 sta TrianglePeriodLow b7ff: ad 80 b2 lda LB200_2+128 b802: 29 07 and #$07 b804: 8d 11 06 sta TrianglePeriodHigh b807: a9 0a lda #$0a b809: a0 7d ldy #$7d b80b: 4c 52 b4 jmp LB452_3 b80e: 20 a9 b4 TB80E_3 jsr LB4A9_3 b811: d0 03 bne LB816_3 b813: 4c 96 b8 jmp LB896_3 b816: 20 78 b9 LB816_3 jsr LB978_3 b819: a5 2e lda RandomNumber1 b81b: 29 3c and #$3c b81d: 8d 73 06 sta TriangleSFXData b820: ad 10 06 lda TrianglePeriodLow b823: 29 c3 and #$c3 b825: 0d 73 06 ora TriangleSFXData b828: 8d 0a 40 sta TriangleCntrl2 b82b: ad 11 06 lda TrianglePeriodHigh b82e: 09 40 ora #$40 b830: 8d 0b 40 sta TriangleCntrl3 b833: 60 rts b834: a9 08 TB834_3 lda #$08 b836: a0 6d ldy #$6d b838: 20 52 b4 jsr LB452_3 b83b: a9 05 lda #$05 b83d: 8d 16 06 sta PercentDifference b840: ad 6f b2 lda LB200_2+111 b843: 8d 10 06 sta TrianglePeriodLow b846: ad 70 b2 lda LB200_2+112 b849: 29 07 and #$07 b84b: 8d 11 06 sta TrianglePeriodHigh b84e: 60 rts b84f: 20 a9 b4 TB84F_3 jsr LB4A9_3 b852: d0 03 bne LB857_3 b854: 4c 96 b8 jmp LB896_3 b857: 20 a0 b9 LB857_3 jsr LB9A0_3 b85a: ad 14 06 lda TriangleLowPercentage b85d: 8d 12 06 sta TriangleChangeLow b860: ad 15 06 lda TriangleHighPercentage b863: 8d 13 06 sta TriangleChangeHigh b866: 20 8c b9 jsr LB98C_3 b869: ad 10 06 LB869_3 lda TrianglePeriodLow b86c: 8d 0a 40 sta TriangleCntrl2 b86f: ad 11 06 lda TrianglePeriodHigh b872: 09 08 ora #$08 b874: 8d 0b 40 sta TriangleCntrl3 b877: 60 rts b878: a9 04 TB878_3 lda #$04 b87a: a0 65 ldy #$65 b87c: 4c 52 b4 jmp LB452_3 b87f: 20 a9 b4 TB87F_3 jsr LB4A9_3 b882: d0 22 bne LB8A6_3 b884: ee 73 06 inc TriangleSFXData b887: ad 73 06 lda TriangleSFXData b88a: c9 02 cmp #$02 b88c: d0 03 bne LB891_3 b88e: 4c 96 b8 jmp LB896_3 b891: a0 69 LB891_3 ldy #$69 b893: 4c 6c b3 jmp LB36C_3 b896: a9 00 LB896_3 lda #$00 b898: 8d 08 40 sta TriangleCntrl0 b89b: 8d 55 06 sta TriangleInUse b89e: a9 18 lda #$18 b8a0: 8d 0b 40 sta TriangleCntrl3 b8a3: 20 a2 b4 jsr LB4A2_3 b8a6: 60 LB8A6_3 rts b8a7: a9 03 TB8A7_3 lda #$03 b8a9: a0 71 ldy #$71 b8ab: 20 52 b4 jsr LB452_3 b8ae: 4c c3 b8 jmp LB8C3_3 b8b1: 20 a9 b4 TB8B1_3 jsr LB4A9_3 b8b4: f0 0d beq LB8C3_3 b8b6: ee 73 06 inc TriangleSFXData b8b9: ad 73 06 lda TriangleSFXData b8bc: c9 09 cmp #$09 b8be: d0 e6 bne LB8A6_3 b8c0: 4c 96 b8 jmp LB896_3 b8c3: a5 2e LB8C3_3 lda RandomNumber1 b8c5: 09 6c ora #$6c b8c7: 8d 0a 40 sta TriangleCntrl2 b8ca: 29 01 and #$01 b8cc: 09 f8 ora #$f8 b8ce: 8d 0b 40 sta TriangleCntrl3 b8d1: 60 rts b8d2: 20 04 b4 TB8D2_3 jsr LB404_3 b8d5: a9 0e lda #$0e b8d7: a0 75 ldy #$75 b8d9: 20 52 b4 jsr LB452_3 b8dc: a9 15 lda #$15 b8de: 8d 16 06 sta PercentDifference b8e1: ad 77 b2 lda LB200_2+119 b8e4: 8d 10 06 sta TrianglePeriodLow b8e7: a9 00 lda #$00 b8e9: 8d 11 06 sta TrianglePeriodHigh b8ec: 60 LB8EC_3 rts b8ed: 20 a9 b4 TB8ED_3 jsr LB4A9_3 b8f0: d0 1a bne LB90C_3 b8f2: a9 20 lda #$20 b8f4: 8d 12 06 sta TriangleChangeLow b8f7: a9 00 lda #$00 b8f9: 8d 13 06 sta TriangleChangeHigh b8fc: 20 8c b9 jsr LB98C_3 b8ff: ee 73 06 inc TriangleSFXData b902: ad 73 06 lda TriangleSFXData b905: c9 06 cmp #$06 b907: d0 e3 bne LB8EC_3 b909: 4c 96 b8 jmp LB896_3 b90c: 20 a0 b9 LB90C_3 jsr LB9A0_3 b90f: ad 14 06 lda TriangleLowPercentage b912: 8d 12 06 sta TriangleChangeLow b915: ad 15 06 lda TriangleHighPercentage b918: 8d 13 06 sta TriangleChangeHigh b91b: 20 78 b9 jsr LB978_3 b91e: 4c 69 b8 jmp LB869_3 b921: ad 83 b2 TB921_3 lda LB200_2+131 b924: 8d 10 06 sta TrianglePeriodLow b927: ad 84 b2 lda LB200_2+132 b92a: 29 07 and #$07 b92c: 8d 11 06 sta TrianglePeriodHigh b92f: a9 00 lda #$00 b931: 8d 13 06 sta TriangleChangeHigh b934: a9 0b lda #$0b b936: 8d 12 06 sta TriangleChangeLow b939: a9 06 lda #$06 b93b: a0 81 ldy #$81 b93d: 4c 52 b4 jmp LB452_3 b940: 20 a9 b4 TB940_3 jsr LB4A9_3 b943: d0 2d bne LB972_3 b945: ee 73 06 inc TriangleSFXData b948: ad 73 06 lda TriangleSFXData b94b: c9 09 cmp #$09 b94d: d0 03 bne LB952_3 b94f: 4c 96 b8 jmp LB896_3 b952: ad 12 06 LB952_3 lda TriangleChangeLow b955: 48 pha b956: ad 13 06 lda TriangleChangeHigh b959: 48 pha b95a: a9 25 lda #$25 b95c: 8d 12 06 sta TriangleChangeLow b95f: a9 00 lda #$00 b961: 8d 13 06 sta TriangleChangeHigh b964: 20 78 b9 jsr LB978_3 b967: 68 pla b968: 8d 13 06 sta TriangleChangeHigh b96b: 68 pla b96c: 8d 12 06 sta TriangleChangeLow b96f: 4c 69 b8 jmp LB869_3 b972: 20 8c b9 LB972_3 jsr LB98C_3 b975: 4c 69 b8 jmp LB869_3 b978: 18 LB978_3 clc b979: ad 10 06 lda TrianglePeriodLow b97c: 6d 12 06 adc TriangleChangeLow b97f: 8d 10 06 sta TrianglePeriodLow b982: ad 11 06 lda TrianglePeriodHigh b985: 6d 13 06 adc TriangleChangeHigh b988: 8d 11 06 sta TrianglePeriodHigh b98b: 60 rts b98c: 38 LB98C_3 sec b98d: ad 10 06 lda TrianglePeriodLow b990: ed 12 06 sbc TriangleChangeLow b993: 8d 10 06 sta TrianglePeriodLow b996: ad 11 06 lda TrianglePeriodHigh b999: ed 13 06 sbc TriangleChangeHigh b99c: 8d 11 06 sta TrianglePeriodHigh b99f: 60 rts b9a0: ad 10 06 LB9A0_3 lda TrianglePeriodLow b9a3: 48 pha b9a4: ad 11 06 lda TrianglePeriodHigh b9a7: 48 pha b9a8: a9 00 lda #$00 b9aa: 8d 17 06 sta DivideData b9ad: a2 10 ldx #$10 b9af: 2e 10 06 rol TrianglePeriodLow b9b2: 2e 11 06 rol TrianglePeriodHigh b9b5: 2e 17 06 LB9B5_3 rol DivideData b9b8: ad 17 06 lda DivideData b9bb: cd 16 06 cmp PercentDifference b9be: 90 06 bcc LB9C6_3 b9c0: ed 16 06 sbc PercentDifference b9c3: 8d 17 06 sta DivideData b9c6: 2e 10 06 LB9C6_3 rol TrianglePeriodLow b9c9: 2e 11 06 rol TrianglePeriodHigh b9cc: ca dex b9cd: d0 e6 bne LB9B5_3 b9cf: ad 10 06 lda TrianglePeriodLow b9d2: 8d 14 06 sta TriangleLowPercentage b9d5: ad 11 06 lda TrianglePeriodHigh b9d8: 8d 15 06 sta TriangleHighPercentage b9db: 68 pla b9dc: 8d 11 06 sta TrianglePeriodHigh b9df: 68 pla b9e0: 8d 10 06 sta TrianglePeriodLow b9e3: 60 rts b9e4: a9 7f LB9E4_3 lda #$7f b9e6: 8d 48 06 sta MusicSQ1Sweep b9e9: 8d 49 06 sta MusicSQ2Sweep b9ec: 8e 28 06 stx SQ1DutyEnvelope b9ef: 8c 29 06 sty SQ2DutyEnvelope b9f2: 60 rts b9f3: ad 40 06 LB9F3_3 lda SQ1MusicFrameCount b9f6: c9 01 cmp #$01 b9f8: d0 03 bne LB9FD_3 b9fa: 8d 6a 06 sta SQ1VolumeIndex b9fd: ad 41 06 LB9FD_3 lda SQ2MusicFrameCount ba00: c9 01 cmp #$01 ba02: d0 03 bne LBA07_3 ba04: 8d 6b 06 sta SQ2VolumeIndex ba07: 60 LBA07_3 rts ba08: ad 07 06 LBA08_3 lda WriteMultiChannelData ba0b: f0 29 beq LBA36_3 ba0d: a9 00 lda #$00 ba0f: 8d 07 06 sta WriteMultiChannelData ba12: ad 48 06 lda MusicSQ1Sweep ba15: 8d 01 40 sta SQ1Cntrl1 ba18: ad 00 06 lda MusicSQ1PeriodLow ba1b: 8d 02 40 sta SQ1Cntrl2 ba1e: ad 01 06 lda MusicSQ1PeriodHigh ba21: 8d 03 40 sta SQ1Cntrl3 ba24: ad 49 06 lda MusicSQ2Sweep ba27: 8d 05 40 sta SQ2Cntrl1 ba2a: ad 04 06 lda MusicSQ2PeriodLow ba2d: 8d 06 40 sta SQ2Cntrl2 ba30: ad 05 06 lda MusicSQ2PeriodHigh ba33: 8d 07 40 sta SQ2Cntrl3 ba36: 60 LBA36_3 rts ba37: a2 00 LBA37_3 ldx #$00 ba39: 20 41 ba jsr LBA41_3 ba3c: e8 inx ba3d: 20 41 ba jsr LBA41_3 ba40: 60 rts ba41: bd 2e 06 LBA41_3 lda SQ1VolumeCntrl,x ba44: f0 45 beq LBA8B_3 ba46: 85 eb sta VolumeCntrlAddress ba48: 20 08 ba jsr LBA08_3 ba4b: bd 6c 06 lda SQ1VolumeData,x ba4e: c9 10 cmp #$10 ba50: f0 47 beq LBA99_3 ba52: a0 00 ldy #$00 ba54: c6 eb LBA54_3 dec VolumeCntrlAddress ba56: f0 04 beq LBA5C_3 ba58: c8 iny ba59: c8 iny ba5a: d0 f8 bne LBA54_3 ba5c: b9 b0 bc LBA5C_3 lda LBCB0_3,y ba5f: 85 ec sta $ec ba61: b9 b1 bc lda LBCB0_3+1,y ba64: 85 ed sta $ed ba66: bc 6a 06 ldy SQ1VolumeIndex,x ba69: b1 ec lda ($ec),y ba6b: 85 ea sta Cntrl0Data ba6d: c9 ff cmp #$ff ba6f: f0 1f beq LBA90_3 ba71: c9 f0 cmp #$f0 ba73: f0 20 beq LBA95_3 ba75: bd 28 06 lda SQ1DutyEnvelope,x ba78: 29 f0 and #$f0 ba7a: 05 ea ora Cntrl0Data ba7c: a8 tay ba7d: fe 6a 06 LBA7D_3 inc SQ1VolumeIndex,x ba80: bd 53 06 LBA80_3 lda SQ1InUse,x ba83: d0 06 bne LBA8B_3 ba85: 8a txa ba86: f0 04 beq LBA8C_3 ba88: 8c 04 40 sty SQ2Cntrl0 ba8b: 60 LBA8B_3 rts ba8c: 8c 00 40 LBA8C_3 sty SQ1Cntrl0 ba8f: 60 rts ba90: bc 28 06 LBA90_3 ldy SQ1DutyEnvelope,x ba93: d0 eb bne LBA80_3 ba95: a0 10 LBA95_3 ldy #$10 ba97: d0 e7 bne LBA80_3 ba99: a0 10 LBA99_3 ldy #$10 ba9b: d0 e0 bne LBA7D_3 ba9d: 20 f0 b3 LBA9D_3 jsr LB3F0_3 baa0: 60 rts baa1: 20 37 ba LBAA1_3 jsr LBA37_3 baa4: 60 rts baa5: 20 f3 b9 LBAA5_3 jsr LB9F3_3 baa8: a9 00 lda #$00 baaa: aa tax baab: 8d 4b 06 sta ThisSoundChannel baae: f0 12 beq LBAC2_3 bab0: 8a LBAB0_3 txa bab1: 4a lsr A bab2: aa tax bab3: e8 LBAB3_3 inx bab4: 8a txa bab5: c9 04 cmp #$04 bab7: f0 e8 beq LBAA1_3 bab9: ad 4b 06 lda ThisSoundChannel babc: 18 clc babd: 69 04 adc #$04 babf: 8d 4b 06 sta ThisSoundChannel bac2: 8a LBAC2_3 txa bac3: 0a asl A bac4: aa tax bac5: bd 30 06 lda SQ1LowBaseByte,x bac8: 85 e6 sta $e6 baca: bd 31 06 lda SQ1HighBaseByte,x bacd: 85 e7 sta $e7 bacf: bd 31 06 lda SQ1HighBaseByte,x bad2: f0 dc beq LBAB0_3 bad4: 8a txa bad5: 4a lsr A bad6: aa tax bad7: de 40 06 dec SQ1MusicFrameCount,x bada: d0 d7 bne LBAB3_3 badc: bc 38 06 LBADC_3 ldy SQ1MusicIndexIndex,x badf: fe 38 06 inc SQ1MusicIndexIndex,x bae2: b1 e6 lda ($e6),y bae4: f0 b7 beq LBA9D_3 bae6: a8 tay bae7: c9 ff cmp #$ff bae9: f0 09 beq LBAF4_3 baeb: 29 c0 and #$c0 baed: c9 c0 cmp #$c0 baef: f0 13 beq LBB04_3 baf1: 4c 1c bb jmp LBB1C_3 baf4: bd 24 06 LBAF4_3 lda SQ1RepeatCounter,x baf7: f0 1a beq LBB13_3 baf9: de 24 06 dec SQ1RepeatCounter,x bafc: bd 3c 06 lda SQ1LoopIndex,x baff: 9d 38 06 sta SQ1MusicIndexIndex,x bb02: d0 0f bne LBB13_3 bb04: 98 LBB04_3 tya bb05: 29 3f and #$3f bb07: 9d 24 06 sta SQ1RepeatCounter,x bb0a: de 24 06 dec SQ1RepeatCounter,x bb0d: bd 38 06 lda SQ1MusicIndexIndex,x bb10: 9d 3c 06 sta SQ1LoopIndex,x bb13: 4c dc ba LBB13_3 jmp LBADC_3 bb16: 4c de bb LBB16_3 jmp LBBDE_3 bb19: 4c b7 bb LBB19_3 jmp LBBB7_3 bb1c: 98 LBB1C_3 tya bb1d: 29 b0 and #$b0 bb1f: c9 b0 cmp #$b0 bb21: d0 1d bne LBB40_3 bb23: 98 tya bb24: 29 0f and #$0f bb26: 18 clc bb27: 6d 2b 06 adc NoteLengthTblOffset bb2a: a8 tay bb2b: b9 f7 be lda LBCBA_3+$23d,y bb2e: 9d 20 06 sta SQ1FrameCountInit,x bb31: a8 tay bb32: 8a txa bb33: c9 02 cmp #$02 bb35: f0 e2 beq LBB19_3 bb37: bc 38 06 LBB37_3 ldy SQ1MusicIndexIndex,x bb3a: fe 38 06 inc SQ1MusicIndexIndex,x bb3d: b1 e6 lda ($e6),y bb3f: a8 tay bb40: 8a LBB40_3 txa bb41: c9 03 cmp #$03 bb43: f0 d1 beq LBB16_3 bb45: 48 pha bb46: ae 4b 06 ldx ThisSoundChannel bb49: b9 78 be lda LBCBA_3+$1be,y bb4c: f0 0b beq LBB59_3 bb4e: 9d 00 06 sta MusicSQ1PeriodLow,x bb51: b9 77 be lda LBCBA_3+$1bd,y bb54: 09 08 ora #$08 bb56: 9d 01 06 sta MusicSQ1PeriodHigh,x bb59: a8 LBB59_3 tay bb5a: 68 pla bb5b: aa tax bb5c: 98 tya bb5d: d0 0f bne LBB6E_3 bb5f: a9 00 lda #$00 bb61: 85 ea sta Cntrl0Data bb63: 8a txa bb64: c9 02 cmp #$02 bb66: f0 0b beq LBB73_3 bb68: a9 10 lda #$10 bb6a: 85 ea sta Cntrl0Data bb6c: d0 05 bne LBB73_3 bb6e: bd 28 06 LBB6E_3 lda SQ1DutyEnvelope,x bb71: 85 ea sta Cntrl0Data bb73: 8a LBB73_3 txa bb74: de 53 06 dec SQ1InUse,x bb77: dd 53 06 cmp SQ1InUse,x bb7a: f0 35 beq LBBB1_3 bb7c: fe 53 06 inc SQ1InUse,x bb7f: ac 4b 06 ldy ThisSoundChannel bb82: 8a txa bb83: c9 02 cmp #$02 bb85: f0 05 beq LBB8C_3 bb87: bd 2e 06 lda SQ1VolumeCntrl,x bb8a: d0 05 bne LBB91_3 bb8c: a5 ea LBB8C_3 lda Cntrl0Data bb8e: 99 00 40 sta SQ1Cntrl0,y bb91: a5 ea LBB91_3 lda Cntrl0Data bb93: 9d 6c 06 sta SQ1VolumeData,x bb96: b9 00 06 lda MusicSQ1PeriodLow,y bb99: 99 02 40 sta SQ1Cntrl2,y bb9c: b9 01 06 lda MusicSQ1PeriodHigh,y bb9f: 99 03 40 sta SQ1Cntrl3,y bba2: bd 48 06 lda MusicSQ1Sweep,x bba5: 99 01 40 sta SQ1Cntrl1,y bba8: bd 20 06 LBBA8_3 lda SQ1FrameCountInit,x bbab: 9d 40 06 sta SQ1MusicFrameCount,x bbae: 4c b3 ba jmp LBAB3_3 bbb1: fe 53 06 LBBB1_3 inc SQ1InUse,x bbb4: 4c a8 bb jmp LBBA8_3 bbb7: ad 2d 06 LBBB7_3 lda TriangleCounterCntrl bbba: 29 0f and #$0f bbbc: d0 1a bne LBBD8_3 bbbe: ad 2d 06 lda TriangleCounterCntrl bbc1: 29 f0 and #$f0 bbc3: d0 04 bne LBBC9_3 bbc5: 98 tya bbc6: 4c cd bb jmp LBBCD_3 bbc9: a9 ff LBBC9_3 lda #$ff bbcb: d0 0b bne LBBD8_3 bbcd: 18 LBBCD_3 clc bbce: 69 ff adc #$ff bbd0: 0a asl A bbd1: 0a asl A bbd2: c9 3c cmp #$3c bbd4: 90 02 bcc LBBD8_3 bbd6: a9 3c lda #$3c bbd8: 8d 2a 06 LBBD8_3 sta TriLinearCount bbdb: 4c 37 bb jmp LBB37_3 bbde: ad 88 06 LBBDE_3 lda NoiseContSFX bbe1: 29 fc and #$fc bbe3: d0 12 bne LBBF7_3 bbe5: b9 00 b2 lda LB200_2,y bbe8: 8d 0c 40 sta NoiseCntrl0 bbeb: b9 01 b2 lda LB200_2+1,y bbee: 8d 0e 40 sta NoiseCntrl2 bbf1: b9 02 b2 lda LB200_2+2,y bbf4: 8d 0f 40 sta NoiseCntrl3 bbf7: 4c a8 bb LBBF7_3 jmp LBBA8_3 bbfa: 41 8f 34 27+ LBBFA_3 .bulk $41,$8f,$34,$27,$1a,$0d,$00,$82,$68,$75,$4e,$5b bc06: 80 bc LBC06_0 .dd2 TBC80_1 bc08: 7a bc .dd2 TBC7A_1 bc0a: 86 bc .dd2 TBC86_1 bc0c: 7a bc .dd2 TBC7A_1 bc0e: ee b4 .dd2 TB4EE_3 bc10: 73 b6 .dd2 TB673_1 bc12: ec b5 .dd2 TB5EC_1 bc14: 95 b6 .dd2 TB695_1 bc16: ee b4 LBC16_0 .dd2 TB4EE_3 bc18: ee b4 .dd2 TB4EE_3 bc1a: ee b4 .dd2 TB4EE_3 bc1c: ee b4 .dd2 TB4EE_3 bc1e: ee b4 .dd2 TB4EE_3 bc20: 50 b6 .dd2 TB650_1 bc22: f6 b5 .dd2 TB5F6_1 bc24: a1 b6 .dd2 TB6A1_1 bc26: 83 bc LBC26_0 .dd2 TBC83_1 bc28: 77 bc .dd2 TBC77_1 bc2a: 77 bc .dd2 TBC77_1 bc2c: 77 bc .dd2 TBC77_1 bc2e: 80 bc .dd2 TBC80_1 bc30: 7d bc .dd2 TBC7D_1 bc32: 77 bc .dd2 TBC77_1 bc34: 80 bc .dd2 TBC80_1 bc36: ad 5d 06 LBC36_2 lda CurrentMusicRepeat bc39: a2 b6 ldx #$b6 bc3b: d0 05 bne LBC42_2 bc3d: ad 85 06 LBC3D_0 lda MusicInitFlag bc40: a2 b1 ldx #$b1 bc42: 20 bd b4 LBC42_2 jsr LB4BD_3 bc45: 20 53 bc jsr LBC53_2 bc48: 6c e2 00 jmp ($00e2) bc4b: ad 8d 06 LBC4B_0 lda CurrentMusic bc4e: f0 26 beq LBC76_3 bc50: 4c a5 ba jmp LBAA5_3 bc53: a9 ff LBC53_2 lda #$ff bc55: 8d 5e 06 sta MusicInitIndex bc58: ad 4d 06 lda CurrentSFXFlags bc5b: f0 06 beq LBC63_2 bc5d: ee 5e 06 LBC5D_2 inc MusicInitIndex bc60: 0a asl A bc61: 90 fa bcc LBC5D_2 bc63: 60 LBC63_2 rts bc64: ad 5e 06 LBC64_2 lda MusicInitIndex bc67: 18 clc bc68: 69 08 adc #$08 bc6a: 8d 5e 06 sta MusicInitIndex bc6d: 60 rts bc6e: ad 8d 06 lda CurrentMusic bc71: 09 f0 ora #$f0 bc73: 8d 8d 06 sta CurrentMusic bc76: 60 LBC76_3 rts bc77: 4c aa bc TBC77_1 jmp LBCAA_3 bc7a: 4c a4 bc TBC7A_1 jmp LBCA4_3 bc7d: 4c 9a bc TBC7D_1 jmp LBC9A_3 bc80: 4c 96 bc TBC80_1 jmp LBC96_3 bc83: 4c 89 bc TBC83_1 jmp LBC89_3 bc86: 4c 9e bc TBC86_1 jmp LBC9E_3 bc89: a9 b3 LBC89_3 lda #$b3 bc8b: aa LBC8B_3 tax bc8c: a8 tay bc8d: 20 e4 b9 LBC8D_3 jsr LB9E4_3 bc90: 20 19 bf jsr LBF19_3 bc93: 4c a5 ba jmp LBAA5_3 bc96: a9 34 LBC96_3 lda #$34 bc98: d0 f1 bne LBC8B_3 bc9a: a9 f4 LBC9A_3 lda #$f4 bc9c: d0 ed bne LBC8B_3 bc9e: a2 f5 LBC9E_3 ldx #$f5 bca0: a0 f6 ldy #$f6 bca2: d0 e9 bne LBC8D_3 bca4: a2 b6 LBCA4_3 ldx #$b6 bca6: a0 f6 ldy #$f6 bca8: d0 e3 bne LBC8D_3 bcaa: a2 92 LBCAA_3 ldx #$92 bcac: a0 96 ldy #$96 bcae: d0 dd bne LBC8D_3 bcb0: ba bc LBCB0_3 .dd2 LBCBA_3 bcb2: c5 bc .dd2 LBCBA_3+11 bcb4: cf bc .dd2 LBCBA_3+21 bcb6: da bc .dd2 LBCBA_3+32 bcb8: 03 bd .dd2 LBCBA_3+73 bcba: 01 02 02 03+ LBCBA_3 .bulk $01,$02,$02,$03,$03,$04,$05,$06,$07,$08,$ff,$02,$04,$05,$06,$07 + $08,$07,$06,$05,$ff,$00,$0d,$09,$07,$06,$05,$05,$05,$04,$04,$ff + $02,$06,$07,$07,$07,$06,$06,$06,$06,$05,$05,$05,$04,$04,$04,$03 + $03,$03,$03,$02,$03,$03,$03,$03,$03,$02,$02,$02,$02,$02,$02,$02 + $02,$02,$02,$01,$01,$01,$01,$01,$f0,$0a,$0a,$09,$08,$07,$06,$05 + $04,$03,$02,$07,$07,$06,$05,$04,$04,$03,$02,$02,$02,$05,$05,$05 + $04,$03,$02,$02,$02,$01,$01,$04,$04,$03,$02,$01,$02,$02,$01,$01 + $01,$02,$02,$02,$01,$01,$f0,$0b,$ff,$f5,$00,$00,$00,$01,$00,$03 + $00,$05,$00,$00,$0b,$ff,$00,$02,$02,$00,$01,$00,$03,$00,$05,$00 + $07,$0b,$ff,$f0,$04,$04,$00,$01,$00,$03,$00,$05,$00,$07,$00,$ff + $f0,$00,$00,$3f,$b0,$41,$b0,$aa,$b0,$00,$00,$0b,$ff,$03,$00,$00 + $da,$bd,$dc,$bd,$cd,$bd,$00,$00,$0b,$ff,$f0,$01,$01,$22,$b0,$31 + $b0,$00,$b0,$00,$00,$17,$00,$00,$02,$01,$00,$01,$00,$03,$00,$05 + $00,$07,$17,$00,$f0,$02,$05,$00,$01,$00,$03,$00,$05,$00,$07,$0b + $00,$f0,$02,$00,$3e,$be,$1d,$be,$36,$be,$00,$00,$00,$00,$f0,$01 + $00,$f7,$bd,$0d,$be,$08,$be,$00,$00,$0b,$ff,$00,$02,$03,$00,$01 + $00,$03,$00,$05,$00,$07,$0b,$ff,$03,$00,$00,$59,$be,$47,$be,$62 + $be,$00,$00,$c8,$b0,$38,$3a,$3c,$3e,$40,$3e,$3c,$3a,$b6,$02,$ff + $b8,$02,$b3,$02,$b2,$74,$02,$6a,$02,$72,$02,$62,$b4,$02,$b2,$60 + $02,$6c,$02,$76,$b3,$02,$b2,$7e,$02,$7c,$b3,$02,$00,$b3,$48,$42 + $b2,$3e,$38,$30,$38,$4c,$44,$3e,$36,$c8,$b0,$38,$3c,$ff,$b4,$2c + $2a,$1e,$1c,$b2,$22,$2c,$30,$34,$38,$30,$26,$30,$3a,$34,$2c,$26 + $b4,$2a,$00,$c4,$b0,$3e,$30,$ff,$c4,$42,$30,$ff,$c4,$3a,$2c,$ff + $c4,$38,$26,$ff,$c4,$34,$20,$ff,$e0,$34,$24,$ff,$b3,$36,$34,$30 + $2a,$b4,$1c,$1c,$b3,$34,$3a,$34,$30,$b4,$2a,$2a,$00,$b4,$12,$b3 + $10,$18,$16,$0a,$b4,$14,$12,$b3,$10,$06,$0e,$04,$b4,$0c,$00,$e0 + $b0,$54,$4e,$48,$42,$48,$4e,$ff,$e0,$b3,$02,$b0,$3c,$40,$44,$4a + $4e,$54,$58,$5c,$62,$66,$6c,$70,$74,$7a,$b3,$02,$ff,$07,$f0,$00 + $00,$06,$4e,$05,$f3,$05,$4d,$05,$01,$04,$b9,$04,$75,$04,$35,$03 + $f8,$03,$bf,$03,$89,$03,$57,$03,$27,$02,$f9,$02,$cf,$02,$a6,$02 + $80,$02,$5c,$02,$3a,$02,$1a,$01,$fc,$01,$df,$01,$c4,$01,$ab,$01 + $93,$01,$7c,$01,$67,$01,$52,$01,$3f,$01,$2d,$01,$1c,$01,$0c,$00 + $fd,$00,$ee,$00,$e1,$00,$d4,$00,$c8,$00,$bd,$00,$b2,$00,$a8,$00 + $9f,$00,$96,$00,$8d,$00,$85,$00,$7e,$00,$76,$00,$70,$00,$69,$00 + $63,$00,$5e,$00,$58,$00,$53,$00,$4f,$00,$4a,$00,$46,$00,$42,$00 + $3e,$00,$3a,$00,$37,$00,$34,$00,$31,$00,$2e,$00,$27,$04,$08,$10 + $20,$40,$18,$30,$0c,$0b,$05,$02,$06,$0c,$18,$30,$60,$24,$48,$12 + $10,$08,$03,$10,$07,$0e,$1c,$38,$70,$2a,$54,$15,$12,$02,$03 bf19: 20 fc b3 LBF19_3 jsr LB3FC_3 bf1c: ad 4d 06 lda CurrentSFXFlags bf1f: 8d 8d 06 sta CurrentMusic bf22: ad 5e 06 lda MusicInitIndex bf25: a8 tay bf26: b9 fa bb lda LBBFA_3,y bf29: a8 tay bf2a: a2 00 ldx #$00 bf2c: b9 31 bd LBF2C_3 lda LBCBA_3+119,y bf2f: 9d 2b 06 sta NoteLengthTblOffset,x bf32: c8 iny bf33: e8 inx bf34: 8a txa bf35: c9 0d cmp #$0d bf37: d0 f3 bne LBF2C_3 bf39: a9 01 lda #$01 bf3b: 8d 40 06 sta SQ1MusicFrameCount bf3e: 8d 41 06 sta SQ2MusicFrameCount bf41: 8d 42 06 sta TriangleMusicFrameCount bf44: 8d 43 06 sta NoiseMusicFrameCount bf47: a9 00 lda #$00 bf49: 8d 38 06 sta SQ1MusicIndexIndex bf4c: 8d 39 06 sta SQ2MusicIndexIndex bf4f: 8d 3a 06 sta TriangleMusicIndexIndex bf52: 8d 3b 06 sta NoiseMusicIndexIndex bf55: 60 rts bf56: 10 07 0e 1c+ .junk 90 bfb0: 78 RESET_K sei bfb1: d8 cld bfb2: a2 00 ldx #$00 bfb4: 8e 00 20 stx PPUControl0 bfb7: 8e 01 20 stx PPUControl1 bfba: ad 02 20 LBFBA_3 lda PPUStatus bfbd: 10 fb bpl LBFBA_3 bfbf: ad 02 20 LBFBF_3 lda PPUStatus bfc2: 10 fb bpl LBFBF_3 bfc4: 09 ff ora #$ff bfc6: 8d 00 80 sta MMC1Reg0 bfc9: 8d 00 a0 sta MMC1Reg1 bfcc: 8d 00 c0 sta MMC1Reg2 bfcf: 8d 00 e0 sta MMC1Reg3 bfd2: 4c 1a c0 jmp Startup bfd5: ff ff ff ff+ .junk 37 bffa: d9 c0 .dd2 NMI bffc: b0 bf .dd2 RESET_K bffe: b0 bf .dd2 RESET_K .adrend β $8000 .addrs $8000 8000: 4c 10 f4 L8000_3 jmp LF410 8003: 4c 38 f4 L8003_3 jmp LF438 8006: 4c 16 f4 L8006_3 jmp LF416 8009: 4c 52 f8 L8009_2 jmp LF852 800c: 4c 94 e0 L800C_2 jmp UpdateEnemyAnim 800f: 4c 8d f6 L800F_2 jmp LF68D 8012: 4c 3e f8 jmp LF83E 8015: 4c 5a f8 jmp LF85A 8018: 4c b9 fb jmp LFBB9 801b: 4c 88 fb L801B_2 jmp LFB88 801e: 4c ca fb L801E_2 jmp LFBCA 8021: 4c 70 f8 L8021_0 jmp LF870 8024: 4c 7c c2 ChooseRoutineR jmp ChooseRoutine 8027: 4c 8f fd L8027_4 jmp LFD8F 802a: 4c 6e eb L802A_3 jmp LEB6E 802d: 4c 44 82 jmp L8244_3 8030: 4c 18 83 jmp L8318_3 8033: 4c 1e fa jmp LFA1E 8036: 4c 3f 83 L8036_2 jmp L833F_3 8039: 4c 95 83 L8039_2 jmp L8395_3 803c: 4c 8b dd jmp LDD8B 803f: 4c dc fe jmp LFEDC 8042: 4c 92 ce jmp LCE92 8045: 4c fb c3 jmp LC3FB 8048: fd 84 L8048_2 .dd2 T84FE_3-1 804a: a6 84 .dd2 T84A7_3-1 804c: 4a 84 .dd2 T844B_3-1 804e: 4a 84 .dd2 T844B_3-1 8050: a6 84 .dd2 T84A7_3-1 8052: fd 84 .dd2 T84FE_3-1 8054: f4 83 .dd2 T83F5_3-1 8056: f4 83 .dd2 T83F5_3-1 8058: a6 4b ldx PageIndex 805a: bd 05 04 lda EnCounter-1,x 805d: 0a asl A 805e: 30 4f bmi L80AF_3 8060: bd f4 6a lda Enstatus,x 8063: c9 02 cmp #$02 8065: d0 48 bne L80AF_3 8067: 20 44 82 jsr L8244_3 806a: a5 00 lda $00 806c: 10 0f bpl L807D_3 806e: 20 d4 c3 jsr LC3D4 8071: 85 66 sta $66 8073: 20 f5 83 L8073_3 jsr T83F5_3 8076: 20 b8 80 jsr L80B8_3 8079: c6 66 dec $66 807b: d0 f6 bne L8073_3 807d: f0 0c L807D_3 beq L808B_3 807f: 85 66 sta $66 8081: 20 4b 84 L8081_3 jsr T844B_3 8084: 20 fb 80 jsr L80FB_3 8087: c6 66 dec $66 8089: d0 f6 bne L8081_3 808b: 20 18 83 L808B_3 jsr L8318_3 808e: a5 00 lda $00 8090: 10 0f bpl L80A1_3 8092: 20 d4 c3 jsr LC3D4 8095: 85 66 sta $66 8097: 20 a7 84 L8097_3 jsr T84A7_3 809a: 20 6e 81 jsr L816E_3 809d: c6 66 dec $66 809f: d0 f6 bne L8097_3 80a1: f0 0c L80A1_3 beq L80AF_3 80a3: 85 66 sta $66 80a5: 20 fe 84 L80A5_3 jsr T84FE_3 80a8: 20 34 81 jsr L8134_3 80ab: c6 66 dec $66 80ad: d0 f6 bne L80A5_3 80af: 60 L80AF_3 rts 80b0: bc 02 6b L80B0_2 ldy EnDataIndex,x 80b3: b9 7b 97 lda L960B_2+$170,y 80b6: 0a asl A 80b7: 60 rts 80b8: a6 4b L80B8_3 ldx PageIndex 80ba: b0 3e bcs L80FA_3 80bc: bd 05 04 lda EnCounter-1,x 80bf: 10 06 bpl L80C7_3 80c1: 20 fc 81 L80C1_3 jsr L81FC_3 80c4: 4c f6 80 jmp L80F6_3 80c7: 20 b0 80 L80C7_3 jsr L80B0_2 80ca: 10 1e bpl L80EA_3 80cc: bd 03 6b lda $6b03,x 80cf: f0 f0 beq L80C1_3 80d1: 10 05 bpl L80D8_3 80d3: 20 b1 81 jsr L81B1_3 80d6: f0 0a beq L80E2_3 80d8: 38 L80D8_3 sec 80d9: 7e 02 04 ror $0402,x 80dc: 7e 06 04 ror EnCounter,x 80df: 4c f6 80 jmp L80F6_3 80e2: 9d 02 04 L80E2_3 sta $0402,x 80e5: 9d 06 04 sta EnCounter,x 80e8: f0 0c beq L80F6_3 80ea: b9 7b 97 L80EA_3 lda L960B_2+$170,y 80ed: 4a lsr A 80ee: 4a lsr A 80ef: 90 05 bcc L80F6_3 80f1: a9 04 lda #$04 80f3: 20 6b 85 jsr L856B_3 80f6: a9 01 L80F6_3 lda #$01 80f8: 85 66 sta $66 80fa: 60 L80FA_3 rts 80fb: a6 4b L80FB_3 ldx PageIndex 80fd: b0 34 bcs L8133_3 80ff: bd 05 04 lda EnCounter-1,x 8102: 10 06 bpl L810A_3 8104: 20 fc 81 L8104_3 jsr L81FC_3 8107: 4c 2f 81 jmp L812F_3 810a: 20 b0 80 L810A_3 jsr L80B0_2 810d: 10 14 bpl L8123_3 810f: bd 03 6b lda $6b03,x 8112: f0 f0 beq L8104_3 8114: 10 0a bpl L8120_3 8116: 18 clc 8117: 7e 02 04 ror $0402,x 811a: 7e 06 04 ror EnCounter,x 811d: 4c 2f 81 jmp L812F_3 8120: 20 b1 81 L8120_3 jsr L81B1_3 8123: b9 7b 97 L8123_3 lda L960B_2+$170,y 8126: 4a lsr A 8127: 4a lsr A 8128: 90 05 bcc L812F_3 812a: a9 04 lda #$04 812c: 20 6b 85 jsr L856B_3 812f: a9 01 L812F_3 lda #$01 8131: 85 66 sta $66 8133: 60 L8133_3 rts 8134: a6 4b L8134_3 ldx PageIndex 8136: b0 35 bcs L816D_3 8138: 20 b0 80 jsr L80B0_2 813b: 10 21 bpl L815E_3 813d: bd 05 04 lda EnCounter-1,x 8140: 30 06 bmi L8148_3 8142: 20 c7 81 L8142_3 jsr L81C7_3 8145: 4c 69 81 jmp L8169_3 8148: bd 03 6b L8148_3 lda $6b03,x 814b: f0 f5 beq L8142_3 814d: 10 0a bpl L8159_3 814f: 18 clc 8150: 7e 03 04 ror $0403,x 8153: 7e 07 04 ror $0407,x 8156: 4c 69 81 jmp L8169_3 8159: 20 c0 81 L8159_3 jsr L81C0_3 815c: f0 0b beq L8169_3 815e: b9 7b 97 L815E_3 lda L960B_2+$170,y 8161: 4a lsr A 8162: 90 05 bcc L8169_3 8164: a9 01 lda #$01 8166: 20 6b 85 jsr L856B_3 8169: a9 01 L8169_3 lda #$01 816b: 85 66 sta $66 816d: 60 L816D_3 rts 816e: a6 4b L816E_3 ldx PageIndex 8170: b0 3e bcs L81B0_3 8172: 20 b0 80 jsr L80B0_2 8175: 10 29 bpl L81A0_3 8177: bd 05 04 lda EnCounter-1,x 817a: 30 06 bmi L8182_3 817c: 20 c7 81 L817C_3 jsr L81C7_3 817f: 4c ac 81 jmp L81AC_3 8182: bd 03 6b L8182_3 lda $6b03,x 8185: f0 f5 beq L817C_3 8187: 10 05 bpl L818E_3 8189: 20 c0 81 jsr L81C0_3 818c: f0 0a beq L8198_3 818e: 38 L818E_3 sec 818f: 7e 03 04 ror $0403,x 8192: 7e 07 04 ror $0407,x 8195: 4c ac 81 jmp L81AC_3 8198: 9d 03 04 L8198_3 sta $0403,x 819b: 9d 07 04 sta $0407,x 819e: f0 0c beq L81AC_3 81a0: 20 b0 80 L81A0_3 jsr L80B0_2 81a3: 4a lsr A 81a4: 4a lsr A 81a5: 90 05 bcc L81AC_3 81a7: a9 01 lda #$01 81a9: 20 6b 85 jsr L856B_3 81ac: a9 01 L81AC_3 lda #$01 81ae: 85 66 sta $66 81b0: 60 L81B0_3 rts 81b1: 20 b8 81 L81B1_3 jsr L81B8_3 81b4: 9d fe 6a sta $6afe,x 81b7: 60 rts 81b8: a9 20 L81B8_3 lda #$20 81ba: 20 44 f7 jsr LF744 81bd: a9 00 lda #$00 81bf: 60 rts 81c0: 20 b8 81 L81C0_3 jsr L81B8_3 81c3: 9d ff 6a sta $6aff,x 81c6: 60 rts 81c7: 20 f6 81 L81C7_3 jsr L81F6_3 81ca: d0 29 bne L81F5_3 81cc: a9 01 lda #$01 81ce: 20 6b 85 jsr L856B_3 81d1: bd ff 6a lda $6aff,x 81d4: 20 d4 c3 jsr LC3D4 81d7: 9d ff 6a sta $6aff,x 81da: 20 f6 81 jsr L81F6_3 81dd: d0 16 bne L81F5_3 81df: 20 b0 80 jsr L80B0_2 81e2: 38 sec 81e3: 10 08 bpl L81ED_3 81e5: a9 00 lda #$00 81e7: fd 07 04 sbc $0407,x 81ea: 9d 07 04 sta $0407,x 81ed: a9 00 L81ED_3 lda #$00 81ef: fd 03 04 sbc $0403,x 81f2: 9d 03 04 sta $0403,x 81f5: 60 L81F5_3 rts 81f6: 20 4b f7 L81F6_3 jsr LF74B 81f9: 29 20 and #$20 81fb: 60 rts 81fc: 20 f6 81 L81FC_3 jsr L81F6_3 81ff: d0 f4 bne L81F5_3 8201: a9 04 lda #$04 8203: 20 6b 85 jsr L856B_3 8206: bd fe 6a lda $6afe,x 8209: 20 d4 c3 jsr LC3D4 820c: 9d fe 6a sta $6afe,x 820f: 20 f6 81 jsr L81F6_3 8212: d0 16 bne L822A_3 8214: 20 b0 80 jsr L80B0_2 8217: 38 sec 8218: 10 08 bpl L8222_3 821a: a9 00 lda #$00 821c: fd 06 04 sbc EnCounter,x 821f: 9d 06 04 sta EnCounter,x 8222: a9 00 L8222_3 lda #$00 8224: fd 02 04 sbc $0402,x 8227: 9d 02 04 sta $0402,x 822a: 60 L822A_3 rts 822b: bd 05 04 L822B_3 lda EnCounter-1,x 822e: 10 02 bpl L8232_3 8230: 4a lsr A 8231: 4a lsr A 8232: 4a L8232_3 lsr A 8233: bd 08 04 lda EnDelay-1,x 8236: 2a rol A 8237: 0a asl A 8238: a8 tay 8239: b9 db 96 lda L960B_2+208,y 823c: 85 81 sta HideShowEndMsg 823e: b9 dc 96 lda L960B_2+209,y 8241: 85 82 sta ClrChangeCounter 8243: 60 rts 8244: 20 b0 80 L8244_3 jsr L80B0_2 8247: 10 03 bpl L824C_3 8249: 4c 3f 83 jmp L833F_3 824c: bd 05 04 L824C_3 lda EnCounter-1,x 824f: 29 20 and #$20 8251: 49 20 eor #$20 8253: f0 4d beq L82A2_4 8255: 20 2b 82 jsr L822B_3 8258: bc 06 04 L8258_3 ldy EnCounter,x 825b: b1 81 L825B_3 lda (HideShowEndMsg),y 825d: c9 f0 cmp #$f0 825f: 90 1e bcc L827F_4 8261: c9 fa cmp #$fa 8263: f0 17 beq L827C_3 8265: c9 fb cmp #$fb 8267: f0 47 beq L82B0_3 8269: c9 fc cmp #$fc 826b: f0 46 beq L82B3_3 826d: c9 fd cmp #$fd 826f: f0 34 beq L82A5_3 8271: c9 fe cmp #$fe 8273: f0 69 beq L82DE_3 8275: a9 00 lda #$00 8277: 9d 06 04 sta EnCounter,x 827a: f0 dc beq L8258_3 827c: 4c 12 83 L827C_3 jmp L8312_3 827f: 38 L827F_4 sec 8280: fd 09 04 sbc EnDelay,x 8283: d0 0b bne L8290_3 8285: 9d 09 04 sta EnDelay,x 8288: c8 iny 8289: c8 iny 828a: 98 tya 828b: 9d 06 04 sta EnCounter,x 828e: d0 cb bne L825B_3 8290: fe 09 04 L8290_3 inc EnDelay,x 8293: c8 iny 8294: b1 81 lda (HideShowEndMsg),y 8296: 0a asl A 8297: 08 php 8298: 20 be c2 jsr LC2BE 829b: 28 plp 829c: 90 04 bcc L82A2_4 829e: 49 ff eor #$ff 82a0: 69 00 adc #$00 82a2: 85 00 L82A2_4 sta $00 82a4: 60 rts 82a5: fe 06 04 L82A5_3 inc EnCounter,x 82a8: c8 iny 82a9: a9 00 lda #$00 82ab: 9d 01 6b sta EnDataIndex-1,x 82ae: f0 ab beq L825B_3 82b0: 68 L82B0_3 pla 82b1: 68 pla 82b2: 60 rts 82b3: bd 03 6b L82B3_3 lda $6b03,x 82b6: 10 06 bpl L82BE_3 82b8: 20 70 e7 jsr LE770 82bb: 4c c3 82 jmp L82C3_3 82be: f0 12 L82BE_3 beq L82D2_3 82c0: 20 7b e7 jsr LE77B 82c3: a6 4b L82C3_3 ldx PageIndex 82c5: b0 0b bcs L82D2_3 82c7: bc 06 04 ldy EnCounter,x 82ca: c8 iny 82cb: a9 00 lda #$00 82cd: 9d 03 6b sta $6b03,x 82d0: f0 05 beq L82D7_3 82d2: bc 06 04 L82D2_3 ldy EnCounter,x 82d5: 88 dey 82d6: 88 dey 82d7: 98 L82D7_3 tya 82d8: 9d 06 04 sta EnCounter,x 82db: 4c 5b 82 jmp L825B_3 82de: 88 L82DE_3 dey 82df: 88 dey 82e0: 98 tya 82e1: 9d 06 04 sta EnCounter,x 82e4: bd 03 6b lda $6b03,x 82e7: 10 06 bpl L82EF_3 82e9: 20 70 e7 jsr LE770 82ec: 4c f4 82 jmp L82F4_3 82ef: f0 0a L82EF_3 beq L82FB_3 82f1: 20 7b e7 jsr LE77B 82f4: a6 4b L82F4_3 ldx PageIndex 82f6: 90 03 bcc L82FB_3 82f8: 4c 58 82 jmp L8258_3 82fb: bc 02 6b L82FB_3 ldy EnDataIndex,x 82fe: b9 8b 96 lda L960B_2+128,y 8301: 29 20 and #$20 8303: f0 0d beq L8312_3 8305: bd 05 04 lda EnCounter-1,x 8308: 49 05 eor #$05 830a: 19 8b 96 ora L960B_2+128,y 830d: 29 1f and #$1f 830f: 9d 05 04 sta EnCounter-1,x 8312: 20 b1 81 L8312_3 jsr L81B1_3 8315: 4c a2 82 jmp L82A2_4 8318: 20 b0 80 L8318_3 jsr L80B0_2 831b: 10 03 bpl L8320_3 831d: 4c 95 83 jmp L8395_3 8320: bd 05 04 L8320_3 lda EnCounter-1,x 8323: 29 20 and #$20 8325: 49 20 eor #$20 8327: f0 13 beq L833C_3 8329: bc 06 04 ldy EnCounter,x 832c: c8 iny 832d: b1 81 lda (HideShowEndMsg),y 832f: aa tax 8330: 29 08 and #$08 8332: 08 php 8333: 8a txa 8334: 29 07 and #$07 8336: 28 plp 8337: f0 03 beq L833C_3 8339: 20 d4 c3 jsr LC3D4 833c: 85 00 L833C_3 sta $00 833e: 60 rts 833f: a0 0e L833F_3 ldy #$0e 8341: bd fe 6a lda $6afe,x 8344: 30 18 bmi L835E_3 8346: 18 clc 8347: 7d 06 04 adc EnCounter,x 834a: 9d 06 04 sta EnCounter,x 834d: bd 02 04 lda $0402,x 8350: 69 00 adc #$00 8352: 9d 02 04 sta $0402,x 8355: 10 1f bpl L8376_3 8357: 20 d4 c3 L8357_3 jsr LC3D4 835a: a0 f2 ldy #$f2 835c: d0 18 bne L8376_3 835e: 20 d4 c3 L835E_3 jsr LC3D4 8361: 38 sec 8362: 85 00 sta $00 8364: bd 06 04 lda EnCounter,x 8367: e5 00 sbc $00 8369: 9d 06 04 sta EnCounter,x 836c: bd 02 04 lda $0402,x 836f: e9 00 sbc #$00 8371: 9d 02 04 sta $0402,x 8374: 30 e1 bmi L8357_3 8376: c9 0e L8376_3 cmp #$0e 8378: 90 09 bcc L8383_3 837a: a9 00 lda #$00 837c: 9d 06 04 sta EnCounter,x 837f: 98 tya 8380: 9d 02 04 sta $0402,x 8383: bd fc 6a L8383_3 lda $6afc,x 8386: 18 clc 8387: 7d 06 04 adc EnCounter,x 838a: 9d fc 6a sta $6afc,x 838d: a9 00 lda #$00 838f: 7d 02 04 adc $0402,x 8392: 85 00 sta $00 8394: 60 rts 8395: a9 00 L8395_3 lda #$00 8397: 85 00 sta $00 8399: 85 02 sta $02 839b: a9 0e lda #$0e 839d: 85 01 sta $01 839f: 85 03 sta $03 83a1: bd 07 04 lda $0407,x 83a4: 18 clc 83a5: 7d ff 6a adc $6aff,x 83a8: 9d 07 04 sta $0407,x 83ab: 85 04 sta $04 83ad: a9 00 lda #$00 83af: bc ff 6a ldy $6aff,x 83b2: 10 02 bpl L83B6_3 83b4: a9 ff lda #$ff 83b6: 7d 03 04 L83B6_3 adc $0403,x 83b9: 9d 03 04 sta $0403,x 83bc: a8 tay 83bd: 10 11 bpl L83D0_3 83bf: a9 00 lda #$00 83c1: 38 sec 83c2: fd 07 04 sbc $0407,x 83c5: 85 04 sta $04 83c7: a9 00 lda #$00 83c9: fd 03 04 sbc $0403,x 83cc: a8 tay 83cd: 20 49 e4 jsr LE449 83d0: a5 04 L83D0_3 lda $04 83d2: c5 02 cmp $02 83d4: 98 tya 83d5: e5 03 sbc $03 83d7: 90 0a bcc L83E3_3 83d9: a5 00 lda $00 83db: 9d 07 04 sta $0407,x 83de: a5 01 lda $01 83e0: 9d 03 04 sta $0403,x 83e3: bd fd 6a L83E3_3 lda $6afd,x 83e6: 18 clc 83e7: 7d 07 04 adc $0407,x 83ea: 9d fd 6a sta $6afd,x 83ed: a9 00 lda #$00 83ef: 7d 03 04 adc $0403,x 83f2: 85 00 sta $00 83f4: 60 rts 83f5: a6 4b T83F5_3 ldx PageIndex 83f7: bd 00 04 lda EnYRoomPos,x 83fa: 38 sec 83fb: fd f5 6a sbc EnRadY,x 83fe: 29 07 and #$07 8400: 38 sec 8401: d0 03 bne L8406_3 8403: 20 70 e7 jsr LE770 8406: a0 00 L8406_3 ldy #$00 8408: 84 00 sty $00 840a: a6 4b ldx PageIndex 840c: 90 3c bcc L844A_3 840e: e6 00 inc $00 8410: bc 00 04 ldy EnYRoomPos,x 8413: d0 14 bne L8429_3 8415: a0 f0 ldy #$f0 8417: a5 49 lda ScrollDir 8419: c9 02 cmp #$02 841b: b0 0c bcs L8429_3 841d: a5 fc lda ScrollY 841f: f0 29 beq L844A_3 8421: 20 63 85 jsr L8563_3 8424: f0 24 beq L844A_3 8426: 20 5a 85 jsr L855A_3 8429: 88 L8429_3 dey 842a: 98 tya 842b: 9d 00 04 sta EnYRoomPos,x 842e: dd f5 6a cmp EnRadY,x 8431: d0 0e bne L8441_3 8433: a5 fc lda ScrollY 8435: f0 05 beq L843C_3 8437: 20 63 85 jsr L8563_3 843a: d0 05 bne L8441_3 843c: fe 00 04 L843C_3 inc EnYRoomPos,x 843f: 18 clc 8440: 60 rts 8441: bd 05 04 L8441_3 lda EnCounter-1,x 8444: 30 03 bmi L8449_3 8446: fe 01 6b inc EnDataIndex-1,x 8449: 38 L8449_3 sec 844a: 60 L844A_3 rts 844b: a6 4b T844B_3 ldx PageIndex 844d: bd 00 04 lda EnYRoomPos,x 8450: 18 clc 8451: 7d f5 6a adc EnRadY,x 8454: 29 07 and #$07 8456: 38 sec 8457: d0 03 bne L845C_3 8459: 20 7b e7 jsr LE77B 845c: a0 00 L845C_3 ldy #$00 845e: 84 00 sty $00 8460: a6 4b ldx PageIndex 8462: 90 42 bcc L84A6_3 8464: e6 00 inc $00 8466: bc 00 04 ldy EnYRoomPos,x 8469: c0 ef cpy #$ef 846b: d0 14 bne L8481_3 846d: a0 ff ldy #$ff 846f: a5 49 lda ScrollDir 8471: c9 02 cmp #$02 8473: b0 0c bcs L8481_3 8475: a5 fc lda ScrollY 8477: f0 2d beq L84A6_3 8479: 20 63 85 jsr L8563_3 847c: d0 28 bne L84A6_3 847e: 20 5a 85 jsr L855A_3 8481: c8 L8481_3 iny 8482: 98 tya 8483: 9d 00 04 sta EnYRoomPos,x 8486: 18 clc 8487: 7d f5 6a adc EnRadY,x 848a: c9 ef cmp #$ef 848c: d0 0f bne L849D_3 848e: a5 fc lda ScrollY 8490: f0 05 beq L8497_3 8492: 20 63 85 jsr L8563_3 8495: f0 06 beq L849D_3 8497: de 00 04 L8497_3 dec EnYRoomPos,x 849a: 18 clc 849b: 90 09 bcc L84A6_3 849d: bd 05 04 L849D_3 lda EnCounter-1,x 84a0: 30 03 bmi L84A5_3 84a2: de 01 6b dec EnDataIndex-1,x 84a5: 38 L84A5_3 sec 84a6: 60 L84A6_3 rts 84a7: a6 4b T84A7_3 ldx PageIndex 84a9: bd 01 04 lda EnXRoomPos,x 84ac: 38 sec 84ad: fd f6 6a sbc EnRadX,x 84b0: 29 07 and #$07 84b2: 38 sec 84b3: d0 03 bne L84B8_3 84b5: 20 f1 e8 jsr LE8F1 84b8: a0 00 L84B8_3 ldy #$00 84ba: 84 00 sty $00 84bc: a6 4b ldx PageIndex 84be: 90 3d bcc L84FD_3 84c0: e6 00 inc $00 84c2: bc 01 04 ldy EnXRoomPos,x 84c5: d0 13 bne L84DA_3 84c7: a5 49 lda ScrollDir 84c9: c9 02 cmp #$02 84cb: 90 0d bcc L84DA_3 84cd: a5 fd lda ScrollX 84cf: f0 03 beq L84D4_3 84d1: 20 63 85 jsr L8563_3 84d4: 18 L84D4_3 clc 84d5: f0 26 beq L84FD_3 84d7: 20 5a 85 jsr L855A_3 84da: de 01 04 L84DA_3 dec EnXRoomPos,x 84dd: bd 01 04 lda EnXRoomPos,x 84e0: dd f6 6a cmp EnRadX,x 84e3: d0 0f bne L84F4_3 84e5: a5 fd lda ScrollX 84e7: f0 05 beq L84EE_3 84e9: 20 63 85 jsr L8563_3 84ec: d0 06 bne L84F4_3 84ee: fe 01 04 L84EE_3 inc EnXRoomPos,x 84f1: 18 clc 84f2: 90 09 bcc L84FD_3 84f4: bd 05 04 L84F4_3 lda EnCounter-1,x 84f7: 10 03 bpl L84FC_3 84f9: fe 01 6b inc EnDataIndex-1,x 84fc: 38 L84FC_3 sec 84fd: 60 L84FD_3 rts 84fe: a6 4b T84FE_3 ldx PageIndex 8500: bd 01 04 lda EnXRoomPos,x 8503: 18 clc 8504: 7d f6 6a adc EnRadX,x 8507: 29 07 and #$07 8509: 38 sec 850a: d0 03 bne L850F_3 850c: 20 fc e8 jsr LE8FC 850f: a0 00 L850F_3 ldy #$00 8511: 84 00 sty $00 8513: a6 4b ldx PageIndex 8515: 90 42 bcc L8559_3 8517: e6 00 inc $00 8519: fe 01 04 inc EnXRoomPos,x 851c: d0 18 bne L8536_3 851e: a5 49 lda ScrollDir 8520: c9 02 cmp #$02 8522: 90 12 bcc L8536_3 8524: a5 fd lda ScrollX 8526: f0 05 beq L852D_3 8528: 20 63 85 jsr L8563_3 852b: f0 06 beq L8533_3 852d: de 01 04 L852D_3 dec EnXRoomPos,x 8530: 18 clc 8531: 90 26 bcc L8559_3 8533: 20 5a 85 L8533_3 jsr L855A_3 8536: bd 01 04 L8536_3 lda EnXRoomPos,x 8539: 18 clc 853a: 7d f6 6a adc EnRadX,x 853d: c9 ff cmp #$ff 853f: d0 0f bne L8550_3 8541: a5 fd lda ScrollX 8543: f0 05 beq L854A_3 8545: 20 63 85 jsr L8563_3 8548: f0 06 beq L8550_3 854a: de 01 04 L854A_3 dec EnXRoomPos,x 854d: 18 clc 854e: 90 09 bcc L8559_3 8550: bd 05 04 L8550_3 lda EnCounter-1,x 8553: 10 03 bpl L8558_3 8555: de 01 6b dec EnDataIndex-1,x 8558: 38 L8558_3 sec 8559: 60 L8559_3 rts 855a: bd fb 6a L855A_3 lda EnNameTable,x 855d: 49 01 eor #$01 855f: 9d fb 6a sta EnNameTable,x 8562: 60 rts 8563: bd fb 6a L8563_3 lda EnNameTable,x 8566: 45 ff eor PPUCNT0ZP 8568: 29 01 and #$01 856a: 60 rts 856b: 5d 05 04 L856B_3 eor EnCounter-1,x 856e: 9d 05 04 sta EnCounter-1,x 8571: 60 rts 8572: 03 04 05 ff+ .bulk $03,$04,$05,$ff,$07,$ff,$17,$08,$ff,$22,$ff,$04,$10,$ff,$17,$18 + $19,$1a,$ff,$03,$17,$ff,$1e,$1d,$1c,$1b,$ff,$28,$ff,$2a,$f7,$ff + $12,$ff,$0c,$0d,$0e,$ff,$30,$2b,$ff,$31,$31,$33,$f7,$ff,$33,$33 + $31,$ff,$35,$ff,$39,$38,$ff,$40,$41,$42,$ff,$46,$ff,$47,$ff,$48 + $ff,$07,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$f7,$f7,$07,$f7,$ff + $23,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$f7,$f7,$23,$f7,$ff,$07 + $f7,$f7,$f7,$f7,$07,$f7,$f7,$f7,$07,$f7,$f7,$07,$f7,$ff,$23,$f7 + $f7,$f7,$f7,$23,$f7,$f7,$f7,$23,$f7,$f7,$23,$f7,$ff,$4b,$ff,$4e + $4f,$ff,$3c,$4a,$49,$4a,$4d,$4a,$4d,$f7,$ff,$26,$ff,$25,$ff,$27 + $ff,$67,$67,$67,$68,$68,$69,$f7,$ff 860b: cb 87 .dd2 L86FD_2+206 860d: cb 87 .dd2 L86FD_2+206 860f: cb 87 .dd2 L86FD_2+206 8611: cb 87 .dd2 L86FD_2+206 8613: dd 87 .dd2 L86FD_2+224 8615: f0 87 .dd2 L86FD_2+243 8617: 02 88 .dd2 L86FD_2+$105 8619: 02 88 .dd2 L86FD_2+$105 861b: 18 88 .dd2 L86FD_2+$11b 861d: 2c 88 .dd2 L86FD_2+$12f 861f: 2c 88 .dd2 L86FD_2+$12f 8621: 2c 88 .dd2 L86FD_2+$12f 8623: 2c 88 .dd2 L86FD_2+$12f 8625: 3e 88 .dd2 L86FD_2+$141 8627: 51 88 .dd2 L86FD_2+$154 8629: 63 88 .dd2 L86FD_2+$166 862b: 63 88 .dd2 L86FD_2+$166 862d: 74 88 .dd2 L86FD_2+$177 862f: 74 88 .dd2 L86FD_2+$177 8631: 85 88 .dd2 L86FD_2+$188 8633: 85 88 .dd2 L86FD_2+$188 8635: 85 88 .dd2 L86FD_2+$188 8637: 85 88 .dd2 L86FD_2+$188 8639: 85 88 .dd2 L86FD_2+$188 863b: 8f 88 .dd2 L86FD_2+$192 863d: 99 88 .dd2 L86FD_2+$19c 863f: a3 88 .dd2 L86FD_2+$1a6 8641: ad 88 .dd2 L86FD_2+$1b0 8643: b8 88 .dd2 L86FD_2+$1bb 8645: c3 88 .dd2 L86FD_2+$1c6 8647: ce 88 .dd2 L86FD_2+$1d1 8649: d9 88 .dd2 L86FD_2+$1dc 864b: d9 88 .dd2 L86FD_2+$1dc 864d: d9 88 .dd2 L86FD_2+$1dc 864f: d9 88 .dd2 L86FD_2+$1dc 8651: ee 88 .dd2 L86FD_2+$1f1 8653: f8 88 .dd2 L86FD_2+$1fb 8655: f8 88 .dd2 L86FD_2+$1fb 8657: fe 88 .dd2 L86FD_2+$201 8659: 04 89 .dd2 L86FD_2+$207 865b: 0a 89 .dd2 L86FD_2+$20d 865d: 0f 89 .dd2 L86FD_2+$212 865f: 0f 89 .dd2 L86FD_2+$212 8661: 14 89 .dd2 L86FD_2+$217 8663: 28 89 .dd2 L86FD_2+$22b 8665: 28 89 .dd2 L86FD_2+$22b 8667: 28 89 .dd2 L86FD_2+$22b 8669: 28 89 .dd2 L86FD_2+$22b 866b: 28 89 .dd2 L86FD_2+$22b 866d: 3c 89 .dd2 L86FD_2+$23f 866f: 48 89 .dd2 L86FD_2+$24b 8671: 48 89 .dd2 L86FD_2+$24b 8673: 54 89 .dd2 L86FD_2+$257 8675: 54 89 .dd2 L86FD_2+$257 8677: 61 89 .dd2 L86FD_2+$264 8679: 61 89 .dd2 L86FD_2+$264 867b: 61 89 .dd2 L86FD_2+$264 867d: 74 89 .dd2 L86FD_2+$277 867f: 87 89 .dd2 L86FD_2+$28a 8681: 87 89 .dd2 L86FD_2+$28a 8683: 87 89 .dd2 L86FD_2+$28a 8685: 95 89 .dd2 L86FD_2+$298 8687: 95 89 .dd2 L86FD_2+$298 8689: 95 89 .dd2 L86FD_2+$298 868b: 95 89 .dd2 L86FD_2+$298 868d: a9 89 .dd2 L86FD_2+$2ac 868f: be 89 .dd2 L86FD_2+$2c1 8691: d2 89 .dd2 L86FD_2+$2d5 8693: d2 89 .dd2 L86FD_2+$2d5 8695: d2 89 .dd2 L86FD_2+$2d5 8697: d2 89 .dd2 L86FD_2+$2d5 8699: e6 89 .dd2 L86FD_2+$2e9 869b: fb 89 .dd2 L86FD_2+$2fe 869d: 0f 8a .dd2 L86FD_2+$312 869f: 1d 8a .dd2 L86FD_2+$320 86a1: 21 8a .dd2 L86FD_2+$324 86a3: 26 8a .dd2 L86FD_2+$329 86a5: 26 8a .dd2 L86FD_2+$329 86a7: 3c 8a .dd2 L86FD_2+$33f 86a9: 41 8a .dd2 L86FD_2+$344 86ab: 46 8a .dd2 L86FD_2+$349 86ad: 4e 8a .dd2 L86FD_2+$351 86af: 56 8a .dd2 L86FD_2+$359 86b1: 5e 8a .dd2 L86FD_2+$361 86b3: 66 8a .dd2 L86FD_2+$369 86b5: 6e 8a .dd2 L86FD_2+$371 86b7: 76 8a .dd2 L86FD_2+$379 86b9: 7e 8a .dd2 L86FD_2+$381 86bb: 86 8a .dd2 L86FD_2+$389 86bd: 8e 8a .dd2 L86FD_2+$391 86bf: 9c 8a .dd2 L86FD_2+$39f 86c1: a1 8a .dd2 L86FD_2+$3a4 86c3: a6 8a .dd2 L86FD_2+$3a9 86c5: ae 8a .dd2 L86FD_2+$3b1 86c7: ba 8a .dd2 L86FD_2+$3bd 86c9: c4 8a .dd2 L86FD_2+$3c7 86cb: c4 8a .dd2 L86FD_2+$3c7 86cd: c4 8a .dd2 L86FD_2+$3c7 86cf: c4 8a .dd2 L86FD_2+$3c7 86d1: c4 8a .dd2 L86FD_2+$3c7 86d3: c4 8a .dd2 L86FD_2+$3c7 86d5: c4 8a .dd2 L86FD_2+$3c7 86d7: d8 8a .dd2 L86FD_2+$3db 86d9: e9 8a .dd2 L86FD_2+$3ec 86db: f3 8a .dd2 L86FD_2+$3f6 86dd: 03 8b .dd2 L86FD_2+$406 86df: 01 87 .dd2 L86FD_2+4 86e1: 1f 87 .dd2 L86FD_2+34 86e3: 2b 87 .dd2 L86FD_2+46 86e5: 37 87 .dd2 L86FD_2+58 86e7: 47 87 .dd2 L86FD_2+74 86e9: 51 87 .dd2 L86FD_2+84 86eb: fd 86 .dd2 L86FD_2 86ed: 5d 87 .dd2 L86FD_2+96 86ef: 75 87 .dd2 L86FD_2+120 86f1: 8d 87 .dd2 L86FD_2+144 86f3: 91 87 .dd2 L86FD_2+148 86f5: 99 87 .dd2 L86FD_2+156 86f7: a5 87 .dd2 L86FD_2+168 86f9: 49 87 .dd2 L86FD_2+76 86fb: b1 87 .dd2 L86FD_2+180 86fd: e8 fc ea fc+ L86FD_2 .bulk $e8,$fc,$ea,$fc,$f0,$f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$00,$f8 + $00,$00,$00,$08,$08,$f8,$08,$00,$08,$08,$f8,$f4,$f8,$f6,$ec,$f4 + $ee,$f4,$f3,$f8,$f3,$00,$fb,$f8,$fb,$00,$03,$f8,$03,$00,$f8,$f6 + $f8,$fe,$f8,$06,$00,$f6,$00,$fe,$00,$06,$fc,$f0,$fc,$f8,$fc,$00 + $fc,$08,$fc,$10,$fc,$18,$fc,$20,$fc,$28,$fc,$fc,$f8,$f8,$f8,$00 + $00,$f8,$00,$00,$e8,$00,$f0,$00,$f8,$00,$00,$00,$08,$00,$10,$00 + $80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8,$f4,$00 + $fc,$f8,$fc,$00,$04,$f8,$04,$00,$f0,$00,$f0,$08,$f8,$08,$f0,$f0 + $f0,$f8,$f8,$f0,$00,$f0,$08,$f0,$08,$f8,$00,$08,$08,$00,$08,$08 + $f8,$fc,$00,$fc,$fc,$f8,$fc,$00,$fc,$10,$fc,$18,$fc,$f0,$f4,$f8 + $f4,$00,$fc,$08,$04,$f8,$04,$00,$fc,$e8,$ec,$f0,$ec,$08,$fc,$10 + $0c,$f0,$0c,$08,$00,$f8,$00,$00,$08,$f8,$08,$00,$e8,$f0,$e8,$f8 + $e8,$00,$f0,$f0,$f0,$f8,$f0,$00,$f8,$f0,$f8,$f8,$f8,$00,$40,$0f + $04,$00,$01,$fd,$20,$fe,$41,$40,$fd,$60,$20,$21,$fe,$fe,$31,$ff + $40,$0f,$04,$02,$03,$fd,$20,$fe,$43,$42,$fd,$60,$22,$23,$fe,$32 + $33,$34,$ff,$40,$0f,$04,$05,$06,$fd,$20,$fe,$45,$44,$fd,$60,$25 + $26,$27,$35,$36,$ff,$00,$0f,$04,$09,$fd,$60,$09,$fd,$20,$fe,$19 + $1a,$fd,$20,$29,$2a,$fe,$39,$fd,$60,$39,$ff,$40,$0f,$04,$fd,$20 + $0e,$0d,$fe,$1e,$1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$17,$ff,$40 + $0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$20,$21,$fe,$fe,$31 + $ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60,$22,$23,$fe + $32,$33,$34,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a,$49,$fd,$60 + $25,$26,$27,$35,$36,$ff,$40,$0f,$04,$00,$01,$fd,$20,$fe,$41,$40 + $fd,$60,$22,$07,$08,$32,$ff,$40,$0f,$04,$00,$01,$fd,$20,$4b,$4a + $49,$fd,$60,$22,$07,$08,$32,$ff,$41,$0f,$04,$52,$53,$62,$63,$72 + $73,$ff,$42,$0f,$04,$54,$55,$56,$64,$65,$66,$ff,$81,$0f,$04,$52 + $53,$62,$63,$72,$73,$ff,$82,$0f,$04,$54,$55,$56,$64,$65,$66,$ff + $01,$08,$04,$fc,$03,$00,$50,$51,$60,$61,$ff,$81,$08,$04,$fc,$fd + $00,$50,$51,$60,$61,$ff,$c1,$08,$04,$fc,$fd,$00,$50,$51,$60,$61 + $ff,$41,$08,$04,$fc,$03,$00,$50,$51,$60,$61,$ff,$40,$0f,$04,$fd + $20,$0e,$0d,$fe,$1e,$1d,$2e,$2d,$fe,$fd,$60,$3b,$3c,$fe,$fe,$17 + $ff,$03,$04,$10,$28,$38,$38,$fd,$60,$28,$ff,$4a,$04,$08,$5e,$5f + $ff,$0a,$04,$08,$5e,$5f,$ff,$09,$08,$04,$14,$24,$ff,$04,$02,$02 + $30,$ff,$04,$00,$00,$04,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79 + $fe,$78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$46,$0f,$04,$fe,$69 + $fd,$20,$7a,$79,$fe,$78,$77,$2e,$2d,$fe,$fd,$60,$3b,$3c,$ff,$35 + $18,$08,$0f,$1f,$2f,$fd,$a3,$2f,$1f,$0f,$ff,$35,$18,$04,$6a,$6b + $6c,$fd,$a3,$6c,$6b,$6a,$ff,$07,$00,$00,$fc,$fc,$00,$0b,$0c,$1b + $1c,$2b,$2c,$ff,$46,$0f,$04,$69,$fd,$20,$fe,$7a,$79,$fe,$78,$77 + $fd,$60,$22,$07,$08,$32,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79 + $fe,$78,$77,$fd,$60,$22,$07,$08,$32,$ff,$0d,$0c,$0c,$74,$fd,$60 + $74,$fd,$a0,$74,$fd,$e0,$74,$ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a + $79,$fe,$78,$77,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$69 + $fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34 + $ff,$46,$0f,$04,$69,$fe,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25 + $26,$27,$35,$36,$ff,$46,$0f,$04,$fe,$69,$fd,$20,$7a,$79,$fe,$78 + $77,$fd,$60,$20,$21,$fe,$fe,$31,$ff,$46,$0f,$04,$fe,$69,$fd,$20 + $7a,$79,$fe,$78,$77,$fd,$60,$22,$23,$fe,$32,$33,$34,$ff,$46,$0f + $04,$fe,$69,$fd,$20,$7a,$79,$fe,$78,$77,$fd,$60,$25,$26,$27,$35 + $36,$ff,$0d,$0c,$0c,$75,$fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff + $00,$00,$00,$ff,$04,$04,$04,$4c,$ff,$08,$10,$10,$3d,$3e,$4e,$fd + $60,$3e,$3d,$4e,$fd,$e0,$4e,$3e,$3d,$fd,$a0,$4e,$3d,$3e,$ff,$04 + $04,$04,$70,$ff,$04,$04,$04,$71,$ff,$0d,$03,$03,$86,$87,$96,$97 + $ff,$0d,$03,$03,$7b,$7c,$8b,$8c,$ff,$0d,$03,$03,$88,$67,$98,$99 + $ff,$0d,$03,$03,$80,$81,$90,$91,$ff,$0d,$03,$03,$7d,$7e,$8d,$8e + $ff,$0d,$03,$03,$82,$83,$92,$93,$ff,$0d,$03,$03,$88,$89,$98,$99 + $ff,$0d,$03,$03,$88,$68,$98,$99,$ff,$0d,$03,$03,$84,$85,$94,$95 + $ff,$0d,$03,$03,$3f,$fd,$40,$3f,$fd,$00,$4f,$fd,$40,$4f,$ff,$34 + $04,$04,$f2,$ff,$04,$00,$00,$5a,$ff,$13,$00,$00,$b0,$b1,$b2,$b3 + $ff,$13,$00,$00,$b4,$b5,$b6,$b7,$b8,$b6,$b9,$b3,$ff,$13,$00,$00 + $b3,$ba,$ba,$fe,$80,$80,$ff,$1e,$00,$08,$fa,$fb,$fa,$fb,$fc,$00 + $04,$c5,$c6,$c7,$d5,$d6,$d7,$e5,$e6,$e7,$ff,$1e,$00,$08,$fa,$fb + $fa,$fb,$fe,$c8,$c9,$eb,$d8,$d9,$ea,$e8,$e9,$ff,$0a,$04,$08,$fd + $00,$57,$fd,$40,$57,$ff,$0b,$04,$0c,$fd,$00,$57,$18,$fd,$40,$18 + $57,$fd,$c0,$18,$18,$ff,$0c,$04,$10,$fd,$00,$57,$18,$fd,$40,$18 + $57,$fd,$c0,$18,$18,$ff 8b13: a5 56 lda DoorStatus 8b15: d0 55 bne L8B6C_4 8b17: a4 58 ldy SamusDoorData 8b19: f0 51 beq L8B6C_4 8b1b: 85 95 sta CurrentMissilePickups 8b1d: 85 96 sta CurrentEnergyPickups 8b1f: a5 2e lda RandomNumber1 8b21: 29 0f and #$0f 8b23: 85 93 sta MaxMissilePickup 8b25: 0a asl A 8b26: 09 40 ora #$40 8b28: 85 94 sta MaxEnergyPickup 8b2a: a5 ff lda PPUCNT0ZP 8b2c: 49 01 eor #$01 8b2e: 29 01 and #$01 8b30: a8 tay 8b31: 4a lsr A 8b32: 99 6c 00 sta DoorOnNameTable3,y 8b35: a5 49 lda ScrollDir 8b37: 29 02 and #$02 8b39: d0 10 bne L8B4B_3 8b3b: a2 04 ldx #$04 8b3d: a5 fc lda ScrollY 8b3f: f0 2c beq L8B6D_4 8b41: a5 ff lda PPUCNT0ZP 8b43: 4d 0c 03 eor ObjectHi 8b46: 4a lsr A 8b47: 90 0a bcc L8B53_3 8b49: b0 07 bcs L8B52_3 8b4b: a2 02 L8B4B_3 ldx #$02 8b4d: ad 0e 03 lda ObjectX 8b50: 10 01 bpl L8B53_3 8b52: ca L8B52_3 dex 8b53: 8a L8B53_3 txa 8b54: 85 57 sta DoorScrollStatus 8b56: 20 74 8b jsr L8B74_3 8b59: a9 12 lda #$12 8b5b: 85 59 sta DoorDelay 8b5d: a5 58 lda SamusDoorData 8b5f: 20 c5 c2 jsr LC2C5 8b62: 0d 00 03 ora ObjAction 8b65: 85 58 sta SamusDoorData 8b67: a9 05 lda #$05 8b69: 8d 00 03 sta ObjAction 8b6c: 60 L8B6C_4 rts 8b6d: 20 53 8b L8B6D_4 jsr L8B53_3 8b70: 20 1b e2 jsr LE21B 8b73: 8a txa 8b74: 09 80 L8B74_3 ora #$80 8b76: 85 56 sta DoorStatus 8b78: 60 rts 8b79: a2 b0 ldx #$b0 8b7b: 20 87 8b L8B7B_3 jsr L8B87_3 8b7e: a5 4b lda PageIndex 8b80: 38 sec 8b81: e9 10 sbc #$10 8b83: aa tax 8b84: 30 f5 bmi L8B7B_3 8b86: 60 rts 8b87: 86 4b L8B87_3 stx PageIndex 8b89: bd 00 03 lda ObjAction,x 8b8c: 20 7c c2 jsr ChooseRoutine 8b8f: 5c c4 .dd2 TC45C 8b91: 9d 8b .dd2 T8B9D_3 8b93: d5 8b .dd2 T8BD5_3 8b95: 01 8c .dd2 T8C01_3 8b97: 84 8c .dd2 T8C84_3 8b99: c6 8c .dd2 T8CC6_3 8b9b: f0 8c .dd2 T8CF0_3 8b9d: fe 00 03 T8B9D_3 inc ObjAction,x 8ba0: a9 30 lda #$30 8ba2: 20 fa d2 jsr LD2FA 8ba5: 20 fb 8c jsr L8CFB_3 8ba8: bc 07 03 ldy SamusOnElevator,x 8bab: b9 d1 8b lda L8BD1_3,y 8bae: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bb1: bd 07 03 L8BB1_3 lda SamusOnElevator,x 8bb4: c9 03 cmp #$03 8bb6: d0 02 bne L8BBA_3 8bb8: a9 01 lda #$01 8bba: 09 a0 L8BBA_3 ora #$a0 8bbc: 85 6b sta ObjectCntrl 8bbe: a9 00 lda #$00 8bc0: 9d 0a 03 sta SamusHit,x 8bc3: 8a txa 8bc4: 29 10 and #$10 8bc6: 49 10 eor #$10 8bc8: 05 6b ora ObjectCntrl 8bca: 85 6b sta ObjectCntrl 8bcc: a9 06 lda #$06 8bce: 4c 47 de jmp LDE47 8bd1: 05 L8BD1_3 .dd1 $05 8bd2: 01 .dd1 $01 8bd3: 0a .dd1 $0a 8bd4: 01 .dd1 $01 8bd5: bd 0a 03 T8BD5_3 lda SamusHit,x 8bd8: 29 04 and #$04 8bda: f0 d5 beq L8BB1_3 8bdc: de 0f 03 dec SamusJumpDsplcmnt,x 8bdf: d0 d0 bne L8BB1_3 8be1: a9 03 lda #$03 8be3: dd 07 03 cmp SamusOnElevator,x 8be6: d0 06 bne L8BEE_3 8be8: ac 0b 01 ldy EndTimerHi 8beb: c8 iny 8bec: d0 c3 bne L8BB1_3 8bee: 9d 00 03 L8BEE_3 sta ObjAction,x 8bf1: a9 50 lda #$50 8bf3: 9d 0f 03 sta SamusJumpDsplcmnt,x 8bf6: a9 2c lda #$2c 8bf8: 9d 05 03 sta AnimResetIndex,x 8bfb: 38 sec 8bfc: e9 03 sbc #$03 8bfe: 4c 7e 8c jmp L8C7E_4 8c01: a5 56 T8C01_3 lda DoorStatus 8c03: f0 18 beq L8C1D_3 8c05: ad 0c 03 lda ObjectHi 8c08: 5d 0c 03 eor ObjectHi,x 8c0b: 4a lsr A 8c0c: b0 0f bcs L8C1D_3 8c0e: ad 0e 03 lda ObjectX 8c11: 5d 0e 03 eor ObjectX,x 8c14: 30 07 bmi L8C1D_3 8c16: a9 04 lda #$04 8c18: 9d 00 03 sta ObjAction,x 8c1b: d0 56 bne L8C73_3 8c1d: bd 06 03 L8C1D_3 lda AnimIndex,x 8c20: dd 05 03 cmp AnimResetIndex,x 8c23: 90 4e bcc L8C73_3 8c25: bd 0f 03 lda SamusJumpDsplcmnt,x 8c28: c9 50 cmp #$50 8c2a: d0 2b bne L8C57_3 8c2c: 20 f7 8c jsr L8CF7_4 8c2f: bd 07 03 lda SamusOnElevator,x 8c32: c9 01 cmp #$01 8c34: f0 21 beq L8C57_3 8c36: c9 03 cmp #$03 8c38: f0 1d beq L8C57_3 8c3a: a9 0a lda #$0a 8c3c: 85 09 sta $09 8c3e: bd 0c 03 lda ObjectHi,x 8c41: 85 08 sta $08 8c43: a4 50 ldy MapPosX 8c45: 8a txa 8c46: 20 c5 c2 jsr LC2C5 8c49: 90 01 bcc L8C4C_3 8c4b: 88 dey 8c4c: 98 L8C4C_3 tya 8c4d: 20 1e dc jsr LDC1E 8c50: a9 00 lda #$00 8c52: 9d 00 03 sta ObjAction,x 8c55: f0 1c beq L8C73_3 8c57: a5 2d L8C57_3 lda FrameCount 8c59: 4a lsr A 8c5a: b0 17 bcs L8C73_3 8c5c: de 0f 03 dec SamusJumpDsplcmnt,x 8c5f: d0 12 bne L8C73_3 8c61: a9 01 L8C61_3 lda #$01 8c63: 9d 0f 03 sta SamusJumpDsplcmnt,x 8c66: 20 fb 8c jsr L8CFB_3 8c69: a9 02 lda #$02 8c6b: 9d 00 03 sta ObjAction,x 8c6e: 20 76 8c jsr L8C76_3 8c71: a6 4b L8C71_3 ldx PageIndex 8c73: 4c b1 8b L8C73_3 jmp L8BB1_3 8c76: a9 30 L8C76_3 lda #$30 8c78: 9d 05 03 sta AnimResetIndex,x 8c7b: 38 sec 8c7c: e9 02 sbc #$02 8c7e: 20 fd d2 L8C7E_4 jsr LD2FD 8c81: 4c da cb jmp LCBDA 8c84: a5 56 T8C84_3 lda DoorStatus 8c86: c9 05 cmp #$05 8c88: b0 39 bcs L8CC3_3 8c8a: 20 fb 8c jsr L8CFB_3 8c8d: 20 76 8c jsr L8C76_3 8c90: a6 4b ldx PageIndex 8c92: a5 91 lda $91 8c94: f0 11 beq L8CA7_3 8c96: 8a txa 8c97: 20 bf c2 jsr LC2BF 8c9a: 45 91 eor $91 8c9c: 4a lsr A 8c9d: 90 08 bcc L8CA7_3 8c9f: a5 76 lda PalToggle 8ca1: 49 07 eor #$07 8ca3: 85 76 sta PalToggle 8ca5: 85 1c sta PalDataPending 8ca7: fe 00 03 L8CA7_3 inc ObjAction,x 8caa: a9 00 lda #$00 8cac: 85 91 sta $91 8cae: bd 07 03 lda SamusOnElevator,x 8cb1: c9 03 cmp #$03 8cb3: d0 0e bne L8CC3_3 8cb5: 8a txa 8cb6: 20 c5 c2 jsr LC2C5 8cb9: b0 05 bcs L8CC0_3 8cbb: 20 07 cc jsr LCC07 8cbe: d0 03 bne L8CC3_3 8cc0: 20 03 cc L8CC0_3 jsr LCC03 8cc3: 4c 71 8c L8CC3_3 jmp L8C71_3 8cc6: a5 56 T8CC6_3 lda DoorStatus 8cc8: c9 05 cmp #$05 8cca: d0 21 bne L8CED_3 8ccc: 8a txa 8ccd: 49 10 eor #$10 8ccf: aa tax 8cd0: a9 06 lda #$06 8cd2: 9d 00 03 sta ObjAction,x 8cd5: a9 2c lda #$2c 8cd7: 9d 05 03 sta AnimResetIndex,x 8cda: 38 sec 8cdb: e9 03 sbc #$03 8cdd: 20 fd d2 jsr LD2FD 8ce0: 20 da cb jsr LCBDA 8ce3: 20 73 cb jsr LCB73 8ce6: a6 4b ldx PageIndex 8ce8: a9 02 lda #$02 8cea: 9d 00 03 sta ObjAction,x 8ced: 4c b1 8b L8CED_3 jmp L8BB1_3 8cf0: a5 56 T8CF0_3 lda DoorStatus 8cf2: d0 f9 bne L8CED_3 8cf4: 4c 61 8c jmp L8C61_3 8cf7: a9 ff L8CF7_4 lda #$ff 8cf9: d0 02 bne L8CFD_3 8cfb: a9 4e L8CFB_3 lda #$4e 8cfd: 48 L8CFD_3 pha 8cfe: a9 50 lda #$50 8d00: 85 02 sta $02 8d02: 8a txa 8d03: 20 bf c2 jsr LC2BF 8d06: 29 01 and #$01 8d08: a8 tay 8d09: b9 3a 8d lda L8D3A_3,y 8d0c: 85 03 sta $03 8d0e: bd 0c 03 lda ObjectHi,x 8d11: 85 0b sta $0b 8d13: 20 6a e9 jsr LE96A 8d16: a0 00 ldy #$00 8d18: 68 pla 8d19: 91 04 L8D19_3 sta ($04),y 8d1b: aa tax 8d1c: 98 tya 8d1d: 18 clc 8d1e: 69 20 adc #$20 8d20: a8 tay 8d21: 8a txa 8d22: c0 c0 cpy #$c0 8d24: d0 f3 bne L8D19_3 8d26: a6 4b ldx PageIndex 8d28: 8a txa 8d29: 20 c0 c2 jsr LC2C0 8d2c: 29 06 and #$06 8d2e: a8 tay 8d2f: a5 04 lda $04 8d31: 99 5c 00 sta $005c,y 8d34: a5 05 lda $05 8d36: 99 5d 00 sta $005d,y 8d39: 60 rts 8d3a: e8 10 60 ad+ L8D3A_3 .bulk $e8,$10,$60,$ad,$91,$69,$8d,$78,$68,$ad,$92,$69,$8d,$79,$68,$a9 + $00,$85,$00,$85,$02,$ad,$97,$69,$29,$80,$f0,$06,$a5,$00,$09,$80 + $85,$00,$ad,$97,$69,$29 8d60: 73 fd 3b a0+ .bulk $73,$fd,$3b,$a0,$c0,$e0,$60,$80,$00,$00,$00,$1f,$10,$17,$14,$14 + $e8,$9c,$7c,$1c,$44,$58,$5c,$5c,$00,$04,$0c,$fc,$24,$b8,$bc,$bc + $e0,$e7,$a0,$2f,$73,$7c,$00,$00,$17,$10,$1f,$0f,$33,$7c,$00,$00 + $58,$d4,$14,$dc,$ec,$d8,$00,$00,$b8,$34,$f4,$dc,$ec,$d8,$00,$00 + $41,$41,$77,$14,$14,$14,$14,$14,$1d,$01,$7f,$0c,$0c,$0c,$0c,$0c + $14,$14,$14,$14,$14,$7f,$41,$41,$0c,$0c,$0c,$0c,$0c,$01,$01,$1d + $7f,$7f,$7f,$3e,$3e,$3e,$3c,$1c,$03,$03,$07,$06,$06,$06,$04,$04 + $7e,$7e,$7e,$7c,$7c,$3c,$38,$38,$06,$06,$0e,$0c,$0c,$0c,$08,$08 + $1c,$1c,$1c,$08,$08,$08,$08,$08,$04,$04,$04,$00,$00,$00,$00,$00 + $38,$10,$10,$10,$00,$00,$00,$00,$08,$00,$00,$00,$00,$00,$00,$00 + $7e,$7e,$7e,$3e,$3e,$3c,$1c,$1c,$60,$60,$70,$30,$30,$30,$10,$10 + $fe,$fe,$fe,$7c,$7c,$7c,$3c,$38,$c0,$c0,$e0,$60,$60,$60,$20,$20 + $1c,$08,$08,$08,$00,$00,$00,$00,$10,$00,$00,$00,$00,$00,$00,$00 + $38,$38,$38,$10,$10,$10,$10,$10,$20,$20,$20,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$01,$03,$00,$0f,$03,$1f,$21,$00,$01,$01,$00,$01,$03,$07,$01 + $7f,$ff,$f0,$d7,$8f,$dc,$98,$f8,$7f,$9f,$70,$d0,$83,$c4,$88,$e8 + $80,$f0,$78,$bc,$fc,$7e,$6e,$4c,$80,$f0,$78,$3c,$bc,$7e,$6e,$4c + $3c,$3c,$3a,$7b,$77,$6f,$69,$3c,$3c,$2c,$2a,$5b,$51,$47,$61,$1c + $d1,$89,$07,$c6,$20,$1c,$87,$00,$c1,$81,$07,$c6,$00,$00,$80,$00 + $f6,$02,$08,$1c,$1e,$1e,$07,$07,$f6,$22,$60,$c0,$98,$9c,$44,$26 + $70,$70,$0c,$32,$20,$1c,$10,$06,$30,$30,$0c,$12,$20,$0c,$10,$02 + $1c,$7e,$78,$f3,$f1,$e1,$c2,$73,$1c,$66,$58,$b3,$b1,$a1,$c2,$73 + $03,$03,$03,$01,$b1,$18,$0c,$cc,$12,$12,$22,$00,$90,$08,$04,$44 + $00,$07,$00,$03,$00,$01,$03,$0f,$00,$03,$00,$01,$00,$00,$01,$03 + $01,$48,$46,$30,$1e,$c0,$81,$67,$01,$48,$46,$30,$1e,$c0,$80,$61 + $e6,$f0,$31,$0b,$83,$00,$ef,$c9,$a2,$c0,$30,$08,$81,$00,$20,$c1 + $02,$03,$77,$89,$be,$2c,$00,$80,$00,$01,$77,$81,$8e,$0c,$00,$00 + $0f,$02,$1f,$02,$0f,$1b,$11,$f0,$07,$02,$0f,$02,$07,$0b,$11,$d0 + $1f,$3c,$70,$61,$07,$5e,$19,$7e,$07,$1c,$30,$20,$01,$46,$19,$7e + $26,$7e,$58,$d2,$23,$c1,$00,$00,$20,$22,$10,$52,$23,$c1,$00,$00 + $00,$40,$70,$18,$c8,$ed,$f7,$3d,$00,$00,$40,$10,$00,$c9,$e1,$3d + $18,$70,$f0,$80,$00,$00,$00,$00,$10,$10,$f0,$80,$00,$00,$00,$00 + $00,$00,$00,$70,$fc,$de,$02,$e2,$00,$00,$00,$00,$70,$1e,$02,$c0 + $45,$d7,$ff,$ff,$fd,$ff,$bf,$fb,$00,$00,$00,$00,$02,$00,$40,$04 + $ff,$bb,$ff,$ff,$ef,$ff,$7f,$fd,$00,$44,$00,$00,$10,$00,$80,$02 + $12,$12,$12,$12,$12,$12,$12,$12,$1d,$1d,$1d,$1d,$1d,$1d,$1d,$1d + $58,$58,$58,$58,$58,$58,$58,$58,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$f8 + $00,$00,$7f,$80,$80,$ff,$7f,$00,$00,$7f,$80,$7f,$ff,$ff,$7f,$00 + $00,$00,$fc,$01,$03,$ff,$fe,$00,$00,$fe,$03,$ff,$ff,$ff,$fe,$00 + $00,$00,$00,$00,$00,$ff,$00,$00,$ff,$ff,$ff,$ff,$ff,$00,$ff,$ff + $ff,$00,$ff,$ff,$ff,$ff,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00 + $00,$00,$10,$00,$09,$10,$0a,$25,$00,$00,$10,$00,$09,$10,$0a,$25 + $00,$00,$00,$90,$68,$90,$f4,$ba,$00,$00,$00,$90,$68,$90,$74,$aa + $0a,$07,$2b,$15,$02,$21,$04,$00,$0a,$07,$2b,$15,$02,$21,$04,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$b4,$6a,$c8,$22,$28,$00,$00,$fc,$b4,$6a,$c8,$22,$28,$00,$00 + $22,$76,$ff,$ff,$ff,$7f,$ff,$7e,$00,$76,$f7,$7f,$db,$7f,$ff,$5e + $90,$60,$e0,$d0,$f0,$ac,$d0,$f8,$90,$40,$e0,$d0,$f0,$ac,$d0,$f8 + $ff,$ee,$bd,$7b,$3e,$50,$00,$00,$ff,$ee,$bd,$7b,$3e,$50,$00,$00 + $e4,$40,$a8,$40,$40,$00,$00,$00,$e4,$40,$a8,$40,$40,$00,$00,$00 + $3f,$c0,$80,$80,$00,$00,$ff,$80,$00,$3f,$7f,$7f,$00,$00,$00,$7f + $fc,$00,$00,$00,$00,$1c,$90,$20,$00,$fc,$fc,$fc,$00,$00,$0c,$9c + $80,$80,$00,$f0,$80,$80,$00,$00,$7f,$7f,$00,$00,$7f,$7f,$00,$00 + $20,$20,$00,$3c,$40,$40,$00,$00,$9c,$1c,$00,$00,$bc,$bc,$00,$00 + $10,$10,$10,$00,$08,$08,$08,$08,$6f,$6f,$6f,$00,$17,$17,$17,$17 + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$00,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$e6,$e6,$e6,$00,$c8,$c8,$c8,$c8 + $7e,$ff,$c0,$c0,$c0,$cf,$c0,$4f,$00,$00,$3f,$2f,$3f,$30,$38,$30 + $7e,$ff,$03,$03,$03,$f3,$03,$f2,$00,$01,$ff,$f7,$ff,$ff,$0f,$fe + $40,$cf,$c0,$c0,$c0,$c0,$ff,$7e,$38,$30,$38,$3f,$2f,$3f,$7f,$7e + $02,$f3,$03,$03,$03,$03,$ff,$7e,$0e,$ff,$0f,$ff,$f7,$ff,$ff,$7e + $73,$f9,$ff,$7f,$3f,$bf,$ff,$ff,$00,$79,$40,$5f,$10,$17,$54,$55 + $cc,$dc,$fc,$f4,$f0,$d4,$d4,$54,$00,$dc,$04,$f4,$10,$d4,$54,$54 + $fc,$ff,$b0,$7f,$c0,$f7,$00,$00,$54,$57,$10,$5f,$40,$77,$00,$00 + $50,$d4,$14,$f4,$04,$cc,$00,$00,$50,$94,$14,$e4,$04,$c8,$00,$00 + $fe,$82,$92,$aa,$92,$82,$fe,$00,$00,$7e,$46,$5e,$56,$7e,$fe,$00 + $c0,$04,$c4,$04,$04,$0c,$f8,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$04,$12,$08,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $40,$7e,$48,$88,$08,$18,$70,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $e0,$02,$02,$02,$06,$0c,$f8,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $18,$0c,$86,$82,$82,$82,$82,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7e,$42,$c2,$02,$06,$0c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7e,$42,$c2,$1e,$02,$06,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $44,$fe,$44,$44,$04,$0c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $40,$40,$40,$78,$44,$40,$40,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $10,$fe,$82,$82,$06,$0c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $0c,$78,$08,$fe,$08,$18,$70,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7c,$00,$00,$00,$00,$00,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$50,$54,$04,$0c,$38,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$38,$08,$08,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $a2,$a2,$a2,$02,$06,$0c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $40,$fe,$42,$46,$44,$60,$3e,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7e,$02,$02,$7e,$02,$02,$7e,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$18,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $3e,$60,$c0,$ce,$c6,$66,$3e,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $38,$6c,$c6,$c6,$fe,$c6,$c6,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$ee,$fe,$fe,$d6,$c6,$c6,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$c0,$c0,$fc,$c0,$c0,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7c,$c6,$c6,$c6,$c6,$c6,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$c6,$c6,$ee,$7c,$38,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$c6,$c6,$ce,$f8,$dc,$ce,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7e,$18,$18,$18,$18,$18,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7e,$18,$18,$18,$18,$18,$7e,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $45,$d7,$ff,$bb,$ff,$ef,$7f,$dd,$00,$00,$00,$44,$02,$50,$88,$22 + $ff,$77,$dd,$f7,$be,$ef,$bb,$6e,$24,$88,$22,$48,$45,$10,$46,$b1 + $7e,$42,$c2,$1e,$02,$06,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$04,$12,$08,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $44,$fe,$44,$44,$04,$0c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $06,$0c,$38,$f0,$10,$10,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$c0,$c0,$fc,$c0,$c0,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$c6,$c6,$ce,$f8,$dc,$ce,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $06,$0c,$38,$f0,$10,$10,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$c0,$c0,$fc,$c0,$c0,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$c6,$c6,$ce,$f8,$dc,$ce,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 9560: eb a0 .dd2 L9D22+$3c9 9562: 0f a1 .dd2 L9D22+$3ed 9564: 1b a1 .dd2 L9D22+$3f9 9566: 15 a1 .dd2 L9D22+$3f3 9568: 21 a1 .dd2 L9D22+$3ff 956a: 27 a1 .dd2 L9D22+$405 956c: 3b a1 .dd2 L9D22+$419 956e: 3b a1 .dd2 L9D22+$419 9570: 3b a1 .dd2 L9D22+$419 9572: 3b a1 .dd2 L9D22+$419 9574: 3b a1 .dd2 L9D22+$419 9576: 3b a1 .dd2 L9D22+$419 9578: 3b a1 .dd2 L9D22+$419 957a: 3b a1 .dd2 L9D22+$419 957c: 3b a1 .dd2 L9D22+$419 957e: 3b a1 .dd2 L9D22+$419 9580: 3b a1 .dd2 L9D22+$419 9582: 3b a1 .dd2 L9D22+$419 9584: 3b a1 .dd2 L9D22+$419 9586: 3b a1 .dd2 L9D22+$419 9588: 42 a1 .dd2 L9D22+$420 958a: 49 a1 .dd2 L9D22+$427 958c: 50 a1 .dd2 L9D22+$42e 958e: 57 a1 .dd2 L9D22+$435 9590: 5f a1 .dd2 L9D22+$43d 9592: 67 a1 .dd2 L9D22+$445 9594: 6f a1 .dd2 L9D22+$44d 9596: 77 a1 .dd2 L9D22+$455 9598: 0d a2 .dd2 L9D22+$4eb 959a: 7f a1 .dd2 L9D22+$45d 959c: d3 a1 .dd2 L9D22+$4b1 959e: 23 ab .dd2 L9D22+$e01 95a0: f0 9b .dd2 L9BF0 95a2: f0 9c .dd2 L9CF0 95a4: 04 9d .dd2 L9D04_0 95a6: 85 9b .dd2 L9B49+60 95a8: 60 ea ea 60+ .junk 27 95c3: 4c 48 9b jmp L9B48 95c6: 49 ff L95C6_2 eor #$ff 95c8: 18 clc 95c9: 69 01 adc #$01 95cb: 60 rts 95cc: 12 80 40 02+ .bulk $12,$80,$40,$02,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$19,$18,$6e,$06,$00 + $03,$58,$44,$4a,$48,$4a,$4a,$36,$25 95e5: bd 02 6b lda EnDataIndex,x 95e8: 20 24 80 jsr ChooseRoutineR 95eb: d7 98 .dd2 T98D7 95ed: 0c 99 .dd2 T990C 95ef: 47 98 .dd2 T9847 95f1: 62 98 .dd2 T9862 95f3: 2a 98 .dd2 T982A 95f5: 2a 98 .dd2 T982A 95f7: 67 99 .dd2 T9967 95f9: 67 98 .dd2 T9867 95fb: 2a 98 .dd2 T982A 95fd: 13 9a .dd2 T9A13 95ff: 4a 9a .dd2 T9A4A 9601: 2a 98 .dd2 T982A 9603: 03 9b .dd2 T9B03 9605: 2a 98 .dd2 T982A 9607: 16 9b .dd2 T9B16 9609: 2a 98 .dd2 T982A 960b: 23 23 23 23+ L960B_2 .bulk $23,$23,$23,$23,$3a,$3a,$3c,$3c,$00,$00,$00,$00,$56,$56,$65,$63 + $00,$00,$11,$11,$13,$18,$28,$28,$32,$32,$34,$34,$00,$00,$00,$00 + $08,$08,$08,$08,$01,$01,$02,$01,$01,$8c,$ff,$ff,$08,$06,$ff,$00 + $1d,$1d,$1d,$1d,$3e,$3e,$44,$44,$00,$00,$00,$00,$4a,$4a,$69,$67 + $00,$00,$05,$08,$13,$18,$1d,$1d,$2d,$28,$34,$34,$00,$00,$00,$00 + $20,$20,$20,$20,$3e,$3e,$44,$44,$00,$00,$00,$00,$4a,$4a,$60,$5d + $00,$00,$05,$08,$13,$18,$1d,$1d,$2d,$28,$34,$34,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$00,$00,$82,$00,$00,$00 + $89,$89,$89,$89,$00,$00,$04,$80,$80,$81,$00,$00,$05,$89,$00,$00 + $01,$01,$01,$01,$01,$01,$01,$01,$28,$10,$00,$00,$00,$01,$00,$00 + $05,$05,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$86,$00,$00 + $10,$01,$03,$03,$10,$10,$01,$08,$09,$10,$01,$10,$01,$20,$00,$00 + $18,$1a,$00,$03,$00,$00,$08,$08,$00,$0a,$0c,$0f,$14,$16,$18,$00 + $ed,$97,$ed,$97,$ed,$97,$ed,$97,$ed,$97,$f0,$97,$f3,$97,$f3,$97 + $f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97 + $f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97 + $f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97,$f3,$97 + $f3,$97,$f3,$97,$f3,$97,$f3,$97,$00,$00,$00,$00,$00,$00,$00,$00 + $80,$80,$00,$00,$7f,$7f,$81,$81,$00,$00,$e0,$16,$15,$7f,$7f,$7f + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$c8,$00,$00,$00 + $00,$00,$08,$20,$00,$00,$00,$00,$0c,$0c,$02,$01,$f6,$fc,$0a,$04 + $01,$fc,$06,$fe,$fe,$fa,$f9,$f9,$fd,$00,$00,$00,$00,$02,$01,$01 + $02,$02,$02,$02,$06,$00,$01,$01,$01,$00,$00,$00,$03,$00,$00,$00 + $4c,$4c,$64,$6c,$00,$00,$00,$40,$00,$64,$44,$44,$40,$00,$00,$00 + $00,$00,$00,$00,$34,$34,$44,$4a,$00,$00,$00,$00,$00,$00,$00,$00 + $08,$f8,$00,$00,$00,$00,$08,$f8,$00,$00,$00,$f8,$fd,$97,$fd,$97 + $0c,$98,$1b,$98,$49,$9b,$4e,$9b,$53,$9b,$58,$9b,$5d,$9b,$62,$9b + $67,$9b,$6c,$9b,$71,$9b,$76,$9b,$7b,$9b,$80,$9b,$85,$9b,$85,$9b + $85,$9b,$85,$9b,$85,$9b,$01,$04,$05,$01,$06,$07,$00,$02,$00,$09 + $00,$0d,$01,$0e,$0f,$03,$00,$01,$02,$03,$00,$10,$00,$11,$00,$00 + $00,$01,$01,$03,$ff,$01,$0b,$ff,$14,$90,$0a,$00,$fd,$30,$00,$14 + $10,$fa,$09,$c2,$08,$a2,$07,$92,$07,$12,$08,$22,$09,$42,$50,$72 + $ff,$07,$c2,$06,$a2,$05,$92,$05,$12,$06,$22,$07,$42,$50,$72,$ff + $05,$c2,$04,$a2,$03,$92,$03,$12,$04,$22,$05,$42,$50,$72,$ff 982a: a9 00 T982A lda #$00 982c: 9d f4 6a sta Enstatus,x 982f: 60 rts 9830: a5 81 L9830 lda HideShowEndMsg 9832: c9 01 cmp #$01 9834: f0 09 beq L983F 9836: c9 03 cmp #$03 9838: f0 0a beq L9844 983a: a5 00 lda $00 983c: 4c 00 80 jmp L8000_3 983f: a5 01 L983F lda $01 9841: 4c 03 80 jmp L8003_3 9844: 4c 06 80 L9844 jmp L8006_3 9847: a9 42 T9847 lda #$42 9849: 85 85 L9849_0 sta $85 984b: 85 86 sta $86 984d: bd f4 6a lda Enstatus,x 9850: c9 03 cmp #$03 9852: f0 03 beq L9857 9854: 20 1b 80 jsr L801B_2 9857: a9 06 L9857 lda #$06 9859: 85 00 sta $00 985b: a9 08 lda #$08 985d: 85 01 sta $01 985f: 4c 30 98 jmp L9830 9862: a9 48 T9862 lda #$48 9864: 4c 49 98 jmp L9849_0 9867: bd f4 6a T9867 lda Enstatus,x 986a: c9 02 cmp #$02 986c: d0 38 bne L98A6 986e: bd 03 04 lda $0403,x 9871: d0 33 bne L98A6 9873: bd fe 6a lda $6afe,x 9876: d0 12 bne L988A 9878: ad 0d 03 lda ObjectY 987b: 38 sec 987c: fd 00 04 sbc EnYRoomPos,x 987f: c9 40 cmp #$40 9881: b0 23 bcs L98A6 9883: a9 7f lda #$7f 9885: 9d fe 6a sta $6afe,x 9888: d0 1c bne L98A6 988a: bd 02 04 L988A lda $0402,x 988d: 30 17 bmi L98A6 988f: a9 00 lda #$00 9891: 9d 02 04 sta $0402,x 9894: 9d 06 04 sta EnCounter,x 9897: 9d fe 6a sta $6afe,x 989a: bd 05 04 lda EnCounter-1,x 989d: 29 01 and #$01 989f: a8 tay 98a0: b9 d5 98 lda L98D5,y 98a3: 9d 03 04 sta $0403,x 98a6: bd 05 04 L98A6 lda EnCounter-1,x 98a9: 0a asl A 98aa: 30 1e bmi L98CA_0 98ac: bd f4 6a lda Enstatus,x 98af: c9 02 cmp #$02 98b1: d0 17 bne L98CA_0 98b3: 20 36 80 jsr L8036_2 98b6: 48 pha 98b7: 20 39 80 jsr L8039_2 98ba: 85 05 sta $05 98bc: 68 pla 98bd: 85 04 sta $04 98bf: 20 e1 9a jsr L9AE1 98c2: 20 27 80 jsr L8027_4 98c5: 90 08 bcc L98CF 98c7: 20 f1 9a jsr L9AF1_0 98ca: a9 03 L98CA_0 lda #$03 98cc: 4c 03 80 jmp L8003_3 98cf: a9 00 L98CF lda #$00 98d1: 9d f4 6a sta Enstatus,x 98d4: 60 rts 98d5: 08 L98D5 .dd1 $08 98d6: f8 .dd1 $f8 98d7: a9 03 T98D7 lda #$03 98d9: 85 00 sta $00 98db: a9 08 lda #$08 98dd: 85 01 sta $01 98df: bd f4 6a lda Enstatus,x 98e2: c9 01 cmp #$01 98e4: d0 0c bne L98F2 98e6: bd 05 04 lda EnCounter-1,x 98e9: 29 10 and #$10 98eb: f0 05 beq L98F2 98ed: a9 01 lda #$01 98ef: 20 58 99 jsr L9958 98f2: 20 f8 98 L98F2 jsr L98F8 98f5: 4c 30 98 jmp L9830 98f8: bd f4 6a L98F8 lda Enstatus,x 98fb: c9 02 cmp #$02 98fd: d0 0c bne L990B 98ff: a9 20 lda #$20 9901: bc 02 04 ldy $0402,x 9904: 10 02 bpl L9908 9906: a9 1d lda #$1d 9908: 9d f9 6a L9908 sta EnResetAnimIndex,x 990b: 60 L990B rts 990c: a5 81 T990C lda HideShowEndMsg 990e: c9 01 cmp #$01 9910: f0 10 beq L9922 9912: c9 03 cmp #$03 9914: f0 3f beq L9955 9916: bd f4 6a lda Enstatus,x 9919: c9 01 cmp #$01 991b: d0 0a bne L9927 991d: a9 00 lda #$00 991f: 20 58 99 jsr L9958 9922: a9 08 L9922 lda #$08 9924: 4c 03 80 jmp L8003_3 9927: a9 80 L9927 lda #$80 9929: 9d fe 6a sta $6afe,x 992c: bd 02 04 lda $0402,x 992f: 30 1c bmi L994D 9931: bd 05 04 lda EnCounter-1,x 9934: 29 10 and #$10 9936: f0 15 beq L994D 9938: bd 00 04 lda EnYRoomPos,x 993b: 38 sec 993c: ed 0d 03 sbc ObjectY 993f: 10 03 bpl L9944 9941: 20 c6 95 jsr L95C6_2 9944: c9 10 L9944 cmp #$10 9946: b0 05 bcs L994D 9948: a9 00 lda #$00 994a: 9d fe 6a sta $6afe,x 994d: 20 f8 98 L994D jsr L98F8 9950: a9 03 lda #$03 9952: 4c 00 80 jmp L8000_3 9955: 4c 06 80 L9955 jmp L8006_3 9958: 9d 02 6b L9958 sta EnDataIndex,x 995b: bd 0b 04 lda EnHitPoints,x 995e: 48 pha 995f: 20 2a 80 jsr L802A_3 9962: 68 pla 9963: 9d 0b 04 sta EnHitPoints,x 9966: 60 rts 9967: 20 09 80 T9967 jsr L8009_2 996a: 29 03 and #$03 996c: f0 34 beq L99A2_0 996e: a5 81 lda HideShowEndMsg 9970: c9 01 cmp #$01 9972: f0 36 beq L99AA 9974: c9 03 cmp #$03 9976: f0 2f beq L99A7 9978: bd f4 6a lda Enstatus,x 997b: c9 03 cmp #$03 997d: f0 23 beq L99A2_0 997f: bd 0a 04 lda EnHitPoints-1,x 9982: 29 03 and #$03 9984: c9 01 cmp #$01 9986: d0 11 bne L9999 9988: bc 00 04 ldy EnYRoomPos,x 998b: c0 eb cpy #$eb 998d: d0 0a bne L9999 998f: 20 db 99 jsr L99DB 9992: a9 03 lda #$03 9994: 9d 0a 04 sta EnHitPoints-1,x 9997: d0 06 bne L999F 9999: 20 00 9a L9999 jsr L9A00 999c: 20 c6 99 jsr L99C6 999f: 20 e4 99 L999F jsr L99E4_0 99a2: a9 03 L99A2_0 lda #$03 99a4: 20 0c 80 jsr L800C_2 99a7: 4c 06 80 L99A7 jmp L8006_3 99aa: 4c 03 80 L99AA jmp L8003_3 99ad: bd 05 04 L99AD lda EnCounter-1,x 99b0: 4a lsr A 99b1: bd 0a 04 lda EnHitPoints-1,x 99b4: 29 03 and #$03 99b6: 2a rol A 99b7: a8 tay 99b8: b9 be 99 lda L99BE,y 99bb: 4c 0f 80 jmp L800F_2 99be: 4a 4a 53 4d+ L99BE .bulk $4a,$4a,$53,$4d,$50,$50,$4d,$53 99c6: a6 4b L99C6 ldx PageIndex 99c8: b0 19 bcs L99E3 99ca: a5 00 lda $00 99cc: d0 0d bne L99DB 99ce: bc 0a 04 ldy EnHitPoints-1,x 99d1: 88 dey 99d2: 98 tya 99d3: 29 03 and #$03 99d5: 9d 0a 04 sta EnHitPoints-1,x 99d8: 4c ad 99 jmp L99AD 99db: bd 05 04 L99DB lda EnCounter-1,x 99de: 49 01 eor #$01 99e0: 9d 05 04 sta EnCounter-1,x 99e3: 60 L99E3 rts 99e4: 20 f8 99 L99E4_0 jsr L99F8 99e7: 20 00 9a jsr L9A00 99ea: a6 4b ldx PageIndex 99ec: 90 09 bcc L99F7_1 99ee: 20 f8 99 jsr L99F8 99f1: 9d 0a 04 sta EnHitPoints-1,x 99f4: 20 ad 99 jsr L99AD 99f7: 60 L99F7_1 rts 99f8: bc 0a 04 L99F8 ldy EnHitPoints-1,x 99fb: c8 iny 99fc: 98 tya 99fd: 29 03 and #$03 99ff: 60 rts 9a00: bc 05 04 L9A00 ldy EnCounter-1,x 9a03: 84 00 sty $00 9a05: 46 00 lsr $00 9a07: 2a rol A 9a08: 0a asl A 9a09: a8 tay 9a0a: b9 49 80 lda L8048_2+1,y 9a0d: 48 pha 9a0e: b9 48 80 lda L8048_2,y 9a11: 48 pha 9a12: 60 rts 9a13: bd f4 6a T9A13 lda Enstatus,x 9a16: c9 03 cmp #$03 9a18: 90 19 bcc L9A33 9a1a: f0 04 beq L9A20 9a1c: c9 05 cmp #$05 9a1e: d0 21 bne L9A41 9a20: a9 00 L9A20 lda #$00 9a22: 8d 04 6b sta $6b04 9a25: 8d 14 6b sta $6b14 9a28: 8d 24 6b sta $6b24 9a2b: 8d 34 6b sta $6b34 9a2e: 8d 44 6b sta $6b44 9a31: f0 0e beq L9A41 9a33: a9 0b L9A33 lda #$0b 9a35: 85 85 sta $85 9a37: a9 0e lda #$0e 9a39: 85 86 sta $86 9a3b: 20 1b 80 jsr L801B_2 9a3e: 20 79 9a jsr L9A79 9a41: a9 03 L9A41 lda #$03 9a43: 85 00 sta $00 9a45: 85 01 sta $01 9a47: 4c 30 98 jmp L9830 9a4a: bd 05 04 T9A4A lda EnCounter-1,x 9a4d: 48 pha 9a4e: a9 02 lda #$02 9a50: 85 00 sta $00 9a52: 85 01 sta $01 9a54: 20 30 98 jsr L9830 9a57: 68 pla 9a58: a6 4b ldx PageIndex 9a5a: 5d 05 04 eor EnCounter-1,x 9a5d: 4a lsr A 9a5e: b0 13 bcs L9A73 9a60: bd 05 04 lda EnCounter-1,x 9a63: 4a lsr A 9a64: b0 12 bcs L9A78 9a66: bd 01 04 lda EnXRoomPos,x 9a69: 38 sec 9a6a: ed 0e 03 sbc ObjectX 9a6d: 90 09 bcc L9A78 9a6f: c9 20 cmp #$20 9a71: 90 05 bcc L9A78 9a73: a9 00 L9A73 lda #$00 9a75: 9d f4 6a sta Enstatus,x 9a78: 60 L9A78 rts 9a79: a4 80 L9A79 ldy CreditPageNumber 9a7b: d0 02 bne L9A7F 9a7d: a0 60 ldy #$60 9a7f: a5 2d L9A7F lda FrameCount 9a81: 29 02 and #$02 9a83: d0 24 bne L9AA9 9a85: 88 dey 9a86: 84 80 sty CreditPageNumber 9a88: 98 tya 9a89: 0a asl A 9a8a: 30 1d bmi L9AA9 9a8c: 29 0f and #$0f 9a8e: c9 0a cmp #$0a 9a90: d0 17 bne L9AA9 9a92: a2 50 ldx #$50 9a94: bd f4 6a L9A94 lda Enstatus,x 9a97: f0 11 beq L9AAA 9a99: bd 05 04 lda EnCounter-1,x 9a9c: 29 02 and #$02 9a9e: f0 0a beq L9AAA 9aa0: 8a txa 9aa1: 38 sec 9aa2: e9 10 sbc #$10 9aa4: aa tax 9aa5: d0 ed bne L9A94 9aa7: e6 7e inc SpriteAttribByte 9aa9: 60 L9AA9 rts 9aaa: 8a L9AAA txa 9aab: a8 tay 9aac: a2 00 ldx #$00 9aae: 20 e1 9a jsr L9AE1 9ab1: 98 tya 9ab2: aa tax 9ab3: ad 05 04 lda EnCounter-1 9ab6: 9d 05 04 sta EnCounter-1,x 9ab9: 29 01 and #$01 9abb: a8 tay 9abc: b9 df 9a lda L9ADF,y 9abf: 85 05 sta $05 9ac1: a9 f8 lda #$f8 9ac3: 85 04 sta $04 9ac5: 20 27 80 jsr L8027_4 9ac8: 90 df bcc L9AA9 9aca: a9 00 lda #$00 9acc: 9d 0f 04 sta EnSpecialAttribs,x 9acf: a9 0a lda #$0a 9ad1: 9d 02 6b sta EnDataIndex,x 9ad4: a9 01 lda #$01 9ad6: 9d f4 6a sta Enstatus,x 9ad9: 20 f1 9a jsr L9AF1_0 9adc: 4c 2a 80 jmp L802A_3 9adf: 08 L9ADF .dd1 $08 9ae0: f8 .dd1 $f8 9ae1: bd 00 04 L9AE1 lda EnYRoomPos,x 9ae4: 85 08 sta $08 9ae6: bd 01 04 lda EnXRoomPos,x 9ae9: 85 09 sta $09 9aeb: bd fb 6a lda EnNameTable,x 9aee: 85 0b sta $0b 9af0: 60 rts 9af1: a5 0b L9AF1_0 lda $0b 9af3: 29 01 and #$01 9af5: 9d fb 6a sta EnNameTable,x 9af8: a5 08 lda $08 9afa: 9d 00 04 sta EnYRoomPos,x 9afd: a5 09 lda $09 9aff: 9d 01 04 sta EnXRoomPos,x 9b02: 60 rts 9b03: bd f4 6a T9B03 lda Enstatus,x 9b06: c9 02 cmp #$02 9b08: d0 03 bne L9B0D 9b0a: 20 1e 80 jsr L801E_2 9b0d: a9 02 L9B0D lda #$02 9b0f: 85 00 sta $00 9b11: 85 01 sta $01 9b13: 4c 30 98 jmp L9830 9b16: a9 00 T9B16 lda #$00 9b18: 9d f5 6a sta EnRadY,x 9b1b: 9d f6 6a sta EnRadX,x 9b1e: a9 10 lda #$10 9b20: 9d 05 04 sta EnCounter-1,x 9b23: 8a txa 9b24: 4a lsr A 9b25: 4a lsr A 9b26: 4a lsr A 9b27: 4a lsr A 9b28: 65 2d adc FrameCount 9b2a: 29 07 and #$07 9b2c: d0 1a bne L9B48 9b2e: 5e 05 04 lsr EnCounter-1,x 9b31: a9 03 lda #$03 9b33: 85 87 sta $87 9b35: a5 2e lda RandomNumber1 9b37: 4a lsr A 9b38: 3e 05 04 rol EnCounter-1,x 9b3b: 29 03 and #$03 9b3d: f0 09 beq L9B48 9b3f: 85 88 sta $88 9b41: a9 02 lda #$02 9b43: 85 85 sta $85 9b45: 4c 21 80 jmp L8021_0 9b48: 60 L9B48 rts 9b49: 22 ff ff ff+ L9B49 .bulk $22,$ff,$ff,$ff,$ff,$22,$80,$81,$82,$83,$22,$84,$85,$86,$87,$22 + $88,$89,$8a,$8b,$22,$8c,$8d,$8e,$8f,$22,$94,$95,$96,$97,$22,$9c + $9d,$9d,$9c,$22,$9e,$9f,$9f,$9e,$22,$90,$91,$92,$93,$22,$70,$71 + $72,$73,$22,$74,$75,$76,$77,$22,$78,$79,$7a,$7b,$00,$01,$ff,$02 + $ff,$03,$04,$ff,$07,$08,$ff,$05,$06,$ff,$09,$0a,$ff,$0b,$ff,$0c + $0d,$0e,$0f,$ff,$10,$11,$12,$13,$ff,$17,$18,$ff,$19,$1a,$ff,$1b + $ff,$21,$22,$ff,$27,$28,$29,$2a,$ff,$2b,$2c,$2d,$2e,$ff,$2f,$ff + $42,$ff,$43,$44,$f7,$ff,$37,$ff,$38,$ff,$30,$31,$ff,$31,$32,$ff + $33,$34,$ff,$34,$35,$ff,$58,$59,$ff,$5a,$5b,$ff,$5c,$5d,$ff,$5e + $5f,$ff,$60,$ff,$61,$f7,$62,$f7,$ff,$66,$67,$ff,$69,$6a,$ff,$68 + $ff,$6b,$ff,$66,$ff,$69,$ff 9bf0: d8 9d L9BF0 .dd2 L9D22+182 9bf2: dd 9d .dd2 L9D22+187 9bf4: e2 9d .dd2 L9D22+192 9bf6: e7 9d .dd2 L9D22+197 9bf8: fa 9d .dd2 L9D22+216 9bfa: 0e 9e .dd2 L9D22+236 9bfc: 24 9e .dd2 L9D22+$102 9bfe: 3a 9e .dd2 L9D22+$118 9c00: 4d 9e .dd2 L9D22+$12b 9c02: 61 9e .dd2 L9D22+$13f 9c04: 77 9e .dd2 L9D22+$155 9c06: 8d 9e .dd2 L9D22+$16b 9c08: 97 9e .dd2 L9D22+$175 9c0a: 9c 9e .dd2 L9D22+$17a 9c0c: a1 9e .dd2 L9D22+$17f 9c0e: a6 9e .dd2 L9D22+$184 9c10: ab 9e .dd2 L9D22+$189 9c12: b0 9e .dd2 L9D22+$18e 9c14: b5 9e .dd2 L9D22+$193 9c16: ba 9e .dd2 L9D22+$198 9c18: bf 9e .dd2 L9D22+$19d 9c1a: bf 9e .dd2 L9D22+$19d 9c1c: bf 9e .dd2 L9D22+$19d 9c1e: bf 9e .dd2 L9D22+$19d 9c20: ce 9e .dd2 L9D22+$1ac 9c22: dd 9e .dd2 L9D22+$1bb 9c24: ee 9e .dd2 L9D22+$1cc 9c26: ff 9e .dd2 L9D22+$1dd 9c28: 07 9f .dd2 L9D22+$1e5 9c2a: 07 9f .dd2 L9D22+$1e5 9c2c: 07 9f .dd2 L9D22+$1e5 9c2e: 07 9f .dd2 L9D22+$1e5 9c30: 07 9f .dd2 L9D22+$1e5 9c32: 07 9f .dd2 L9D22+$1e5 9c34: 0f 9f .dd2 L9D22+$1ed 9c36: 17 9f .dd2 L9D22+$1f5 9c38: 17 9f .dd2 L9D22+$1f5 9c3a: 17 9f .dd2 L9D22+$1f5 9c3c: 17 9f .dd2 L9D22+$1f5 9c3e: 17 9f .dd2 L9D22+$1f5 9c40: 23 9f .dd2 L9D22+$201 9c42: 31 9f .dd2 L9D22+$20f 9c44: 3f 9f .dd2 L9D22+$21d 9c46: 4d 9f .dd2 L9D22+$22b 9c48: 59 9f .dd2 L9D22+$237 9c4a: 67 9f .dd2 L9D22+$245 9c4c: 75 9f .dd2 L9D22+$253 9c4e: 83 9f .dd2 L9D22+$261 9c50: 8e 9f .dd2 L9D22+$26c 9c52: 9c 9f .dd2 L9D22+$27a 9c54: aa 9f .dd2 L9D22+$288 9c56: b6 9f .dd2 L9D22+$294 9c58: c4 9f .dd2 L9D22+$2a2 9c5a: d2 9f .dd2 L9D22+$2b0 9c5c: de 9f .dd2 L9D22+$2bc 9c5e: de 9f .dd2 L9D22+$2bc 9c60: f2 9f .dd2 L9D22+$2d0 9c62: 06 a0 .dd2 L9D22+$2e4 9c64: 06 a0 .dd2 L9D22+$2e4 9c66: 06 a0 .dd2 L9D22+$2e4 9c68: 06 a0 .dd2 L9D22+$2e4 9c6a: 06 a0 .dd2 L9D22+$2e4 9c6c: 06 a0 .dd2 L9D22+$2e4 9c6e: 06 a0 .dd2 L9D22+$2e4 9c70: 06 a0 .dd2 L9D22+$2e4 9c72: 06 a0 .dd2 L9D22+$2e4 9c74: 06 a0 .dd2 L9D22+$2e4 9c76: 0b a0 .dd2 L9D22+$2e9 9c78: 13 a0 .dd2 L9D22+$2f1 9c7a: 1b a0 .dd2 L9D22+$2f9 9c7c: 1b a0 .dd2 L9D22+$2f9 9c7e: 1b a0 .dd2 L9D22+$2f9 9c80: 1b a0 .dd2 L9D22+$2f9 9c82: 1b a0 .dd2 L9D22+$2f9 9c84: 1b a0 .dd2 L9D22+$2f9 9c86: 1b a0 .dd2 L9D22+$2f9 9c88: 1b a0 .dd2 L9D22+$2f9 9c8a: 1b a0 .dd2 L9D22+$2f9 9c8c: 1b a0 .dd2 L9D22+$2f9 9c8e: 1b a0 .dd2 L9D22+$2f9 9c90: 1b a0 .dd2 L9D22+$2f9 9c92: 1b a0 .dd2 L9D22+$2f9 9c94: 1b a0 .dd2 L9D22+$2f9 9c96: 1b a0 .dd2 L9D22+$2f9 9c98: 1b a0 .dd2 L9D22+$2f9 9c9a: 1b a0 .dd2 L9D22+$2f9 9c9c: 1b a0 .dd2 L9D22+$2f9 9c9e: 1b a0 .dd2 L9D22+$2f9 9ca0: 1b a0 .dd2 L9D22+$2f9 9ca2: 27 a0 .dd2 L9D22+$305 9ca4: 33 a0 .dd2 L9D22+$311 9ca6: 3f a0 .dd2 L9D22+$31d 9ca8: 4b a0 .dd2 L9D22+$329 9caa: 57 a0 .dd2 L9D22+$335 9cac: 63 a0 .dd2 L9D22+$341 9cae: 6f a0 .dd2 L9D22+$34d 9cb0: 7b a0 .dd2 L9D22+$359 9cb2: 83 a0 .dd2 L9D22+$361 9cb4: 91 a0 .dd2 L9D22+$36f 9cb6: ab a0 .dd2 L9D22+$389 9cb8: ab a0 .dd2 L9D22+$389 9cba: ab a0 .dd2 L9D22+$389 9cbc: ab a0 .dd2 L9D22+$389 9cbe: b3 a0 .dd2 L9D22+$391 9cc0: bb a0 .dd2 L9D22+$399 9cc2: c3 a0 .dd2 L9D22+$3a1 9cc4: cb a0 .dd2 L9D22+$3a9 9cc6: d3 a0 .dd2 L9D22+$3b1 9cc8: db a0 .dd2 L9D22+$3b9 9cca: db a0 .dd2 L9D22+$3b9 9ccc: db a0 .dd2 L9D22+$3b9 9cce: db a0 .dd2 L9D22+$3b9 9cd0: db a0 .dd2 L9D22+$3b9 9cd2: db a0 .dd2 L9D22+$3b9 9cd4: db a0 .dd2 L9D22+$3b9 9cd6: db a0 .dd2 L9D22+$3b9 9cd8: db a0 .dd2 L9D22+$3b9 9cda: db a0 .dd2 L9D22+$3b9 9cdc: db a0 .dd2 L9D22+$3b9 9cde: db a0 .dd2 L9D22+$3b9 9ce0: db a0 .dd2 L9D22+$3b9 9ce2: db a0 .dd2 L9D22+$3b9 9ce4: db a0 .dd2 L9D22+$3b9 9ce6: db a0 .dd2 L9D22+$3b9 9ce8: db a0 .dd2 L9D22+$3b9 9cea: db a0 .dd2 L9D22+$3b9 9cec: db a0 .dd2 L9D22+$3b9 9cee: db a0 .dd2 L9D22+$3b9 9cf0: db a0 L9CF0 .dd2 L9D22+$3b9 9cf2: e1 a0 .dd2 L9D22+$3bf 9cf4: e6 a0 .dd2 L9D22+$3c4 9cf6: e6 a0 .dd2 L9D22+$3c4 9cf8: e6 a0 .dd2 L9D22+$3c4 9cfa: e6 a0 .dd2 L9D22+$3c4 9cfc: e6 a0 .dd2 L9D22+$3c4 9cfe: e6 a0 .dd2 L9D22+$3c4 9d00: e6 a0 .dd2 L9D22+$3c4 9d02: e6 a0 .dd2 L9D22+$3c4 9d04: 22 9d L9D04_0 .dd2 L9D22 9d06: 24 9d .dd2 L9D22+2 9d08: 3c 9d .dd2 L9D22+26 9d0a: 60 9d .dd2 L9D22+62 9d0c: 72 9d .dd2 L9D22+80 9d0e: 64 9d .dd2 L9D22+66 9d10: 6e 9d .dd2 L9D22+76 9d12: 76 9d .dd2 L9D22+84 9d14: 82 9d .dd2 L9D22+96 9d16: 8a 9d .dd2 L9D22+104 9d18: 8a 9d .dd2 L9D22+104 9d1a: aa 9d .dd2 L9D22+136 9d1c: b8 9d .dd2 L9D22+150 9d1e: bc 9d .dd2 L9D22+154 9d20: cc 9d .dd2 L9D22+170 9d22: fc fc 80 80+ L9D22 .bulk $fc,$fc,$80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85,$f4,$f8 + $f4,$00,$fc,$f8,$fc,$00,$04,$f8,$04,$00,$ec,$f8,$ec,$00,$f4,$f8 + $f4,$00,$fc,$f8,$fc,$00,$04,$e8,$04,$f0,$04,$f8,$04,$00,$0c,$f0 + $0c,$f8,$0c,$00,$f4,$f4,$f4,$ec,$fc,$f4,$12,$e8,$14,$f8,$f4,$f4 + $f4,$04,$f8,$f4,$f8,$fc,$f8,$04,$00,$f8,$00,$00,$fc,$f8,$fc,$00 + $f0,$f8,$f0,$00,$f8,$f8,$f8,$00,$00,$f8,$00,$00,$08,$f8,$08,$00 + $f8,$e8,$f8,$10,$f8,$f0,$f8,$08,$f8,$f8,$f8,$00,$00,$f8,$00,$00 + $f0,$00,$f0,$08,$f8,$08,$f0,$f0,$f0,$f8,$f8,$f0,$00,$f0,$08,$f0 + $08,$f8,$00,$08,$08,$00,$08,$08,$f8,$fc,$00,$f8,$f4,$f4,$fc,$f4 + $00,$00,$f4,$04,$fc,$04,$f8,$fc,$00,$fc,$f8,$f4,$00,$f4,$f8,$fc + $00,$fc,$f4,$fc,$fc,$fc,$f8,$04,$00,$04,$02,$f4,$0a,$f4,$f8,$fc + $00,$fc,$02,$04,$0a,$04,$00,$02,$02,$14,$ff,$00,$02,$02,$24,$ff + $00,$00,$00,$04,$ff,$22,$13,$14,$c8,$c9,$c6,$c7,$d6,$d7,$d5,$e5 + $e6,$e7,$f5,$f6,$f7,$f9,$f8,$ff,$22,$13,$14,$c8,$c9,$c6,$c7,$d6 + $d7,$d5,$e5,$e6,$e7,$f5,$f6,$f7,$d8,$fe,$e8,$ff,$22,$13,$14,$c8 + $c9,$c6,$c7,$d6,$d7,$fe,$d9,$e6,$e7,$e9,$ea,$eb,$f9,$f8,$fe,$d5 + $fa,$ff,$22,$13,$14,$c8,$c9,$c6,$c7,$d6,$d7,$fe,$d9,$e6,$e7,$e9 + $ea,$eb,$d8,$fe,$e8,$d5,$fa,$ff,$62,$13,$14,$c8,$c9,$c6,$c7,$d6 + $d7,$d5,$e5,$e6,$e7,$f5,$f6,$f7,$f9,$f8,$ff,$62,$13,$14,$c8,$c9 + $c6,$c7,$d6,$d7,$d5,$e5,$e6,$e7,$f5,$f6,$f7,$d8,$fe,$e8,$ff,$62 + $13,$14,$c8,$c9,$c6,$c7,$d6,$d7,$fe,$d9,$e6,$e7,$e9,$ea,$eb,$f9 + $f8,$fe,$d5,$fa,$ff,$62,$13,$14,$c8,$c9,$c6,$c7,$d6,$d7,$fe,$d9 + $e6,$e7,$e9,$ea,$eb,$d8,$fe,$e8,$d5,$fa,$ff,$21,$00,$00,$c6,$c7 + $d6,$d7,$e6,$e7,$ff,$30,$07,$07,$ec,$ff,$30,$07,$07,$fb,$ff,$f0 + $07,$07,$ec,$ff,$f0,$07,$07,$fb,$ff,$70,$07,$07,$ec,$ff,$70,$07 + $07,$fb,$ff,$b0,$07,$07,$ec,$ff,$b0,$07,$07,$fb,$ff,$25,$08,$08 + $ce,$cf,$fd,$62,$ce,$fd,$22,$df,$fd,$62,$df,$ff,$25,$08,$08,$ce + $cf,$fd,$62,$ce,$fd,$22,$de,$fd,$62,$de,$ff,$a5,$08,$08,$fd,$22 + $ce,$cf,$fd,$62,$ce,$fd,$a2,$df,$fd,$e2,$df,$ff,$a5,$08,$08,$fd + $22,$ce,$cf,$fd,$62,$ce,$fd,$a2,$de,$fd,$e2,$de,$ff,$21,$00,$00 + $ce,$ce,$df,$df,$ff,$29,$04,$08,$e6,$fd,$62,$e6,$ff,$29,$04,$08 + $e5,$fd,$62,$e5,$ff,$27,$08,$08,$ee,$ef,$fd,$e2,$ef,$fd,$a2,$ef + $ff,$27,$08,$08,$fd,$62,$ef,$fd,$22,$ef,$ed,$fd,$a2,$ef,$ff,$27 + $08,$08,$fd,$62,$ef,$fd,$22,$ef,$fd,$e2,$ef,$ee,$ff,$27,$08,$08 + $fd,$62,$ef,$fd,$e2,$ed,$ef,$fd,$a2,$ef,$ff,$67,$08,$08,$ee,$ef + $fd,$a2,$ef,$fd,$e2,$ef,$ff,$67,$08,$08,$fd,$22,$ef,$fd,$62,$ef + $ed,$fd,$e2,$ef,$ff,$67,$08,$08,$fd,$22,$ef,$fd,$62,$ef,$fd,$a2 + $ef,$ee,$ff,$67,$08,$08,$fd,$22,$ef,$fd,$a2,$ed,$ef,$fd,$e2,$ef + $ff,$21,$00,$00,$fc,$04,$00,$ee,$ef,$ef,$ef,$ff,$2d,$08,$0a,$e2 + $f2,$e3,$f3,$fe,$fe,$fd,$62,$e2,$f2,$ff,$2d,$08,$0a,$e4,$f2,$fe + $fe,$e3,$f3,$fd,$62,$e4,$f2,$ff,$2e,$08,$0a,$f4,$f2,$e3,$f3,$fd + $62,$f4,$f2,$ff,$ad,$08,$0a,$e2,$f2,$e3,$f3,$fe,$fe,$fd,$e2,$e2 + $f2,$ff,$ad,$08,$0a,$e4,$f2,$fe,$fe,$e3,$f3,$fd,$e2,$e4,$f2,$ff + $ae,$08,$0a,$f4,$f2,$e3,$f3,$fd,$e2,$f4,$f2,$ff,$21,$00,$00,$fc + $08,$fc,$e2,$fc,$00,$08,$e2,$fc,$00,$f8,$f2,$fc,$00,$08,$f2,$ff + $21,$00,$00,$fc,$00,$fc,$f2,$fc,$00,$08,$f2,$fc,$00,$f8,$e2,$fc + $00,$08,$e2,$ff,$20,$04,$04,$c0,$ff,$20,$00,$00,$fc,$f8,$00,$d0 + $ff,$23,$00,$00,$d1,$fd,$62,$d1,$ff,$27,$08,$08,$cc,$fd,$62,$cc + $fd,$22,$dc,$dd,$ff,$67,$08,$08,$fd,$22,$cd,$fd,$62,$cd,$dc,$dd + $ff,$27,$08,$08,$fd,$a2,$da,$fd,$22,$cb,$da,$db,$ff,$a7,$08,$08 + $ca,$cb,$fd,$22,$ca,$fd,$a2,$db,$ff,$a7,$08,$08,$cc,$fd,$e2,$cc + $fd,$a2,$dc,$dd,$ff,$e7,$08,$08,$fd,$a2,$cd,$fd,$e2,$cd,$dc,$dd + $ff,$67,$08,$08,$fd,$e2,$da,$fd,$62,$cb,$da,$db,$ff,$e7,$08,$08 + $ca,$cb,$fd,$62,$ca,$fd,$e2,$db,$ff,$21,$00,$00,$cc,$cd,$dc,$dd + $ff,$0a,$00,$00,$75,$fd,$60,$75,$fd,$a0,$75,$fd,$e0,$75,$ff,$0a + $00,$00,$fe,$fe,$fe,$fe,$3d,$3e,$4e,$fd,$60,$3e,$3d,$4e,$fd,$e0 + $4e,$3e,$3d,$fd,$a0,$4e,$3d,$3e,$ff,$2a,$08,$08,$c2,$c3,$d2,$d3 + $ff,$2a,$08,$08,$c2,$c4,$d2,$d4,$ff,$21,$08,$08,$c2,$c4,$d2,$d4 + $ff,$6a,$08,$08,$c2,$c3,$d2,$d3,$ff,$6a,$08,$08,$c2,$c4,$d2,$d4 + $ff,$61,$08,$08,$c2,$c4,$d2,$d4,$ff,$0c,$08,$04,$14,$24,$ff,$00 + $04,$04,$8a,$ff,$00,$04,$04,$8a,$ff,$3f,$00,$20,$0f,$20,$10,$00 + $0f,$21,$14,$13,$0f,$28,$1b,$02,$0f,$15,$16,$04,$0f,$16,$19,$27 + $0f,$12,$30,$21,$0f,$14,$13,$29,$0f,$13,$15,$27,$00,$3f,$12,$02 + $19,$27,$00,$3f,$12,$02,$2c,$27,$00,$3f,$12,$02,$19,$35,$00,$3f + $12,$02,$2c,$24,$00,$3f,$00,$10,$0f,$20,$16,$04,$0f,$21,$14,$13 + $0f,$27,$16,$02,$0f,$15,$16,$04,$00,$3f,$11,$03,$04,$09,$07,$00 + $3f,$11,$03,$05,$09,$17,$00,$3f,$11,$03,$06,$0a,$26,$00,$3f,$11 + $03,$16,$19,$27,$00,$3f,$00,$04,$0f,$30,$30,$21,$00,$3f,$10,$04 + $0f,$15,$34,$17,$00,$3f,$10,$04,$0f,$15,$34,$19,$00,$3f,$10,$04 + $0f,$15,$34,$28,$00,$3f,$10,$04,$0f,$15,$34,$29,$00,$3f,$a2,$3f + $a2,$47,$a2,$73,$a2,$9e,$a2,$b2,$a2,$e4,$a2,$0f,$a3,$4d,$a3,$83 + $a3,$b8,$a3,$f9,$a3,$29,$a4,$55,$a4,$8c,$a4,$c3,$a4,$f6,$a4,$25 + $a5,$55,$a5,$a1,$a5,$e5,$a5,$18,$a6,$53,$a6,$7c,$a6,$a9,$a6,$d6 + $a6,$ff,$a6,$2c,$a7,$6b,$a7,$9d,$a7,$cf,$a7,$fc,$a7,$26,$a8,$49 + $a8,$67,$a8,$8d,$a8,$bf,$a8,$ec,$a8,$2a,$a9,$5d,$a9,$7b,$a9,$a5 + $a9,$bf,$a9,$d2,$a9,$d9,$a9,$e0,$a9,$f9,$a9,$fd,$a9,$02,$aa,$07 + $aa,$17,$aa,$2c,$aa,$32,$aa,$3d,$aa,$57,$aa,$64,$aa,$6d,$aa,$78 + $aa,$83,$aa,$86,$aa,$8c,$aa,$96,$aa,$ab,$aa,$c7,$aa,$d2,$aa,$d9 + $aa,$ee,$aa,$0a,$ab,$11,$ab,$1a,$ab,$1d,$ab,$18,$1b,$a2,$12,$06 + $02,$09,$6d,$00,$19,$ff,$04,$84,$00,$19,$24,$a2,$11,$ff,$02,$08 + $74,$00,$1b,$2d,$a2,$18,$ff,$02,$09,$6d,$00,$1d,$36,$a2,$0f,$ff + $02,$08,$66,$00,$1e,$ff,$ff,$14,$ff,$02,$09,$6d,$00,$02,$07,$03 + $02,$87,$03,$02,$ff,$03,$00,$07,$03,$01,$08,$03,$06,$09,$03,$0b + $08,$03,$0e,$07,$03,$50,$07,$03,$5e,$07,$03,$93,$0a,$00,$96,$09 + $03,$9c,$0a,$00,$a0,$07,$03,$ae,$07,$03,$e2,$08,$03,$ea,$08,$03 + $ff,$03,$00,$07,$03,$0e,$07,$03,$46,$08,$03,$50,$01,$02,$5f,$01 + $02,$80,$08,$03,$84,$09,$03,$88,$09,$03,$8c,$08,$03,$b0,$08,$03 + $bc,$08,$03,$d4,$00,$03,$fd,$02,$a1,$02,$b1,$ff,$03,$00,$07,$03 + $0e,$07,$03,$50,$07,$03,$5e,$07,$03,$a0,$07,$03,$ae,$07,$03,$ff + $03,$00,$08,$03,$04,$08,$03,$08,$08,$03,$0c,$08,$03,$40,$08,$03 + $44,$08,$03,$48,$08,$03,$4c,$08,$03,$70,$08,$03,$74,$08,$03,$78 + $08,$03,$7c,$08,$03,$b0,$08,$03,$b4,$08,$03,$b8,$08,$03,$bc,$08 + $03,$ff,$03,$00,$07,$03,$05,$08,$03,$0e,$07,$03,$50,$01,$02,$5f + $01,$02,$68,$08,$03,$80,$07,$03,$82,$09,$03,$8c,$09,$03,$8e,$07 + $03,$ae,$07,$03,$b0,$07,$03,$fd,$02,$a1,$02,$b1,$ff,$03,$00,$07 + $03,$0e,$07,$03,$26,$04,$03,$35,$09,$03,$50,$01,$02,$5e,$07,$03 + $80,$07,$03,$82,$09,$03,$89,$09,$03,$ae,$07,$03,$b2,$05,$01,$c4 + $09,$03,$d0,$07,$03,$dc,$04,$03,$eb,$09,$03,$fd,$02,$b1,$07,$87 + $27,$17,$87,$dd,$21,$86,$b5,$31,$86,$7b,$ff,$03,$00,$07,$03,$0e + $07,$03,$22,$05,$01,$26,$09,$03,$50,$07,$03,$5e,$07,$03,$62,$09 + $03,$79,$09,$03,$95,$04,$03,$a0,$07,$03,$a4,$09,$03,$ae,$07,$03 + $e8,$09,$03,$fd,$51,$06,$17,$01,$86,$6b,$11,$86,$da,$27,$87,$96 + $ff,$03,$00,$07,$03,$0e,$07,$03,$26,$09,$03,$2d,$06,$01,$50,$01 + $02,$5c,$09,$03,$5e,$07,$03,$80,$08,$03,$84,$08,$03,$88,$08,$03 + $8c,$08,$03,$c0,$08,$03,$cc,$08,$03,$d4,$00,$03,$fd,$02,$b1,$31 + $86,$18,$41,$86,$78,$ff,$00,$00,$07,$03,$07,$19,$00,$0e,$07,$03 + $45,$19,$00,$4c,$19,$00,$50,$07,$03,$5f,$01,$02,$72,$19,$00,$8c + $09,$03,$8e,$07,$03,$a0,$07,$03,$ab,$19,$00,$b4,$19,$00,$be,$07 + $03,$e8,$19,$00,$fd,$02,$a1,$01,$06,$34,$11,$86,$3c,$21,$06,$9b + $31,$86,$a4,$51,$86,$d8,$ff,$03,$00,$07,$03,$0e,$07,$03,$16,$19 + $00,$50,$07,$03,$53,$19,$00,$5e,$07,$03,$86,$19,$00,$a0,$07,$03 + $ae,$07,$03,$b9,$19,$00,$bd,$06,$01,$fd,$41,$86,$06,$01,$06,$43 + $11,$86,$76,$21,$86,$a9,$ff,$03,$00,$07,$03,$0e,$07,$03,$50,$07 + $03,$5f,$01,$02,$80,$08,$03,$84,$08,$03,$88,$09,$03,$8c,$08,$03 + $c0,$08,$03,$cc,$08,$03,$d4,$00,$03,$fd,$02,$a1,$31,$82,$74,$41 + $82,$79,$ff,$00,$00,$0b,$00,$04,$0b,$00,$08,$0b,$00,$0c,$0b,$00 + $50,$01,$02,$5f,$01,$02,$80,$0b,$00,$82,$0b,$00,$86,$0c,$00,$88 + $0b,$00,$8c,$0b,$00,$c0,$0b,$00,$c2,$0b,$00,$c6,$0c,$00,$d8,$0b + $00,$dc,$0b,$00,$fd,$02,$a0,$02,$b1,$ff,$00,$00,$0b,$00,$04,$0b + $00,$08,$0b,$00,$0c,$0b,$00,$0e,$0d,$00,$1e,$0d,$00,$50,$01,$02 + $5f,$01,$02,$80,$0b,$00,$84,$0b,$00,$88,$0b,$00,$8c,$0b,$00,$c0 + $0b,$00,$c4,$0b,$00,$c8,$0b,$00,$cc,$0b,$00,$fd,$02,$a1,$02,$b1 + $ff,$00,$00,$0e,$00,$04,$0e,$00,$08,$0e,$00,$0c,$0e,$00,$7d,$0a + $00,$b0,$0b,$00,$b4,$0b,$00,$b8,$0c,$00,$b9,$0b,$00,$be,$0b,$00 + $bf,$0c,$00,$d0,$00,$03,$d8,$00,$03,$fd,$51,$80,$27,$01,$02,$a4 + $11,$02,$aa,$ff,$00,$00,$0e,$00,$04,$0e,$00,$08,$0e,$00,$0b,$0e + $00,$0f,$0a,$00,$5f,$02,$02,$8c,$08,$03,$cc,$08,$03,$d0,$0f,$03 + $d4,$00,$03,$d8,$0f,$03,$fd,$02,$a2,$51,$80,$27,$21,$80,$29,$11 + $80,$2b,$ff,$03,$00,$08,$03,$04,$08,$03,$08,$0e,$00,$0c,$0e,$00 + $40,$08,$03,$42,$0b,$00,$70,$08,$03,$72,$0b,$00,$76,$0a,$00,$b0 + $08,$03,$b4,$08,$03,$d8,$0f,$03,$dc,$0f,$03,$fd,$31,$80,$2e,$41 + $80,$2b,$ff,$03,$00,$07,$03,$02,$11,$03,$06,$11,$03,$0a,$11,$03 + $0e,$07,$03,$13,$10,$03,$14,$12,$03,$1c,$10,$03,$22,$0a,$00,$50 + $02,$02,$5f,$02,$02,$80,$07,$03,$84,$11,$03,$8f,$07,$03,$92,$19 + $00,$95,$11,$03,$99,$11,$03,$ae,$19,$00,$c0,$07,$03,$d2,$00,$03 + $d7,$00,$03,$df,$07,$03,$fd,$02,$a1,$02,$b2,$01,$49,$66,$ff,$01 + $00,$07,$03,$01,$0e,$00,$05,$0e,$00,$09,$0e,$00,$0d,$0e,$00,$22 + $11,$03,$26,$11,$03,$50,$02,$02,$80,$07,$03,$81,$11,$03,$8b,$0a + $00,$a7,$0a,$00,$b0,$07,$03,$bf,$0a,$00,$d2,$00,$03,$da,$00,$03 + $fd,$02,$b1,$11,$86,$97,$21,$06,$7b,$31,$86,$af,$41,$80,$35,$51 + $83,$3e,$ff,$01,$00,$0e,$00,$04,$0e,$00,$08,$0e,$00,$0c,$0e,$00 + $86,$0a,$00,$8a,$0a,$00,$a2,$0a,$00,$a3,$0a,$00,$be,$0a,$00,$d0 + $00,$03,$d8,$00,$03,$fd,$01,$86,$92,$11,$86,$76,$21,$86,$7a,$31 + $06,$ae,$41,$80,$27,$ff,$01,$00,$0e,$00,$04,$0e,$00,$08,$0e,$00 + $0c,$0b,$00,$5f,$01,$02,$85,$0a,$00,$86,$0a,$00,$8c,$11,$03,$9e + $07,$03,$a2,$0a,$00,$b9,$0a,$00,$ce,$07,$03,$d0,$00,$03,$d6,$00 + $03,$fd,$02,$a1,$51,$86,$92,$01,$86,$75,$21,$80,$23,$31,$80,$28 + $ff,$01,$00,$14,$01,$08,$14,$01,$10,$13,$01,$50,$01,$02,$80,$13 + $01,$94,$05,$01,$c0,$14,$01,$ca,$14,$01,$d8,$00,$03,$fd,$02,$b1 + $41,$80,$37,$51,$80,$3c,$01,$80,$3e,$ff,$01,$00,$14,$01,$08,$14 + $01,$30,$14,$01,$38,$14,$01,$90,$14,$01,$92,$04,$03,$94,$04,$03 + $98,$14,$01,$9b,$04,$03,$c0,$14,$01,$c8,$14,$01,$fd,$17,$87,$93 + $27,$07,$95,$37,$87,$9c,$ff,$01,$00,$14,$01,$08,$14,$01,$30,$14 + $01,$38,$14,$01,$52,$13,$01,$5a,$13,$01,$61,$06,$01,$c0,$14,$01 + $c3,$04,$03,$c8,$14,$01,$cb,$04,$03,$fd,$47,$87,$c4,$57,$87,$cc + $01,$80,$67,$ff,$01,$00,$14,$01,$08,$14,$01,$1c,$13,$01,$5f,$01 + $02,$8c,$13,$01,$c0,$14,$01,$ca,$14,$01,$d0,$00,$03,$d5,$00,$03 + $fd,$02,$a1,$11,$80,$33,$21,$00,$35,$31,$80,$37,$ff,$00,$00,$14 + $01,$08,$14,$01,$30,$14,$01,$38,$14,$01,$d0,$00,$03,$d2,$13,$01 + $d7,$13,$01,$d8,$04,$03,$db,$00,$03,$dc,$13,$01,$fd,$41,$00,$64 + $51,$80,$68,$01,$00,$6c,$17,$87,$d9,$ff,$01,$00,$14,$01,$08,$14 + $01,$30,$13,$01,$34,$13,$01,$38,$13,$01,$3c,$13,$01,$40,$16,$01 + $41,$15,$01,$44,$15,$01,$48,$15,$01,$4c,$15,$01,$4f,$16,$01,$90 + $14,$01,$92,$04,$03,$98,$14,$01,$9b,$04,$03,$c0,$14,$01,$c8,$14 + $01,$fd,$27,$87,$93,$37,$87,$9c,$ff,$02,$00,$18,$02,$08,$18,$02 + $20,$18,$02,$28,$0a,$00,$50,$01,$02,$5f,$19,$00,$80,$17,$02,$8c + $19,$00,$c0,$18,$02,$ca,$18,$02,$d8,$00,$03,$fd,$02,$b1,$01,$8c + $39,$11,$0c,$3d,$21,$8c,$6b,$31,$0c,$66,$ff,$02,$00,$18,$02,$08 + $18,$02,$28,$18,$02,$5f,$01,$02,$70,$19,$00,$8c,$17,$02,$94,$19 + $00,$b8,$17,$02,$bc,$17,$02,$c0,$18,$02,$d0,$00,$03,$fd,$02,$a1 + $01,$8c,$33,$11,$0c,$36,$41,$8c,$92,$51,$0c,$a6,$ff,$00,$00,$18 + $02,$08,$18,$02,$30,$0a,$00,$49,$19,$00,$55,$0a,$00,$5d,$0a,$00 + $a0,$18,$02,$a8,$18,$02,$d0,$00,$03,$d8,$00,$03,$fd,$21,$8c,$38 + $31,$0c,$97,$41,$8c,$99,$51,$0c,$9b,$ff,$02,$00,$17,$02,$04,$17 + $02,$08,$17,$02,$0c,$17,$02,$70,$17,$02,$74,$17,$02,$78,$17,$02 + $7c,$17,$02,$d0,$00,$03,$d8,$00,$03,$fd,$01,$8c,$42,$11,$0c,$45 + $21,$8c,$48,$ff,$00,$00,$0b,$00,$04,$18,$02,$0c,$0b,$00,$50,$01 + $02,$80,$0b,$00,$c0,$18,$02,$c8,$18,$02,$fd,$02,$b1,$21,$82,$5b + $31,$03,$85,$41,$83,$88,$ff,$02,$20,$18,$02,$28,$18,$02,$a0,$18 + $02,$a8,$18,$02,$d0,$00,$03,$d8,$00,$03,$fd,$01,$82,$98,$11,$02 + $9e,$41,$83,$53,$ff,$00,$00,$0b,$00,$04,$18,$02,$0c,$0b,$00,$5f + $01,$02,$8c,$0b,$00,$c0,$18,$02,$c8,$18,$02,$fd,$02,$a1,$11,$02 + $57,$31,$83,$85,$41,$83,$88,$51,$03,$8a,$ff,$00,$00,$07,$03,$02 + $12,$03,$0a,$12,$03,$50,$01,$02,$80,$07,$03,$82,$0b,$00,$8f,$0b + $00,$b0,$07,$03,$b9,$0b,$00,$d2,$00,$03,$da,$00,$03,$fd,$02,$b1 + $01,$80,$18,$11,$80,$1e,$21,$86,$ab,$31,$86,$7f,$ff,$01,$00,$12 + $03,$08,$12,$03,$92,$04,$03,$94,$04,$03,$99,$0b,$00,$a2,$0b,$00 + $bf,$0b,$00,$d0,$00,$03,$d8,$00,$03,$fd,$07,$87,$93,$11,$00,$1a + $21,$80,$1f,$47,$87,$95,$51,$86,$8b,$ff,$02,$00,$0b,$00,$04,$0e + $00,$08,$0e,$00,$0c,$0e,$00,$37,$0a,$00,$50,$01,$02,$77,$0a,$00 + $80,$17,$02,$8d,$1a,$01,$c0,$18,$02,$c4,$1b,$02,$c8,$18,$02,$d4 + $1c,$02,$d8,$1c,$02,$dc,$1c,$02,$fd,$02,$b0,$01,$82,$27,$11,$82 + $2b,$21,$83,$b5,$31,$83,$ba,$ff,$02,$00,$0e,$00,$04,$0e,$00,$08 + $0e,$00,$0c,$0e,$00,$87,$1a,$01,$c0,$18,$02,$c8,$18,$02,$cf,$1b + $02,$d0,$1c,$02,$d4,$1c,$02,$d8,$1c,$02,$dc,$1c,$02,$fd,$21,$82 + $26,$31,$02,$2b,$41,$83,$b3,$51,$03,$bc,$ff,$01,$00,$14,$01,$08 + $14,$01,$b2,$04,$03,$c0,$14,$01,$c9,$14,$01,$d0,$00,$03,$d8,$00 + $03,$fd,$07,$87,$b3,$11,$03,$29,$ff,$01,$00,$14,$01,$08,$14,$01 + $10,$0a,$00,$60,$0a,$00,$b0,$0a,$00,$b5,$04,$03,$c1,$14,$01,$ca + $14,$01,$d1,$00,$03,$d8,$00,$03,$fd,$27,$87,$b6,$11,$82,$b7,$11 + $80,$27,$ff,$00,$00,$0b,$00,$0c,$0b,$00,$50,$01,$02,$5c,$0b,$00 + $80,$0b,$00,$af,$0b,$00,$d0,$0b,$00,$fd,$02,$b1,$ff,$08,$00,$00 + $00,$00,$00,$00,$00,$00,$08,$01,$01,$01,$01,$01,$01,$01,$01,$ff + $01,$12,$01,$12,$01,$12,$ff,$01,$13,$01,$13,$01,$13,$ff,$02,$02 + $03,$02,$02,$03,$02,$02,$03,$02,$02,$03,$02,$02,$03,$02,$02,$03 + $02,$02,$03,$02,$02,$03,$ff,$02,$06,$07,$ff,$01,$0a,$01,$0a,$ff + $01,$0b,$01,$0b,$ff,$02,$08,$08,$02,$08,$05,$02,$09,$08,$02,$08 + $08,$02,$05,$08,$ff,$04,$08,$08,$08,$08,$04,$08,$09,$09,$08,$04 + $08,$09,$09,$08,$04,$08,$08,$08,$08,$ff,$04,$08,$09,$09,$08,$ff + $01,$14,$01,$05,$01,$05,$01,$05,$01,$14,$ff,$04,$15,$15,$15,$15 + $04,$15,$15,$15,$15,$04,$15,$15,$15,$15,$04,$15,$15,$15,$15,$04 + $15,$15,$15,$15,$ff,$02,$16,$16,$02,$16,$16,$02,$16,$16,$02,$16 + $16,$ff,$01,$17,$01,$17,$01,$17,$01,$17,$ff,$04,$11,$11,$11,$11 + $04,$11,$11,$11,$11,$ff,$04,$18,$18,$18,$18,$04,$19,$19,$19,$19 + $ff,$01,$1b,$ff,$04,$1a,$1a,$1a,$1a,$ff,$08,$0f,$0f,$0f,$0f,$10 + $10,$10,$10,$ff,$04,$0d,$0d,$0d,$0d,$04,$0d,$0e,$0e,$0d,$04,$0d + $0e,$0e,$0d,$04,$0d,$0d,$0d,$0d,$ff,$08,$0d,$0d,$0d,$0d,$0d,$0d + $0d,$0d,$08,$0d,$0e,$0e,$0e,$0e,$0e,$0e,$0d,$08,$0d,$0d,$0d,$0d + $0d,$0d,$0d,$0d,$ff,$04,$1c,$1c,$1c,$1c,$04,$1c,$1c,$1c,$1c,$ff + $01,$1d,$01,$1d,$01,$1d,$ff,$04,$1e,$1e,$1e,$1e,$04,$1e,$05,$05 + $1e,$04,$1e,$05,$05,$1e,$04,$1e,$1e,$1e,$1e,$ff,$08,$1e,$1e,$1e + $1e,$1e,$1e,$1e,$1e,$08,$1e,$09,$09,$09,$09,$09,$09,$1e,$08,$1e + $1e,$1e,$1e,$1e,$1e,$1e,$1e,$ff,$01,$14,$01,$05,$01,$14,$ff,$01 + $04,$01,$04,$01,$04,$01,$04,$ff,$01,$1f,$ff,$04,$20,$20,$20,$20 + $ff,$ff,$ff,$f0,$f0,$f1,$f1,$f1,$f1,$a4,$ff,$a4,$ff,$ff,$a5,$ff + $a5,$80,$81,$82,$83,$45,$46,$45,$46,$ff,$ff,$59,$5a,$ff,$ff,$5a + $5b,$60,$61,$62,$63,$0c,$0d,$0e,$0f,$ec,$ff,$ed,$ff,$ff,$ee,$ff + $ef,$1c,$1d,$1e,$1f,$20,$21,$22,$23,$25,$25,$24,$24,$26,$27,$28 + $29,$2a,$2b,$2c,$2d,$18,$19,$1a,$1b,$a0,$a0,$a0,$a0,$a1,$a1,$a1 + $a1,$10,$11,$12,$13,$04,$05,$06,$07,$e0,$e1,$e2,$e3,$70,$71,$72 + $73,$ff,$ff,$43,$43,$44,$44,$44,$44,$14,$15,$16,$17,$88,$89,$8a + $8b,$e8,$e9,$ea,$eb,$78,$79,$7a,$7b,$55,$56,$57,$58,$90,$91,$92 + $93,$c7,$c8,$c9,$ca,$11,$11,$11,$04,$11,$11,$11,$11,$ff,$08,$20 + $22,$22,$22,$22,$22,$22,$22,$ff,$01,$1f,$ff,$01,$21,$01,$21,$01 + $21,$ff,$08,$23,$23,$23,$23,$23,$23,$23,$23,$08,$23,$24,$24,$24 + $24,$24,$24,$23,$08,$23,$23,$23,$23,$23,$23,$23,$23,$ff,$01,$23 + $01,$23,$01,$23,$01,$23,$ff,$04,$23,$23,$23,$23,$04,$23,$24,$24 + $23,$04,$23,$24,$24,$23,$04,$23,$23,$23,$23,$ff,$01,$25,$ff,$01 + $26,$01,$26,$01,$26,$01,$26,$ff,$03,$27,$27,$27,$ff,$03,$28,$28 + $28,$ff,$08,$13,$13,$13,$13,$13,$13,$13,$13,$ff,$01,$13,$01,$13 + $01,$13,$01,$13,$ff,$04,$0c,$0c,$0c,$0c,$04,$0d,$0d,$0d,$0d,$ff + $f1,$f1,$f1,$f1,$ff,$ff,$f0,$f0,$64,$64,$64,$64,$ff,$ff,$64,$64 + $a4,$ff,$a4,$ff,$ff,$a5,$ff,$a5,$a0,$a0,$a0,$a0,$a1,$a1,$a1,$a1 + $4f,$4f,$4f,$4f,$84,$85,$86,$87,$88,$89,$8a,$8b,$80,$81,$82,$83 + $ff,$ff,$ba,$ba,$bb,$bb,$bb,$bb,$10,$11,$12,$13,$04,$05,$06,$07 + $14,$15,$16,$17,$1c,$1d,$1e,$1f,$09,$09,$09,$09,$0c,$0d,$0e,$0f + $ff,$ff,$59,$5a,$ff,$ff,$5a,$5b,$51,$52,$53,$54,$55,$56,$57,$58 + $ec,$ff,$ed,$ff,$ff,$ee,$ff,$ef,$45,$46,$45,$46,$4b,$4c,$4d,$50 + $ff,$ff,$ff,$ff,$47,$48,$47,$48,$08,$08,$08,$08,$70,$71,$72,$73 + $74,$75,$76,$77,$e0,$e1,$e2,$e3,$e4,$e5,$e6,$e7,$20,$21,$22,$23 + $25,$25,$24,$24,$78,$79,$7a,$7b,$e8,$e9,$ea,$eb,$26,$27,$28,$29 + $2a,$2b,$2c,$2d,$0d,$1e,$07,$21,$1d,$0d,$0d,$0d,$1e,$21,$07,$21 + $21,$15,$14,$15,$21,$21,$07,$0d,$21,$16,$10,$16,$21,$0d,$07,$1f + $0d,$20,$10,$1f,$0d,$20,$ff,$08,$22,$22,$0d,$22,$22,$1e,$1c,$1d + $08,$1c,$1c,$21,$1c,$1c,$21,$1c,$21,$08,$1c,$1c,$0c,$1c,$1c,$1f + $0d,$20,$07,$1c,$1c,$21,$1c,$1c,$1c,$14,$04,$1c,$14,$0d,$14,$03 + $1c,$1c,$15,$ff,$02,$01,$01,$02,$00,$00,$ff,$01,$16,$01,$21,$01 + $21,$01,$0c,$01,$21,$01,$0d,$01,$21,$ff,$01,$0c,$ff,$07,$22,$22 + $22,$22,$22,$22,$22,$ff,$05,$0b,$1d,$22,$0d,$22,$04,$11,$21,$11 + $21,$04,$11,$21,$11,$0d,$03,$11,$21,$11,$03,$23,$23,$23,$ff,$03 + $19,$1b,$1a,$ff,$01,$34,$01,$34,$ff,$08,$1d,$22,$17,$0d,$1e,$0d + $17,$0d,$08,$0d,$22,$17,$20,$21,$14,$0d,$11,$08,$21,$1d,$22,$17 + $20,$10,$10,$21,$08,$21,$1f,$17,$0d,$22,$0d,$1e,$11,$08,$0d,$14 + $10,$1f,$22,$22,$20,$11,$ff,$08,$17,$17,$0d,$17,$17,$0d,$17,$17 + $08,$0d,$17,$17,$17,$17,$17,$17,$0d,$ff,$08,$18,$1d,$17,$1e,$1d + $17,$17,$1e,$08,$18,$21,$1c,$21,$21,$1c,$1c,$21,$08,$0d,$20,$1c + $1f,$20,$1c,$1c,$1f,$ff,$04,$0d,$0d,$0d,$0d,$04,$18,$18,$18,$18 + $04,$18,$18,$18,$18,$04,$18,$18,$18,$18,$ff,$07,$0a,$0a,$0a,$0a + $0a,$0a,$0a,$07,$0d,$17,$17,$17,$17,$17,$0d,$07,$18,$0a,$10,$0a + $0a,$10,$18,$07,$0d,$17,$17,$17,$17,$17,$0d,$ff,$01,$0a,$01,$0a + $01,$0a,$01,$0a,$01,$0a,$01,$0a,$01,$0a,$01,$0a,$ff,$01,$0d,$01 + $18,$01,$18,$01,$18,$01,$18,$ff,$02,$19,$1a,$ff,$01,$0d,$ff,$04 + $14,$1c,$1c,$14,$04,$0a,$0a,$0a,$0a,$ff,$08,$0d,$22,$22,$22,$22 + $22,$22,$0d,$ff,$08,$0e,$0e,$0e,$0e,$0e,$0e,$0e,$0e,$08,$0e,$10 + $0e,$0e,$10,$10,$0e,$10,$ff,$a7,$a7,$a7,$a7,$ff,$ff,$a6,$a6,$a2 + $a2,$ff,$ff,$ff,$ff,$a3,$a3,$a4,$ff,$a4,$ff,$ff,$a5,$ff,$a5,$ff + $79,$ff,$7e,$4f,$4f,$4f,$4f,$a0,$a0,$a0,$a0,$a1,$a1,$a1,$a1,$04 + $05,$06,$07,$10,$11,$12,$13,$00,$01,$02,$03,$08,$08,$08,$08,$18 + $19,$1a,$1b,$1c,$1d,$1e,$1f,$0c,$0d,$0e,$0f,$09,$09,$09,$09,$7a + $7b,$7f,$5a,$2a,$2c,$ff,$ff,$14,$15,$16,$17,$20,$21,$22,$23,$24 + $25,$20,$21,$28,$28,$29,$29,$26,$27,$26,$27,$2a,$2b,$ff,$ff,$2b + $2c,$ff,$ff,$2b,$2b,$ff,$ff,$ff,$ff,$ff,$ff,$31,$32,$33,$34,$35 + $36,$37,$38,$3d,$3e,$3f,$40,$41,$42,$43,$44,$39,$3a,$39,$3a,$3b + $3b,$3c,$3c,$0b,$0b,$2d,$2e,$2f,$30,$0b,$0b,$50,$51,$52,$53,$54 + $55,$54,$55,$56,$57,$58,$59,$ff,$ff,$ff,$5e,$5b,$5c,$5f,$60,$ff + $ff,$61,$ff,$5d,$62,$67,$68,$63,$64,$69,$6a,$65,$66,$6b,$6c,$6d + $6e,$73,$74,$6f,$70,$75,$76,$71,$72,$77,$78,$45,$46,$47,$48,$ff + $98,$ff,$98,$49,$4a,$4b,$4c,$90,$91,$90,$91,$7c,$7d,$4d,$ff,$1c + $1d,$1e,$17,$18,$19,$1a,$1f,$20,$21,$22,$60,$61,$62,$63,$0e,$0f + $ff,$ff,$0c,$0d,$0d,$0d,$10,$0d,$ff,$10,$10,$ff,$ff,$ff,$ff,$ff + $ff,$30,$ff,$33,$ff,$36,$ff,$39,$ff,$3d,$ff,$ff,$31,$32,$34,$35 + $37,$38,$3a,$3b,$3e,$3f,$3c,$41,$40,$42,$84,$85,$86,$87,$80,$81 + $82,$83,$88,$89,$8a,$8b,$45,$46,$45,$46,$47,$48,$48,$47,$5c,$5d + $5e,$5f,$b8,$b8,$b9,$b9,$74,$75,$75,$74,$c1,$13,$13,$13,$36,$be + $bc,$bd,$bf,$14,$15,$14,$c0,$14,$c0,$16,$ff,$c1,$ff,$ff,$c2,$14 + $ff,$ff,$30,$13,$bc,$bd,$13,$14,$15,$16,$d7,$d7,$d7,$d7,$76,$76 + $76,$76,$ff,$ff,$ba,$ba,$bb,$bb,$bb,$bb,$00,$01,$02,$03,$04,$05 + $06,$07,$ff,$ff,$08,$09,$ff,$ff,$09,$0a,$55,$56,$57,$58,$90,$91 + $92,$93,$4b,$4c,$4d,$50,$51,$52,$53,$54,$70,$71,$72,$73,$8c,$8d + $8e,$8f,$11,$12,$ff,$11,$11,$12,$12,$11,$11,$12,$12,$ff,$c3,$c4 + $c5,$c6,$30,$00,$bc,$bd,$cd,$ce,$cf,$d0,$d1,$d2,$d3,$d4,$90,$91 + $92,$93,$20,$20,$20,$20,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 b000: b6 20 b2 28+ .bulk $b6,$20,$b2,$28,$b3,$2c,$34,$b4,$30,$30,$b3,$3c,$38,$30,$28,$b4 + $24,$24,$1e,$b3,$2a,$26,$b4,$2e,$2e,$b3,$32,$36,$2e,$32,$b4,$2a + $2a,$00,$ba,$02,$d0,$b1,$3c,$40,$44,$40,$ff,$d0,$42,$46,$4a,$46 + $ff,$d0,$b1,$44,$48,$4c,$48,$ff,$d0,$4a,$4e,$52,$4e,$ff,$00,$b8 + $02,$c4,$b3,$38,$b2,$2e,$b3,$42,$b2,$30,$b3,$3c,$b2,$34,$b3,$2e + $b2,$2c,$ff,$c2,$b3,$3e,$b2,$34,$b3,$38,$b2,$2e,$b3,$3c,$b2,$34 + $b3,$42,$b2,$38,$ff,$c4,$b1,$3e,$2e,$3e,$2e,$3e,$2e,$44,$38,$44 + $38,$44,$38,$42,$30,$42,$30,$42,$30,$42,$36,$3c,$36,$46,$36,$ff + $c2,$3c,$3e,$42,$46,$4c,$46,$54,$4c,$42,$3e,$3c,$46,$5a,$54,$4c + $42,$3e,$3c,$38,$3e,$42,$4c,$50,$02,$ff,$c4,$b1,$5a,$02,$56,$02 + $54,$02,$50,$02,$54,$02,$56,$02,$ff,$00,$d0,$b2,$20,$b3,$38,$ff + $c2,$b2,$18,$b3,$30,$b2,$18,$b3,$30,$b2,$1c,$b3,$34,$b2,$1c,$b3 + $34,$ff,$c4,$b2,$20,$38,$50,$24,$3c,$54,$22,$3a,$52,$16,$2e,$46 + $ff,$c2,$b3,$20,$b2,$2e,$b3,$30,$b2,$2e,$b3,$18,$b2,$26,$b3,$2a + $b2,$2e,$ff,$c8,$b4,$08,$ff b0e7: 2a 2a 2a b9+ .junk 281 b200: 00 10 01 18+ LB200_3 .bulk $00,$10,$01,$18,$00,$01,$38,$01,$02,$40,$00,$09,$58,$80,$7f,$80 + $48,$35,$7f,$00,$b0,$19,$7f,$0e,$a0,$0d,$7f,$0f,$08,$16,$7f,$0b + $18,$13,$7f,$0e,$f8,$c1,$89,$02,$0f,$34,$ba,$e0,$05,$34,$bb,$ce + $05,$b6,$7f,$00,$c2,$b6,$7f,$04,$c2,$17,$7f,$66,$89,$89,$7f,$67 + $18,$8b,$7f,$fd,$28,$02,$7f,$a8,$f8,$d7,$83,$58,$f8,$d6,$82,$58 + $f8,$95,$8c,$40,$b9,$1d,$9a,$20,$8f,$16,$8d,$e0,$42,$19,$7f,$6f + $40,$18,$7f,$80,$40,$07,$7f,$40,$28,$07,$7f,$45,$28,$7f,$7f,$dd + $3b,$7f,$7f,$ff,$98,$7f,$7f,$40,$08,$09,$7f,$30,$48,$03,$7f,$42 + $18,$03,$7f,$11,$09,$7f,$7f,$30,$b2 b289: bb b2 .dd2 LB2BB_1 b28b: 22 b3 .dd2 LB322_1 b28d: 00 .dd1 $00 b28e: cb b2 .dd2 LB2CB_1 b290: ee b4 .dd2 TB4EE_4 b292: 00 .dd1 $00 b293: db b2 .dd2 LB2DB_1 b295: 30 b3 .dd2 LB330_1 b297: 01 .dd1 $01 b298: eb b2 .dd2 LB2EB_1 b29a: ee b4 .dd2 TB4EE_4 b29c: 01 .dd1 $01 b29d: fb b2 .dd2 LB2FB_1 b29f: 44 b3 .dd2 LB344_1 b2a1: 03 .dd1 $03 b2a2: 0b b3 .dd2 LB30B_1 b2a4: ee b4 .dd2 TB4EE_4 b2a6: 03 .dd1 $03 b2a7: 06 bc .dd2 LBC06_1 b2a9: 5c b3 .dd2 LB35C_1 b2ab: 04 .dd1 $04 b2ac: 16 bc .dd2 LBC16_1 b2ae: 64 b3 .dd2 LB364_1 b2b0: 04 .dd1 $04 b2b1: 26 bc .dd2 LBC26_1 b2b3: 4b bc .dd2 LBC4B_1 b2b5: 00 .dd1 $00 b2b6: 26 bc .dd2 LBC26_1 b2b8: 3d bc .dd2 LBC3D_1 b2ba: 00 .dd1 $00 b2bb: ee b4 LB2BB_1 .dd2 TB4EE_4 b2bd: 2b b5 .dd2 TB52B_4 b2bf: 6e b5 .dd2 TB56E_4 b2c1: 83 b5 .dd2 TB583_4 b2c3: 98 b5 .dd2 TB598_4 b2c5: 0f b5 .dd2 TB50F_4 b2c7: ee b4 .dd2 TB4EE_4 b2c9: ee b4 .dd2 TB4EE_4 b2cb: ee b4 LB2CB_1 .dd2 TB4EE_4 b2cd: 39 b5 .dd2 TB539_4 b2cf: 7b b5 .dd2 TB57B_4 b2d1: 8a b5 .dd2 TB58A_4 b2d3: 8a b5 .dd2 TB58A_4 b2d5: 16 b5 .dd2 TB516_4 b2d7: ee b4 .dd2 TB4EE_4 b2d9: ee b4 .dd2 TB4EE_4 b2db: cd b6 LB2DB_1 .dd2 TB6CD_4 b2dd: e7 b6 .dd2 TB6E7_4 b2df: 35 b7 .dd2 TB735_4 b2e1: 16 b7 .dd2 TB716_4 b2e3: 3c b7 .dd2 TB73C_4 b2e5: 10 b7 .dd2 TB710_4 b2e7: 03 b7 .dd2 TB703_4 b2e9: 7a b7 .dd2 TB77A_4 b2eb: b0 b6 LB2EB_1 .dd2 TB6B0_4 b2ed: d3 b6 .dd2 TB6D3_4 b2ef: ed b6 .dd2 TB6ED_4 b2f1: 4f b7 .dd2 TB74F_4 b2f3: ed b6 .dd2 TB6ED_4 b2f5: ed b6 .dd2 TB6ED_4 b2f7: ed b6 .dd2 TB6ED_4 b2f9: 81 b7 .dd2 TB781_4 b2fb: d2 b8 LB2FB_1 .dd2 TB8D2_4 b2fd: ac b7 .dd2 TB7AC_4 b2ff: a7 b8 .dd2 TB8A7_4 b301: 21 b9 .dd2 TB921_4 b303: d9 b7 .dd2 TB7D9_4 b305: ef b7 .dd2 TB7EF_4 b307: 34 b8 .dd2 TB834_4 b309: 78 b8 .dd2 TB878_4 b30b: ed b8 LB30B_1 .dd2 TB8ED_4 b30d: cb b7 .dd2 TB7CB_4 b30f: b1 b8 .dd2 TB8B1_4 b311: 40 b9 .dd2 TB940_4 b313: e7 b7 .dd2 TB7E7_4 b315: 0e b8 .dd2 TB80E_4 b317: 4f b8 .dd2 TB84F_4 b319: 7f b8 .dd2 TB87F_4 b31b: ad 80 06 LB31B_3 lda NoiseSFXFlag b31e: a2 89 ldx #$89 b320: d0 15 bne LB337_4 b322: ad 88 06 LB322_1 lda NoiseContSFX b325: a2 8e ldx #$8e b327: d0 0e bne LB337_4 b329: ad 81 06 LB329_4 lda SQ1SFXFlag b32c: a2 93 ldx #$93 b32e: d0 07 bne LB337_4 b330: ad 89 06 LB330_1 lda SQ1ContSFX b333: a2 98 ldx #$98 b335: d0 00 bne LB337_4 b337: 20 bd b4 LB337_4 jsr LB4BD_4 b33a: 6c e2 00 jmp ($00e2) b33d: ad 83 06 LB33D_3 lda TriangleSFXFlag b340: a2 9d ldx #$9d b342: d0 f3 bne LB337_4 b344: ad 8b 06 LB344_1 lda TriangleContSFX b347: a2 a2 ldx #$a2 b349: d0 ec bne LB337_4 b34b: ad 84 06 LB34B_3 lda MultiSFXFlag b34e: a2 a7 ldx #$a7 b350: 20 bd b4 jsr LB4BD_4 b353: 20 53 bc jsr LBC53_3 b356: 20 64 bc jsr LBC64_3 b359: 6c e2 00 jmp ($00e2) b35c: ad 8c 06 LB35C_1 lda MultiContSFX b35f: a2 ac ldx #$ac b361: 4c 37 b3 jmp LB337_4 b364: 20 29 b3 LB364_1 jsr LB329_4 b367: 60 rts b368: a9 00 LB368_4 lda #$00 b36a: f0 0a beq LB376_4 b36c: a9 08 LB36C_4 lda #$08 b36e: d0 06 bne LB376_4 b370: a9 0c LB370_4 lda #$0c b372: d0 02 bne LB376_4 b374: a9 04 LB374_4 lda #$04 b376: 85 e0 LB376_4 sta $e0 b378: a9 40 lda #$40 b37a: 85 e1 sta $e1 b37c: 84 e2 sty $e2 b37e: a9 b2 lda #$b2 b380: 85 e3 sta $e3 b382: a0 00 ldy #$00 b384: b1 e2 LB384_4 lda ($e2),y b386: 91 e0 sta ($e0),y b388: c8 iny b389: 98 tya b38a: c9 04 cmp #$04 b38c: d0 f6 bne LB384_4 b38e: 60 rts b38f: ee 02 06 LB38F_3 inc SFXPaused b392: 20 3e b4 jsr LB43E_4 b395: 8d 03 06 sta PauseSFXStatus b398: 60 rts b399: ad 02 06 LB399_3 lda SFXPaused b39c: f0 f1 beq LB38F_3 b39e: ad 03 06 lda PauseSFXStatus b3a1: c9 12 cmp #$12 b3a3: f0 0e beq LB3B3_3 b3a5: 29 03 and #$03 b3a7: c9 03 cmp #$03 b3a9: d0 05 bne LB3B0_3 b3ab: a0 0d ldy #$0d b3ad: 20 68 b3 jsr LB368_4 b3b0: ee 03 06 LB3B0_3 inc PauseSFXStatus b3b3: 60 LB3B3_3 rts b3b4: a9 c0 lda #$c0 b3b6: 8d 17 40 sta APUCommonCntrl1 b3b9: ad 80 06 lda NoiseSFXFlag b3bc: 4a lsr A b3bd: b0 2c bcs LB3EB_3 b3bf: a5 1e lda MainRoutine b3c1: c9 05 cmp #$05 b3c3: f0 d4 beq LB399_3 b3c5: a9 00 lda #$00 b3c7: 8d 02 06 sta SFXPaused b3ca: 20 1b b3 jsr LB31B_3 b3cd: 20 4b b3 jsr LB34B_3 b3d0: 20 3d b3 jsr LB33D_3 b3d3: 20 36 bc jsr LBC36_3 b3d6: a9 00 LB3D6_3 lda #$00 b3d8: 8d 80 06 sta NoiseSFXFlag b3db: 8d 81 06 sta SQ1SFXFlag b3de: 8d 82 06 sta SQ2SFXFlag b3e1: 8d 83 06 sta TriangleSFXFlag b3e4: 8d 84 06 sta MultiSFXFlag b3e7: 8d 85 06 sta MusicInitFlag b3ea: 60 rts b3eb: 20 04 b4 LB3EB_3 jsr LB404_4 b3ee: f0 e6 beq LB3D6_3 b3f0: ad 2c 06 LB3F0_4 lda MusicRepeat b3f3: f0 0f beq LB404_4 b3f5: ad 8d 06 lda CurrentMusic b3f8: 8d 5d 06 sta CurrentMusicRepeat b3fb: 60 rts b3fc: ad 8d 06 LB3FC_4 lda CurrentMusic b3ff: cd 4d 06 cmp CurrentSFXFlags b402: f0 06 beq LB40A_4 b404: 20 1d b4 LB404_4 jsr LB41D_4 b407: 20 3e b4 jsr LB43E_4 b40a: 20 0e b4 LB40A_4 jsr LB40E_4 b40d: 60 rts b40e: a9 00 LB40E_4 lda #$00 b410: 8d 2d 06 sta TriangleCounterCntrl b413: 8d 02 06 sta SFXPaused b416: 8d 5d 06 sta CurrentMusicRepeat b419: 8d 2c 06 sta MusicRepeat b41c: 60 rts b41d: a9 00 LB41D_4 lda #$00 b41f: 8d 53 06 sta SQ1InUse b422: 8d 54 06 sta SQ2InUse b425: 8d 55 06 sta TriangleInUse b428: 8d 07 06 sta WriteMultiChannelData b42b: 8d 88 06 sta NoiseContSFX b42e: 8d 89 06 sta SQ1ContSFX b431: 8d 8a 06 sta SQ2ContSFX b434: 8d 8b 06 sta TriangleContSFX b437: 8d 8c 06 sta MultiContSFX b43a: 8d 8d 06 sta CurrentMusic b43d: 60 rts b43e: a9 10 LB43E_4 lda #$10 b440: 8d 00 40 sta SQ1Cntrl0 b443: 8d 04 40 sta SQ2Cntrl0 b446: 8d 0c 40 sta NoiseCntrl0 b449: a9 00 lda #$00 b44b: 8d 08 40 sta TriangleCntrl0 b44e: 8d 11 40 sta DMCCntrl1 b451: 60 rts b452: ae 5c 06 LB452_4 ldx ChannelType b455: 9d 60 06 sta NoiseSFXLength,x b458: 8a txa b459: f0 1c beq LB477_4 b45b: c9 01 cmp #$01 b45d: f0 09 beq LB468_4 b45f: c9 02 cmp #$02 b461: f0 0a beq LB46D_4 b463: c9 03 cmp #$03 b465: f0 0b beq LB472_4 b467: 60 rts b468: 20 68 b3 LB468_4 jsr LB368_4 b46b: f0 0d beq LB47A_4 b46d: 20 74 b3 LB46D_4 jsr LB374_4 b470: f0 08 beq LB47A_4 b472: 20 6c b3 LB472_4 jsr LB36C_4 b475: f0 03 beq LB47A_4 b477: 20 70 b3 LB477_4 jsr LB370_4 b47a: 20 93 b4 LB47A_4 jsr LB493_4 b47d: 8a txa b47e: 9d 52 06 sta NoiseInUse,x b481: a9 00 lda #$00 b483: 9d 65 06 sta ThisNoiseFrame,x b486: 9d 70 06 sta NoiseSFXData,x b489: 9d 74 06 sta MultiSFXData,x b48c: 9d 78 06 sta ScrewAttackSFXData,x b48f: 8d 07 06 sta WriteMultiChannelData b492: 60 rts b493: ae 5c 06 LB493_4 ldx ChannelType b496: bd 88 06 lda NoiseContSFX,x b499: 29 00 and #$00 b49b: 0d 4d 06 ora CurrentSFXFlags b49e: 9d 88 06 sta NoiseContSFX,x b4a1: 60 rts b4a2: a9 00 LB4A2_4 lda #$00 b4a4: 8d 4d 06 sta CurrentSFXFlags b4a7: f0 ea beq LB493_4 b4a9: ae 5c 06 LB4A9_4 ldx ChannelType b4ac: fe 65 06 inc ThisNoiseFrame,x b4af: bd 65 06 lda ThisNoiseFrame,x b4b2: dd 60 06 cmp NoiseSFXLength,x b4b5: d0 05 bne LB4BC_4 b4b7: a9 00 lda #$00 b4b9: 9d 65 06 sta ThisNoiseFrame,x b4bc: 60 LB4BC_4 rts b4bd: 8d 4d 06 LB4BD_4 sta CurrentSFXFlags b4c0: 86 e4 stx $e4 b4c2: a0 b2 ldy #$b2 b4c4: 84 e5 sty $e5 b4c6: a0 00 ldy #$00 b4c8: b1 e4 LB4C8_4 lda ($e4),y b4ca: 99 e0 00 sta $00e0,y b4cd: c8 iny b4ce: 98 tya b4cf: c9 04 cmp #$04 b4d1: d0 f5 bne LB4C8_4 b4d3: b1 e4 lda ($e4),y b4d5: 8d 5c 06 sta ChannelType b4d8: a0 00 ldy #$00 b4da: ad 4d 06 lda CurrentSFXFlags b4dd: 48 pha b4de: 0e 4d 06 LB4DE_4 asl CurrentSFXFlags b4e1: b0 0c bcs LB4EF_4 b4e3: c8 iny b4e4: c8 iny b4e5: 98 tya b4e6: c9 10 cmp #$10 b4e8: d0 f4 bne LB4DE_4 b4ea: 68 LB4EA_4 pla b4eb: 8d 4d 06 sta CurrentSFXFlags b4ee: 60 TB4EE_4 rts b4ef: b1 e0 LB4EF_4 lda ($e0),y b4f1: 85 e2 sta $e2 b4f3: c8 iny b4f4: b1 e0 lda ($e0),y b4f6: 85 e3 sta $e3 b4f8: 4c ea b4 jmp LB4EA_4 b4fb: 12 13 14 15+ LB4FB_4 .bulk $12,$13,$14,$15,$16,$17,$18,$19,$1a,$1b,$1c,$1d,$1b,$1a,$19,$17 + $16,$15,$14,$12 b50f: a9 14 TB50F_4 lda #$14 b511: a0 21 ldy #$21 b513: 4c 52 b4 jmp LB452_4 b516: 20 a9 b4 TB516_4 jsr LB4A9_4 b519: d0 03 bne LB51E_4 b51b: 4c 8f b5 jmp LB58F_4 b51e: ac 70 06 LB51E_4 ldy NoiseSFXData b521: b9 fb b4 lda LB4FB_4,y b524: 8d 0c 40 sta NoiseCntrl0 b527: ee 70 06 inc NoiseSFXData b52a: 60 rts b52b: a9 05 TB52B_4 lda #$05 b52d: a0 11 ldy #$11 b52f: 20 52 b4 jsr LB452_4 b532: ad 13 b2 lda LB200_3+19 b535: 8d 70 06 sta NoiseSFXData b538: 60 LB538_4 rts b539: ad 78 06 TB539_4 lda ScrewAttackSFXData b53c: c9 02 cmp #$02 b53e: f0 09 beq LB549_4 b540: 20 a9 b4 jsr LB4A9_4 b543: d0 f3 bne LB538_4 b545: ee 78 06 inc ScrewAttackSFXData b548: 60 rts b549: 20 a9 b4 LB549_4 jsr LB4A9_4 b54c: d0 16 bne LB564_4 b54e: ce 70 06 dec NoiseSFXData b551: ce 70 06 dec NoiseSFXData b554: ce 70 06 dec NoiseSFXData b557: ee 74 06 inc MultiSFXData b55a: ad 74 06 lda MultiSFXData b55d: c9 0f cmp #$0f b55f: d0 d7 bne LB538_4 b561: 4c 8f b5 jmp LB58F_4 b564: ee 70 06 LB564_4 inc NoiseSFXData b567: ad 70 06 lda NoiseSFXData b56a: 8d 0e 40 sta NoiseCntrl2 b56d: 60 rts b56e: a9 18 TB56E_4 lda #$18 b570: a0 15 ldy #$15 b572: 20 87 b5 jsr LB587_4 b575: a9 0a lda #$0a b577: 8d 70 06 sta NoiseSFXData b57a: 60 rts b57b: 20 a9 b4 TB57B_4 jsr LB4A9_4 b57e: d0 e4 bne LB564_4 b580: 4c 8f b5 jmp LB58F_4 b583: a9 30 TB583_4 lda #$30 b585: a0 19 ldy #$19 b587: 4c 52 b4 LB587_4 jmp LB452_4 b58a: 20 a9 b4 TB58A_4 jsr LB4A9_4 b58d: d0 08 bne LB597_4 b58f: 20 a2 b4 LB58F_4 jsr LB4A2_4 b592: a9 10 lda #$10 b594: 8d 0c 40 sta NoiseCntrl0 b597: 60 LB597_4 rts b598: ad 88 06 TB598_4 lda NoiseContSFX b59b: 29 34 and #$34 b59d: d0 f8 bne LB597_4 b59f: a9 03 lda #$03 b5a1: a0 1d ldy #$1d b5a3: d0 e2 bne LB587_4 b5a5: 8d 64 06 LB5A5_4 sta MultiSFXLength b5a8: 20 74 b3 jsr LB374_4 b5ab: 20 93 b4 jsr LB493_4 b5ae: a9 01 lda #$01 b5b0: 8d 53 06 sta SQ1InUse b5b3: a9 02 lda #$02 b5b5: 8d 54 06 sta SQ2InUse b5b8: a9 00 lda #$00 b5ba: 8d 89 06 sta SQ1ContSFX b5bd: 8d 71 06 sta SQ1SFXData b5c0: 8d 75 06 sta SQ1SQ2SFXData b5c3: 8d 79 06 sta SQ1SFXPeriodLow b5c6: 8d 69 06 sta ThisMultiFrame b5c9: 8d 07 06 sta WriteMultiChannelData b5cc: 60 rts b5cd: a9 10 LB5CD_4 lda #$10 b5cf: 8d 00 40 sta SQ1Cntrl0 b5d2: 8d 04 40 sta SQ2Cntrl0 b5d5: a9 7f lda #$7f b5d7: 8d 01 40 sta SQ1Cntrl1 b5da: 8d 05 40 sta SQ2Cntrl1 b5dd: 20 a2 b4 jsr LB4A2_4 b5e0: a9 00 lda #$00 b5e2: 8d 53 06 sta SQ1InUse b5e5: 8d 54 06 sta SQ2InUse b5e8: ee 07 06 inc WriteMultiChannelData b5eb: 60 rts b5ec: a0 2d TB5EC_2 ldy #$2d b5ee: 20 68 b3 jsr LB368_4 b5f1: a0 29 ldy #$29 b5f3: 4c a5 b5 jmp LB5A5_4 b5f6: ee 71 06 TB5F6_2 inc SQ1SFXData b5f9: ac 71 06 ldy SQ1SFXData b5fc: b9 3c b6 lda LB63C_4,y b5ff: 8d 00 40 sta SQ1Cntrl0 b602: 8d 04 40 sta SQ2Cntrl0 b605: ad 71 06 lda SQ1SFXData b608: c9 14 cmp #$14 b60a: f0 2d beq LB639_4 b60c: c9 06 cmp #$06 b60e: 90 10 bcc LB620_4 b610: a5 2e lda RandomNumber1 b612: 09 10 ora #$10 b614: 29 7f and #$7f b616: 8d 79 06 sta SQ1SFXPeriodLow b619: 2a rol A b61a: 8d 75 06 sta SQ1SQ2SFXData b61d: 4c 2c b6 jmp LB62C_4 b620: ee 75 06 LB620_4 inc SQ1SQ2SFXData b623: ee 75 06 inc SQ1SQ2SFXData b626: ee 79 06 inc SQ1SFXPeriodLow b629: ee 79 06 inc SQ1SFXPeriodLow b62c: ad 75 06 LB62C_4 lda SQ1SQ2SFXData b62f: 8d 06 40 sta SQ2Cntrl2 b632: ad 79 06 lda SQ1SFXPeriodLow b635: 8d 02 40 sta SQ1Cntrl2 b638: 60 rts b639: 4c cd b5 LB639_4 jmp LB5CD_4 b63c: 38 3d 3f 3f+ LB63C_4 .bulk $38,$3d,$3f,$3f,$3f,$3f,$3f,$3d,$3b,$39,$3b,$3d,$3f,$3d,$3b,$39 + $3b,$3d,$3f,$39 b650: 20 a9 b4 TB650_2 jsr LB4A9_4 b653: d0 03 bne LB658_4 b655: 4c cd b5 jmp LB5CD_4 b658: a0 25 LB658_4 ldy #$25 b65a: 20 68 b3 jsr LB368_4 b65d: a5 2e lda RandomNumber1 b65f: 29 0f and #$0f b661: 8d 02 40 sta SQ1Cntrl2 b664: a0 25 ldy #$25 b666: 20 74 b3 jsr LB374_4 b669: a5 2e lda RandomNumber1 b66b: 4a lsr A b66c: 4a lsr A b66d: 29 0f and #$0f b66f: 8d 06 40 sta SQ2Cntrl2 b672: 60 rts b673: a0 25 TB673_2 ldy #$25 b675: 20 68 b3 jsr LB368_4 b678: a5 2e lda RandomNumber1 b67a: 29 0f and #$0f b67c: 8d 02 40 sta SQ1Cntrl2 b67f: 18 clc b680: a5 2e lda RandomNumber1 b682: 29 03 and #$03 b684: 69 01 adc #$01 b686: a0 25 ldy #$25 b688: 20 a5 b5 jsr LB5A5_4 b68b: a5 2e lda RandomNumber1 b68d: 4a lsr A b68e: 4a lsr A b68f: 29 0f and #$0f b691: 8d 06 40 sta SQ2Cntrl2 b694: 60 LB694_4 rts b695: a0 31 TB695_2 ldy #$31 b697: 20 68 b3 jsr LB368_4 b69a: a9 20 lda #$20 b69c: a0 35 ldy #$35 b69e: 4c a5 b5 jmp LB5A5_4 b6a1: 20 a9 b4 TB6A1_2 jsr LB4A9_4 b6a4: d0 ee bne LB694_4 b6a6: 4c cd b5 jmp LB5CD_4 b6a9: bd 8d 7e 5e+ LB6A9_4 .bulk $bd,$8d,$7e,$5e,$46,$3e,$00 b6b0: 20 a9 b4 TB6B0_4 jsr LB4A9_4 b6b3: d0 17 bne LB6CC_4 b6b5: ac 71 06 ldy SQ1SFXData b6b8: b9 a9 b6 lda LB6A9_4,y b6bb: d0 03 bne LB6C0_4 b6bd: 4c f2 b6 jmp LB6F2_4 b6c0: 8d 02 40 LB6C0_4 sta SQ1Cntrl2 b6c3: ad 44 b2 lda LB200_3+68 b6c6: 8d 03 40 sta SQ1Cntrl3 b6c9: ee 71 06 inc SQ1SFXData b6cc: 60 LB6CC_4 rts b6cd: a9 05 TB6CD_4 lda #$05 b6cf: a0 41 ldy #$41 b6d1: d0 66 bne LB739_4 b6d3: 20 a9 b4 TB6D3_4 jsr LB4A9_4 b6d6: d0 f4 bne LB6CC_4 b6d8: ee 71 06 inc SQ1SFXData b6db: ad 71 06 lda SQ1SFXData b6de: c9 03 cmp #$03 b6e0: f0 10 beq LB6F2_4 b6e2: a0 3d ldy #$3d b6e4: 4c 68 b3 jmp LB368_4 b6e7: a9 06 TB6E7_4 lda #$06 b6e9: a0 3d ldy #$3d b6eb: d0 4c bne LB739_4 b6ed: 20 a9 b4 TB6ED_4 jsr LB4A9_4 b6f0: d0 da bne LB6CC_4 b6f2: a9 10 LB6F2_4 lda #$10 b6f4: 8d 00 40 sta SQ1Cntrl0 b6f7: a9 00 lda #$00 b6f9: 8d 53 06 sta SQ1InUse b6fc: 20 a2 b4 jsr LB4A2_4 b6ff: ee 07 06 inc WriteMultiChannelData b702: 60 rts b703: ad 8d 06 TB703_4 lda CurrentMusic b706: c9 04 cmp #$04 b708: f0 c2 beq LB6CC_4 b70a: a9 0c lda #$0c b70c: a0 51 ldy #$51 b70e: d0 29 bne LB739_4 b710: a9 08 TB710_4 lda #$08 b712: a0 55 ldy #$55 b714: d0 23 bne LB739_4 b716: ad 1f 06 TB716_4 lda HasBeamSFX b719: 4a lsr A b71a: b0 42 bcs LB75E_4 b71c: ad 89 06 lda SQ1ContSFX b71f: 29 cc and #$cc b721: d0 a9 bne LB6CC_4 b723: ad 1f 06 lda HasBeamSFX b726: 0a asl A b727: b0 06 bcs LB72F_4 b729: a9 03 lda #$03 b72b: a0 4d ldy #$4d b72d: d0 0a bne LB739_4 b72f: a9 07 LB72F_4 lda #$07 b731: a0 49 ldy #$49 b733: d0 04 bne LB739_4 b735: a9 0b TB735_4 lda #$0b b737: a0 45 ldy #$45 b739: 4c 52 b4 LB739_4 jmp LB452_4 b73c: ad 8d 06 TB73C_4 lda CurrentMusic b73f: c9 04 cmp #$04 b741: f0 06 beq LB749_4 b743: a9 16 lda #$16 b745: a0 59 ldy #$59 b747: d0 f0 bne LB739_4 b749: a9 07 LB749_4 lda #$07 b74b: a0 39 ldy #$39 b74d: d0 ea bne LB739_4 b74f: ad 1f 06 TB74F_4 lda HasBeamSFX b752: 4a lsr A b753: b0 10 bcs LB765_4 b755: 20 a9 b4 jsr LB4A9_4 b758: d0 03 bne LB75D_4 b75a: 4c f2 b6 jmp LB6F2_4 b75d: 60 LB75D_4 rts b75e: a9 07 LB75E_4 lda #$07 b760: a0 61 ldy #$61 b762: 4c 52 b4 jmp LB452_4 b765: 20 a9 b4 LB765_4 jsr LB4A9_4 b768: d0 03 bne LB76D_4 b76a: 4c f2 b6 jmp LB6F2_4 b76d: ad 71 06 LB76D_4 lda SQ1SFXData b770: 29 01 and #$01 b772: a8 tay b773: b9 78 b7 lda LB778_4,y b776: d0 28 bne LB7A0_4 b778: 93 LB778_4 .dd1 $93 b779: 81 .dd1 $81 b77a: a9 08 TB77A_4 lda #$08 b77c: a0 5d ldy #$5d b77e: 4c 52 b4 jmp LB452_4 b781: 20 a9 b4 TB781_4 jsr LB4A9_4 b784: d0 11 bne LB797_4 b786: ac 75 06 ldy SQ1SQ2SFXData b789: ee 75 06 inc SQ1SQ2SFXData b78c: b9 a9 b7 lda LB7A9_4,y b78f: 8d 00 40 sta SQ1Cntrl0 b792: d0 12 bne LB7A6_4 b794: 4c f2 b6 jmp LB6F2_4 b797: ad 71 06 LB797_4 lda SQ1SFXData b79a: 29 01 and #$01 b79c: a8 tay b79d: b9 a7 b7 lda LB7A7_4,y b7a0: 8d 02 40 LB7A0_4 sta SQ1Cntrl2 b7a3: ee 71 06 inc SQ1SFXData b7a6: 60 LB7A6_4 rts b7a7: 58 LB7A7_4 .dd1 $58 b7a8: 6f .dd1 $6f b7a9: 93 LB7A9_4 .dd1 $93 b7aa: 91 .dd1 $91 b7ab: 00 .dd1 $00 b7ac: ad 87 b2 TB7AC_4 lda LB200_3+135 b7af: 8d 10 06 sta TrianglePeriodLow b7b2: ad 88 b2 lda LB200_3+136 b7b5: 29 07 and #$07 b7b7: 8d 11 06 sta TrianglePeriodHigh b7ba: a9 0f lda #$0f b7bc: 8d 12 06 sta TriangleChangeLow b7bf: a9 00 lda #$00 b7c1: 8d 13 06 sta TriangleChangeHigh b7c4: a9 1f lda #$1f b7c6: a0 85 ldy #$85 b7c8: 4c 52 b4 jmp LB452_4 b7cb: 20 a9 b4 TB7CB_4 jsr LB4A9_4 b7ce: d0 03 bne LB7D3_4 b7d0: 4c 96 b8 jmp LB896_4 b7d3: 20 8c b9 LB7D3_4 jsr LB98C_4 b7d6: 4c 69 b8 jmp LB869_4 b7d9: ad 8b 06 TB7D9_4 lda TriangleContSFX b7dc: 29 80 and #$80 b7de: d0 c6 bne LB7A6_4 b7e0: a9 03 lda #$03 b7e2: a0 79 ldy #$79 b7e4: 4c 52 b4 jmp LB452_4 b7e7: 20 a9 b4 TB7E7_4 jsr LB4A9_4 b7ea: d0 ba bne LB7A6_4 b7ec: 4c 96 b8 jmp LB896_4 b7ef: a9 12 TB7EF_4 lda #$12 b7f1: 8d 12 06 sta TriangleChangeLow b7f4: a9 00 lda #$00 b7f6: 8d 13 06 sta TriangleChangeHigh b7f9: ad 7f b2 lda LB200_3+127 b7fc: 8d 10 06 sta TrianglePeriodLow b7ff: ad 80 b2 lda LB200_3+128 b802: 29 07 and #$07 b804: 8d 11 06 sta TrianglePeriodHigh b807: a9 0a lda #$0a b809: a0 7d ldy #$7d b80b: 4c 52 b4 jmp LB452_4 b80e: 20 a9 b4 TB80E_4 jsr LB4A9_4 b811: d0 03 bne LB816_4 b813: 4c 96 b8 jmp LB896_4 b816: 20 78 b9 LB816_4 jsr LB978_4 b819: a5 2e lda RandomNumber1 b81b: 29 3c and #$3c b81d: 8d 73 06 sta TriangleSFXData b820: ad 10 06 lda TrianglePeriodLow b823: 29 c3 and #$c3 b825: 0d 73 06 ora TriangleSFXData b828: 8d 0a 40 sta TriangleCntrl2 b82b: ad 11 06 lda TrianglePeriodHigh b82e: 09 40 ora #$40 b830: 8d 0b 40 sta TriangleCntrl3 b833: 60 rts b834: a9 08 TB834_4 lda #$08 b836: a0 6d ldy #$6d b838: 20 52 b4 jsr LB452_4 b83b: a9 05 lda #$05 b83d: 8d 16 06 sta PercentDifference b840: ad 6f b2 lda LB200_3+111 b843: 8d 10 06 sta TrianglePeriodLow b846: ad 70 b2 lda LB200_3+112 b849: 29 07 and #$07 b84b: 8d 11 06 sta TrianglePeriodHigh b84e: 60 rts b84f: 20 a9 b4 TB84F_4 jsr LB4A9_4 b852: d0 03 bne LB857_4 b854: 4c 96 b8 jmp LB896_4 b857: 20 a0 b9 LB857_4 jsr LB9A0_4 b85a: ad 14 06 lda TriangleLowPercentage b85d: 8d 12 06 sta TriangleChangeLow b860: ad 15 06 lda TriangleHighPercentage b863: 8d 13 06 sta TriangleChangeHigh b866: 20 8c b9 jsr LB98C_4 b869: ad 10 06 LB869_4 lda TrianglePeriodLow b86c: 8d 0a 40 sta TriangleCntrl2 b86f: ad 11 06 lda TrianglePeriodHigh b872: 09 08 ora #$08 b874: 8d 0b 40 sta TriangleCntrl3 b877: 60 rts b878: a9 04 TB878_4 lda #$04 b87a: a0 65 ldy #$65 b87c: 4c 52 b4 jmp LB452_4 b87f: 20 a9 b4 TB87F_4 jsr LB4A9_4 b882: d0 22 bne LB8A6_4 b884: ee 73 06 inc TriangleSFXData b887: ad 73 06 lda TriangleSFXData b88a: c9 02 cmp #$02 b88c: d0 03 bne LB891_4 b88e: 4c 96 b8 jmp LB896_4 b891: a0 69 LB891_4 ldy #$69 b893: 4c 6c b3 jmp LB36C_4 b896: a9 00 LB896_4 lda #$00 b898: 8d 08 40 sta TriangleCntrl0 b89b: 8d 55 06 sta TriangleInUse b89e: a9 18 lda #$18 b8a0: 8d 0b 40 sta TriangleCntrl3 b8a3: 20 a2 b4 jsr LB4A2_4 b8a6: 60 LB8A6_4 rts b8a7: a9 03 TB8A7_4 lda #$03 b8a9: a0 71 ldy #$71 b8ab: 20 52 b4 jsr LB452_4 b8ae: 4c c3 b8 jmp LB8C3_4 b8b1: 20 a9 b4 TB8B1_4 jsr LB4A9_4 b8b4: f0 0d beq LB8C3_4 b8b6: ee 73 06 inc TriangleSFXData b8b9: ad 73 06 lda TriangleSFXData b8bc: c9 09 cmp #$09 b8be: d0 e6 bne LB8A6_4 b8c0: 4c 96 b8 jmp LB896_4 b8c3: a5 2e LB8C3_4 lda RandomNumber1 b8c5: 09 6c ora #$6c b8c7: 8d 0a 40 sta TriangleCntrl2 b8ca: 29 01 and #$01 b8cc: 09 f8 ora #$f8 b8ce: 8d 0b 40 sta TriangleCntrl3 b8d1: 60 rts b8d2: 20 04 b4 TB8D2_4 jsr LB404_4 b8d5: a9 0e lda #$0e b8d7: a0 75 ldy #$75 b8d9: 20 52 b4 jsr LB452_4 b8dc: a9 15 lda #$15 b8de: 8d 16 06 sta PercentDifference b8e1: ad 77 b2 lda LB200_3+119 b8e4: 8d 10 06 sta TrianglePeriodLow b8e7: a9 00 lda #$00 b8e9: 8d 11 06 sta TrianglePeriodHigh b8ec: 60 LB8EC_4 rts b8ed: 20 a9 b4 TB8ED_4 jsr LB4A9_4 b8f0: d0 1a bne LB90C_4 b8f2: a9 20 lda #$20 b8f4: 8d 12 06 sta TriangleChangeLow b8f7: a9 00 lda #$00 b8f9: 8d 13 06 sta TriangleChangeHigh b8fc: 20 8c b9 jsr LB98C_4 b8ff: ee 73 06 inc TriangleSFXData b902: ad 73 06 lda TriangleSFXData b905: c9 06 cmp #$06 b907: d0 e3 bne LB8EC_4 b909: 4c 96 b8 jmp LB896_4 b90c: 20 a0 b9 LB90C_4 jsr LB9A0_4 b90f: ad 14 06 lda TriangleLowPercentage b912: 8d 12 06 sta TriangleChangeLow b915: ad 15 06 lda TriangleHighPercentage b918: 8d 13 06 sta TriangleChangeHigh b91b: 20 78 b9 jsr LB978_4 b91e: 4c 69 b8 jmp LB869_4 b921: ad 83 b2 TB921_4 lda LB200_3+131 b924: 8d 10 06 sta TrianglePeriodLow b927: ad 84 b2 lda LB200_3+132 b92a: 29 07 and #$07 b92c: 8d 11 06 sta TrianglePeriodHigh b92f: a9 00 lda #$00 b931: 8d 13 06 sta TriangleChangeHigh b934: a9 0b lda #$0b b936: 8d 12 06 sta TriangleChangeLow b939: a9 06 lda #$06 b93b: a0 81 ldy #$81 b93d: 4c 52 b4 jmp LB452_4 b940: 20 a9 b4 TB940_4 jsr LB4A9_4 b943: d0 2d bne LB972_4 b945: ee 73 06 inc TriangleSFXData b948: ad 73 06 lda TriangleSFXData b94b: c9 09 cmp #$09 b94d: d0 03 bne LB952_4 b94f: 4c 96 b8 jmp LB896_4 b952: ad 12 06 LB952_4 lda TriangleChangeLow b955: 48 pha b956: ad 13 06 lda TriangleChangeHigh b959: 48 pha b95a: a9 25 lda #$25 b95c: 8d 12 06 sta TriangleChangeLow b95f: a9 00 lda #$00 b961: 8d 13 06 sta TriangleChangeHigh b964: 20 78 b9 jsr LB978_4 b967: 68 pla b968: 8d 13 06 sta TriangleChangeHigh b96b: 68 pla b96c: 8d 12 06 sta TriangleChangeLow b96f: 4c 69 b8 jmp LB869_4 b972: 20 8c b9 LB972_4 jsr LB98C_4 b975: 4c 69 b8 jmp LB869_4 b978: 18 LB978_4 clc b979: ad 10 06 lda TrianglePeriodLow b97c: 6d 12 06 adc TriangleChangeLow b97f: 8d 10 06 sta TrianglePeriodLow b982: ad 11 06 lda TrianglePeriodHigh b985: 6d 13 06 adc TriangleChangeHigh b988: 8d 11 06 sta TrianglePeriodHigh b98b: 60 rts b98c: 38 LB98C_4 sec b98d: ad 10 06 lda TrianglePeriodLow b990: ed 12 06 sbc TriangleChangeLow b993: 8d 10 06 sta TrianglePeriodLow b996: ad 11 06 lda TrianglePeriodHigh b999: ed 13 06 sbc TriangleChangeHigh b99c: 8d 11 06 sta TrianglePeriodHigh b99f: 60 rts b9a0: ad 10 06 LB9A0_4 lda TrianglePeriodLow b9a3: 48 pha b9a4: ad 11 06 lda TrianglePeriodHigh b9a7: 48 pha b9a8: a9 00 lda #$00 b9aa: 8d 17 06 sta DivideData b9ad: a2 10 ldx #$10 b9af: 2e 10 06 rol TrianglePeriodLow b9b2: 2e 11 06 rol TrianglePeriodHigh b9b5: 2e 17 06 LB9B5_4 rol DivideData b9b8: ad 17 06 lda DivideData b9bb: cd 16 06 cmp PercentDifference b9be: 90 06 bcc LB9C6_4 b9c0: ed 16 06 sbc PercentDifference b9c3: 8d 17 06 sta DivideData b9c6: 2e 10 06 LB9C6_4 rol TrianglePeriodLow b9c9: 2e 11 06 rol TrianglePeriodHigh b9cc: ca dex b9cd: d0 e6 bne LB9B5_4 b9cf: ad 10 06 lda TrianglePeriodLow b9d2: 8d 14 06 sta TriangleLowPercentage b9d5: ad 11 06 lda TrianglePeriodHigh b9d8: 8d 15 06 sta TriangleHighPercentage b9db: 68 pla b9dc: 8d 11 06 sta TrianglePeriodHigh b9df: 68 pla b9e0: 8d 10 06 sta TrianglePeriodLow b9e3: 60 rts b9e4: a9 7f LB9E4_4 lda #$7f b9e6: 8d 48 06 sta MusicSQ1Sweep b9e9: 8d 49 06 sta MusicSQ2Sweep b9ec: 8e 28 06 stx SQ1DutyEnvelope b9ef: 8c 29 06 sty SQ2DutyEnvelope b9f2: 60 rts b9f3: ad 40 06 LB9F3_4 lda SQ1MusicFrameCount b9f6: c9 01 cmp #$01 b9f8: d0 03 bne LB9FD_4 b9fa: 8d 6a 06 sta SQ1VolumeIndex b9fd: ad 41 06 LB9FD_4 lda SQ2MusicFrameCount ba00: c9 01 cmp #$01 ba02: d0 03 bne LBA07_4 ba04: 8d 6b 06 sta SQ2VolumeIndex ba07: 60 LBA07_4 rts ba08: ad 07 06 LBA08_4 lda WriteMultiChannelData ba0b: f0 29 beq LBA36_4 ba0d: a9 00 lda #$00 ba0f: 8d 07 06 sta WriteMultiChannelData ba12: ad 48 06 lda MusicSQ1Sweep ba15: 8d 01 40 sta SQ1Cntrl1 ba18: ad 00 06 lda MusicSQ1PeriodLow ba1b: 8d 02 40 sta SQ1Cntrl2 ba1e: ad 01 06 lda MusicSQ1PeriodHigh ba21: 8d 03 40 sta SQ1Cntrl3 ba24: ad 49 06 lda MusicSQ2Sweep ba27: 8d 05 40 sta SQ2Cntrl1 ba2a: ad 04 06 lda MusicSQ2PeriodLow ba2d: 8d 06 40 sta SQ2Cntrl2 ba30: ad 05 06 lda MusicSQ2PeriodHigh ba33: 8d 07 40 sta SQ2Cntrl3 ba36: 60 LBA36_4 rts ba37: a2 00 LBA37_4 ldx #$00 ba39: 20 41 ba jsr LBA41_4 ba3c: e8 inx ba3d: 20 41 ba jsr LBA41_4 ba40: 60 rts ba41: bd 2e 06 LBA41_4 lda SQ1VolumeCntrl,x ba44: f0 45 beq LBA8B_4 ba46: 85 eb sta VolumeCntrlAddress ba48: 20 08 ba jsr LBA08_4 ba4b: bd 6c 06 lda SQ1VolumeData,x ba4e: c9 10 cmp #$10 ba50: f0 47 beq LBA99_4 ba52: a0 00 ldy #$00 ba54: c6 eb LBA54_4 dec VolumeCntrlAddress ba56: f0 04 beq LBA5C_4 ba58: c8 iny ba59: c8 iny ba5a: d0 f8 bne LBA54_4 ba5c: b9 b0 bc LBA5C_4 lda LBCB0_4,y ba5f: 85 ec sta $ec ba61: b9 b1 bc lda LBCB0_4+1,y ba64: 85 ed sta $ed ba66: bc 6a 06 ldy SQ1VolumeIndex,x ba69: b1 ec lda ($ec),y ba6b: 85 ea sta Cntrl0Data ba6d: c9 ff cmp #$ff ba6f: f0 1f beq LBA90_4 ba71: c9 f0 cmp #$f0 ba73: f0 20 beq LBA95_4 ba75: bd 28 06 lda SQ1DutyEnvelope,x ba78: 29 f0 and #$f0 ba7a: 05 ea ora Cntrl0Data ba7c: a8 tay ba7d: fe 6a 06 LBA7D_4 inc SQ1VolumeIndex,x ba80: bd 53 06 LBA80_4 lda SQ1InUse,x ba83: d0 06 bne LBA8B_4 ba85: 8a txa ba86: f0 04 beq LBA8C_4 ba88: 8c 04 40 sty SQ2Cntrl0 ba8b: 60 LBA8B_4 rts ba8c: 8c 00 40 LBA8C_4 sty SQ1Cntrl0 ba8f: 60 rts ba90: bc 28 06 LBA90_4 ldy SQ1DutyEnvelope,x ba93: d0 eb bne LBA80_4 ba95: a0 10 LBA95_4 ldy #$10 ba97: d0 e7 bne LBA80_4 ba99: a0 10 LBA99_4 ldy #$10 ba9b: d0 e0 bne LBA7D_4 ba9d: 20 f0 b3 LBA9D_4 jsr LB3F0_4 baa0: 60 rts baa1: 20 37 ba LBAA1_4 jsr LBA37_4 baa4: 60 rts baa5: 20 f3 b9 LBAA5_4 jsr LB9F3_4 baa8: a9 00 lda #$00 baaa: aa tax baab: 8d 4b 06 sta ThisSoundChannel baae: f0 12 beq LBAC2_4 bab0: 8a LBAB0_4 txa bab1: 4a lsr A bab2: aa tax bab3: e8 LBAB3_4 inx bab4: 8a txa bab5: c9 04 cmp #$04 bab7: f0 e8 beq LBAA1_4 bab9: ad 4b 06 lda ThisSoundChannel babc: 18 clc babd: 69 04 adc #$04 babf: 8d 4b 06 sta ThisSoundChannel bac2: 8a LBAC2_4 txa bac3: 0a asl A bac4: aa tax bac5: bd 30 06 lda SQ1LowBaseByte,x bac8: 85 e6 sta $e6 baca: bd 31 06 lda SQ1HighBaseByte,x bacd: 85 e7 sta $e7 bacf: bd 31 06 lda SQ1HighBaseByte,x bad2: f0 dc beq LBAB0_4 bad4: 8a txa bad5: 4a lsr A bad6: aa tax bad7: de 40 06 dec SQ1MusicFrameCount,x bada: d0 d7 bne LBAB3_4 badc: bc 38 06 LBADC_4 ldy SQ1MusicIndexIndex,x badf: fe 38 06 inc SQ1MusicIndexIndex,x bae2: b1 e6 lda ($e6),y bae4: f0 b7 beq LBA9D_4 bae6: a8 tay bae7: c9 ff cmp #$ff bae9: f0 09 beq LBAF4_4 baeb: 29 c0 and #$c0 baed: c9 c0 cmp #$c0 baef: f0 13 beq LBB04_4 baf1: 4c 1c bb jmp LBB1C_4 baf4: bd 24 06 LBAF4_4 lda SQ1RepeatCounter,x baf7: f0 1a beq LBB13_4 baf9: de 24 06 dec SQ1RepeatCounter,x bafc: bd 3c 06 lda SQ1LoopIndex,x baff: 9d 38 06 sta SQ1MusicIndexIndex,x bb02: d0 0f bne LBB13_4 bb04: 98 LBB04_4 tya bb05: 29 3f and #$3f bb07: 9d 24 06 sta SQ1RepeatCounter,x bb0a: de 24 06 dec SQ1RepeatCounter,x bb0d: bd 38 06 lda SQ1MusicIndexIndex,x bb10: 9d 3c 06 sta SQ1LoopIndex,x bb13: 4c dc ba LBB13_4 jmp LBADC_4 bb16: 4c de bb LBB16_4 jmp LBBDE_4 bb19: 4c b7 bb LBB19_4 jmp LBBB7_4 bb1c: 98 LBB1C_4 tya bb1d: 29 b0 and #$b0 bb1f: c9 b0 cmp #$b0 bb21: d0 1d bne LBB40_4 bb23: 98 tya bb24: 29 0f and #$0f bb26: 18 clc bb27: 6d 2b 06 adc NoteLengthTblOffset bb2a: a8 tay bb2b: b9 f7 be lda LBCBA_4+$23d,y bb2e: 9d 20 06 sta SQ1FrameCountInit,x bb31: a8 tay bb32: 8a txa bb33: c9 02 cmp #$02 bb35: f0 e2 beq LBB19_4 bb37: bc 38 06 LBB37_4 ldy SQ1MusicIndexIndex,x bb3a: fe 38 06 inc SQ1MusicIndexIndex,x bb3d: b1 e6 lda ($e6),y bb3f: a8 tay bb40: 8a LBB40_4 txa bb41: c9 03 cmp #$03 bb43: f0 d1 beq LBB16_4 bb45: 48 pha bb46: ae 4b 06 ldx ThisSoundChannel bb49: b9 78 be lda LBCBA_4+$1be,y bb4c: f0 0b beq LBB59_4 bb4e: 9d 00 06 sta MusicSQ1PeriodLow,x bb51: b9 77 be lda LBCBA_4+$1bd,y bb54: 09 08 ora #$08 bb56: 9d 01 06 sta MusicSQ1PeriodHigh,x bb59: a8 LBB59_4 tay bb5a: 68 pla bb5b: aa tax bb5c: 98 tya bb5d: d0 0f bne LBB6E_4 bb5f: a9 00 lda #$00 bb61: 85 ea sta Cntrl0Data bb63: 8a txa bb64: c9 02 cmp #$02 bb66: f0 0b beq LBB73_4 bb68: a9 10 lda #$10 bb6a: 85 ea sta Cntrl0Data bb6c: d0 05 bne LBB73_4 bb6e: bd 28 06 LBB6E_4 lda SQ1DutyEnvelope,x bb71: 85 ea sta Cntrl0Data bb73: 8a LBB73_4 txa bb74: de 53 06 dec SQ1InUse,x bb77: dd 53 06 cmp SQ1InUse,x bb7a: f0 35 beq LBBB1_4 bb7c: fe 53 06 inc SQ1InUse,x bb7f: ac 4b 06 ldy ThisSoundChannel bb82: 8a txa bb83: c9 02 cmp #$02 bb85: f0 05 beq LBB8C_4 bb87: bd 2e 06 lda SQ1VolumeCntrl,x bb8a: d0 05 bne LBB91_4 bb8c: a5 ea LBB8C_4 lda Cntrl0Data bb8e: 99 00 40 sta SQ1Cntrl0,y bb91: a5 ea LBB91_4 lda Cntrl0Data bb93: 9d 6c 06 sta SQ1VolumeData,x bb96: b9 00 06 lda MusicSQ1PeriodLow,y bb99: 99 02 40 sta SQ1Cntrl2,y bb9c: b9 01 06 lda MusicSQ1PeriodHigh,y bb9f: 99 03 40 sta SQ1Cntrl3,y bba2: bd 48 06 lda MusicSQ1Sweep,x bba5: 99 01 40 sta SQ1Cntrl1,y bba8: bd 20 06 LBBA8_4 lda SQ1FrameCountInit,x bbab: 9d 40 06 sta SQ1MusicFrameCount,x bbae: 4c b3 ba jmp LBAB3_4 bbb1: fe 53 06 LBBB1_4 inc SQ1InUse,x bbb4: 4c a8 bb jmp LBBA8_4 bbb7: ad 2d 06 LBBB7_4 lda TriangleCounterCntrl bbba: 29 0f and #$0f bbbc: d0 1a bne LBBD8_4 bbbe: ad 2d 06 lda TriangleCounterCntrl bbc1: 29 f0 and #$f0 bbc3: d0 04 bne LBBC9_4 bbc5: 98 tya bbc6: 4c cd bb jmp LBBCD_4 bbc9: a9 ff LBBC9_4 lda #$ff bbcb: d0 0b bne LBBD8_4 bbcd: 18 LBBCD_4 clc bbce: 69 ff adc #$ff bbd0: 0a asl A bbd1: 0a asl A bbd2: c9 3c cmp #$3c bbd4: 90 02 bcc LBBD8_4 bbd6: a9 3c lda #$3c bbd8: 8d 2a 06 LBBD8_4 sta TriLinearCount bbdb: 4c 37 bb jmp LBB37_4 bbde: ad 88 06 LBBDE_4 lda NoiseContSFX bbe1: 29 fc and #$fc bbe3: d0 12 bne LBBF7_4 bbe5: b9 00 b2 lda LB200_3,y bbe8: 8d 0c 40 sta NoiseCntrl0 bbeb: b9 01 b2 lda LB200_3+1,y bbee: 8d 0e 40 sta NoiseCntrl2 bbf1: b9 02 b2 lda LB200_3+2,y bbf4: 8d 0f 40 sta NoiseCntrl3 bbf7: 4c a8 bb LBBF7_4 jmp LBBA8_4 bbfa: 41 8f 34 27+ LBBFA_4 .bulk $41,$8f,$34,$27,$1a,$0d,$00,$82,$68,$75,$4e,$5b bc06: 80 bc LBC06_1 .dd2 TBC80_2 bc08: 7a bc .dd2 TBC7A_2 bc0a: 86 bc .dd2 TBC86_2 bc0c: 7a bc .dd2 TBC7A_2 bc0e: ee b4 .dd2 TB4EE_4 bc10: 73 b6 .dd2 TB673_2 bc12: ec b5 .dd2 TB5EC_2 bc14: 95 b6 .dd2 TB695_2 bc16: ee b4 LBC16_1 .dd2 TB4EE_4 bc18: ee b4 .dd2 TB4EE_4 bc1a: ee b4 .dd2 TB4EE_4 bc1c: ee b4 .dd2 TB4EE_4 bc1e: ee b4 .dd2 TB4EE_4 bc20: 50 b6 .dd2 TB650_2 bc22: f6 b5 .dd2 TB5F6_2 bc24: a1 b6 .dd2 TB6A1_2 bc26: 83 bc LBC26_1 .dd2 TBC83_2 bc28: 77 bc .dd2 TBC77_2 bc2a: 77 bc .dd2 TBC77_2 bc2c: 77 bc .dd2 TBC77_2 bc2e: 80 bc .dd2 TBC80_2 bc30: 7d bc .dd2 TBC7D_2 bc32: 77 bc .dd2 TBC77_2 bc34: 80 bc .dd2 TBC80_2 bc36: ad 5d 06 LBC36_3 lda CurrentMusicRepeat bc39: a2 b6 ldx #$b6 bc3b: d0 05 bne LBC42_3 bc3d: ad 85 06 LBC3D_1 lda MusicInitFlag bc40: a2 b1 ldx #$b1 bc42: 20 bd b4 LBC42_3 jsr LB4BD_4 bc45: 20 53 bc jsr LBC53_3 bc48: 6c e2 00 jmp ($00e2) bc4b: ad 8d 06 LBC4B_1 lda CurrentMusic bc4e: f0 26 beq LBC76_4 bc50: 4c a5 ba jmp LBAA5_4 bc53: a9 ff LBC53_3 lda #$ff bc55: 8d 5e 06 sta MusicInitIndex bc58: ad 4d 06 lda CurrentSFXFlags bc5b: f0 06 beq LBC63_3 bc5d: ee 5e 06 LBC5D_3 inc MusicInitIndex bc60: 0a asl A bc61: 90 fa bcc LBC5D_3 bc63: 60 LBC63_3 rts bc64: ad 5e 06 LBC64_3 lda MusicInitIndex bc67: 18 clc bc68: 69 08 adc #$08 bc6a: 8d 5e 06 sta MusicInitIndex bc6d: 60 rts bc6e: ad 8d 06 lda CurrentMusic bc71: 09 f0 ora #$f0 bc73: 8d 8d 06 sta CurrentMusic bc76: 60 LBC76_4 rts bc77: 4c aa bc TBC77_2 jmp LBCAA_4 bc7a: 4c a4 bc TBC7A_2 jmp LBCA4_4 bc7d: 4c 9a bc TBC7D_2 jmp LBC9A_4 bc80: 4c 96 bc TBC80_2 jmp LBC96_4 bc83: 4c 89 bc TBC83_2 jmp LBC89_4 bc86: 4c 9e bc TBC86_2 jmp LBC9E_4 bc89: a9 b3 LBC89_4 lda #$b3 bc8b: aa LBC8B_4 tax bc8c: a8 tay bc8d: 20 e4 b9 LBC8D_4 jsr LB9E4_4 bc90: 20 19 bf jsr LBF19_4 bc93: 4c a5 ba jmp LBAA5_4 bc96: a9 34 LBC96_4 lda #$34 bc98: d0 f1 bne LBC8B_4 bc9a: a9 f4 LBC9A_4 lda #$f4 bc9c: d0 ed bne LBC8B_4 bc9e: a2 f5 LBC9E_4 ldx #$f5 bca0: a0 f6 ldy #$f6 bca2: d0 e9 bne LBC8D_4 bca4: a2 b6 LBCA4_4 ldx #$b6 bca6: a0 f6 ldy #$f6 bca8: d0 e3 bne LBC8D_4 bcaa: a2 92 LBCAA_4 ldx #$92 bcac: a0 96 ldy #$96 bcae: d0 dd bne LBC8D_4 bcb0: ba bc LBCB0_4 .dd2 LBCBA_4 bcb2: c5 bc .dd2 LBCBA_4+11 bcb4: cf bc .dd2 LBCBA_4+21 bcb6: da bc .dd2 LBCBA_4+32 bcb8: 03 bd .dd2 LBCBA_4+73 bcba: 01 02 02 03+ LBCBA_4 .bulk $01,$02,$02,$03,$03,$04,$05,$06,$07,$08,$ff,$02,$04,$05,$06,$07 + $08,$07,$06,$05,$ff,$00,$0d,$09,$07,$06,$05,$05,$05,$04,$04,$ff + $02,$06,$07,$07,$07,$06,$06,$06,$06,$05,$05,$05,$04,$04,$04,$03 + $03,$03,$03,$02,$03,$03,$03,$03,$03,$02,$02,$02,$02,$02,$02,$02 + $02,$02,$02,$01,$01,$01,$01,$01,$f0,$0a,$0a,$09,$08,$07,$06,$05 + $04,$03,$02,$07,$07,$06,$05,$04,$04,$03,$02,$02,$02,$05,$05,$05 + $04,$03,$02,$02,$02,$01,$01,$04,$04,$03,$02,$01,$02,$02,$01,$01 + $01,$02,$02,$02,$01,$01,$f0,$0b,$ff,$f5,$00,$00,$00,$01,$00,$03 + $00,$05,$00,$00,$0b,$ff,$00,$02,$02,$00,$01,$00,$03,$00,$05,$00 + $07,$0b,$ff,$f0,$04,$04,$00,$01,$00,$03,$00,$05,$00,$07,$00,$ff + $f0,$00,$00,$3f,$b0,$41,$b0,$aa,$b0,$00,$00,$0b,$ff,$03,$00,$00 + $da,$bd,$dc,$bd,$cd,$bd,$00,$00,$0b,$ff,$f0,$01,$01,$22,$b0,$31 + $b0,$00,$b0,$00,$00,$17,$00,$00,$02,$01,$00,$01,$00,$03,$00,$05 + $00,$07,$17,$00,$f0,$02,$05,$00,$01,$00,$03,$00,$05,$00,$07,$0b + $00,$f0,$02,$00,$3e,$be,$1d,$be,$36,$be,$00,$00,$00,$00,$f0,$01 + $00,$f7,$bd,$0d,$be,$08,$be,$00,$00,$0b,$ff,$00,$02,$03,$00,$01 + $00,$03,$00,$05,$00,$07,$0b,$ff,$03,$00,$00,$59,$be,$47,$be,$62 + $be,$00,$00,$c8,$b0,$38,$3a,$3c,$3e,$40,$3e,$3c,$3a,$b6,$02,$ff + $b8,$02,$b3,$02,$b2,$74,$02,$6a,$02,$72,$02,$62,$b4,$02,$b2,$60 + $02,$6c,$02,$76,$b3,$02,$b2,$7e,$02,$7c,$b3,$02,$00,$b3,$48,$42 + $b2,$3e,$38,$30,$38,$4c,$44,$3e,$36,$c8,$b0,$38,$3c,$ff,$b4,$2c + $2a,$1e,$1c,$b2,$22,$2c,$30,$34,$38,$30,$26,$30,$3a,$34,$2c,$26 + $b4,$2a,$00,$c4,$b0,$3e,$30,$ff,$c4,$42,$30,$ff,$c4,$3a,$2c,$ff + $c4,$38,$26,$ff,$c4,$34,$20,$ff,$e0,$34,$24,$ff,$b3,$36,$34,$30 + $2a,$b4,$1c,$1c,$b3,$34,$3a,$34,$30,$b4,$2a,$2a,$00,$b4,$12,$b3 + $10,$18,$16,$0a,$b4,$14,$12,$b3,$10,$06,$0e,$04,$b4,$0c,$00,$e0 + $b0,$54,$4e,$48,$42,$48,$4e,$ff,$e0,$b3,$02,$b0,$3c,$40,$44,$4a + $4e,$54,$58,$5c,$62,$66,$6c,$70,$74,$7a,$b3,$02,$ff,$07,$f0,$00 + $00,$06,$4e,$05,$f3,$05,$4d,$05,$01,$04,$b9,$04,$75,$04,$35,$03 + $f8,$03,$bf,$03,$89,$03,$57,$03,$27,$02,$f9,$02,$cf,$02,$a6,$02 + $80,$02,$5c,$02,$3a,$02,$1a,$01,$fc,$01,$df,$01,$c4,$01,$ab,$01 + $93,$01,$7c,$01,$67,$01,$52,$01,$3f,$01,$2d,$01,$1c,$01,$0c,$00 + $fd,$00,$ee,$00,$e1,$00,$d4,$00,$c8,$00,$bd,$00,$b2,$00,$a8,$00 + $9f,$00,$96,$00,$8d,$00,$85,$00,$7e,$00,$76,$00,$70,$00,$69,$00 + $63,$00,$5e,$00,$58,$00,$53,$00,$4f,$00,$4a,$00,$46,$00,$42,$00 + $3e,$00,$3a,$00,$37,$00,$34,$00,$31,$00,$2e,$00,$27,$04,$08,$10 + $20,$40,$18,$30,$0c,$0b,$05,$02,$06,$0c,$18,$30,$60,$24,$48,$12 + $10,$08,$03,$10,$07,$0e,$1c,$38,$70,$2a,$54,$15,$12,$02,$03 bf19: 20 fc b3 LBF19_4 jsr LB3FC_4 bf1c: ad 4d 06 lda CurrentSFXFlags bf1f: 8d 8d 06 sta CurrentMusic bf22: ad 5e 06 lda MusicInitIndex bf25: a8 tay bf26: b9 fa bb lda LBBFA_4,y bf29: a8 tay bf2a: a2 00 ldx #$00 bf2c: b9 31 bd LBF2C_4 lda LBCBA_4+119,y bf2f: 9d 2b 06 sta NoteLengthTblOffset,x bf32: c8 iny bf33: e8 inx bf34: 8a txa bf35: c9 0d cmp #$0d bf37: d0 f3 bne LBF2C_4 bf39: a9 01 lda #$01 bf3b: 8d 40 06 sta SQ1MusicFrameCount bf3e: 8d 41 06 sta SQ2MusicFrameCount bf41: 8d 42 06 sta TriangleMusicFrameCount bf44: 8d 43 06 sta NoiseMusicFrameCount bf47: a9 00 lda #$00 bf49: 8d 38 06 sta SQ1MusicIndexIndex bf4c: 8d 39 06 sta SQ2MusicIndexIndex bf4f: 8d 3a 06 sta TriangleMusicIndexIndex bf52: 8d 3b 06 sta NoiseMusicIndexIndex bf55: 60 rts bf56: 10 07 0e 1c+ .junk 90 bfb0: 78 RESET_R sei bfb1: d8 cld bfb2: a2 00 ldx #$00 bfb4: 8e 00 20 stx PPUControl0 bfb7: 8e 01 20 stx PPUControl1 bfba: ad 02 20 LBFBA_4 lda PPUStatus bfbd: 10 fb bpl LBFBA_4 bfbf: ad 02 20 LBFBF_4 lda PPUStatus bfc2: 10 fb bpl LBFBF_4 bfc4: 09 ff ora #$ff bfc6: 8d 00 80 sta MMC1Reg0 bfc9: 8d 00 a0 sta MMC1Reg1 bfcc: 8d 00 c0 sta MMC1Reg2 bfcf: 8d 00 e0 sta MMC1Reg3 bfd2: 4c 1a c0 jmp Startup bfd5: ff ff ff ff+ .junk 37 bffa: d9 c0 .dd2 NMI bffc: b0 bf .dd2 RESET_R bffe: b0 bf .dd2 RESET_R .adrend β $8000 .addrs $8000 8000: 00 07 1f 3f+ .bulk $00,$07,$1f,$3f,$2d,$4b,$0d,$1d,$00,$00,$00,$00,$32,$64,$62,$41 + $00,$00,$c0,$e0,$f0,$f0,$30,$e0,$00,$00,$00,$40,$20,$00,$00,$c0 + $03,$0f,$1f,$16,$25,$06,$0f,$3e,$00,$00,$00,$19,$32,$31,$20,$00 + $80,$e0,$f0,$f8,$f8,$f8,$70,$d0,$00,$00,$20,$10,$00,$00,$70,$f8 + $00,$10,$6c,$c6,$c6,$6c,$10,$00,$10,$92,$54,$ba,$ba,$54,$92,$10 + $07,$1f,$3f,$2d,$4b,$0d,$1f,$7d,$00,$00,$00,$32,$64,$62,$40,$01 + $00,$c0,$e0,$f0,$f0,$f0,$e0,$e0,$00,$00,$40,$20,$00,$00,$00,$e0 + $f6,$f6,$ed,$ed,$fe,$7c,$70,$30,$f0,$f1,$e2,$ea,$d8,$58,$70,$00 + $00,$80,$c0,$e0,$60,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$07,$0b,$05,$12,$10,$1c,$76,$00,$01,$04,$0e,$0f,$0b,$01,$70 + $80,$e0,$d0,$a0,$48,$08,$38,$6e,$00,$00,$20,$70,$f0,$d0,$80,$0e + $00,$27,$09,$00,$12,$00,$64,$04,$00,$01,$04,$0a,$8e,$09,$60,$00 + $84,$60,$50,$20,$48,$00,$28,$04,$04,$00,$20,$30,$f0,$50,$00,$04 + $01,$07,$0f,$1f,$1f,$1f,$0f,$0f,$00,$00,$04,$08,$00,$00,$07,$0f + $c0,$f0,$f8,$68,$a4,$60,$b0,$5c,$00,$00,$00,$98,$4c,$8c,$84,$c0 + $c0,$e0,$f0,$b8,$98,$9c,$cc,$ec,$00,$00,$00,$40,$60,$60,$30,$10 + $7b,$3a,$15,$0d,$1d,$0b,$0b,$13,$03,$07,$0b,$03,$32,$54,$54,$3a + $40,$e0,$f0,$38,$f8,$f8,$e0,$c0,$e0,$e0,$f0,$f8,$60,$30,$30,$20 + $1d,$0b,$06,$0e,$1d,$33,$03,$01,$61,$94,$f1,$f1,$73,$37,$03,$00 + $be,$fb,$ff,$ff,$fe,$f8,$e0,$e0,$fe,$fc,$c7,$c3,$c2,$e0,$e0,$e0 + $18,$18,$3c,$00,$18,$18,$18,$bd,$18,$00,$24,$00,$18,$00,$00,$91 + $3f,$11,$67,$ef,$fe,$fd,$7b,$33,$07,$0b,$07,$2f,$7e,$6d,$43,$03 + $f8,$ee,$f6,$fc,$f8,$f0,$e0,$e0,$f8,$ec,$f0,$fc,$f8,$f0,$e0,$e0 + $20,$00,$00,$20,$00,$00,$00,$00,$78,$f8,$fc,$7c,$00,$00,$00,$00 + $0c,$3f,$77,$da,$f7,$ae,$fc,$68,$00,$00,$06,$1a,$15,$24,$10,$08 + $fa,$fd,$3f,$7f,$4f,$c6,$91,$09,$fc,$fa,$72,$64,$50,$09,$fb,$3d + $5f,$bf,$fc,$fe,$f2,$63,$93,$ef,$3f,$5f,$4e,$86,$0a,$90,$f3,$e7 + $0a,$d8,$2c,$70,$11,$c0,$00,$01,$08,$d8,$64,$60,$00,$40,$08,$01 + $50,$93,$e8,$6e,$10,$20,$00,$04,$10,$03,$48,$06,$00,$08,$80,$00 + $1e,$1d,$1d,$1e,$0e,$0f,$07,$07,$1f,$1f,$1d,$1f,$0f,$0f,$07,$07 + $be,$fe,$fc,$f8,$e0,$fc,$3e,$9a,$ef,$ff,$cf,$63,$00,$20,$f0,$80 + $ee,$f6,$f6,$fe,$fe,$fe,$ff,$ff,$10,$08,$08,$00,$00,$00,$00,$00 + $01,$01,$00,$00,$01,$01,$00,$01,$01,$01,$00,$00,$00,$00,$00,$00 + $e0,$f0,$f0,$f0,$e0,$e0,$e0,$f8,$e0,$f0,$f0,$f0,$e0,$e0,$e0,$40 + $3f,$7f,$77,$38,$1e,$1f,$03,$1d,$1f,$6f,$77,$38,$0c,$00,$0c,$02 + $f0,$f0,$f0,$e0,$e0,$60,$70,$3c,$f0,$f0,$f0,$e0,$e0,$60,$70,$2c + $99,$ff,$bd,$18,$00,$00,$00,$00,$b5,$f7,$91,$10,$00,$00,$00,$00 + $01,$01,$03,$07,$07,$0e,$0e,$1c,$01,$01,$03,$07,$07,$0e,$0e,$00 + $f0,$f1,$f1,$e3,$77,$3f,$3f,$1c,$f0,$f0,$f0,$e0,$77,$36,$36,$0c + $00,$c0,$c0,$b0,$b0,$b8,$18,$00,$00,$00,$20,$40,$40,$00,$00,$00 + $40,$ff,$ff,$ff,$3f,$ff,$ff,$7f,$3f,$00,$00,$26,$26,$00,$00,$00 + $01,$01,$00,$02,$0c,$0c,$1c,$18,$5f,$29,$12,$0e,$0c,$0c,$0c,$10 + $ff,$f6,$66,$7c,$30,$30,$38,$18,$e1,$e0,$60,$70,$30,$30,$30,$08 + $20,$38,$62,$58,$08,$c0,$98,$70,$20,$08,$00,$00,$10,$08,$00,$00 + $00,$04,$06,$12,$10,$4b,$05,$0e,$00,$00,$00,$00,$06,$10,$00,$00 + $0f,$0f,$0f,$07,$07,$07,$07,$07,$0f,$0f,$0f,$07,$07,$07,$07,$06 + $80,$c0,$e0,$f0,$70,$38,$38,$f0,$80,$c0,$e0,$f0,$70,$20,$30,$70 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$08,$3c,$38,$3c,$08,$00,$00,$00,$10,$28,$04,$28,$10,$00,$00 + $fe,$7b,$3f,$3e,$1f,$0f,$37,$7a,$f0,$7c,$3c,$0e,$06,$10,$08,$04 + $3c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $3f,$1f,$07,$02,$01,$00,$01,$03,$0e,$0e,$00,$01,$00,$00,$00,$00 + $80,$c0,$00,$c0,$c0,$c0,$c0,$80,$00,$00,$c0,$00,$00,$00,$00,$00 + $1c,$0e,$07,$07,$07,$09,$1e,$3e,$0c,$0e,$07,$03,$00,$06,$01,$00 + $18,$00,$00,$80,$c0,$c0,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$18,$34,$3c,$3c,$18,$00,$00,$00,$00,$18,$14,$24,$00,$00,$00 + $00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$66,$66,$00,$00,$00 + $38,$38,$38,$78,$08,$f0,$f8,$70,$38,$38,$38,$10,$70,$08,$00,$00 + $00,$00,$00,$66,$66,$66,$00,$00,$00,$00,$00,$66,$66,$00,$00,$00 + $07,$07,$07,$07,$0b,$1d,$3d,$00,$06,$07,$03,$01,$04,$02,$02,$00 + $f0,$f8,$3e,$9f,$8f,$83,$1c,$3c,$30,$78,$3c,$04,$00,$0c,$02,$00 + $48,$a1,$6a,$dd,$aa,$23,$07,$01,$40,$00,$4a,$50,$ee,$17,$93,$03 + $00,$00,$40,$20,$80,$a4,$a0,$74,$00,$00,$40,$00,$80,$24,$00,$e0 + $1f,$60,$91,$a3,$a3,$a7,$80,$81,$00,$00,$11,$20,$21,$25,$00,$01 + $02,$07,$0f,$1c,$1f,$1f,$0f,$07,$07,$07,$0f,$1c,$07,$0f,$0f,$07 + $de,$5c,$a8,$60,$f0,$c0,$80,$e0,$c0,$e0,$d0,$60,$88,$3c,$04,$98 + $1f,$37,$37,$1f,$07,$07,$07,$07,$1f,$3f,$3f,$1f,$07,$07,$07,$07 + $fc,$88,$e0,$f0,$7c,$be,$de,$cc,$e0,$d0,$e0,$f0,$7c,$ba,$da,$c4 + $7d,$c7,$f8,$fc,$7c,$18,$07,$07,$7f,$27,$ff,$ff,$7e,$1f,$07,$07 + $b8,$d0,$38,$1c,$1c,$38,$80,$80,$80,$80,$f8,$fc,$3c,$f8,$c0,$00 + $02,$00,$00,$02,$00,$00,$00,$00,$07,$0f,$0f,$07,$00,$00,$00,$00 + $7d,$7a,$36,$3e,$0e,$0d,$05,$03,$83,$c5,$e9,$f1,$01,$02,$02,$03 + $f0,$fc,$ee,$de,$fc,$f8,$f0,$e0,$f0,$fc,$f0,$dc,$3c,$18,$00,$00 + $0f,$1f,$3f,$3e,$1f,$0f,$07,$07,$0f,$1f,$1f,$1f,$1f,$0f,$07,$07 + $fe,$be,$7c,$fc,$b0,$d0,$e0,$c0,$f3,$ff,$ff,$dc,$c0,$e0,$e0,$c0 + $40,$00,$00,$40,$00,$00,$00,$00,$e0,$f0,$f0,$e0,$00,$00,$00,$00 + $3c,$66,$c3,$99,$99,$c3,$66,$3c,$00,$00,$18,$3c,$3c,$18,$00,$00 + $38,$38,$38,$1c,$1c,$1a,$17,$0f,$38,$38,$38,$1c,$08,$04,$08,$00 + $a8,$5c,$4a,$1d,$3a,$16,$2d,$14,$e0,$c8,$68,$91,$38,$52,$25,$30 + $81,$83,$93,$93,$95,$9f,$93,$ff,$00,$00,$11,$11,$17,$1f,$11,$00 + $00,$00,$00,$03,$0f,$1f,$1b,$33,$00,$00,$00,$03,$01,$03,$07,$0f + $00,$00,$00,$c0,$f0,$f8,$f8,$fc,$00,$00,$00,$c0,$f0,$f8,$38,$bc + $00,$07,$1f,$3f,$3f,$77,$74,$5f,$00,$00,$08,$10,$00,$0b,$0f,$27 + $00,$00,$c0,$c0,$e0,$e0,$f0,$78,$00,$00,$00,$00,$00,$e0,$f0,$f8 + $00,$03,$07,$1f,$7f,$7f,$fc,$fb,$00,$03,$07,$0f,$1f,$5f,$9e,$1f + $f8,$fe,$ff,$ff,$ef,$de,$bd,$7b,$f8,$fe,$ff,$ff,$ff,$ff,$ff,$7e + $00,$00,$00,$40,$e0,$e0,$c0,$a0,$00,$00,$00,$00,$00,$00,$20,$40 + $14,$3f,$7e,$7c,$5e,$7c,$3e,$14,$00,$19,$0a,$14,$16,$04,$1a,$00 + $00,$e9,$49,$49,$49,$49,$49,$00,$00,$e9,$49,$49,$49,$49,$49,$00 + $00,$17,$b4,$57,$54,$14,$17,$00,$00,$17,$b4,$57,$54,$14,$17,$00 + $20,$71,$7b,$3f,$1f,$0f,$1f,$3f,$00,$20,$30,$1a,$0e,$06,$0e,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $3c,$66,$c3,$81,$81,$c3,$66,$3c,$24,$42,$99,$3c,$3c,$99,$42,$24 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$00,$11,$77,$77,$11,$00,$01,$01,$00,$10,$45,$44,$10,$00,$01 + $e0,$40,$60,$f0,$f0,$60,$40,$e0,$e0,$40,$c0,$f0,$00,$c0,$40,$e0 + $37,$3f,$3f,$3f,$1f,$1f,$0f,$03,$0f,$1e,$36,$23,$07,$1f,$0b,$00 + $fc,$fc,$fc,$fc,$f8,$f8,$70,$c0,$fc,$7c,$fc,$fc,$f8,$78,$90,$00 + $1f,$3f,$7e,$7c,$78,$1f,$3f,$3d,$6f,$7f,$7e,$3d,$1b,$07,$0b,$1f + $78,$fc,$7c,$fc,$fe,$7e,$de,$fe,$f8,$fc,$7c,$fc,$fe,$fe,$fe,$fe + $f7,$f7,$7f,$7f,$3b,$11,$00,$00,$1f,$07,$07,$03,$07,$0d,$00,$00 + $b7,$af,$be,$bc,$f8,$d8,$c0,$00,$fe,$be,$ae,$9c,$c8,$80,$00,$00 + $60,$60,$60,$20,$00,$00,$00,$00,$80,$00,$00,$00,$00,$00,$00,$00 + $20,$40,$00,$00,$00,$00,$00,$00,$3c,$7e,$df,$df,$df,$c3,$7e,$3c + $1c,$3e,$7f,$7f,$7f,$7f,$3e,$1c,$00,$10,$20,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$48,$00,$00,$18,$00,$00,$30,$78,$78,$78,$78,$78 + $80,$c0,$60,$f0,$30,$18,$08,$00,$00,$00,$80,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$80,$80,$c0,$00,$00,$00,$00,$00,$00,$00,$00 + $c0,$c0,$e0,$e0,$e0,$f0,$f0,$f0,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$7d,$41,$41,$41,$41,$01,$ff,$fe,$82,$82,$82,$82,$82,$fe,$00 + $01,$7d,$7d,$7d,$7d,$7d,$01,$ff,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$00 + $3c,$7e,$f3,$c1,$c1,$f3,$7e,$3c,$00,$20,$00,$00,$00,$00,$20,$00 + $3c,$7e,$f3,$c1,$c1,$f3,$7e,$3c,$00,$20,$00,$0c,$0c,$00,$20,$00 + $3f,$1f,$07,$01,$01,$00,$03,$07,$3f,$1f,$07,$01,$00,$00,$00,$00 + $7e,$be,$dc,$f8,$f0,$78,$b8,$d0,$fe,$fe,$fc,$d8,$00,$80,$40,$20 + $00,$00,$00,$00,$01,$05,$09,$0a,$00,$00,$00,$0a,$05,$16,$04,$19 + $02,$48,$35,$4a,$36,$98,$30,$20,$00,$04,$1e,$38,$22,$50,$30,$40 + $fe,$fe,$c0,$fc,$fc,$c0,$fe,$fe,$fe,$c0,$c0,$fc,$c0,$c0,$fe,$00 + $1f,$1f,$1f,$0f,$0f,$0f,$07,$07,$1f,$1f,$1f,$0f,$0f,$0f,$07,$07 + $c0,$60,$60,$60,$a0,$c0,$c0,$80,$80,$80,$80,$80,$c0,$c0,$c0,$80 + $07,$1f,$3f,$3d,$79,$7b,$7b,$3b,$01,$01,$00,$03,$27,$2f,$0f,$1f + $e0,$e0,$e0,$f0,$f0,$f0,$f0,$a0,$e0,$e0,$80,$00,$a0,$c0,$c0,$c0 + $06,$07,$07,$07,$06,$05,$05,$05,$00,$00,$00,$00,$00,$01,$01,$01 + $00,$f0,$80,$7f,$e0,$fe,$c0,$fc,$00,$00,$00,$7f,$f0,$fe,$e0,$fc + $00,$03,$0f,$1f,$1f,$3f,$3f,$3f,$00,$03,$0e,$19,$11,$33,$2f,$2f + $00,$c0,$f0,$f8,$f8,$fc,$fc,$fc,$00,$c0,$70,$f8,$f8,$fc,$fc,$fc + $c6,$e6,$f6,$fe,$fe,$de,$ce,$c6,$c6,$e6,$f6,$fe,$de,$ce,$c6,$00 + $00,$00,$00,$00,$13,$07,$2f,$07,$00,$00,$07,$1f,$3c,$3b,$77,$7b + $03,$06,$3c,$f8,$f0,$e0,$c0,$c0,$02,$04,$c8,$30,$e0,$c8,$9c,$9c + $40,$80,$00,$03,$05,$0e,$1f,$1f,$60,$90,$88,$44,$21,$14,$0c,$08 + $02,$01,$00,$c0,$e0,$f0,$68,$98,$06,$09,$11,$02,$04,$08,$00,$00 + $2f,$61,$af,$e8,$e8,$e8,$e8,$e8,$20,$6e,$e0,$e7,$e4,$e7,$e4,$e7 + $f4,$f6,$f5,$17,$17,$37,$37,$17,$04,$06,$07,$e7,$07,$c7,$07,$e7 + $00,$00,$08,$10,$03,$07,$0f,$0c,$1f,$20,$28,$50,$40,$42,$40,$40 + $00,$00,$00,$00,$c0,$e0,$30,$10,$f8,$04,$04,$02,$02,$02,$02,$c2 + $07,$07,$1a,$7a,$a2,$26,$7e,$bb,$00,$00,$00,$08,$00,$00,$00,$00 + $38,$7c,$fe,$fe,$fe,$fe,$7c,$38,$38,$5c,$be,$fe,$fe,$fe,$7c,$38 + $3c,$7e,$e7,$db,$db,$e7,$7e,$3c,$00,$00,$00,$18,$18,$00,$00,$00 + $05,$05,$01,$0c,$1e,$7e,$fc,$00,$01,$01,$01,$00,$00,$00,$02,$fc + $80,$f8,$40,$a0,$70,$f0,$70,$00,$c0,$f8,$40,$80,$00,$00,$80,$f0 + $3f,$3f,$1f,$1f,$0e,$03,$00,$00,$3f,$3f,$1f,$1f,$0e,$03,$00,$00 + $fc,$fc,$e8,$98,$30,$c0,$00,$00,$fc,$fc,$e8,$98,$30,$c0,$00,$00 + $7e,$ff,$ff,$ff,$ff,$ff,$ff,$7e,$24,$66,$e7,$18,$18,$e7,$66,$24 + $01,$03,$07,$0f,$1f,$3c,$70,$c0,$7f,$7d,$7b,$37,$2c,$10,$23,$40 + $e0,$f0,$e0,$c0,$00,$00,$00,$00,$c4,$e4,$cc,$18,$38,$f0,$c0,$00 + $1f,$1f,$0e,$05,$03,$00,$80,$40,$00,$00,$00,$20,$44,$88,$90,$60 + $98,$68,$f0,$e0,$c0,$00,$01,$02,$00,$00,$08,$04,$22,$11,$09,$06 + $e8,$6f,$2f,$00,$24,$24,$24,$00,$e0,$60,$20,$00,$24,$24,$00,$7f + $17,$f6,$f4,$00,$24,$24,$24,$00,$07,$06,$04,$00,$24,$24,$00,$fe + $0c,$0f,$07,$03,$00,$00,$7f,$1f,$40,$40,$42,$40,$40,$41,$7f,$1f + $10,$30,$e0,$c0,$00,$00,$fe,$f8,$c2,$02,$02,$02,$02,$82,$fe,$f8 + $15,$79,$02,$4f,$9f,$bb,$7c,$1a,$00,$00,$02,$08,$00,$20,$00,$00 + $84,$f8,$60,$b6,$f5,$61,$48,$74,$00,$00,$00,$80,$00,$00,$00,$00 89a0: 28 28 44 83+ .bulk $28,$28,$44,$83,$00,$83,$44,$28,$38,$38,$7c,$ff,$ff,$ff,$7c,$38 + $00,$00,$00,$ff,$00,$ff,$00,$00,$00,$00,$00,$ff,$ff,$ff,$00,$00 + $00,$00,$00,$e8,$92,$e8,$00,$00,$00,$10,$10,$d0,$ef,$d0,$10,$10 + $00,$10,$6c,$d6,$d6,$6c,$10,$00,$10,$92,$54,$aa,$aa,$54,$92,$10 + $10,$28,$6c,$92,$6c,$28,$10,$00,$10,$10,$38,$fe,$38,$10,$10,$00 + $0c,$1e,$3f,$5f,$be,$54,$28,$90,$00,$00,$18,$0c,$34,$50,$20,$80 + $00,$04,$1a,$24,$24,$58,$20,$00,$01,$46,$3e,$3c,$3c,$7c,$62,$80 + $00,$00,$28,$00,$28,$00,$00,$00,$00,$10,$38,$fe,$38,$10,$00,$00 + $00,$10,$28,$28,$10,$28,$28,$38,$10,$10,$38,$10,$ee,$10,$38,$38 + $28,$28,$28,$28,$28,$28,$28,$28,$38,$38,$38,$38,$38,$38,$38,$38 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$18,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$04,$00,$00,$40,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$04,$00,$00,$00,$00,$00,$00,$00,$00,$00,$40,$00,$00,$00 8aa0: ff 04 00 00+ .bulk $ff,$04,$00,$00,$5a,$ff,$13,$00,$00,$b0,$b1,$b2,$b3,$ff,$13,$00 + $00,$b4,$b5,$b6,$b7,$b8,$b6,$b9,$b3,$ff,$13,$00,$00,$b3,$ba,$ba + $fe,$80,$80,$ff,$1e,$00,$08,$fa,$fb,$fa,$fb,$fc,$00,$04,$c5,$c6 + $c7,$d5,$d6,$d7,$e5,$e6,$e7,$ff,$1e,$00,$08,$fa,$fb,$fa,$fb,$fe + $c8,$c9,$eb,$d8,$d9,$ea,$e8,$e9,$ff,$0a,$04,$08,$fd,$00,$57,$fd + $40,$57,$ff,$0b,$04,$0c,$fd,$00,$57,$18,$fd,$40,$18,$57,$fd,$c0 + $18,$18,$ff,$0c,$04,$10,$fd,$00,$57,$18,$fd,$40,$18,$57,$fd,$c0 + $18,$18,$ff,$a5,$56,$d0,$55,$a4,$58,$f0,$51,$85,$95,$85,$96,$a5 + $2e,$29,$0f,$85,$93,$0a,$09,$40,$85,$94,$a5,$ff,$49,$01,$29,$01 + $a8,$4a,$99,$6c,$00,$a5,$49,$29,$02,$d0,$10,$a2,$04,$a5,$fc,$f0 + $2c,$a5,$ff,$4d,$0c,$03,$4a,$90,$0a,$b0,$07,$a2,$02,$ad,$0e,$03 + $10,$01,$ca,$8a,$85,$57,$20,$74,$8b,$a9,$12,$85,$59,$a5,$58,$20 + $c5,$c2,$0d,$00,$03,$85,$58,$a9,$05,$8d,$00,$03,$60,$20,$53,$8b + $20,$1b,$e2,$8a,$09,$80,$85,$56,$60,$a2,$b0,$20,$87,$8b,$a5,$4b + $38,$e9,$10,$aa,$30,$f5,$60,$86,$4b,$bd,$00,$03,$20,$7c,$c2,$5c + $c4,$9d,$8b,$d5,$8b,$01,$8c,$84,$8c,$c6,$8c,$f0,$8c,$fe,$00,$03 + $a9,$30,$20,$fa,$d2,$20,$fb,$8c,$bc,$07,$03,$b9,$d1,$8b,$9d,$0f + $03,$bd,$07,$03,$c9,$03,$d0,$02,$a9,$01,$09,$a0,$85,$6b,$a9,$00 + $9d,$0a,$03,$8a,$29,$10,$49,$10,$05,$6b,$85,$6b,$a9,$06,$4c,$47 + $de,$05,$01,$0a,$01,$bd,$0a,$03,$29,$04,$f0,$d5,$de,$0f,$03,$d0 8be0: 7f 40 40 40+ .bulk $7f,$40,$40,$40,$40,$40,$40,$40,$00,$3f,$3f,$3f,$3f,$3f,$3f,$3f + $00,$00,$02,$03,$03,$03,$03,$03,$ff,$ff,$fd,$fc,$fd,$fd,$fd,$fd + $03,$03,$02,$02,$02,$02,$02,$02,$fd,$fd,$fc,$fc,$fc,$fc,$fc,$fc + $fe,$02,$02,$02,$02,$02,$02,$02,$00,$fc,$fc,$fc,$fc,$fc,$fc,$fc + $40,$40,$40,$40,$40,$40,$40,$40,$3f,$3f,$3f,$3f,$3f,$3f,$3f,$3f + $20,$20,$20,$20,$20,$20,$20,$20,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 + $04,$04,$04,$04,$04,$04,$04,$04,$03,$03,$03,$03,$03,$03,$03,$03 + $02,$02,$02,$02,$02,$02,$02,$02,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc + $00,$00,$66,$00,$00,$00,$00,$18,$7e,$7e,$7e,$18,$18,$18,$18,$18 + $00,$00,$40,$c0,$c0,$c0,$c0,$c0,$ff,$ff,$bf,$3f,$bf,$bf,$bf,$bf + $c0,$c0,$c0,$40,$40,$40,$40,$40,$bf,$bf,$bf,$3f,$3f,$3f,$3f,$3f + $18,$18,$00,$00,$00,$00,$00,$00,$e7,$e7,$ff,$ff,$ff,$ff,$ff,$ff + $40,$40,$40,$40,$40,$40,$40,$7f,$3f,$3f,$3f,$3f,$3f,$3f,$3f,$00 + $20,$20,$20,$20,$20,$20,$20,$e0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$00 + $04,$04,$04,$04,$04,$04,$04,$07,$03,$03,$03,$03,$03,$03,$03,$00 + $02,$02,$02,$02,$02,$02,$02,$fe,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f + $fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe + $e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0 + $07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07 + $00,$00,$00,$14,$08,$00,$00,$63,$63,$77,$7f,$7f,$6b,$63,$63,$63 + $00,$81,$42,$24,$18,$00,$00,$00,$00,$00,$81,$c3,$e7,$ff,$ff,$ff + $00,$00,$3f,$3f,$3f,$3f,$3f,$3f,$ff,$ff,$c0,$df,$df,$df,$df,$df + $02,$02,$fe,$fe,$fe,$fe,$fe,$fe,$fc,$fc,$00,$fe,$fe,$fe,$fe,$fe + $3f,$3f,$20,$3f,$00,$00,$00,$00,$df,$df,$c0,$c0,$ff,$ff,$ff,$ff + $fe,$fe,$00,$fe,$02,$02,$02,$02,$fe,$fe,$00,$00,$fc,$fc,$fc,$fc + $00,$00,$00,$00,$00,$3f,$3f,$3f,$ff,$ff,$ff,$ff,$ff,$c0,$df,$df + $02,$02,$02,$02,$02,$fe,$fe,$fe,$fc,$fc,$fc,$fc,$fc,$00,$fe,$fe + $ff,$00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00 + $3f,$3f,$3f,$3f,$20,$3f,$00,$00,$df,$df,$df,$df,$c0,$c0,$ff,$ff + $fe,$fe,$fe,$fe,$00,$fe,$02,$02,$fe,$fe,$fe,$fe,$00,$00,$fc,$fc + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$03,$0c,$10,$20,$20,$40,$40,$00,$00,$03,$0f,$1f,$1f,$3f,$3f + $00,$c0,$30,$08,$04,$04,$02,$02,$00,$00,$c0,$f0,$f8,$f8,$fc,$fc + $02,$02,$06,$06,$0e,$3e,$fe,$fe,$fc,$fc,$fa,$fa,$f6,$ce,$3e,$fe + $fe,$fe,$fc,$fc,$f8,$f0,$c0,$00,$fe,$fe,$fc,$fc,$f8,$f0,$c0,$00 + $40,$40,$60,$60,$70,$7c,$7f,$7f,$3f,$3f,$5f,$5f,$6f,$73,$7c,$7f + $7f,$7f,$3f,$3f,$1f,$0f,$03,$00,$7f,$7f,$3f,$3f,$1f,$0f,$03,$00 + $00,$00,$3f,$3f,$3f,$3f,$3f,$3f,$ff,$ff,$c0,$df,$df,$df,$df,$df + $00,$00,$fc,$fc,$fc,$fc,$fc,$fc,$ff,$ff,$03,$fb,$fb,$fb,$fb,$fb + $20,$20,$20,$20,$20,$3f,$00,$00,$c0,$c0,$c0,$c0,$c0,$c0,$ff,$ff + $04,$04,$04,$04,$04,$fc,$00,$00,$03,$03,$03,$03,$03,$03,$ff,$ff + $3f,$3f,$20,$3f,$00,$00,$00,$00,$df,$df,$c0,$c0,$ff,$ff,$ff,$ff + $fc,$fc,$04,$fc,$00,$00,$00,$00,$fb,$fb,$03,$03,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$3f,$3f,$3f,$ff,$ff,$ff,$ff,$ff,$c0,$df,$df + $00,$00,$00,$00,$00,$fc,$fc,$fc,$ff,$ff,$ff,$ff,$ff,$03,$fb,$fb + $02,$02,$02,$02,$04,$04,$08,$10,$fc,$fc,$fc,$fc,$f8,$f8,$f0,$e0 + $10,$08,$04,$04,$02,$02,$02,$02,$e0,$f0,$f8,$f8,$fc,$fc,$fc,$fc + $fc,$fc,$04,$04,$04,$04,$04,$04,$fb,$fb,$03,$03,$03,$03,$03,$03 + $3f,$3f,$20,$20,$20,$20,$20,$20,$df,$df,$c0,$c0,$c0,$c0,$c0,$c0 + $40,$40,$7f,$7f,$7f,$7f,$7f,$7f,$3f,$3f,$00,$7f,$7f,$7f,$7f,$7f + $00,$00,$c0,$c0,$c0,$c0,$c0,$c0,$ff,$ff,$3f,$bf,$bf,$bf,$bf,$bf + $00,$00,$03,$03,$03,$03,$03,$03,$ff,$ff,$fc,$fd,$fd,$fd,$fd,$fd + $02,$02,$fe,$fe,$fe,$fe,$fe,$fe,$fc,$fc,$00,$fe,$fe,$fe,$fe,$fe + $7f,$7f,$00,$00,$00,$00,$00,$00,$7f,$7f,$00,$00,$00,$00,$00,$00 + $c0,$c0,$40,$40,$40,$40,$40,$40,$bf,$bf,$3f,$3f,$3f,$3f,$3f,$3f + $03,$03,$02,$02,$02,$02,$02,$02,$fd,$fd,$fc,$fc,$fc,$fc,$fc,$fc + $fe,$fe,$00,$00,$00,$00,$00,$00,$fe,$fe,$00,$00,$00,$00,$00,$00 + $fc,$fc,$fc,$fc,$04,$04,$04,$04,$fb,$fb,$fb,$fb,$03,$03,$03,$03 + $3f,$3f,$3f,$3f,$20,$20,$20,$20,$df,$df,$df,$df,$c0,$c0,$c0,$c0 + $00,$00,$00,$00,$81,$c3,$e7,$ff,$ff,$ff,$ff,$ff,$7e,$bd,$db,$e7 + $ff,$ff,$ff,$7e,$3c,$18,$00,$00,$ff,$ff,$ff,$7e,$3c,$18,$00,$00 + $32,$ff,$f7,$ff,$7f,$ff,$db,$ff,$73,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $b4,$ff,$ff,$ff,$fe,$7b,$ff,$fd,$b6,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $b5,$ff,$7f,$9d,$f6,$7f,$dd,$77,$ff,$ff,$ff,$ff,$ef,$ff,$bb,$fe + $d7,$ff,$79,$de,$f5,$3f,$ed,$bf,$ff,$ff,$ff,$ff,$bf,$ff,$fb,$ff + $89,$f7,$5f,$f3,$e7,$fd,$70,$cf,$ff,$bf,$ec,$ff,$9f,$fe,$af,$f9 + $9f,$f9,$3d,$f7,$3f,$99,$fd,$cf,$f6,$7f,$ff,$fd,$cf,$ff,$ff,$fb + $b9,$59,$cc,$7f,$df,$9f,$bf,$1e,$7f,$ff,$b7,$f3,$fd,$6f,$ff,$e7 + $7f,$f9,$f3,$ff,$ff,$ff,$ff,$bb,$9f,$ff,$cf,$9f,$fd,$ff,$27,$df + $63,$ef,$ee,$1f,$b9,$1c,$f7,$ff,$9d,$38,$ff,$ff,$c7,$e3,$ff,$bf + $ff,$9d,$7e,$ff,$b3,$c7,$ff,$a1,$3c,$7e,$ff,$e7,$cf,$ff,$fb,$7f + $c8,$ed,$be,$dc,$9e,$f8,$36,$cc,$3f,$1e,$7f,$ff,$ef,$07,$cf,$ff + $c7,$bf,$3a,$7f,$bd,$a3,$7f,$fc,$3c,$7c,$fd,$e7,$cf,$fe,$8c,$0f + $00,$00,$18,$18,$3c,$7e,$5e,$ff,$10,$10,$18,$38,$7c,$7e,$fe,$ff + $00,$10,$10,$10,$10,$30,$30,$10,$10,$10,$10,$10,$30,$30,$30,$30 + $20,$30,$30,$20,$60,$30,$70,$f8,$20,$30,$30,$60,$60,$70,$f0,$f8 + $3c,$42,$99,$a1,$a1,$99,$42,$3c,$00,$00,$00,$00,$00,$00,$00,$00 90e0: 00 7c 8f 47+ .bulk $00,$7c,$8f,$47,$03,$03,$01,$00,$00,$7c,$8f,$57,$1b,$2b,$39,$1c + $00,$00,$00,$00,$a0,$c3,$fc,$f0,$00,$00,$00,$00,$a0,$c3,$fc,$f0 + $0e,$37,$43,$21,$01,$00,$00,$40,$0e,$37,$4b,$2d,$15,$1c,$0e,$42 + $00,$80,$c0,$ec,$f0,$3c,$06,$01,$00,$80,$c0,$ec,$f0,$3c,$06,$01 + $00,$10,$6c,$c6,$c6,$6c,$10,$00,$10,$92,$54,$ba,$ba,$54,$92,$10 + $1c,$3e,$4f,$87,$43,$03,$03,$01,$1c,$3e,$4f,$97,$5b,$2b,$3b,$1d + $00,$00,$00,$00,$82,$ac,$f8,$e0,$00,$00,$00,$00,$82,$ac,$f8,$e0 + $20,$00,$03,$07,$0f,$05,$00,$00,$c0,$e0,$c0,$20,$c1,$d0,$d0,$60 + $00,$00,$00,$00,$80,$80,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $03,$07,$05,$08,$08,$08,$08,$08,$03,$07,$05,$0a,$0b,$0b,$09,$08 + $c0,$e0,$e0,$f0,$10,$10,$10,$10,$c0,$e0,$e0,$f0,$10,$d0,$90,$10 + $03,$0d,$04,$18,$08,$18,$28,$08,$03,$0d,$04,$1a,$08,$19,$29,$08 + $90,$68,$a8,$38,$0e,$08,$14,$00,$90,$68,$a8,$38,$ce,$48,$14,$00 + $03,$07,$07,$07,$0e,$0e,$0e,$0c,$03,$07,$07,$07,$0e,$0e,$0e,$0d + $e0,$90,$18,$10,$00,$00,$00,$00,$e0,$90,$58,$50,$a0,$e0,$c0,$00 + $c0,$e0,$f0,$b8,$98,$9c,$cc,$ec,$00,$00,$00,$40,$60,$60,$30,$10 + $00,$03,$03,$15,$1e,$0c,$10,$0b,$04,$04,$0c,$08,$01,$03,$13,$08 + $7c,$22,$d0,$e8,$60,$c0,$c0,$a0,$7c,$22,$10,$08,$00,$00,$00,$00 + $a0,$a8,$e0,$49,$37,$19,$01,$00,$a3,$a7,$e6,$40,$00,$00,$00,$00 + $60,$78,$ec,$9c,$88,$c0,$c0,$e0,$00,$00,$00,$20,$70,$30,$00,$00 + $18,$18,$3c,$00,$18,$18,$18,$bd,$18,$00,$24,$00,$18,$00,$00,$91 + $00,$0e,$1f,$7f,$77,$0f,$03,$03,$04,$40,$e0,$80,$00,$00,$00,$00 + $30,$f0,$60,$80,$80,$80,$80,$c0,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$50,$f0,$50,$00,$00,$00,$00,$00,$50,$f0,$50,$00,$00,$00,$00 + $0c,$3f,$77,$da,$f7,$ae,$fc,$68,$00,$00,$06,$1a,$15,$24,$10,$08 + $14,$1c,$0f,$16,$31,$23,$67,$63,$13,$11,$00,$00,$00,$00,$00,$60 + $28,$38,$f8,$68,$88,$cc,$e4,$c6,$c8,$88,$00,$00,$00,$00,$00,$00 + $10,$54,$2b,$2a,$00,$b1,$12,$57,$13,$50,$00,$00,$00,$00,$00,$10 + $2a,$28,$70,$58,$10,$9c,$c8,$28,$ca,$08,$00,$00,$00,$00,$00,$00 + $0d,$0b,$0b,$0b,$03,$03,$07,$05,$0c,$08,$08,$08,$00,$00,$00,$00 + $30,$fe,$fe,$40,$90,$8c,$00,$80,$c0,$00,$00,$02,$06,$00,$00,$00 + $ee,$f6,$f6,$fe,$fe,$fe,$ff,$ff,$10,$08,$08,$00,$00,$00,$00,$00 + $01,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $a0,$90,$90,$00,$00,$00,$00,$10,$40,$60,$60,$e0,$e0,$e0,$c0,$c0 + $00,$00,$00,$00,$18,$0c,$1c,$3c,$1f,$3f,$31,$00,$00,$00,$00,$10 + $10,$10,$00,$00,$00,$00,$00,$00,$e0,$e0,$c0,$00,$60,$60,$70,$38 + $99,$ff,$bd,$18,$00,$00,$00,$00,$b5,$f7,$91,$10,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$01,$03,$03,$07,$07,$0e,$0c,$08 + $20,$20,$00,$01,$03,$01,$00,$00,$c0,$c0,$c0,$80,$20,$74,$3e,$0c + $00,$40,$e0,$f0,$d8,$00,$00,$00,$00,$00,$20,$20,$00,$00,$00,$00 + $40,$ff,$ff,$ff,$3f,$ff,$ff,$7f,$3f,$00,$00,$26,$26,$00,$00,$00 + $71,$51,$20,$00,$00,$00,$00,$00,$74,$54,$2e,$0e,$0c,$0c,$04,$04 + $80,$80,$00,$00,$00,$00,$00,$00,$20,$26,$76,$72,$30,$30,$20,$20 + $00,$00,$00,$00,$34,$06,$6a,$04,$00,$16,$04,$12,$00,$00,$00,$00 + $00,$00,$00,$00,$a4,$50,$48,$3a,$40,$28,$40,$50,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$02,$06,$07,$03,$03,$03,$03,$02 + $80,$80,$00,$00,$00,$00,$00,$00,$00,$00,$40,$60,$60,$30,$10,$10 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$08,$3c,$38,$3c,$08,$00,$00,$00,$10,$28,$04,$28,$10,$00,$00 + $0c,$06,$0a,$18,$0c,$0e,$0e,$1c,$60,$60,$00,$00,$00,$00,$0c,$00 + $78,$00,$00,$00,$00,$00,$00,$00,$08,$00,$00,$00,$00,$00,$00,$00 + $00,$02,$07,$03,$01,$01,$01,$03,$0c,$00,$00,$00,$00,$01,$00,$00 + $00,$00,$80,$c0,$c0,$80,$80,$00,$00,$00,$00,$00,$00,$80,$00,$00 + $00,$00,$02,$01,$01,$01,$03,$07,$06,$03,$00,$00,$00,$00,$01,$00 + $00,$00,$00,$80,$80,$c0,$c0,$80,$00,$00,$00,$00,$00,$00,$00,$80 + $00,$18,$34,$3c,$3c,$18,$00,$00,$00,$00,$18,$14,$24,$00,$00,$00 + $00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$66,$66,$00,$00,$00 + $00,$00,$1c,$18,$18,$08,$38,$30,$0c,$00,$00,$00,$00,$00,$10,$00 + $00,$00,$00,$66,$66,$66,$00,$00,$00,$00,$00,$66,$66,$00,$00,$00 + $00,$1c,$0c,$0c,$08,$0c,$1c,$38,$00,$00,$00,$00,$00,$00,$08,$00 + $00,$10,$30,$18,$18,$1c,$3c,$78,$60,$00,$00,$00,$00,$10,$08,$00 + $48,$a1,$6a,$dd,$aa,$23,$07,$01,$40,$00,$4a,$50,$ee,$17,$93,$03 + $00,$00,$40,$20,$80,$a4,$a0,$74,$00,$00,$40,$00,$80,$24,$00,$e0 + $1f,$60,$91,$a3,$a3,$a7,$80,$81,$00,$00,$11,$20,$21,$25,$00,$01 + $3e,$44,$0b,$17,$06,$03,$03,$05,$3e,$44,$08,$10,$00,$00,$00,$00 + $00,$c0,$c0,$a8,$78,$30,$08,$d0,$20,$20,$30,$10,$80,$c0,$c8,$10 + $0c,$0f,$06,$01,$01,$01,$01,$03,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$70,$f8,$fe,$ee,$f0,$c0,$c0,$20,$02,$07,$01,$00,$00,$00,$00 + $06,$1e,$37,$39,$11,$03,$03,$07,$00,$00,$00,$04,$0e,$0c,$00,$00 + $05,$15,$07,$92,$ec,$98,$80,$00,$c5,$e5,$67,$02,$00,$00,$00,$00 + $00,$34,$7d,$35,$00,$00,$00,$00,$00,$14,$7c,$14,$00,$00,$00,$00 + $01,$23,$d3,$97,$0f,$02,$00,$02,$04,$0c,$0c,$08,$00,$00,$01,$00 + $80,$c0,$e0,$70,$b0,$30,$00,$00,$00,$00,$00,$00,$00,$c0,$e0,$c0 + $99,$6f,$33,$71,$61,$21,$03,$07,$98,$60,$00,$0c,$0c,$08,$00,$00 + $80,$98,$8e,$ca,$fa,$b0,$c0,$80,$20,$60,$30,$00,$00,$00,$00,$00 + $00,$00,$a0,$f0,$a0,$00,$00,$00,$00,$00,$a0,$f0,$a0,$00,$00,$00 + $3c,$66,$c3,$99,$99,$c3,$66,$3c,$00,$00,$18,$3c,$3c,$18,$00,$00 + $38,$38,$38,$1c,$1c,$1a,$17,$0f,$38,$38,$38,$1c,$08,$04,$08,$00 + $a8,$5c,$4a,$1d,$3a,$16,$2d,$14,$e0,$c8,$68,$91,$38,$52,$25,$30 + $81,$83,$93,$93,$95,$9f,$93,$ff,$00,$00,$11,$11,$17,$1f,$11,$00 + $00,$00,$00,$03,$0f,$1f,$3d,$39,$00,$00,$00,$01,$0f,$1e,$3c,$3c + $00,$00,$00,$c0,$f0,$38,$c8,$bc,$00,$00,$00,$c0,$f0,$38,$08,$0c + $00,$00,$06,$3f,$3f,$71,$62,$47,$00,$00,$06,$3f,$3f,$71,$68,$58 + $00,$00,$00,$80,$e0,$e8,$74,$a8,$00,$00,$00,$80,$e0,$e8,$74,$28 + $00,$01,$02,$17,$17,$0e,$1d,$1b,$00,$01,$02,$17,$17,$0e,$1c,$18 + $00,$10,$ef,$5c,$bc,$78,$f0,$f0,$00,$10,$e0,$43,$81,$03,$07,$07 + $00,$00,$00,$00,$00,$00,$30,$30,$00,$00,$00,$80,$c0,$c0,$80,$80 + $14,$3f,$7e,$7c,$5e,$7c,$3e,$14,$00,$19,$0a,$14,$16,$04,$1a,$00 + $00,$e9,$49,$49,$49,$49,$49,$00,$00,$e9,$49,$49,$49,$49,$49,$00 + $00,$17,$b4,$57,$54,$14,$17,$00,$00,$17,$b4,$57,$54,$14,$17,$00 + $20,$71,$7b,$3f,$1f,$0f,$1f,$3f,$00,$20,$30,$1a,$0e,$06,$0e,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $3c,$66,$c3,$81,$81,$c3,$66,$3c,$24,$42,$99,$3c,$3c,$99,$42,$24 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$00,$11,$77,$77,$11,$00,$01,$01,$00,$10,$45,$44,$10,$00,$01 + $e0,$40,$60,$f0,$f0,$60,$40,$e0,$e0,$40,$c0,$f0,$00,$c0,$40,$e0 + $23,$2e,$1c,$38,$10,$09,$00,$01,$30,$20,$01,$03,$0c,$04,$00,$00 + $bc,$14,$04,$04,$08,$e0,$f0,$c0,$00,$68,$f8,$f8,$10,$00,$40,$00 + $27,$0f,$1c,$1a,$00,$00,$00,$0c,$30,$00,$00,$00,$0f,$1f,$13,$01 + $d8,$ec,$f2,$f8,$3c,$1c,$04,$04,$18,$0c,$02,$00,$00,$c0,$e8,$f8 + $3b,$3b,$39,$38,$1c,$1e,$07,$00,$38,$38,$38,$3b,$1d,$1e,$07,$00 + $c0,$d0,$e1,$70,$30,$80,$00,$00,$0f,$0e,$0c,$0c,$86,$80,$00,$00 + $78,$d8,$88,$80,$00,$00,$00,$00,$10,$00,$00,$00,$00,$00,$00,$00 + $20,$40,$00,$00,$00,$00,$00,$00,$3c,$7e,$df,$df,$df,$c3,$7e,$3c + $1c,$3e,$7f,$7f,$7f,$7f,$3e,$1c,$00,$10,$20,$00,$00,$00,$00,$00 + $00,$00,$00,$10,$38,$38,$10,$38,$00,$00,$00,$10,$38,$38,$10,$38 + $80,$c0,$60,$f0,$30,$18,$08,$00,$00,$00,$80,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$80,$80,$c0,$00,$00,$00,$00,$00,$00,$00,$00 + $c0,$c0,$e0,$e0,$e0,$f0,$f0,$f0,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$7d,$41,$41,$41,$41,$01,$ff,$fe,$82,$82,$82,$82,$82,$fe,$00 + $01,$7d,$7d,$7d,$7d,$7d,$01,$ff,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$00 + $3c,$7e,$f3,$c1,$c1,$f3,$7e,$3c,$00,$20,$00,$00,$00,$00,$20,$00 + $3c,$7e,$f3,$c1,$c1,$f3,$7e,$3c,$00,$20,$00,$0c,$0c,$00,$20,$00 + $06,$02,$01,$03,$07,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00 + $00,$00,$80,$c0,$00,$00,$00,$00,$f8,$30,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$01,$05,$09,$0a,$00,$00,$00,$0a,$05,$16,$04,$19 + $02,$48,$35,$4a,$36,$98,$30,$20,$00,$04,$1e,$38,$22,$50,$30,$40 + $fe,$fe,$c0,$fc,$fc,$c0,$fe,$fe,$fe,$c0,$c0,$fc,$c0,$c0,$fe,$00 + $3f,$3b,$3b,$13,$13,$13,$0f,$07,$38,$38,$38,$10,$10,$10,$08,$00 + $20,$e0,$c0,$80,$80,$80,$80,$80,$40,$00,$00,$00,$00,$00,$00,$00 + $1c,$33,$21,$61,$71,$7b,$7b,$37,$1c,$32,$2c,$6c,$74,$78,$78,$30 + $00,$c0,$00,$80,$90,$b0,$90,$00,$00,$00,$60,$20,$20,$00,$00,$40 9890: 18 18 18 18+ .bulk $18,$18,$18,$18,$18,$00,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00 98a0: b9 d5 98 9d+ .bulk $b9,$d5,$98,$9d,$03,$04,$bd,$05,$04,$0a,$30,$1e,$bd,$f4,$6a,$c9 + $02,$d0,$17,$20,$36,$80,$48,$20,$39,$80,$85,$05,$68,$85,$04,$20 + $e1,$9a,$20,$27,$80,$90,$08,$20,$f1,$9a,$a9,$03,$4c,$03,$80,$a9 + $00,$9d,$f4,$6a,$60,$08,$f8,$a9,$03,$85,$00,$a9,$08,$85,$01,$bd + $f4,$6a,$c9,$01,$d0,$0c,$bd,$05,$04,$29,$10,$f0,$05,$a9,$01,$20 + $58,$99,$20,$f8,$98,$4c,$30,$98,$bd,$f4,$6a,$c9,$02,$d0,$0c,$a9 + $20,$bc,$02,$04,$10,$02,$a9,$1d,$9d,$f9,$6a,$60,$a5,$81,$c9,$01 + $f0,$10,$c9,$03,$f0,$3f,$bd,$f4,$6a,$c9,$01,$d0,$0a,$a9,$00,$20 + $58,$99,$a9,$08,$4c,$03,$80,$a9,$80,$9d,$fe,$6a,$bd,$02,$04,$30 + $1c,$bd,$05,$04,$29,$10,$f0,$15,$bd,$00,$04,$38,$ed,$0d,$03,$10 + $03,$20,$c6,$95,$c9,$10,$b0,$05,$a9,$00,$9d,$fe,$6a,$20,$f8,$98 + $a9,$03,$4c,$00,$80,$4c,$06,$80,$9d,$02,$6b,$bd,$0b,$04,$48,$20 + $2a,$80,$68,$9d,$0b,$04,$60,$20,$09,$80,$29,$03,$f0,$34,$a5,$81 + $c9,$01,$f0,$36,$c9,$03,$f0,$2f,$bd,$f4,$6a,$c9,$03,$f0,$23,$bd + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $53,$4d,$50,$50,$4d,$53,$a6,$4b,$b0,$19,$a5,$00,$d0,$0d,$bc,$0a + $04,$88,$98,$29,$03,$9d,$0a,$04,$4c,$ad,$99,$bd,$05,$04,$49,$01 + $9d,$05,$04,$60,$20,$f8,$99,$20,$00,$9a,$a6,$4b,$90,$09,$20,$f8 + $99,$9d,$0a,$04,$20,$ad,$99,$60,$bc,$0a,$04,$c8,$98,$29,$03,$60 + $bc,$05,$04,$84,$00,$46,$00,$2a,$0a,$a8,$b9,$49,$80,$48,$b9,$48 + $80,$48,$60,$bd,$f4,$6a,$c9,$03,$90,$19,$f0,$04,$c9,$05,$d0,$21 + $a9,$00,$8d,$04,$6b,$8d,$14,$6b,$8d,$24,$6b,$8d,$34,$6b,$8d,$44 + $6b,$f0,$0e,$a9,$0b,$85,$85,$a9,$0e,$85,$86,$20,$1b,$80,$20,$79 + $9a,$a9,$03,$85,$00,$85,$01,$4c,$30,$98,$bd,$05,$04,$48,$a9,$02 + $85,$00,$85,$01,$20,$30,$98,$68,$a6,$4b,$5d,$05,$04,$4a,$b0,$13 + $bd,$05,$04,$4a,$b0,$12,$bd,$01,$04,$38,$ed,$0e,$03,$90,$09,$c9 + $20,$90,$05,$a9,$00,$9d,$f4,$6a,$60,$a4,$80,$d0,$02,$a0,$60,$a5 + $2d,$29,$02,$d0,$24,$88,$84,$80,$98,$0a,$30,$1d,$29,$0f,$c9,$0a + $d0,$17,$a2,$50,$bd,$f4,$6a,$f0,$11,$bd,$05,$04,$29,$02,$f0,$0a + $8a,$38,$e9,$10,$aa,$d0,$ed,$e6,$7e,$60,$8a,$a8,$a2,$00,$20,$e1 + $9a,$98,$aa,$ad,$05,$04,$9d,$05,$04,$29,$01,$a8,$b9,$df,$9a,$85 + $05,$a9,$f8,$85,$04,$20,$27,$80,$90,$df,$a9,$00,$9d,$0f,$04,$a9 + $0a,$9d,$02,$6b,$a9,$01,$9d,$f4,$6a,$20,$f1,$9a,$4c,$2a,$80,$08 + $f8,$bd,$00,$04,$85,$08,$bd,$01,$04,$85,$09,$bd,$fb,$6a,$85,$0b + $60,$a5,$0b,$29,$01,$9d,$fb,$6a,$a5,$08,$9d,$00,$04,$a5,$09,$9d + $01,$04,$60,$bd,$f4,$6a,$c9,$02,$d0,$03,$20,$1e,$80,$a9,$02,$85 + $00,$85,$01,$4c,$30,$98,$a9,$00,$9d,$f5,$6a,$9d,$f6,$6a,$a9,$10 + $9d,$05,$04,$8a,$4a,$4a,$4a,$4a,$65,$2d,$29,$07,$d0,$1a,$5e,$05 + $04,$a9,$03,$85,$87,$a5,$2e,$4a,$3e,$05,$04,$29,$03,$f0,$09,$85 + $88,$a9,$02,$85,$85,$4c,$21,$80,$60,$22,$ff,$ff,$ff,$ff,$22,$80 + $81,$82,$83,$22,$84,$85,$86,$87,$22,$88,$89,$8a,$8b,$22,$8c,$8d + $8e,$8f,$22,$94,$95,$96,$97,$22,$9c,$9d,$9d,$9c,$22,$9e,$9f,$9f + $9e,$22,$90,$91,$92,$93,$22,$70,$71,$72,$73,$22,$74,$75,$76,$77 + $22,$78,$79,$7a,$7b,$00,$01,$ff,$02,$ff,$03,$04,$ff,$07,$08,$ff + $05,$06,$ff,$09,$0a,$ff,$0b,$ff,$0c,$0d,$0e,$0f,$ff,$10,$11,$12 + $13,$ff,$17,$18,$ff,$19,$1a,$ff,$1b,$ff,$21,$22,$ff,$27,$28,$29 + $2a,$ff,$2b,$2c,$2d,$2e,$ff,$2f,$ff,$42,$ff,$43,$44,$f7,$ff,$37 + $ff,$38,$ff,$30,$31,$ff,$31,$32,$ff,$33,$34,$ff,$34,$35,$ff,$58 + $59,$ff,$5a,$5b,$ff,$5c,$5d,$ff,$5e,$5f,$ff,$60,$ff,$61,$f7,$62 + $f7,$ff,$66,$67,$ff,$69,$6a,$ff,$68,$ff,$6b,$ff,$66,$ff,$69,$ff + $d8,$9d,$dd,$9d,$e2,$9d,$e7,$9d,$fa,$9d,$0e,$9e,$24,$9e,$3a,$9e + $4d,$9e,$61,$9e,$77,$9e,$8d,$9e,$97,$9e,$9c,$9e,$a1,$9e,$a6,$9e + $ab,$9e,$b0,$9e,$b5,$9e,$ba,$9e,$bf,$9e,$bf,$9e,$bf,$9e,$bf,$9e + $ce,$9e,$dd,$9e,$ee,$9e,$ff,$9e,$07,$9f,$07,$9f,$07,$9f,$07,$9f + $07,$9f,$07,$9f,$0f,$9f,$17,$9f,$17,$9f,$17,$9f,$17,$9f,$17,$9f + $23,$9f,$31,$9f,$3f,$9f,$4d,$9f,$59,$9f,$67,$9f,$75,$9f,$83,$9f + $8e,$9f,$9c,$9f,$aa,$9f,$b6,$9f,$c4,$9f,$d2,$9f,$de,$9f,$de,$9f + $f2,$9f,$06,$a0,$06,$a0,$06,$a0,$06,$a0,$06,$a0,$06,$a0,$06,$a0 + $06,$a0,$06,$a0,$06,$a0,$0b,$a0,$13,$a0,$1b,$a0,$1b,$a0,$1b,$a0 + $1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0 + $1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0,$1b,$a0 + $1b,$a0,$27,$a0,$33,$a0,$3f,$a0,$4b,$a0,$57,$a0,$63,$a0,$6f,$a0 + $7b,$a0,$83,$a0,$91,$a0,$ab,$a0,$ab,$a0,$ab,$a0,$ab,$a0,$b3,$a0 + $bb,$a0,$c3,$a0,$cb,$a0,$d3,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0 + $db,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0 + $db,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0,$db,$a0 + $db,$a0,$e1,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0,$e6,$a0 + $e6,$a0,$e6,$a0,$22,$9d,$24,$9d,$3c,$9d,$60,$9d,$72,$9d,$64,$9d + $6e,$9d,$76,$9d,$82,$9d,$8a,$9d,$8a,$9d,$aa,$9d,$b8,$9d,$bc,$9d + $cc,$9d,$fc,$fc,$80,$80,$81,$81,$82,$82,$83,$83,$84,$84,$85,$85 + $f4,$f8,$f4,$00,$fc,$f8,$fc,$00,$04,$f8,$04,$00,$ec,$f8,$ec,$00 + $f4,$f8,$f4,$00,$fc,$f8,$fc,$00,$04,$e8,$04,$f0,$04,$f8,$04,$00 + $0c,$f0,$0c,$f8,$0c,$00,$f4,$f4,$f4,$ec,$fc,$f4,$12,$e8,$14,$f8 + $f4,$f4,$f4,$04,$f8,$f4,$f8,$fc,$f8,$04,$00,$f8,$00,$00,$fc,$f8 + $fc,$00,$f0,$f8,$f0,$00,$f8,$f8,$f8,$00,$00,$f8,$00,$00,$08,$f8 + $08,$00,$f8,$e8,$f8,$10,$f8,$f0,$f8,$08,$f8,$f8,$f8,$00,$00,$f8 + $00,$00,$f0,$00,$f0,$08,$f8,$08,$f0,$f0,$f0,$f8,$f8,$f0,$00,$f0 + $3e,$7f,$ff,$70,$07,$ff,$fc,$1e,$00,$06,$1f,$00,$00,$07,$d0,$1e + $18,$fe,$c1,$0f,$e0,$82,$1f,$80,$00,$1e,$c1,$0f,$e0,$82,$1f,$80 + $c1,$ff,$3f,$98,$c3,$ff,$7e,$1f,$00,$c1,$20,$18,$03,$8f,$7e,$1f + $e3,$ff,$c6,$0e,$30,$87,$03,$fc,$63,$ff,$06,$0e,$30,$87,$03,$fc + $7f,$7f,$7f,$7f,$7f,$7f,$7f,$7f,$73,$73,$73,$73,$73,$73,$73,$73 + $58,$58,$58,$58,$58,$58,$58,$58,$58,$58,$58,$58,$58,$58,$58,$58 + $00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$ff,$ff,$ff,$00,$00,$ff,$ff + $ff,$00,$ff,$00,$00,$ff,$00,$00,$ff,$00,$ff,$00,$00,$ff,$00,$00 + $0c,$32,$7f,$5f,$e1,$bf,$f8,$8e,$00,$00,$06,$1c,$20,$07,$38,$00 + $00,$0c,$0e,$9e,$0d,$9e,$f7,$59,$00,$00,$06,$0c,$00,$18,$04,$40 + $b9,$1e,$c6,$f4,$3c,$f0,$40,$80,$39,$1e,$c6,$34,$3c,$f0,$40,$80 + $7f,$ff,$79,$43,$5e,$1f,$0b,$06,$20,$33,$40,$40,$00,$01,$00,$00 + $86,$11,$01,$81,$41,$43,$5e,$80,$9e,$2f,$3f,$9f,$df,$df,$de,$80 + $08,$04,$24,$22,$02,$04,$4c,$38,$38,$7c,$5c,$de,$fe,$7c,$7c,$38 + $3c,$7e,$47,$da,$49,$e2,$5c,$d5,$3c,$46,$03,$9a,$41,$e2,$5c,$c5 + $3c,$7e,$e2,$5b,$92,$47,$3a,$a3,$3c,$62,$c2,$1b,$82,$47,$3a,$a3 + $ca,$8a,$a0,$20,$aa,$ba,$55,$0f,$8a,$00,$20,$20,$20,$3a,$15,$0f + $53,$51,$05,$04,$55,$5d,$aa,$f0,$51,$00,$04,$04,$04,$5c,$a8,$f0 + $06,$01,$10,$10,$00,$00,$00,$01,$0e,$3f,$2f,$6f,$7f,$7f,$7f,$3f + $00,$8c,$92,$42,$42,$c6,$dc,$80,$00,$bc,$8e,$de,$de,$de,$dc,$80 + $07,$12,$48,$48,$09,$18,$30,$00,$07,$72,$b8,$b9,$fa,$fb,$73,$01 9ef0: 36 67 c0 c0+ .bulk $36,$67,$c0,$c0,$c0,$c0,$80,$40,$00,$00,$1f,$1e,$39,$33,$0d,$1c + $f8,$7c,$06,$00,$04,$06,$06,$06,$00,$04,$36,$78,$fc,$fe,$0e,$66 + $c0,$c0,$40,$80,$c0,$6e,$37,$00,$3e,$3e,$3d,$1b,$09,$2e,$37,$00 + $06,$06,$04,$02,$06,$f4,$68,$00,$f6,$fe,$fc,$f2,$e6,$f4,$68,$00 + $3f,$c0,$80,$80,$00,$00,$ff,$80,$00,$3f,$7f,$7f,$00,$00,$00,$7f + $fc,$00,$00,$00,$00,$1c,$90,$20,$00,$fc,$fc,$fc,$00,$00,$0c,$9c + $80,$80,$00,$f0,$80,$80,$00,$00,$7f,$7f,$00,$00,$7f,$7f,$00,$00 + $20,$20,$00,$3c,$40,$40,$00,$00,$9c,$1c,$00,$00,$bc,$bc,$00,$00 + $00,$00,$00,$06,$0c,$0c,$08,$00,$01,$07,$0f,$19,$13,$33,$37,$3f + $00,$00,$10,$08,$04,$04,$06,$06,$e0,$f8,$fc,$fe,$fe,$ff,$ff,$ff + $00,$00,$00,$04,$03,$00,$00,$00,$3f,$3f,$1f,$1f,$0f,$07,$01,$00 + $06,$06,$0c,$3c,$f8,$e0,$00,$00,$ff,$ff,$fe,$fe,$fc,$f8,$e0,$00 + $3e,$7f,$ff,$70,$07,$ff,$fc,$1e,$00,$06,$1f,$00,$00,$07,$d0,$1e + $18,$fe,$c1,$0f,$e0,$82,$1f,$80,$00,$1e,$c1,$0f,$e0,$82,$1f,$80 + $c1,$ff,$3f,$98,$c3,$ff,$7e,$1f,$00,$c1,$20,$18,$03,$8f,$7e,$1f + $e3,$ff,$c6,$0e,$30,$87,$03,$fc,$63,$ff,$06,$0e,$30,$87,$03,$fc + $3f,$c0,$80,$80,$00,$00,$ff,$80,$00,$3f,$7f,$7f,$00,$00,$00,$7f + $fc,$00,$00,$00,$00,$1c,$90,$20,$00,$fc,$fc,$fc,$00,$00,$0c,$9c + $80,$80,$00,$f0,$80,$80,$00,$00,$7f,$7f,$00,$00,$7f,$7f,$00,$00 + $20,$20,$00,$3c,$40,$40,$00,$00,$9c,$1c,$00,$00,$bc,$bc,$00,$00 + $06,$01,$10,$10,$00,$00,$00,$01,$0e,$3f,$2f,$6f,$7f,$7f,$7f,$3f + $00,$8c,$92,$42,$42,$c6,$dc,$80,$00,$bc,$8e,$de,$de,$de,$dc,$80 + $07,$12,$48,$48,$09,$18,$30,$00,$07,$72,$b8,$b9,$fa,$fb,$73,$01 + $86,$11,$01,$81,$41,$43,$5e,$80,$9e,$2f,$3f,$9f,$df,$df,$de,$80 + $3c,$7e,$47,$da,$49,$e2,$5c,$d5,$3c,$46,$03,$9a,$41,$e2,$5c,$c5 + $3c,$7e,$e2,$5b,$92,$47,$3a,$a3,$3c,$62,$c2,$1b,$82,$47,$3a,$a3 + $ca,$8a,$a0,$20,$aa,$ba,$55,$0f,$8a,$00,$20,$20,$20,$3a,$15,$0f + $53,$51,$05,$04,$55,$5d,$aa,$f0,$51,$00,$04,$04,$04,$5c,$a8,$f0 + $01,$21,$01,$10,$30,$15,$40,$10,$01,$03,$01,$18,$78,$2c,$19,$01 + $0e,$c6,$00,$80,$00,$40,$0c,$04,$8a,$86,$e0,$64,$08,$3c,$1c,$84 + $00,$00,$08,$14,$02,$28,$01,$a4,$04,$51,$09,$50,$02,$a8,$00,$24 + $00,$00,$00,$00,$a4,$14,$0a,$a0,$00,$4a,$a0,$02,$84,$15,$0a,$80 + $ff,$81,$bd,$a5,$a5,$bd,$81,$ff,$00,$7f,$7f,$7b,$7b,$63,$7f,$ff + $ff,$81,$bd,$a5,$a5,$bd,$81,$ff,$00,$7f,$7f,$7b,$7b,$63,$7f,$ff + $ff,$ff,$00,$7e,$66,$66,$7e,$00,$00,$00,$00,$7e,$66,$66,$7e,$00 + $00,$7e,$66,$66,$7e,$00,$ff,$ff,$00,$7e,$66,$66,$7e,$00,$00,$00 + $d4,$d4,$d4,$d4,$d4,$d4,$d4,$d4,$10,$10,$10,$10,$10,$10,$10,$10 + $2b,$2b,$2b,$2b,$2b,$2b,$2b,$2b,$08,$08,$08,$08,$08,$08,$08,$08 + $45,$d7,$ff,$bb,$ff,$ef,$7f,$dd,$00,$00,$00,$44,$02,$50,$88,$22 + $ff,$77,$dd,$f7,$be,$ef,$bb,$6e,$24,$88,$22,$48,$45,$10,$46,$b1 + $e0,$02,$02,$02,$06,$0c,$f8,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$04,$fc,$04,$0c,$18,$70,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $40,$fe,$42,$46,$44,$60,$3e,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$50,$54,$04,$0c,$38,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $40,$40,$40,$78,$44,$40,$40,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c0,$04,$c4,$04,$04,$0c,$f8,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7c,$00,$fe,$10,$10,$30,$60,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7e,$42,$c2,$02,$06,$0c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $3e,$7f,$ff,$70,$07,$ff,$fc,$1e,$00,$06,$1f,$00,$00,$07,$d0,$1e + $18,$fe,$c1,$0f,$e0,$82,$1f,$80,$00,$1e,$c1,$0f,$e0,$82,$1f,$80 + $c1,$ff,$3f,$98,$c3,$ff,$7e,$1f,$00,$c1,$20,$18,$03,$8f,$7e,$1f + $e3,$ff,$c6,$0e,$30,$87,$03,$fc,$63,$ff,$06,$0e,$30,$87,$03,$fc + $22,$76,$ff,$ff,$ff,$7f,$ff,$7e,$00,$76,$f7,$7f,$db,$7f,$ff,$5e + $90,$60,$e0,$d0,$f0,$ac,$d0,$f8,$90,$40,$e0,$d0,$f0,$ac,$d0,$f8 + $ff,$ee,$bd,$7b,$3e,$50,$00,$00,$ff,$ee,$bd,$7b,$3e,$50,$00,$00 + $e4,$40,$a8,$40,$40,$00,$00,$00,$e4,$40,$a8,$40,$40,$00,$00,$00 + $00,$00,$00,$00,$00,$ff,$00,$00,$ff,$ff,$ff,$ff,$ff,$00,$ff,$ff + $ff,$00,$ff,$ff,$ff,$ff,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00 + $45,$d7,$ff,$ff,$fd,$ff,$bf,$fb,$00,$00,$00,$00,$02,$00,$40,$04 + $ff,$bb,$ff,$ff,$ef,$ff,$7f,$fd,$00,$44,$00,$00,$10,$00,$80,$02 + $1f,$07,$30,$30,$38,$18,$08,$00,$03,$00,$10,$10,$18,$08,$00,$00 + $c0,$be,$07,$c3,$e1,$e1,$61,$20,$80,$86,$03,$41,$60,$60,$20,$00 + $c2,$80,$11,$11,$01,$03,$46,$3c,$0e,$1e,$2f,$2f,$7f,$7f,$7e,$3c + $e3,$7f,$26,$2e,$30,$27,$23,$7c,$63,$3f,$06,$0e,$10,$07,$03,$3c + $00,$08,$17,$1c,$0f,$06,$06,$07,$00,$00,$07,$0c,$07,$02,$02,$03 + $20,$30,$30,$38,$1e,$1f,$0f,$00,$00,$10,$10,$08,$06,$03,$00,$00 + $0c,$0f,$0e,$1c,$1f,$79,$7a,$00,$04,$07,$06,$0c,$0f,$19,$7a,$00 + $06,$01,$10,$10,$00,$00,$00,$01,$0e,$3f,$2f,$6f,$7f,$7f,$7f,$3f + $00,$8c,$92,$42,$42,$c6,$dc,$80,$00,$bc,$8e,$de,$de,$de,$dc,$80 + $07,$12,$48,$48,$09,$18,$30,$00,$07,$72,$b8,$b9,$fa,$fb,$73,$01 + $86,$11,$01,$81,$41,$43,$5e,$80,$9e,$2f,$3f,$9f,$df,$df,$de,$80 + $3f,$c0,$80,$80,$00,$00,$ff,$80,$00,$3f,$7f,$7f,$00,$00,$00,$7f + $fc,$00,$00,$00,$00,$1c,$90,$20,$00,$fc,$fc,$fc,$00,$00,$0c,$9c + $80,$80,$00,$f0,$80,$80,$00,$00,$7f,$7f,$00,$00,$7f,$7f,$00,$00 + $20,$20,$00,$3c,$40,$40,$00,$00,$9c,$1c,$00,$00,$bc,$bc,$00,$00 + $c0,$00,$c0,$c0,$e0,$ff,$00,$00,$c0,$c0,$c0,$c0,$e0,$ff,$00,$00 + $03,$00,$03,$03,$07,$ff,$00,$00,$03,$03,$03,$03,$07,$ff,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$07,$15,$2f,$7f,$2f,$5f,$fd + $00,$00,$00,$00,$00,$00,$00,$00,$00,$60,$f8,$fc,$b6,$fa,$b1,$f0 + $00,$00,$00,$00,$00,$00,$00,$00,$7f,$bf,$7f,$fe,$7f,$5e,$3b,$1d + $00,$00,$00,$00,$00,$00,$00,$00,$6a,$e0,$d4,$90,$e8,$c0,$01,$48 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$38,$fe,$6f,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$20 + $00,$00,$00,$00,$00,$00,$00,$00,$bf,$7f,$7d,$7e,$5b,$fc,$70,$32 + $00,$00,$00,$00,$00,$00,$00,$00,$80,$80,$90,$10,$40,$00,$20,$00 + $00,$00,$00,$00,$00,$c0,$00,$00,$ff,$ff,$ff,$e0,$c0,$00,$c0,$c0 + $00,$00,$00,$00,$00,$03,$00,$00,$ff,$ff,$ff,$07,$03,$00,$03,$03 + $00,$10,$20,$20,$00,$20,$00,$00,$3c,$42,$81,$81,$81,$81,$42,$3c + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$c0,$c0,$cf,$cb,$cc,$cc,$00,$00,$1f,$3f,$3f,$38,$3b,$3b + $fc,$fc,$0c,$0c,$cc,$4c,$cc,$cc,$00,$04,$ec,$fc,$fc,$3c,$bc,$bc + $cb,$cf,$c0,$c0,$ff,$ff,$00,$00,$3b,$30,$3f,$1f,$7f,$ff,$00,$00 + $4c,$cc,$0c,$0c,$fc,$fc,$00,$00,$3c,$3c,$fc,$ec,$fc,$fc,$00,$00 + $fe,$02,$02,$02,$fe,$00,$00,$7f,$00,$fe,$0e,$fe,$fe,$00,$00,$00 + $7f,$40,$40,$40,$7f,$00,$00,$fe,$00,$3f,$30,$3f,$7f,$00,$00,$00 + $40,$40,$40,$7f,$00,$00,$00,$ff,$3f,$30,$3f,$7f,$00,$00,$ff,$ff + $02,$02,$02,$fe,$00,$00,$00,$ff,$fe,$0e,$fe,$fe,$00,$00,$ff,$ff + $73,$fd,$3b,$a0,$c0,$e0,$60,$80,$00,$00,$00,$1f,$10,$17,$14,$14 + $e8,$9c,$7c,$1c,$44,$58,$5c,$5c,$00,$04,$0c,$fc,$24,$b8,$bc,$bc + $e0,$e7,$a0,$2f,$73,$7c,$00,$00,$17,$10,$1f,$0f,$33,$7c,$00,$00 + $58,$d4,$14,$dc,$ec,$d8,$00,$00,$b8,$34,$f4,$dc,$ec,$d8,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$20,$48,$30,$5a,$fc,$76,$be,$2c + $00,$00,$00,$00,$00,$00,$00,$00,$7e,$75,$1c,$aa,$54,$30,$44,$10 + $00,$00,$00,$00,$00,$00,$00,$00,$04,$12,$0c,$5a,$3f,$6e,$7d,$34 + $00,$00,$00,$00,$00,$00,$00,$00,$7e,$ae,$38,$55,$2a,$0c,$22,$08 + $45,$d7,$ff,$ff,$fd,$ff,$bf,$fb,$00,$00,$00,$00,$02,$00,$40,$04 + $ff,$bb,$ff,$ff,$ef,$ff,$7f,$fd,$00,$44,$00,$00,$10,$00,$80,$02 + $7e,$42,$c2,$1e,$02,$06,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$04,$12,$08,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $44,$fe,$44,$44,$04,$0c,$78,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $06,$0c,$38,$f0,$10,$10,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$c0,$c0,$fc,$c0,$c0,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$c6,$c6,$ce,$f8,$dc,$ce,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $00,$00,$00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff + $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 a6f0: 00 00 08 10+ .bulk $00,$00,$08,$10,$21,$27,$07,$2e,$0f,$30,$40,$40,$81,$87,$86,$8c + $00,$00,$00,$00,$e0,$f8,$f8,$7c,$f0,$0c,$02,$02,$e1,$f9,$79,$3d + $0f,$0f,$0f,$07,$07,$01,$00,$00,$8c,$8e,$8f,$87,$47,$41,$30,$0f + $fc,$fc,$fc,$f8,$f8,$e0,$00,$00,$3d,$7d,$fd,$f9,$fa,$e2,$0c,$f0 + $00,$00,$0e,$10,$01,$21,$01,$00,$0f,$30,$40,$40,$81,$81,$81,$80 + $00,$00,$70,$f8,$cc,$fc,$fc,$f8,$f0,$0c,$72,$ca,$85,$cd,$fd,$f9 + $00,$00,$00,$00,$00,$00,$00,$00,$80,$80,$80,$80,$40,$40,$30,$0f + $70,$00,$00,$00,$00,$00,$00,$00,$71,$01,$01,$01,$02,$02,$0c,$f0 + $00,$01,$02,$04,$00,$dd,$dd,$99,$03,$1e,$3d,$7b,$7f,$dd,$99,$99 + $00,$80,$00,$00,$00,$dd,$dd,$99,$ff,$7f,$ff,$ff,$ff,$dd,$99,$99 + $00,$00,$00,$00,$00,$dd,$dd,$99,$c0,$f8,$fc,$fe,$fe,$dd,$99,$99 + $86,$11,$01,$81,$41,$43,$5e,$80,$9e,$2f,$3f,$9f,$df,$df,$de,$80 + $20,$10,$08,$08,$08,$00,$08,$00,$1b,$0e,$04,$04,$04,$0c,$04,$0c + $00,$08,$08,$08,$00,$08,$00,$00,$0c,$04,$04,$04,$0c,$04,$0c,$0c + $00,$20,$20,$10,$00,$00,$00,$00,$74,$1c,$1c,$08,$18,$10,$00,$00 + $40,$20,$20,$20,$00,$20,$00,$00,$a7,$5e,$1c,$1c,$3c,$1c,$38,$18 + $00,$10,$20,$20,$00,$20,$00,$00,$3c,$42,$81,$81,$81,$81,$42,$3c + $05,$1f,$5f,$f7,$5a,$44,$30,$00,$00,$00,$20,$08,$a5,$fb,$7f,$13 + $60,$e0,$d0,$ea,$c7,$0c,$7c,$c0,$00,$14,$2e,$17,$3f,$fe,$fc,$d8 + $3e,$7f,$ff,$70,$07,$ff,$fc,$1e,$00,$06,$1f,$00,$00,$07,$d0,$1e + $18,$fe,$c1,$0f,$e0,$82,$1f,$80,$00,$1e,$c1,$0f,$e0,$82,$1f,$80 + $c1,$ff,$3f,$98,$c3,$ff,$7e,$1f,$00,$c1,$20,$18,$03,$8f,$7e,$1f + $e3,$ff,$c6,$0e,$30,$87,$03,$fc,$63,$ff,$06,$0e,$30,$87,$03,$fc + $13,$31,$70,$70,$f0,$f0,$f8,$e8,$0f,$06,$24,$64,$64,$e0,$e0,$62 + $c8,$8c,$0c,$0e,$0f,$0f,$1b,$11,$f1,$61,$25,$25,$27,$06,$03,$40 + $a8,$ac,$0e,$0f,$3f,$7e,$fe,$aa,$02,$06,$06,$03,$38,$7e,$c2,$54 + $10,$30,$70,$f0,$fc,$7e,$7e,$54,$41,$61,$61,$c1,$1d,$7f,$43,$2b + $00,$c0,$60,$70,$70,$78,$37,$2f,$00,$c0,$60,$50,$40,$78,$3f,$3c + $00,$03,$06,$0e,$0e,$1e,$fc,$fc,$00,$03,$06,$0a,$02,$1e,$fc,$3c + $38,$70,$70,$70,$78,$7f,$7f,$3f,$33,$66,$73,$70,$38,$6f,$7f,$2e + $1c,$0e,$0e,$0e,$1e,$fe,$fe,$fc,$cd,$67,$cf,$0f,$1f,$f7,$ff,$75 + $00,$00,$0e,$10,$00,$20,$20,$00,$0f,$30,$40,$40,$80,$80,$80,$80 + $00,$00,$00,$00,$00,$00,$00,$00,$f0,$0c,$02,$02,$01,$01,$01,$01 + $00,$00,$00,$00,$00,$00,$00,$00,$80,$80,$80,$80,$40,$40,$30,$0f + $00,$00,$00,$00,$00,$00,$00,$00,$01,$01,$01,$01,$02,$02,$0c,$f0 + $06,$01,$10,$10,$00,$00,$00,$01,$0e,$3f,$2f,$6f,$7f,$7f,$7f,$3f + $00,$8c,$92,$42,$42,$c6,$dc,$80,$00,$bc,$8e,$de,$de,$de,$dc,$80 + $07,$12,$48,$48,$09,$18,$30,$00,$07,$72,$b8,$b9,$fa,$fb,$73,$01 + $00,$00,$00,$09,$02,$2d,$11,$05,$00,$00,$03,$0f,$1f,$37,$3e,$3f + $00,$00,$40,$90,$d0,$08,$5c,$0c,$00,$00,$c0,$70,$f8,$fc,$f4,$fc + $10,$22,$56,$03,$2b,$74,$37,$0d,$3f,$5f,$7d,$7f,$7f,$5f,$3f,$0f + $68,$f6,$bc,$5e,$3c,$de,$7c,$f0,$fc,$de,$fe,$fe,$fe,$fe,$fc,$f0 + $00,$00,$7f,$80,$80,$ff,$7f,$00,$00,$7f,$80,$7f,$ff,$ff,$7f,$00 + $00,$00,$fc,$01,$03,$ff,$fe,$00,$00,$fe,$03,$ff,$ff,$ff,$fe,$00 + $00,$10,$20,$20,$00,$20,$00,$00,$3c,$42,$81,$81,$81,$81,$42,$3c + $7f,$7f,$3f,$1f,$80,$0f,$08,$88,$12,$80,$c0,$e0,$e0,$ef,$e8,$e8 + $fc,$fc,$fc,$f8,$1c,$dc,$58,$5c,$48,$04,$0c,$18,$1c,$dc,$18,$1c + $0f,$00,$9f,$3f,$7f,$db,$00,$00,$e0,$e0,$ff,$ff,$ff,$db,$00,$00 + $dc,$18,$ec,$f4,$f8,$6c,$00,$00,$1c,$18,$fc,$fc,$fc,$6c,$00,$00 + $ff,$ff,$c0,$c0,$cf,$cb,$cc,$cc,$00,$00,$1f,$3f,$3f,$38,$3b,$3b + $fc,$fc,$0c,$0c,$cc,$4c,$cc,$cc,$00,$04,$ec,$fc,$fc,$3c,$bc,$bc + $cb,$cf,$c0,$c0,$ff,$ff,$00,$00,$3b,$30,$3f,$1f,$7f,$ff,$00,$00 + $4c,$cc,$0c,$0c,$fc,$fc,$00,$00,$3c,$3c,$fc,$ec,$fc,$fc,$00,$00 + $fe,$82,$82,$82,$82,$fe,$00,$00,$00,$7e,$56,$56,$7e,$fe,$00,$00 + $20,$00,$00,$18,$20,$00,$00,$18,$1c,$f7,$3c,$18,$1c,$f7,$3c,$18 + $e2,$80,$10,$20,$00,$00,$80,$00,$e2,$98,$2c,$5e,$7e,$3c,$98,$00 + $7e,$00,$7e,$00,$7e,$00,$7e,$00,$6e,$00,$6e,$00,$6e,$00,$6e,$00 + $10,$f4,$08,$04,$c5,$24,$23,$05,$e8,$f8,$0e,$e6,$f7,$37,$2e,$fd + $00,$5f,$20,$48,$d7,$88,$18,$80,$3f,$3f,$e0,$c7,$cf,$b8,$98,$7f + $f8,$10,$10,$10,$d7,$08,$00,$ef,$f8,$10,$30,$b7,$f7,$30,$df,$ef + $ff,$00,$08,$08,$ef,$08,$10,$ef,$ff,$00,$18,$db,$ff,$38,$f7,$ef + $ff,$7f,$3f,$5f,$4f,$07,$03,$01,$00,$b0,$c0,$e0,$f0,$f8,$fc,$fe + $fe,$fe,$fe,$fa,$fa,$fe,$fe,$fe,$00,$1a,$06,$0a,$1a,$3e,$7e,$fe + $01,$03,$07,$4f,$5f,$27,$7f,$00,$ff,$ff,$ff,$ff,$ff,$e7,$ff,$00 + $7e,$be,$da,$ea,$f6,$ca,$fc,$00,$fe,$fe,$fa,$fa,$fe,$ce,$fe,$00 + $cf,$bf,$70,$60,$c4,$c8,$c0,$c0,$47,$bf,$70,$27,$4b,$57,$5f,$df + $cc,$f4,$38,$18,$0c,$0c,$0c,$0c,$cc,$f4,$38,$98,$cc,$ec,$ec,$ec + $c0,$c0,$60,$70,$bf,$cf,$00,$00,$df,$cf,$67,$70,$bf,$4f,$00,$00 + $0c,$0c,$18,$38,$f4,$cc,$00,$00,$ec,$cc,$98,$38,$f4,$cc,$00,$00 + $ff,$ff,$c0,$df,$d0,$d0,$df,$c0,$00,$00,$3f,$3f,$35,$35,$20,$3f + $fc,$fc,$0c,$ec,$2c,$2c,$ec,$0c,$00,$04,$fc,$fc,$5c,$5c,$1c,$fc + $ff,$00,$00,$e4,$00,$cf,$00,$00,$7f,$00,$00,$e3,$00,$bf,$00,$00 + $fc,$00,$00,$f9,$00,$87,$00,$00,$fc,$00,$00,$f7,$00,$67,$00,$00 + $fe,$02,$02,$02,$fe,$00,$00,$7f,$00,$fe,$0e,$fe,$fe,$00,$00,$00 + $7f,$40,$40,$40,$7f,$00,$00,$fe,$00,$3f,$30,$3f,$7f,$00,$00,$00 + $40,$40,$40,$7f,$00,$00,$00,$ff,$3f,$30,$3f,$7f,$00,$00,$ff,$ff + $02,$02,$02,$fe,$00,$00,$00,$ff,$fe,$0e,$fe,$fe,$00,$00,$ff,$ff + $ff,$ff,$c0,$d0,$c0,$c0,$c0,$c0,$00,$00,$3f,$27,$3f,$3f,$3f,$3f + $fc,$fc,$0c,$4c,$0c,$0c,$0c,$0c,$00,$04,$fc,$9c,$fc,$fc,$fc,$fc + $c0,$c0,$d0,$c0,$ff,$ff,$00,$00,$3f,$3f,$27,$3f,$3f,$7f,$00,$00 + $0c,$0c,$4c,$0c,$fc,$fc,$00,$00,$fc,$fc,$9c,$fc,$fc,$fc,$00,$00 + $10,$28,$44,$82,$01,$01,$01,$01,$0c,$16,$32,$61,$c0,$c0,$c0,$c0 + $01,$82,$44,$28,$10,$10,$10,$10,$c0,$61,$33,$16,$0c,$0c,$0c,$0c + $20,$20,$20,$10,$10,$09,$09,$09,$1f,$1f,$1f,$0f,$0f,$07,$07,$07 + $08,$30,$40,$c0,$80,$80,$00,$00,$f8,$f0,$c0,$c0,$80,$80,$00,$00 + $05,$05,$03,$02,$01,$00,$00,$00,$03,$03,$01,$01,$00,$00,$00,$00 + $00,$00,$80,$80,$40,$a0,$30,$00,$00,$00,$80,$80,$c0,$60,$00,$00 + $10,$0c,$02,$03,$01,$01,$00,$00,$1f,$0f,$03,$03,$01,$01,$00,$00 + $04,$04,$04,$08,$08,$90,$90,$90,$f8,$f8,$f8,$f0,$f0,$e0,$e0,$e0 + $00,$00,$01,$01,$02,$05,$0c,$00,$00,$00,$01,$01,$03,$06,$00,$00 + $a0,$a0,$c0,$40,$80,$00,$00,$00,$c0,$c0,$80,$80,$00,$00,$00,$00 + $00,$11,$08,$11,$08,$11,$08,$11,$00,$1b,$08,$1b,$08,$1b,$08,$1b + $00,$98,$00,$98,$00,$98,$00,$98,$00,$98,$00,$98,$00,$98,$00,$98 + $00,$01,$03,$07,$07,$30,$0f,$00,$00,$0f,$1f,$3f,$3f,$30,$7f,$00 + $00,$c8,$e4,$f4,$f4,$00,$fe,$00,$00,$c8,$e4,$f4,$f4,$00,$fe,$00 + $00,$0f,$00,$07,$07,$03,$01,$00,$00,$7f,$00,$3f,$3f,$1f,$0f,$00 + $00,$fe,$00,$f4,$f4,$e4,$c8,$00,$00,$fe,$00,$f4,$f4,$e4,$c8,$00 + $42,$42,$42,$42,$42,$42,$42,$42,$7d,$7d,$7d,$7d,$7d,$7d,$7d,$7d + $58,$58,$58,$58,$58,$58,$58,$58,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$f8 + $00,$00,$ff,$00,$00,$00,$ff,$00,$00,$00,$ff,$ff,$ff,$ff,$00,$ff + $00,$ff,$00,$ff,$ff,$00,$00,$00,$ff,$ff,$ff,$ff,$ff,$00,$00,$00 + $00,$0f,$3f,$40,$00,$00,$c0,$7f,$3f,$70,$c0,$bf,$ff,$ff,$bf,$7f + $00,$ff,$ff,$00,$00,$00,$00,$ff,$ff,$00,$00,$ff,$ff,$ff,$ff,$ff + $00,$80,$80,$10,$10,$30,$e0,$c0,$c0,$60,$70,$f0,$f0,$f0,$e0,$c0 + $34,$68,$c8,$c8,$00,$c8,$00,$ff,$0b,$17,$37,$37,$00,$37,$00,$00 + $60,$30,$18,$18,$00,$08,$00,$ff,$e0,$f0,$f8,$f8,$00,$f8,$00,$00 + $ff,$00,$c8,$00,$c8,$c8,$68,$34,$00,$00,$37,$00,$37,$37,$17,$0b + $ff,$00,$08,$00,$18,$18,$30,$60,$00,$00,$f8,$00,$f8,$f8,$f0,$e0 + $00,$00,$00,$00,$00,$03,$07,$06,$00,$00,$00,$01,$07,$0c,$08,$19 + $00,$00,$00,$00,$fe,$fe,$00,$00,$00,$00,$00,$fe,$00,$00,$fe,$fe + $0c,$0c,$00,$00,$0c,$0c,$00,$00,$13,$13,$1f,$1f,$13,$13,$1f,$00 + $00,$00,$0e,$1e,$3e,$38,$38,$00,$fe,$fe,$fe,$fe,$fe,$f8,$f8,$00 + $00,$00,$00,$00,$7f,$7f,$00,$00,$00,$00,$00,$7f,$00,$00,$7f,$7f + $00,$00,$00,$00,$e0,$f0,$f0,$78,$00,$00,$00,$80,$e0,$30,$30,$98 + $00,$00,$60,$70,$78,$18,$18,$00,$7f,$7f,$7f,$7f,$7f,$1f,$1f,$00 + $38,$38,$38,$38,$38,$38,$38,$00,$d8,$f8,$f8,$f8,$f8,$f8,$f8,$00 + $1c,$00,$1c,$00,$1c,$00,$1c,$00,$13,$00,$13,$00,$13,$00,$13,$00 + $38,$00,$38,$00,$38,$00,$38,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00 + $00,$00,$00,$55,$55,$55,$00,$00,$00,$00,$00,$55,$00,$00,$55,$55 + $00,$00,$55,$55,$55,$00,$00,$00,$55,$55,$55,$55,$55,$00,$00,$00 + $00,$0c,$0c,$0c,$0c,$0c,$0c,$1c,$00,$13,$13,$13,$13,$13,$13,$13 + $00,$38,$38,$1e,$1e,$0e,$00,$00,$00,$f8,$f8,$ee,$e0,$f0,$fe,$fe + $1e,$0f,$0f,$07,$01,$00,$00,$00,$19,$0e,$0f,$07,$01,$00,$00,$00 + $00,$00,$fe,$fe,$fe,$00,$00,$00,$fe,$fe,$fe,$fe,$fe,$00,$00,$00 + $00,$1c,$1c,$7c,$7c,$78,$00,$00,$00,$13,$13,$73,$03,$07,$7f,$7f + $00,$38,$38,$38,$38,$38,$38,$38,$00,$f8,$f8,$f8,$f8,$f8,$f8,$f8 + $00,$00,$7f,$7f,$7f,$00,$00,$00,$7f,$7f,$7f,$7f,$7f,$00,$00,$00 + $78,$f0,$f0,$e0,$80,$00,$00,$00,$f8,$f0,$f0,$e0,$80,$00,$00,$00 + $f0,$9c,$c7,$a9,$44,$36,$0b,$09,$00,$e0,$c0,$e8,$74,$3e,$0f,$0f + $00,$00,$00,$80,$40,$20,$10,$88,$00,$00,$00,$00,$00,$00,$00,$80 + $04,$00,$02,$02,$00,$00,$00,$00,$07,$03,$03,$03,$01,$00,$00,$00 + $84,$c4,$42,$62,$21,$31,$11,$11,$80,$c0,$c0,$e0,$e0,$f0,$f0,$f0 + $00,$00,$00,$00,$00,$00,$00,$01,$00,$00,$00,$00,$01,$01,$03,$03 + $11,$11,$31,$21,$63,$62,$c4,$84,$f0,$f0,$f0,$e0,$e0,$e0,$c0,$80 + $01,$13,$16,$2c,$78,$b3,$ec,$f0,$07,$1f,$1e,$3c,$78,$f0,$e0,$00 + $08,$10,$20,$40,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $82,$cc,$4e,$4c,$40,$4c,$4c,$4c,$82,$cc,$ce,$cc,$c0,$cc,$cc,$cc + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$00,$00,$01,$03,$06,$0c,$18,$00,$00,$00,$00,$00,$01,$03,$07 + $0f,$3c,$e0,$84,$08,$30,$60,$e0,$00,$02,$1f,$7a,$f4,$c8,$98,$10 + $19,$31,$33,$63,$63,$67,$e7,$e7,$06,$0e,$0c,$1c,$1c,$18,$18,$18 + $c0,$c0,$80,$80,$80,$00,$00,$00,$30,$30,$60,$60,$60,$e0,$e0,$e0 + $c7,$c7,$c7,$c7,$c7,$c7,$c7,$c7,$38,$38,$38,$38,$38,$38,$38,$38 + $20,$20,$20,$20,$20,$20,$20,$20,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0 + $e7,$e7,$e7,$63,$63,$73,$31,$39,$18,$18,$18,$1c,$1c,$0c,$0e,$06 + $00,$00,$00,$00,$00,$80,$80,$80,$e0,$e0,$e0,$e0,$e0,$70,$70,$70 + $18,$1c,$0c,$06,$03,$01,$00,$00,$07,$03,$03,$01,$00,$00,$00,$00 + $c0,$60,$20,$10,$00,$c0,$60,$0f,$30,$98,$d8,$e8,$fc,$3c,$1e,$10 + $55,$56,$53,$55,$51,$55,$51,$51,$77,$77,$73,$75,$75,$75,$71,$71 + $00,$00,$00,$00,$00,$00,$00,$03,$f8,$20,$40,$40,$40,$20,$10,$10 + $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$10,$30,$60,$60 + $00,$00,$00,$00,$00,$00,$00,$00,$80,$c0,$a0,$18,$07,$00,$00,$00 + $00,$00,$00,$00,$01,$07,$03,$03,$00,$00,$00,$00,$40,$60,$38,$38 + $06,$37,$77,$63,$77,$bf,$ff,$fe,$18,$08,$08,$1c,$08,$00,$00,$00 + $04,$0e,$9f,$ff,$ff,$ff,$3f,$ff,$f0,$60,$00,$00,$00,$00,$00,$00 + $00,$00,$80,$c0,$f0,$fc,$fe,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $07,$47,$7f,$7f,$ff,$ff,$ff,$7f,$10,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$fd,$fb,$fb,$fb,$fb,$fd,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$ff,$ff,$fc,$f9,$d3,$ea,$00,$00,$00,$00,$00,$00,$00,$00 + $ff,$ff,$ff,$ff,$7f,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$80,$80,$40,$e0,$f0,$d0,$f8,$18,$70,$20,$00,$00,$00,$00,$00 + $00,$00,$01,$03,$03,$03,$07,$07,$00,$00,$00,$38,$18,$00,$00,$00 + $f1,$fe,$ff,$ff,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00 + $fd,$32,$8e,$95,$c2,$e0,$e0,$f0,$00,$00,$00,$00,$00,$00,$00,$00 + $21,$80,$40,$02,$05,$26,$52,$63,$00,$00,$00,$06,$07,$67,$73,$73 + $ff,$af,$2f,$07,$0b,$8d,$a7,$b1,$00,$00,$00,$00,$00,$80,$80,$80 + $f8,$b8,$f8,$f8,$f0,$f0,$f8,$fc,$00,$00,$00,$00,$00,$00,$00,$00 + $07,$07,$07,$07,$07,$03,$03,$01,$00,$00,$00,$00,$00,$00,$00,$80 + $ff,$c7,$83,$03,$c7,$cf,$fe,$ec,$00,$30,$78,$f8,$30,$00,$01,$12 + $f5,$ea,$fb,$fd,$f9,$1e,$0e,$44,$07,$03,$03,$01,$01,$e0,$10,$48 + $2b,$3b,$1b,$5a,$d0,$d1,$c3,$c3,$3b,$3b,$9b,$da,$d0,$d0,$c0,$c0 + $2c,$23,$20,$20,$30,$98,$cf,$c7,$00,$00,$00,$00,$00,$00,$00,$30 + $1f,$80,$c0,$c0,$60,$70,$fc,$c0,$00,$00,$00,$00,$00,$00,$00,$00 + $01,$00,$00,$00,$00,$00,$00,$00,$80,$80,$c0,$78,$4c,$c7,$80,$80 + $c4,$a5,$45,$0b,$1b,$03,$03,$00,$3a,$13,$31,$63,$c3,$83,$03,$04 + $e6,$e6,$c4,$8e,$1c,$3c,$18,$30,$e8,$e8,$c8,$90,$60,$00,$00,$00 + $1f,$3d,$75,$76,$76,$76,$22,$2a,$00,$00,$00,$02,$02,$02,$02,$0e + $a2,$a3,$b0,$90,$98,$88,$84,$81,$3a,$3b,$38,$1c,$1c,$0e,$07,$01 + $20,$e0,$e0,$10,$70,$60,$10,$00,$20,$e0,$e0,$10,$70,$60,$90,$f0 + $04,$07,$03,$00,$00,$03,$03,$00,$07,$07,$03,$00,$03,$03,$03,$04 + $01,$05,$05,$05,$85,$82,$81,$08,$03,$07,$07,$87,$87,$83,$81,$0c + $2a,$6a,$6a,$6a,$2a,$8b,$4d,$b5,$0e,$0e,$0e,$0e,$0e,$8f,$cf,$f7 + $40,$20,$50,$50,$50,$51,$52,$07,$40,$60,$70,$70,$70,$71,$72,$27 + $00,$40,$60,$20,$80,$c0,$80,$00,$1e,$40,$60,$20,$80,$c0,$80,$00 + $04,$07,$07,$00,$08,$0e,$00,$0e,$07,$07,$07,$08,$0e,$0e,$00,$0e + $16,$14,$14,$55,$94,$55,$54,$54,$1e,$1c,$1c,$5d,$dd,$dd,$dc,$dc + $11,$35,$19,$16,$42,$38,$19,$32,$fe,$da,$f4,$f0,$a4,$d6,$e0,$dc + $58,$98,$58,$98,$58,$b8,$d8,$98,$5a,$5a,$1a,$1a,$1a,$1a,$1a,$0a + $09,$05,$0b,$0e,$01,$0c,$0a,$07,$3e,$3a,$3c,$39,$3a,$38,$35,$39 + $48,$88,$18,$18,$48,$18,$08,$d8,$4c,$0c,$1c,$1c,$0c,$1c,$0c,$1c + $02,$01,$03,$02,$01,$02,$03,$01,$0d,$0e,$0e,$0e,$0f,$0f,$0f,$0e + $20,$80,$00,$20,$40,$80,$40,$80,$30,$10,$10,$b0,$10,$10,$90,$10 + $01,$00,$00,$00,$00,$01,$00,$00,$02,$03,$03,$03,$03,$02,$03,$03 + $00,$80,$00,$00,$00,$00,$80,$00,$40,$40,$40,$40,$40,$40,$40,$40 + $01,$01,$01,$01,$01,$01,$01,$01,$70,$70,$70,$70,$70,$70,$70,$70 + $ff,$ff,$c0,$c0,$cf,$cb,$cc,$cc,$00,$00,$1f,$3f,$3f,$38,$3b,$3b + $fc,$fc,$0c,$0c,$cc,$4c,$cc,$cc,$00,$04,$ec,$fc,$fc,$3c,$bc,$bc + $cb,$cf,$c0,$c0,$ff,$ff,$00,$00,$3b,$30,$3f,$1f,$7f,$ff,$00,$00 + $4c,$cc,$0c,$0c,$fc,$fc,$00,$00,$3c,$3c,$fc,$ec,$fc,$fc,$00,$00 + $fe,$02,$02,$02,$fe,$00,$00,$7f,$00,$fe,$0e,$fe,$fe,$00,$00,$00 + $7f,$40,$40,$40,$7f,$00,$00,$fe,$00,$3f,$30,$3f,$7f,$00,$00,$00 + $40,$40,$40,$7f,$00,$00,$00,$ff,$3f,$30,$3f,$7f,$00,$00,$ff,$ff + $02,$02,$02,$fe,$00,$00,$00,$ff,$fe,$0e,$fe,$fe,$00,$00,$ff,$ff + $ff,$ff,$c0,$d0,$c0,$c0,$c0,$c0,$00,$00,$3f,$27,$3f,$3f,$3f,$3f + $fc,$fc,$0c,$4c,$0c,$0c,$0c,$0c,$00,$04,$fc,$9c,$fc,$fc,$fc,$fc + $c0,$c0,$d0,$c0,$ff,$ff,$00,$00,$3f,$3f,$27,$3f,$3f,$7f,$00,$00 + $0c,$0c,$4c,$0c,$fc,$fc,$00,$00,$fc,$fc,$9c,$fc,$fc,$fc,$00,$00 + $ff,$ff,$c0,$c0,$cf,$cb,$cc,$cc,$00,$00,$1f,$3f,$3f,$38,$3b,$3b + $fc,$fc,$0c,$0c,$cc,$4c,$cc,$cc,$00,$04,$ec,$fc,$fc,$3c,$bc,$bc + $cb,$cf,$c0,$c0,$ff,$ff,$00,$00,$3b,$30,$3f,$1f,$7f,$ff,$00,$00 + $4c,$cc,$0c,$0c,$fc,$fc,$00,$00,$3c,$3c,$fc,$ec,$fc,$fc,$00,$00 + $fe,$02,$02,$02,$fe,$00,$00,$7f,$00,$fe,$0e,$fe,$fe,$00,$00,$00 + $7f,$40,$40,$40,$7f,$00,$00,$fe,$00,$3f,$30,$3f,$7f,$00,$00,$00 + $40,$40,$40,$7f,$00,$00,$00,$ff,$3f,$30,$3f,$7f,$00,$00,$ff,$ff + $02,$02,$02,$fe,$00,$00,$00,$ff,$fe,$0e,$fe,$fe,$00,$00,$ff,$ff + $73,$fd,$3b,$a0,$c0,$e0,$60,$80,$00,$00,$00,$1f,$10,$17,$14,$14 + $e8,$9c,$7c,$1c,$44,$58,$5c,$5c,$00,$04,$0c,$fc,$24,$b8,$bc,$bc + $e0,$e7,$a0,$2f,$73,$7c,$00,$00,$17,$10,$1f,$0f,$33,$7c,$00,$00 + $58,$d4,$14,$dc,$ec,$d8,$00,$00,$b8,$34,$f4,$dc,$ec,$d8,$00,$00 b4b0: 65 06 dd 60+ .junk 16 b4c0: 00 00 00 00+ .bulk $00,$00,$00,$00,$00,$00,$00,$00,$38,$4c,$ce,$c6,$e6,$64,$38,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$18,$38,$18,$18,$18,$18,$7e,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$7c,$c6,$0e,$3c,$78,$e0,$fe,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$7e,$0c,$18,$3c,$06,$c6,$7c,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$1c,$3c,$6c,$cc,$fe,$0c,$0c,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$fc,$c0,$fc,$06,$06,$c6,$7c,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$3c,$60,$c0,$fc,$c6,$c6,$7c,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$fe,$c6,$0c,$18,$30,$30,$30,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$7c,$c6,$c6,$7c,$c6,$c6,$7c,$00 + $00,$00,$00,$00,$00,$00,$00,$00,$7c,$c6,$c6,$7e,$06,$0c,$78,$00 + $38,$6c,$c6,$c6,$fe,$c6,$c6,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$c6,$c6,$fc,$c6,$c6,$fc,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $3c,$66,$c0,$c0,$c0,$66,$3c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $f8,$cc,$c6,$c6,$c6,$cc,$f8,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$c0,$c0,$fc,$c0,$c0,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$c0,$c0,$fc,$c0,$c0,$c0,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $3e,$60,$c0,$ce,$c6,$66,$3e,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$c6,$c6,$fe,$c6,$c6,$c6,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7e,$18,$18,$18,$18,$18,$7e,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $1e,$06,$06,$06,$c6,$c6,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$cc,$d8,$f0,$f8,$dc,$ce,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $60,$60,$60,$60,$60,$60,$7e,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$ee,$fe,$fe,$d6,$c6,$c6,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$e6,$f6,$fe,$de,$ce,$c6,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7c,$c6,$c6,$d6,$c6,$c6,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$c6,$c6,$c6,$fc,$c0,$c0,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7c,$c6,$c6,$c6,$de,$cc,$7a,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fc,$c6,$c6,$ce,$f8,$dc,$ce,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $78,$cc,$c0,$7c,$06,$c6,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $7e,$18,$18,$18,$18,$18,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$c6,$c6,$c6,$c6,$c6,$7c,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$c6,$c6,$ee,$7c,$38,$10,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$c6,$d6,$fe,$fe,$ee,$c6,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $c6,$ee,$7c,$38,$7c,$ee,$c6,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $66,$66,$66,$3c,$18,$18,$18,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $fe,$0e,$1c,$38,$70,$e0,$fe,$00,$00,$00,$00,$00,$00,$00,$00,$00 + $00,$30,$08,$38,$48,$48,$34,$00,$00,$30,$08,$38,$48,$48,$34,$00 + $00,$20,$20,$38,$24,$24,$38,$00,$00,$20,$20,$38,$24,$24,$38,$00 + $00,$00,$38,$40,$40,$40,$38,$00,$00,$00,$38,$40,$40,$40,$38,$00 + $00,$04,$04,$1c,$24,$24,$1c,$00,$00,$04,$04,$1c,$24,$24,$1c,$00 + $00,$00,$38,$44,$78,$40,$3c,$00,$00,$00,$38,$44,$78,$40,$3c,$00 + $00,$18,$10,$3c,$10,$10,$10,$00,$00,$18,$10,$3c,$10,$10,$10,$00 + $00,$30,$48,$3a,$0c,$14,$08,$00,$00,$30,$48,$3a,$0c,$14,$08,$00 + $00,$20,$20,$38,$24,$24,$24,$00,$00,$20,$20,$38,$24,$24,$24,$00 + $00,$00,$10,$00,$10,$10,$10,$00,$00,$00,$10,$00,$10,$10,$10,$00 + $00,$08,$00,$08,$08,$48,$30,$00,$00,$08,$00,$08,$08,$48,$30,$00 + $00,$40,$40,$48,$50,$70,$4c,$00,$00,$40,$40,$48,$50,$70,$4c,$00 + $00,$08,$14,$14,$14,$08,$16,$00,$00,$08,$14,$14,$14,$08,$16,$00 + $00,$00,$28,$54,$54,$54,$54,$00,$00,$00,$28,$54,$54,$54,$54,$00 + $00,$00,$30,$48,$48,$48,$48,$00,$00,$00,$30,$48,$48,$48,$48,$00 + $00,$00,$30,$48,$48,$48,$30,$00,$00,$00,$30,$48,$48,$48,$30,$00 + $00,$38,$24,$24,$38,$20,$20,$00,$00,$38,$24,$24,$38,$20,$20,$00 + $00,$30,$48,$48,$38,$0a,$04,$00,$00,$30,$48,$48,$38,$0a,$04,$00 + $00,$00,$60,$1c,$10,$10,$10,$00,$00,$00,$60,$1c,$10,$10,$10,$00 + $00,$00,$38,$40,$38,$04,$78,$00,$00,$00,$38,$40,$38,$04,$78,$00 + $00,$20,$70,$20,$20,$20,$18,$00,$00,$20,$70,$20,$20,$20,$18,$00 + $00,$00,$48,$48,$48,$48,$34,$00,$00,$00,$48,$48,$48,$48,$34,$00 + $00,$00,$44,$44,$28,$38,$10,$00,$00,$00,$44,$44,$28,$38,$10,$00 + $00,$00,$44,$54,$54,$54,$28,$00,$00,$00,$44,$54,$54,$54,$28,$00 + $00,$00,$44,$28,$10,$28,$44,$00,$00,$00,$44,$28,$10,$28,$44,$00 + $00,$24,$24,$1c,$04,$24,$18,$00,$00,$24,$24,$1c,$04,$24,$18,$00 + $00,$00,$7c,$08,$10,$20,$7c,$00,$00,$00,$7c,$08,$10,$20,$7c,$00 + $00,$1c,$22,$02,$08,$00,$08,$00,$00,$1c,$22,$02,$08,$00,$08,$00 + $00,$00,$00,$7c,$00,$00,$00,$00,$00,$00,$00,$7c,$00,$00,$00,$00 b8c0: 18 18 18 18+ .junk 1776 bfb0: 78 RESET_G sei bfb1: d8 cld bfb2: a2 00 ldx #$00 bfb4: 8e 00 20 stx PPUControl0 bfb7: 8e 01 20 stx PPUControl1 bfba: ad 02 20 LBFBA_5 lda PPUStatus bfbd: 10 fb bpl LBFBA_5 bfbf: ad 02 20 LBFBF_5 lda PPUStatus bfc2: 10 fb bpl LBFBF_5 bfc4: 09 ff ora #$ff bfc6: 8d 00 80 sta MMC1Reg0 bfc9: 8d 00 a0 sta MMC1Reg1 bfcc: 8d 00 c0 sta MMC1Reg2 bfcf: 8d 00 e0 sta MMC1Reg3 bfd2: 4c 1a c0 jmp Startup bfd5: ff ff ff ff+ .junk 37 bffa: d9 c0 .dd2 NMI bffc: b0 bf .dd2 RESET_G bffe: b0 bf .dd2 RESET_G .adrend β $8000 .addrs $c000 c000: 8a RandomNumbers txa c001: 48 pha c002: a2 05 ldx #$05 c004: a5 2e LC004 lda RandomNumber1 c006: 18 clc c007: 69 05 adc #$05 c009: 85 2e sta RandomNumber1 c00b: a5 2f lda RandomNumber2 c00d: 18 clc c00e: 69 13 adc #$13 c010: 85 2f sta RandomNumber2 c012: ca dex c013: d0 ef bne LC004 c015: 68 pla c016: aa tax c017: a5 2e lda RandomNumber1 c019: 60 rts c01a: a9 00 Startup lda #$00 c01c: 8d 00 a0 sta MMC1Reg1 c01f: 8d 00 a0 sta MMC1Reg1 c022: 8d 00 a0 sta MMC1Reg1 c025: 8d 00 a0 sta MMC1Reg1 c028: 8d 00 a0 sta MMC1Reg1 c02b: 8d 00 c0 sta MMC1Reg2 c02e: 8d 00 c0 sta MMC1Reg2 c031: 8d 00 c0 sta MMC1Reg2 c034: 8d 00 c0 sta MMC1Reg2 c037: 8d 00 c0 sta MMC1Reg2 c03a: 20 fa c4 jsr LC4FA c03d: ca dex c03e: 9a txs c03f: a0 07 ldy #$07 c041: 84 01 sty $01 c043: a0 00 ldy #$00 c045: 84 00 sty $00 c047: 98 tya c048: 91 00 LC048 sta ($00),y c04a: c8 iny c04b: d0 fb bne LC048 c04d: c6 01 dec $01 c04f: 30 06 bmi LC057 c051: a6 01 ldx $01 c053: e0 01 cpx #$01 c055: d0 f1 bne LC048 c057: a0 7f LC057 ldy #$7f c059: 84 01 sty $01 c05b: a0 00 ldy #$00 c05d: 84 00 sty $00 c05f: 98 tya c060: 91 00 LC060 sta ($00),y c062: c8 iny c063: d0 fb bne LC060 c065: c6 01 dec $01 c067: a6 01 ldx $01 c069: e0 60 cpx #$60 c06b: b0 f3 bcs LC060 c06d: a9 0e lda #$0e c06f: 85 25 sta MMCReg0Cntrl c071: a9 00 lda #$00 c073: 85 28 sta SwitchUpperBits c075: a0 00 ldy #$00 c077: 84 fd sty ScrollX c079: 84 fc sty ScrollY c07b: 8c 05 20 sty PPUScroll c07e: 8c 05 20 sty PPUScroll c081: c8 iny c082: 84 1d sty GameMode c084: 20 58 c1 jsr LC158 c087: 20 a3 c1 jsr LC1A3 c08a: a9 90 lda #$90 c08c: 8d 00 20 sta PPUControl0 c08f: 85 ff sta PPUCNT0ZP c091: a9 02 lda #$02 c093: 85 fe sta PPUCNT1ZP c095: a9 47 lda #$47 c097: 85 fa sta MirrorCntrl c099: 20 b2 c4 jsr LC4B2 c09c: a9 00 lda #$00 c09e: 8d 11 40 sta DMCCntrl1 c0a1: a9 0f lda #$0f c0a3: 8d 15 40 sta APUCommonCntrl0 c0a6: a0 00 ldy #$00 c0a8: 84 1f sty TitleRoutine c0aa: 84 1e sty MainRoutine c0ac: a9 11 lda #$11 c0ae: 85 2e sta RandomNumber1 c0b0: a9 ff lda #$ff c0b2: 85 2f sta RandomNumber2 c0b4: c8 iny c0b5: 84 24 sty SwitchPending c0b7: 20 de c4 jsr LC4DE c0ba: d0 0f bne LC0CB c0bc: 20 de c4 LC0BC jsr LC4DE c0bf: 20 66 c2 jsr LC266 c0c2: 20 14 c1 jsr LC114 c0c5: e6 2d inc FrameCount c0c7: a9 00 lda #$00 c0c9: 85 1a sta NMIStatus c0cb: a8 LC0CB tay c0cc: a5 1a lda NMIStatus c0ce: d0 03 bne LC0D3 c0d0: 4c cb c0 jmp LC0CB c0d3: 20 00 c0 LC0D3 jsr RandomNumbers c0d6: 4c bc c0 jmp LC0BC c0d9: 08 NMI php c0da: 48 pha c0db: 8a txa c0dc: 48 pha c0dd: 98 tya c0de: 48 pha c0df: a9 00 lda #$00 c0e1: 8d 03 20 sta SPRAddress c0e4: a9 02 lda #$02 c0e6: 8d 14 40 sta SPRDMAReg c0e9: a5 1a lda NMIStatus c0eb: d0 16 bne LC103 c0ed: a5 1d lda GameMode c0ef: f0 03 beq LC0F4 c0f1: 20 07 9a jsr L9A07 c0f4: 20 e0 c1 LC0F4 jsr LC1E0 c0f7: 20 ca c2 jsr LC2CA c0fa: 20 4d c4 jsr LC44D c0fd: 20 9a c2 jsr LC29A c100: 20 15 c2 jsr LC215 c103: 20 b4 b3 LC103 jsr LB3B4 c106: 20 7e c9 jsr LC97E c109: a0 01 ldy #$01 c10b: 84 1a sty NMIStatus c10d: 68 pla c10e: a8 tay c10f: 68 pla c110: aa tax c111: 68 pla c112: 28 plp c113: 40 rti c114: a5 1d LC114 lda GameMode c116: f0 03 beq LC11B c118: 4c 00 80 jmp L8000 c11b: a5 12 LC11B lda Joy1Change c11d: 29 10 and #$10 c11f: f0 1b beq LC13C c121: a5 1e lda MainRoutine c123: c9 03 cmp #$03 c125: f0 08 beq LC12F c127: c9 05 cmp #$05 c129: d0 11 bne LC13C c12b: a9 03 lda #$03 c12d: d0 02 bne LC131 c12f: a9 05 LC12F lda #$05 c131: 85 1e LC131 sta MainRoutine c133: a5 31 lda GamePaused c135: 49 01 eor #$01 c137: 85 31 sta GamePaused c139: 20 92 cb jsr LCB92 c13c: a5 1e LC13C lda MainRoutine c13e: 20 7c c2 jsr ChooseRoutine c141: 01 c8 .dd2 TC801 c143: 1d c8 .dd2 TC81D c145: d1 c8 .dd2 TC8D1 c147: 2b c9 .dd2 TC92B c149: a6 c9 .dd2 TC9A6 c14b: b1 c9 .dd2 TC9B1 c14d: c4 c9 .dd2 TC9C4 c14f: 55 c1 .dd2 TC155 c151: d7 c9 .dd2 TC9D7 c153: 94 c4 .dd2 TC494 c155: e6 1e TC155 inc MainRoutine c157: 60 rts c158: 20 6d c1 LC158 jsr LC16D c15b: a5 1d lda GameMode c15d: f0 06 beq LC165 c15f: a5 1f lda TitleRoutine c161: c9 1d cmp #$1d c163: f0 04 beq LC169 c165: a9 02 LC165 lda #$02 c167: d0 06 bne LC16F c169: a9 03 LC169 lda #$03 c16b: d0 02 bne LC16F c16d: a9 01 LC16D lda #$01 c16f: 85 01 LC16F sta $01 c171: a9 ff lda #$ff c173: 85 00 sta $00 c175: ae 02 20 LC175 ldx PPUStatus c178: a5 ff lda PPUCNT0ZP c17a: 29 fb and #$fb c17c: 85 ff sta PPUCNT0ZP c17e: 8d 00 20 sta PPUControl0 c181: a6 01 ldx $01 c183: ca dex c184: bd 9f c1 lda LC19F,x c187: 8d 06 20 sta PPUAddress c18a: a9 00 lda #$00 c18c: 8d 06 20 sta PPUAddress c18f: a2 04 ldx #$04 c191: a0 00 ldy #$00 c193: a5 00 lda $00 c195: 8d 07 20 LC195 sta PPUIOReg c198: 88 dey c199: d0 fa bne LC195 c19b: ca dex c19c: d0 f7 bne LC195 c19e: 60 rts c19f: 20 LC19F .dd1 $20 c1a0: 24 .dd1 $24 c1a1: 28 .dd1 $28 c1a2: 2c .dd1 $2c c1a3: a0 02 LC1A3 ldy #$02 c1a5: 84 01 sty $01 c1a7: a0 00 ldy #$00 c1a9: 84 00 sty $00 c1ab: a0 00 ldy #$00 c1ad: a9 f0 lda #$f0 c1af: 91 00 LC1AF sta ($00),y c1b1: c8 iny c1b2: d0 fb bne LC1AF c1b4: a5 1d lda GameMode c1b6: f0 03 beq LC1BB c1b8: 4c 8a 98 jmp L9601+$289 c1bb: 60 LC1BB rts c1bc: a0 02 LC1BC ldy #$02 c1be: 84 01 sty $01 c1c0: a0 00 ldy #$00 c1c2: 84 00 sty $00 c1c4: a0 5f ldy #$5f c1c6: a9 f4 lda #$f4 c1c8: 91 00 LC1C8 sta ($00),y c1ca: 88 dey c1cb: 10 fb bpl LC1C8 c1cd: a5 1d lda GameMode c1cf: f0 ea beq LC1BB c1d1: 4c 8a 98 jmp L9601+$289 c1d4: a2 33 LC1D4 ldx #$33 c1d6: a9 00 lda #$00 c1d8: 95 00 LC1D8 sta $00,x c1da: e8 inx c1db: e0 e0 cpx #$e0 c1dd: 90 f9 bcc LC1D8 c1df: 60 rts c1e0: a5 1d LC1E0 lda GameMode c1e2: f0 09 beq LC1ED c1e4: a5 1f lda TitleRoutine c1e6: c9 1d cmp #$1d c1e8: 90 03 bcc LC1ED c1ea: 4c 54 9f jmp TitleFunc ;specify symbol to resolve to bank 0 c1ed: a4 1c LC1ED ldy PalDataPending c1ef: d0 0e bne LC1FF c1f1: a5 1d lda GameMode c1f3: f0 09 beq LC1FE c1f5: a5 1f lda TitleRoutine c1f7: c9 15 cmp #$15 c1f9: b0 03 bcs LC1FE c1fb: 4c c7 8a jmp L8572+$555 c1fe: 60 LC1FE rts c1ff: 88 LC1FF dey c200: 98 tya c201: 0a asl A c202: a8 tay c203: be 60 95 ldx L9560,y c206: b9 61 95 lda L9560+1,y c209: a8 tay c20a: a9 00 lda #$00 c20c: 85 1c sta PalDataPending c20e: 86 00 LC20E stx $00 c210: 84 01 sty $01 c212: 4c 0c c3 jmp LC30C c215: a2 00 LC215 ldx #$00 c217: 86 01 stx $01 c219: 20 1f c2 jsr LC21F c21c: e8 inx c21d: e6 01 inc $01 c21f: a0 01 LC21F ldy #$01 c221: 8c 16 40 sty CPUJoyPad1 c224: 88 dey c225: 8c 16 40 sty CPUJoyPad1 c228: a0 08 ldy #$08 c22a: 48 LC22A pha c22b: bd 16 40 lda CPUJoyPad1,x c22e: 85 00 sta $00 c230: 4a lsr A c231: 05 00 ora $00 c233: 4a lsr A c234: 68 pla c235: 2a rol A c236: 88 dey c237: d0 f1 bne LC22A c239: a6 01 ldx $01 c23b: b4 14 ldy Joy1Status,x c23d: 84 00 sty $00 c23f: 95 14 sta Joy1Status,x c241: 45 00 eor $00 c243: f0 08 beq LC24D c245: a5 00 lda $00 c247: 29 bf and #$bf c249: 85 00 sta $00 c24b: 55 14 eor Joy1Status,x c24d: 35 14 LC24D and Joy1Status,x c24f: 95 12 sta Joy1Change,x c251: 95 16 sta Joy1Retrig,x c253: a0 20 ldy #$20 c255: b5 14 lda Joy1Status,x c257: c5 00 cmp $00 c259: d0 08 bne LC263 c25b: d6 18 dec RetrigDelay1,x c25d: d0 06 bne LC265 c25f: 95 16 sta Joy1Retrig,x c261: a0 08 ldy #$08 c263: 94 18 LC263 sty RetrigDelay1,x c265: 60 LC265 rts c266: a2 01 LC266 ldx #$01 c268: c6 29 dec TimerDelay c26a: 10 06 bpl LC272 c26c: a9 09 lda #$09 c26e: 85 29 sta TimerDelay c270: a2 02 ldx #$02 c272: b5 2a LC272 lda Timer1,x c274: f0 02 beq LC278 c276: d6 2a dec Timer1,x c278: ca LC278 dex c279: 10 f7 bpl LC272 c27b: 60 rts c27c: 0a ChooseRoutine asl A c27d: 84 6a sty TempY c27f: 86 69 stx TempX c281: a8 tay c282: c8 iny c283: 68 pla c284: 85 0c sta CodePtr c286: 68 pla c287: 85 0d sta CodePtr+1 c289: b1 0c lda (CodePtr),y c28b: aa tax c28c: c8 iny c28d: b1 0c lda (CodePtr),y c28f: 85 0d sta CodePtr+1 c291: 86 0c stx CodePtr c293: a6 69 ldx TempX c295: a4 6a ldy TempY c297: 6c 0c 00 jmp (CodePtr) c29a: ad 02 20 LC29A lda PPUStatus c29d: a5 fd lda ScrollX c29f: 8d 05 20 sta PPUScroll c2a2: a5 fc lda ScrollY c2a4: 8d 05 20 sta PPUScroll c2a7: 60 rts c2a8: 98 LC2A8 tya c2a9: 18 clc c2aa: 65 00 adc $00 c2ac: 85 00 sta $00 c2ae: 90 02 bcc LC2B2 c2b0: e6 01 inc $01 c2b2: 60 LC2B2 rts c2b3: 98 .dd1 $98 c2b4: 18 .dd1 $18 c2b5: 65 .dd1 $65 c2b6: 02 .dd1 $02 c2b7: 85 .dd1 $85 c2b8: 02 .dd1 $02 c2b9: 90 .dd1 $90 c2ba: 02 .dd1 $02 c2bb: e6 .dd1 $e6 c2bc: 03 .dd1 $03 c2bd: 60 .dd1 $60 c2be: 4a LC2BE lsr A c2bf: 4a LC2BF lsr A c2c0: 4a LC2C0 lsr A c2c1: 4a lsr A c2c2: 4a lsr A c2c3: 60 rts c2c4: 0a LC2C4 asl A c2c5: 0a LC2C5 asl A c2c6: 0a LC2C6 asl A c2c7: 0a asl A c2c8: 0a asl A c2c9: 60 rts c2ca: a5 1b LC2CA lda PPUDataPending c2cc: f0 15 beq LC2E3 c2ce: a9 a1 lda #$a1 c2d0: 85 00 sta $00 c2d2: a9 07 lda #$07 c2d4: 85 01 sta $01 c2d6: 20 0c c3 jsr LC30C c2d9: a9 00 lda #$00 c2db: 8d a0 07 sta PPUStrIndex c2de: 8d a1 07 sta PPUDataString c2e1: 85 1b sta PPUDataPending c2e3: 60 LC2E3 rts c2e4: 8d 06 20 LC2E4 sta PPUAddress c2e7: c8 iny c2e8: b1 00 lda ($00),y c2ea: 8d 06 20 sta PPUAddress c2ed: c8 iny c2ee: b1 00 lda ($00),y c2f0: 0a asl A c2f1: 20 18 c3 jsr LC318 c2f4: 0a asl A c2f5: b1 00 lda ($00),y c2f7: 29 3f and #$3f c2f9: aa tax c2fa: 90 01 bcc LC2FD c2fc: c8 iny c2fd: b0 01 LC2FD bcs LC300 c2ff: c8 iny c300: b1 00 LC300 lda ($00),y c302: 8d 07 20 sta PPUIOReg c305: ca dex c306: d0 f5 bne LC2FD c308: c8 iny c309: 20 a8 c2 jsr LC2A8 c30c: ae 02 20 LC30C ldx PPUStatus c30f: a0 00 ldy #$00 c311: b1 00 lda ($00),y c313: d0 cf bne LC2E4 c315: 4c 9a c2 jmp LC29A c318: 48 LC318 pha c319: a5 ff lda PPUCNT0ZP c31b: 09 04 ora #$04 c31d: b0 02 bcs LC321 c31f: 29 fb and #$fb c321: 8d 00 20 LC321 sta PPUControl0 c324: 85 ff sta PPUCNT0ZP c326: 68 pla c327: 60 rts c328: a0 01 LC328 ldy #$01 c32a: 84 1b sty PPUDataPending c32c: 88 dey c32d: b1 02 lda ($02),y c32f: 29 0f and #$0f c331: 85 05 sta $05 c333: b1 02 lda ($02),y c335: 20 bf c2 jsr LC2BF c338: 85 04 sta $04 c33a: ae a0 07 ldx PPUStrIndex c33d: a5 01 LC33D lda $01 c33f: 20 6b c3 jsr LC36B c342: a5 00 lda $00 c344: 20 6b c3 jsr LC36B c347: a5 05 lda $05 c349: 85 06 sta $06 c34b: 20 6b c3 jsr LC36B c34e: c8 LC34E iny c34f: b1 02 lda ($02),y c351: 20 6b c3 jsr LC36B c354: c6 06 dec $06 c356: d0 f6 bne LC34E c358: 8e a0 07 stx PPUStrIndex c35b: 84 06 sty $06 c35d: a0 20 ldy #$20 c35f: 20 a8 c2 jsr LC2A8 c362: a4 06 ldy $06 c364: c6 04 dec $04 c366: d0 d5 bne LC33D c368: 20 76 c3 jsr EndPPUString c36b: 9d a1 07 LC36B sta PPUDataString,x c36e: e8 LC36E inx c36f: e0 4f cpx #$4f c371: 90 0a bcc LC37D c373: ae a0 07 ldx PPUStrIndex c376: a9 00 EndPPUString lda #$00 c378: 9d a1 07 sta PPUDataString,x c37b: 68 pla c37c: 68 pla c37d: 60 LC37D rts c37e: a0 .dd1 $a0 c37f: 01 .dd1 $01 c380: 84 .dd1 $84 c381: 1b .dd1 $1b c382: 88 .dd1 $88 c383: f0 .dd1 $f0 c384: 37 .dd1 $37 c385: 85 .dd1 $85 c386: 04 .dd1 $04 c387: a5 .dd1 $a5 c388: 01 .dd1 $01 c389: 20 .dd1 $20 c38a: 6b .dd1 $6b c38b: c3 .dd1 $c3 c38c: a5 .dd1 $a5 c38d: 00 .dd1 $00 c38e: 20 .dd1 $20 c38f: 6b .dd1 $6b c390: c3 .dd1 $c3 c391: a5 .dd1 $a5 c392: 04 .dd1 $04 c393: 20 .dd1 $20 c394: c6 .dd1 $c6 c395: c3 .dd1 $c3 c396: 24 .dd1 $24 c397: 04 .dd1 $04 c398: 50 .dd1 $50 c399: 01 .dd1 $01 c39a: c8 .dd1 $c8 c39b: 24 .dd1 $24 c39c: 04 .dd1 $04 c39d: 70 .dd1 $70 c39e: 01 .dd1 $01 c39f: c8 .dd1 $c8 c3a0: b1 .dd1 $b1 c3a1: 02 .dd1 $02 c3a2: 20 .dd1 $20 c3a3: 6b .dd1 $6b c3a4: c3 .dd1 $c3 c3a5: 84 .dd1 $84 c3a6: 06 .dd1 $06 c3a7: a0 .dd1 $a0 c3a8: 01 .dd1 $01 c3a9: 24 .dd1 $24 c3aa: 04 .dd1 $04 c3ab: 10 .dd1 $10 c3ac: 02 .dd1 $02 c3ad: a0 .dd1 $a0 c3ae: 20 .dd1 $20 c3af: 20 .dd1 $20 c3b0: a8 .dd1 $a8 c3b1: c2 .dd1 $c2 c3b2: a4 .dd1 $a4 c3b3: 06 .dd1 $06 c3b4: c6 .dd1 $c6 c3b5: 05 .dd1 $05 c3b6: d0 .dd1 $d0 c3b7: e3 .dd1 $e3 c3b8: 8e .dd1 $8e c3b9: a0 .dd1 $a0 c3ba: 07 .dd1 $07 c3bb: c8 .dd1 $c8 c3bc: ae .dd1 $ae c3bd: a0 .dd1 $a0 c3be: 07 .dd1 $07 c3bf: b1 .dd1 $b1 c3c0: 02 .dd1 $02 c3c1: d0 .dd1 $d0 c3c2: c2 .dd1 $c2 c3c3: 20 .dd1 $20 c3c4: 76 .dd1 $76 c3c5: c3 .dd1 $c3 c3c6: 85 04 LC3C6 sta $04 c3c8: 29 bf and #$bf c3ca: 9d a1 07 sta PPUDataString,x c3cd: 29 3f and #$3f c3cf: 85 05 sta $05 c3d1: 4c 6e c3 jmp LC36E c3d4: 49 ff LC3D4 eor #$ff c3d6: 18 clc c3d7: 69 01 adc #$01 c3d9: 60 rts c3da: 20 1d c4 LC3DA jsr LC41D c3dd: 65 01 adc $01 c3df: c9 0a cmp #$0a c3e1: 90 02 bcc LC3E5 c3e3: 69 05 adc #$05 c3e5: 18 LC3E5 clc c3e6: 65 02 adc $02 c3e8: 85 02 sta $02 c3ea: a5 03 lda $03 c3ec: 29 f0 and #$f0 c3ee: 65 02 adc $02 c3f0: 90 04 bcc LC3F6 c3f2: 69 5f LC3F2 adc #$5f c3f4: 38 sec c3f5: 60 rts c3f6: c9 a0 LC3F6 cmp #$a0 c3f8: b0 f8 bcs LC3F2 c3fa: 60 rts c3fb: 20 1d c4 LC3FB jsr LC41D c3fe: e5 01 sbc $01 c400: 85 01 sta $01 c402: b0 0a bcs LC40E c404: 69 0a adc #$0a c406: 85 01 sta $01 c408: a5 02 lda $02 c40a: 69 0f adc #$0f c40c: 85 02 sta $02 c40e: a5 03 LC40E lda $03 c410: 29 f0 and #$f0 c412: 38 sec c413: e5 02 sbc $02 c415: b0 03 bcs LC41A c417: 69 a0 adc #$a0 c419: 18 clc c41a: 05 01 LC41A ora $01 c41c: 60 rts c41d: 48 LC41D pha c41e: 29 0f and #$0f c420: 85 01 sta $01 c422: 68 pla c423: 29 f0 and #$f0 c425: 85 02 sta $02 c427: a5 03 lda $03 c429: 29 0f and #$0f c42b: 60 rts c42c: 20 34 c4 LC42C jsr LC434 c42f: a5 1a LC42F lda NMIStatus c431: f0 fc beq LC42F c433: 60 rts c434: a9 00 LC434 lda #$00 c436: 85 1a sta NMIStatus c438: 60 rts c439: a5 fe LC439 lda PPUCNT1ZP c43b: 29 e7 and #$e7 c43d: 85 fe LC43D sta PPUCNT1ZP c43f: 20 34 c4 LC43F jsr LC434 c442: a5 1a LC442 lda NMIStatus c444: f0 fc beq LC442 c446: 60 rts c447: a5 fe LC447 lda PPUCNT1ZP c449: 09 1e ora #$1e c44b: d0 f0 bne LC43D c44d: a5 ff LC44D lda PPUCNT0ZP c44f: 8d 00 20 sta PPUControl0 c452: a5 fe lda PPUCNT1ZP c454: 8d 01 20 sta PPUControl1 c457: a5 fa lda MirrorCntrl c459: 20 d9 c4 jsr LC4D9 c45c: 60 TC45C rts c45d: a5 fe LC45D lda PPUCNT1ZP c45f: 29 e7 and #$e7 c461: 20 3d c4 jsr LC43D c464: a5 ff lda PPUCNT0ZP c466: 29 7f and #$7f c468: 85 ff sta PPUCNT0ZP c46a: 8d 00 20 sta PPUControl0 c46d: 60 rts c46e: a5 ff lda PPUCNT0ZP c470: 09 80 ora #$80 c472: 85 ff sta PPUCNT0ZP c474: 8d 00 20 sta PPUControl0 c477: a5 fe lda PPUCNT1ZP c479: 09 1e ora #$1e c47b: d0 c0 bne LC43D c47d: a5 ff LC47D lda PPUCNT0ZP c47f: 29 7b and #$7b c481: 8d 00 20 LC481 sta PPUControl0 c484: 85 ff sta PPUCNT0ZP c486: 60 rts c487: ad 02 20 LC487 lda PPUStatus c48a: 29 80 and #$80 c48c: d0 f9 bne LC487 c48e: a5 ff lda PPUCNT0ZP c490: 09 80 ora #$80 c492: d0 ed bne LC481 c494: a5 2c TC494 lda Timer3 c496: d0 11 bne LC4A9 c498: a5 20 lda NextRoutine c49a: c9 04 cmp #$04 c49c: f0 09 beq LC4A7 c49e: c9 06 cmp #$06 c4a0: f0 05 beq LC4A7 c4a2: 20 2c d9 jsr LD92C c4a5: a5 20 lda NextRoutine c4a7: 85 1e LC4A7 sta MainRoutine c4a9: 60 LC4A9 rts c4aa: 85 2c TC4AA sta Timer3 c4ac: 86 20 stx NextRoutine c4ae: a9 09 lda #$09 c4b0: d0 f5 bne LC4A7 c4b2: ea LC4B2 nop c4b3: ea nop c4b4: a9 47 lda #$47 c4b6: 4a LC4B6 lsr A c4b7: 4a lsr A c4b8: 4a lsr A c4b9: 29 01 and #$01 c4bb: 85 00 sta $00 c4bd: a5 25 lda MMCReg0Cntrl c4bf: 29 fe and #$fe c4c1: 05 00 ora $00 c4c3: 85 25 sta MMCReg0Cntrl c4c5: 8d 00 80 sta L8000 c4c8: 4a lsr A c4c9: 8d 00 80 sta L8000 c4cc: 4a lsr A c4cd: 8d 00 80 sta L8000 c4d0: 4a lsr A c4d1: 8d 00 80 sta L8000 c4d4: 4a lsr A c4d5: 8d 00 80 sta L8000 c4d8: 60 rts c4d9: a5 fa LC4D9 lda MirrorCntrl c4db: 4c b6 c4 jmp LC4B6 c4de: a4 24 LC4DE ldy SwitchPending c4e0: f0 2d beq LC50F c4e2: 20 e8 c4 jsr LC4E8 c4e5: 4c 10 c5 jmp LC510 c4e8: a9 00 LC4E8 lda #$00 c4ea: 85 24 sta SwitchPending c4ec: 88 dey c4ed: 84 23 sty CurrentBank c4ef: 98 LC4EF tya c4f0: 85 00 sta $00 c4f2: a5 28 lda SwitchUpperBits c4f4: 29 18 and #$18 c4f6: 05 00 ora $00 c4f8: 85 28 sta SwitchUpperBits c4fa: 8d 00 e0 LC4FA sta LE000 c4fd: 4a lsr A c4fe: 8d 00 e0 sta LE000 c501: 4a lsr A c502: 8d 00 e0 sta LE000 c505: 4a lsr A c506: 8d 00 e0 sta LE000 c509: 4a lsr A c50a: 8d 00 e0 sta LE000 c50d: a5 00 lda $00 c50f: 60 LC50F rts c510: 0a LC510 asl A c511: a8 tay c512: b9 1f c5 lda LC51F,y c515: 85 0a sta $0a c517: b9 20 c5 lda LC51F+1,y c51a: 85 0b sta $0b c51c: 6c 0a 00 jmp ($000a) c51f: 31 c5 LC51F .dd2 TC531 c521: 52 c5 .dd2 TC552 c523: 83 c5 .dd2 TC583 c525: 90 c5 .dd2 TC590 c527: b6 c5 .dd2 TC5B6 c529: c3 c5 .dd2 TC5C3 c52b: 5c c4 .dd2 TC45C c52d: 5c c4 .dd2 TC45C c52f: 5c c4 .dd2 TC45C c531: a0 00 TC531 ldy #$00 c533: 84 31 sty GamePaused c535: c8 iny c536: 84 1d sty GameMode c538: 20 5d c4 jsr LC45D c53b: 20 3e a9 jsr LA93E c53e: 20 58 c1 jsr LC158 c541: a0 a0 ldy #$a0 c543: b9 bf 98 LC543 lda L9601+$2be,y c546: 99 ff 6d sta IntroStarSprite00-1,y c549: 88 dey c54a: d0 f7 bne LC543 c54c: 20 d7 c5 jsr LC5D7 c54f: 4c 87 c4 jmp LC487 c552: a9 00 TC552 lda #$00 c554: 85 1d sta GameMode c556: 20 5d c4 jsr LC45D c559: a5 1e lda MainRoutine c55b: c9 03 cmp #$03 c55d: f0 0e beq LC56D c55f: a9 00 lda #$00 c561: 85 1e sta MainRoutine c563: 85 74 sta InArea c565: 85 31 sta GamePaused c567: 20 d4 c1 jsr LC1D4 c56a: 20 78 c5 jsr LC578 c56d: a0 00 LC56D ldy #$00 c56f: 20 ef c4 jsr LC4EF c572: 20 04 c6 jsr LC604 c575: 4c 87 c4 jmp LC487 c578: a0 0f LC578 ldy #$0f c57a: a9 00 lda #$00 c57c: 99 00 01 LC57C sta $0100,y c57f: 88 dey c580: 10 fa bpl LC57C c582: 60 rts c583: a9 00 TC583 lda #$00 c585: 85 1d sta GameMode c587: 20 5d c4 jsr LC45D c58a: 20 22 c6 jsr LC622 c58d: 4c 87 c4 jmp LC487 c590: a9 00 TC590 lda #$00 c592: 85 1d sta GameMode c594: 20 5d c4 jsr LC45D c597: a0 0d ldy #$0d c599: b9 a8 c5 LC599 lda LC5A8,y c59c: 99 f0 77 sta $77f0,y c59f: 88 dey c5a0: 10 f7 bpl LC599 c5a2: 20 45 c6 jsr LC645 c5a5: 4c 87 c4 jmp LC487 c5a8: f8 08 30 d0+ LC5A8 .bulk $f8,$08,$30,$d0,$60,$a0,$02,$04,$00,$00,$00,$00,$00,$00 c5b6: a9 00 TC5B6 lda #$00 c5b8: 85 1d sta GameMode c5ba: 20 5d c4 jsr LC45D c5bd: 20 77 c6 jsr LC677 c5c0: 4c 87 c4 jmp LC487 c5c3: a9 00 TC5C3 lda #$00 c5c5: 85 1d sta GameMode c5c7: 20 5d c4 jsr LC45D c5ca: 20 9f c6 jsr LC69F c5cd: 4c 87 c4 jmp LC487 c5d0: a9 01 LC5D0 lda #$01 c5d2: 85 1d sta GameMode c5d4: 4c c2 c6 jmp LC6C2 c5d7: a0 15 LC5D7 ldy #$15 c5d9: 20 ab c7 jsr LC7AB c5dc: a0 00 LC5DC ldy #$00 c5de: 20 ab c7 jsr LC7AB c5e1: ad b3 69 lda JustInBailey c5e4: f0 05 beq LC5EB c5e6: a0 1b ldy #$1b c5e8: 20 ab c7 jsr LC7AB c5eb: a0 14 LC5EB ldy #$14 c5ed: 20 ab c7 jsr LC7AB c5f0: a0 17 ldy #$17 c5f2: 20 ab c7 jsr LC7AB c5f5: a0 18 ldy #$18 c5f7: 20 ab c7 jsr LC7AB c5fa: a0 19 ldy #$19 c5fc: 20 ab c7 jsr LC7AB c5ff: a0 16 ldy #$16 c601: 4c ab c7 jmp LC7AB c604: a0 03 LC604 ldy #$03 c606: 20 ab c7 jsr LC7AB c609: a0 04 ldy #$04 c60b: 20 ab c7 jsr LC7AB c60e: a0 05 ldy #$05 c610: 20 ab c7 jsr LC7AB c613: a0 06 ldy #$06 c615: 20 ab c7 jsr LC7AB c618: a0 19 ldy #$19 c61a: 20 ab c7 jsr LC7AB c61d: a0 16 ldy #$16 c61f: 4c ab c7 jmp LC7AB c622: a0 04 LC622 ldy #$04 c624: 20 ab c7 jsr LC7AB c627: a0 05 ldy #$05 c629: 20 ab c7 jsr LC7AB c62c: a0 07 ldy #$07 c62e: 20 ab c7 jsr LC7AB c631: a0 08 ldy #$08 c633: 20 ab c7 jsr LC7AB c636: a0 09 ldy #$09 c638: 20 ab c7 jsr LC7AB c63b: a0 19 ldy #$19 c63d: 20 ab c7 jsr LC7AB c640: a0 16 ldy #$16 c642: 4c ab c7 jmp LC7AB c645: a0 05 LC645 ldy #$05 c647: 20 ab c7 jsr LC7AB c64a: a0 0a ldy #$0a c64c: 20 ab c7 jsr LC7AB c64f: a0 0b ldy #$0b c651: 20 ab c7 jsr LC7AB c654: a0 0c ldy #$0c c656: 20 ab c7 jsr LC7AB c659: a0 0d ldy #$0d c65b: 20 ab c7 jsr LC7AB c65e: a0 0e ldy #$0e c660: 20 ab c7 jsr LC7AB c663: a0 1a ldy #$1a c665: 20 ab c7 jsr LC7AB c668: a0 1c ldy #$1c c66a: 20 ab c7 jsr LC7AB c66d: a0 19 ldy #$19 c66f: 20 ab c7 jsr LC7AB c672: a0 16 ldy #$16 c674: 4c ab c7 jmp LC7AB c677: a0 04 LC677 ldy #$04 c679: 20 ab c7 jsr LC7AB c67c: a0 05 ldy #$05 c67e: 20 ab c7 jsr LC7AB c681: a0 0a ldy #$0a c683: 20 ab c7 jsr LC7AB c686: a0 0f ldy #$0f c688: 20 ab c7 jsr LC7AB c68b: a0 10 ldy #$10 c68d: 20 ab c7 jsr LC7AB c690: a0 11 ldy #$11 c692: 20 ab c7 jsr LC7AB c695: a0 19 ldy #$19 c697: 20 ab c7 jsr LC7AB c69a: a0 16 ldy #$16 c69c: 4c ab c7 jmp LC7AB c69f: a0 04 LC69F ldy #$04 c6a1: 20 ab c7 jsr LC7AB c6a4: a0 05 ldy #$05 c6a6: 20 ab c7 jsr LC7AB c6a9: a0 0a ldy #$0a c6ab: 20 ab c7 jsr LC7AB c6ae: a0 12 ldy #$12 c6b0: 20 ab c7 jsr LC7AB c6b3: a0 13 ldy #$13 c6b5: 20 ab c7 jsr LC7AB c6b8: a0 19 ldy #$19 c6ba: 20 ab c7 jsr LC7AB c6bd: a0 16 ldy #$16 c6bf: 4c ab c7 jmp LC7AB c6c2: a0 01 LC6C2 ldy #$01 c6c4: 20 ab c7 jsr LC7AB c6c7: a0 02 ldy #$02 c6c9: 20 ab c7 jsr LC7AB c6cc: a0 19 ldy #$19 c6ce: 20 ab c7 jsr LC7AB c6d1: a0 16 ldy #$16 c6d3: 4c ab c7 jmp LC7AB c6d6: a0 17 LC6D6 ldy #$17 c6d8: 20 ab c7 jsr LC7AB c6db: a0 16 ldy #$16 c6dd: 4c ab c7 jmp LC7AB c6e0: 06 00 80 00+ LC6E0 .bulk $06,$00,$80,$00,$00,$a0,$09,$04,$60,$8d,$00,$00,$20,$05,$01,$60 + $8d,$00,$10,$00,$04,$06,$a0,$9d,$00,$10,$50,$01,$05,$60,$8d,$00 + $12,$50,$04,$06,$f0,$9e,$00,$18,$00,$08,$01,$60,$91,$00,$0c,$00 + $04,$06,$f0,$a6,$00,$10,$60,$02,$06,$50,$a9,$00,$17,$70,$00,$02 + $60,$8d,$00,$0c,$00,$04,$06,$c0,$a9,$00,$10,$e0,$02,$06,$a0,$ac + $00,$12,$00,$06,$06,$a0,$b2,$00,$19,$90,$00,$05,$b0,$91,$00,$1d + $00,$03,$02,$60,$91,$00,$0c,$00,$04,$06,$30,$b3,$00,$17,$c0,$00 + $04,$60,$93,$00,$1e,$00,$02,$03,$60,$8d,$00,$0c,$00,$04,$06,$f0 + $b3,$00,$17,$c0,$00,$03,$60,$91,$00,$0c,$00,$04,$06,$a0,$89,$00 + $0c,$00,$01,$06,$e0,$8b,$00,$14,$00,$05,$06,$80,$99,$c0,$1f,$40 + $00,$06,$c0,$b4,$00,$10,$00,$04,$06,$c0,$b4,$00,$0a,$a0,$00,$06 + $80,$99,$c0,$0f,$40,$00,$06,$c0,$b4,$00,$1d,$a0,$02,$06,$e0,$90 + $00,$00,$b0,$07,$06,$90,$98,$40,$1f,$10,$00 c7ab: a9 ff LC7AB lda #$ff c7ad: 18 LC7AD clc c7ae: 69 07 adc #$07 c7b0: 88 dey c7b1: 10 fa bpl LC7AD c7b3: a8 tay c7b4: a2 06 ldx #$06 c7b6: b9 e0 c6 LC7B6 lda LC6E0,y c7b9: 95 00 sta $00,x c7bb: 88 dey c7bc: ca dex c7bd: 10 f7 bpl LC7B6 c7bf: a4 00 ldy $00 c7c1: 20 ef c4 jsr LC4EF c7c4: a5 ff lda PPUCNT0ZP c7c6: 29 fb and #$fb c7c8: 85 ff sta PPUCNT0ZP c7ca: 8d 00 20 sta PPUControl0 c7cd: 20 d5 c7 jsr LC7D5 c7d0: a4 23 ldy CurrentBank c7d2: 4c ef c4 jmp LC4EF c7d5: a5 05 LC7D5 lda $05 c7d7: d0 02 bne LC7DB c7d9: c6 06 dec $06 c7db: a5 04 LC7DB lda $04 c7dd: 8d 06 20 sta PPUAddress c7e0: a5 03 lda $03 c7e2: 8d 06 20 sta PPUAddress c7e5: a0 00 ldy #$00 c7e7: b1 01 LC7E7 lda ($01),y c7e9: 8d 07 20 sta PPUIOReg c7ec: c6 05 dec $05 c7ee: d0 06 bne LC7F6 c7f0: a5 06 lda $06 c7f2: f0 0c beq LC800 c7f4: c6 06 dec $06 c7f6: c8 LC7F6 iny c7f7: d0 ee bne LC7E7 c7f9: e6 02 inc $02 c7fb: e6 04 inc $04 c7fd: 4c db c7 jmp LC7DB c800: 60 LC800 rts c801: a9 00 TC801 lda #$00 c803: 85 fd sta ScrollX c805: 85 fc sta ScrollY c807: a5 ff lda PPUCNT0ZP c809: 29 fc and #$fc c80b: 85 ff sta PPUCNT0ZP c80d: e6 1e inc MainRoutine c80f: a5 14 lda Joy1Status c811: 29 c0 and #$c0 c813: 85 f0 sta ABStatus c815: 20 a3 c1 jsr LC1A3 c818: a9 10 lda #$10 c81a: 20 18 ca jsr LCA18 c81d: a0 01 TC81D ldy #$01 c81f: 84 1c sty PalDataPending c821: a2 ff ldx #$ff c823: 86 75 stx SpareMem75 c825: e8 inx c826: 8e 83 68 stx AtEnding c829: 86 56 stx DoorStatus c82b: 86 58 stx SamusDoorData c82d: 86 71 stx UpdatingProjectile c82f: 8a txa c830: e0 65 LC830 cpx #$65 c832: b0 02 bcs LC836 c834: 95 7a sta EndMsgWrite,x c836: e0 ff LC836 cpx #$ff c838: b0 03 bcs LC83D c83a: 9d 00 03 sta ObjAction,x c83d: e8 LC83D inx c83e: d0 f0 bne LC830 c840: 20 39 c4 jsr LC439 c843: 20 58 c1 jsr LC158 c846: 20 a3 c1 jsr LC1A3 c849: 20 bb c8 jsr LC8BB c84c: 86 6c stx DoorOnNameTable3 c84e: 86 6d stx DoorOnNameTable0 c850: e8 inx c851: 86 30 stx SpareMem30 c853: e8 inx c854: 86 49 stx ScrollDir c856: ad d7 95 lda L95CC+11 c859: 85 50 sta MapPosX c85b: ad d8 95 lda L95CC+12 c85e: 85 4f sta MapPosY c860: ad da 95 lda L95CC+14 c863: 85 76 sta PalToggle c865: a9 ff lda #$ff c867: 85 5a sta RoomNumber c869: 20 b0 c8 jsr LC8B0 c86c: 20 20 e7 jsr LE720 c86f: 20 2b ea LC86F jsr LEA2B c872: a4 5a ldy RoomNumber c874: c8 iny c875: d0 f8 bne LC86F c877: a4 3a ldy CartRAMPtr+1 c879: 84 01 sty $01 c87b: a4 39 ldy CartRAMPtr c87d: 84 00 sty $00 c87f: a5 ff lda PPUCNT0ZP c881: 29 fb and #$fb c883: 85 ff sta PPUCNT0ZP c885: 8d 00 20 sta PPUControl0 c888: ac 02 20 ldy PPUStatus c88b: a0 20 ldy #$20 c88d: 8c 06 20 sty PPUAddress c890: a0 00 ldy #$00 c892: 8c 06 20 sty PPUAddress c895: a2 04 ldx #$04 c897: b1 00 LC897 lda ($00),y c899: 8d 07 20 sta PPUIOReg c89c: c8 iny c89d: d0 f8 bne LC897 c89f: e6 01 inc $01 c8a1: ca dex c8a2: d0 f3 bne LC897 c8a4: 86 91 stx $91 c8a6: e8 inx c8a7: 86 1c stx PalDataPending c8a9: 86 30 stx SpareMem30 c8ab: e6 1e inc MainRoutine c8ad: 4c 47 c4 jmp LC447 c8b0: a2 0d LC8B0 ldx #$0d c8b2: bd 9a 95 LC8B2 lda L959A,x c8b5: 95 3b sta RoomPtrTable,x c8b7: ca dex c8b8: 10 f8 bpl LC8B2 c8ba: 60 rts c8bb: a9 00 LC8BB lda #$00 c8bd: aa tax c8be: e0 48 LC8BE cpx #$48 c8c0: b0 02 bcs LC8C4 c8c2: 95 97 sta $97,x c8c4: 9d f4 6a LC8C4 sta Enstatus,x c8c7: 48 pha c8c8: 68 pla c8c9: e8 inx c8ca: d0 f2 bne LC8BE c8cc: 86 92 stx MetroidOnSamus c8ce: 4c ab 95 jmp L95AB c8d1: a9 08 TC8D1 lda #$08 c8d3: 85 1e sta MainRoutine c8d5: a9 2c lda #$2c c8d7: 85 2c sta Timer3 c8d9: 20 fd cb jsr LCBFD c8dc: a0 14 ldy #$14 c8de: 8c 00 03 sty ObjAction c8e1: a2 00 ldx #$00 c8e3: 86 70 stx SamusBlink c8e5: ca dex c8e6: 8e 28 07 stx $0728 c8e9: 8e 30 07 stx $0730 c8ec: 8e 32 07 stx $0732 c8ef: 8e 38 07 stx $0738 c8f2: 8e 0a 01 stx EndTimerLo c8f5: 8e 0b 01 stx EndTimerHi c8f8: 86 8b stx $8b c8fa: 86 8e stx $8e c8fc: a0 27 ldy #$27 c8fe: a5 74 lda InArea c900: 29 0f and #$0f c902: f0 04 beq LC908 c904: 46 49 lsr ScrollDir c906: a0 2f ldy #$2f c908: 84 fa LC908 sty MirrorCntrl c90a: 84 93 sty MaxMissilePickup c90c: 84 94 sty MaxEnergyPickup c90e: ad d9 95 lda L95CC+13 c911: 8d 0d 03 sta ObjectY c914: a9 80 lda #$80 c916: 8d 0e 03 sta ObjectX c919: a5 ff lda PPUCNT0ZP c91b: 29 01 and #$01 c91d: 8d 0c 03 sta ObjectHi c920: a9 00 lda #$00 c922: 8d 06 01 sta HealthLo c925: a9 03 lda #$03 c927: 8d 07 01 sta HealthHi c92a: 60 LC92A rts c92b: 20 f1 e1 TC92B jsr LE1F1 c92e: 20 f1 e1 jsr LE1F1 c931: ad b2 69 lda NARPASSWORD c934: f0 0f beq LC945 c936: a9 03 lda #$03 c938: 8d 07 01 sta HealthHi c93b: a9 ff lda #$ff c93d: 8d 78 68 sta SamusGear c940: a9 05 lda #$05 c942: 8d 79 68 sta MissileCount c945: 20 29 cb LC945 jsr UpdateWorld c948: ad 08 01 lda MiniBossKillDelay c94b: 0d 09 01 ora PowerUpDelay c94e: f0 0f beq LC95F c950: a9 00 lda #$00 c952: 8d 08 01 sta MiniBossKillDelay c955: 8d 09 01 sta PowerUpDelay c958: a9 18 lda #$18 c95a: a2 03 ldx #$03 c95c: 20 aa c4 jsr TC4AA c95f: ad 00 03 LC95F lda ObjAction c962: c9 08 cmp #$08 c964: d0 c4 bne LC92A c966: ad 04 03 lda AnimDelay c969: d0 bf bne LC92A c96b: 20 8e cb jsr LCB8E c96e: a5 98 lda MotherBrainStatus c970: c9 0a cmp #$0a c972: f0 07 beq LC97B c974: a9 04 lda #$04 c976: a2 04 ldx #$04 c978: 4c aa c4 jmp TC4AA c97b: e6 1e LC97B inc MainRoutine c97d: 60 rts c97e: a5 1d LC97E lda GameMode c980: d0 23 bne LC9A5 c982: a5 1e lda MainRoutine c984: c9 03 cmp #$03 c986: d0 1d bne LC9A5 c988: a6 2d ldx FrameCount c98a: d0 19 bne LC9A5 c98c: fe 7d 68 inc SamusAge,x c98f: ad 7d 68 lda SamusAge c992: c9 d0 cmp #$d0 c994: 90 0f bcc LC9A5 c996: a9 00 lda #$00 c998: 8d 7d 68 sta SamusAge c99b: e0 03 LC99B cpx #$03 c99d: b0 06 bcs LC9A5 c99f: e8 inx c9a0: fe 7d 68 inc SamusAge,x c9a3: f0 f6 beq LC99B c9a5: 60 LC9A5 rts c9a6: a9 1c TC9A6 lda #$1c c9a8: 85 1f sta TitleRoutine c9aa: a9 01 lda #$01 c9ac: 85 24 sta SwitchPending c9ae: 4c 39 c4 jmp LC439 c9b1: a5 15 TC9B1 lda Joy2Status c9b3: 29 88 and #$88 c9b5: 49 88 eor #$88 c9b7: d0 0a bne LC9C3 c9b9: ac 0b 01 ldy EndTimerHi c9bc: c8 iny c9bd: d0 04 bne LC9C3 c9bf: 85 31 sta GamePaused c9c1: e6 1e inc MainRoutine c9c3: 60 LC9C3 rts c9c4: a9 19 TC9C4 lda #$19 c9c6: 85 1f sta TitleRoutine c9c8: a9 01 lda #$01 c9ca: 85 24 sta SwitchPending c9cc: ad 80 06 lda NoiseSFXFlag c9cf: 09 01 ora #$01 c9d1: 8d 80 06 sta NoiseSFXFlag c9d4: 4c 39 c4 jmp LC439 c9d7: 20 a3 c1 TC9D7 jsr LC1A3 c9da: ac 00 03 ldy ObjAction c9dd: a5 2c lda Timer3 c9df: d0 11 bne LC9F2 c9e1: 85 79 sta ItemRoomMusicStatus c9e3: a9 ff lda #$ff c9e5: 8d 00 03 sta ObjAction c9e8: 20 2c d9 jsr LD92C c9eb: 20 73 cb jsr LCB73 c9ee: a9 03 lda #$03 c9f0: 85 1e sta MainRoutine c9f2: c9 1f LC9F2 cmp #$1f c9f4: b0 cd bcs LC9C3 c9f6: d9 ff c9 cmp LC9FE+1,y c9f9: d0 05 bne LCA00 c9fb: ee 00 03 inc ObjAction c9fe: 84 1c LC9FE sty PalDataPending ca00: a5 2d LCA00 lda FrameCount ca02: 4a lsr A ca03: 90 be bcc LC9C3 ca05: a9 04 lda #$04 ca07: 20 6b cf jsr LCF6B ca0a: a9 00 lda #$00 ca0c: 85 5b sta SpritePagePos ca0e: 85 4b sta PageIndex ca10: 4c 47 de jmp LDE47 ca13: 1e .dd1 $1e ca14: 14 .dd1 $14 ca15: 0b .dd1 $0b ca16: 04 .dd1 $04 ca17: ff .dd1 $ff ca18: a4 1e LCA18 ldy MainRoutine ca1a: c0 07 cpy #$07 ca1c: f0 04 beq LCA22 ca1e: c0 03 cpy #$03 ca20: f0 01 beq LCA23 ca22: 60 LCA22 rts ca23: 85 74 LCA23 sta InArea ca25: 29 0f and #$0f ca27: a8 tay ca28: b9 30 ca lda LCA30,y ca2b: 85 24 sta SwitchPending ca2d: 4c de c4 jmp LC4DE ca30: 02 LCA30 .dd1 $02 ca31: 03 .dd1 $03 ca32: 05 .dd1 $05 ca33: 04 .dd1 $04 ca34: 06 .dd1 $06 ca35: 48 unref_ca35 pha ca36: 48 pha ca37: 20 96 ca jsr LCA96 ca3a: ad 84 68 lda EraseGame ca3d: 10 0d bpl LCA4C ca3f: 29 01 and #$01 ca41: 8d 84 68 sta EraseGame ca44: 20 a1 ca jsr LCAA1 ca47: a9 01 lda #$01 ca49: 99 00 78 sta $7800,y ca4c: a5 1e LCA4C lda MainRoutine ca4e: c9 01 cmp #$01 ca50: f0 20 beq LCA72 ca52: a5 74 lda InArea ca54: 20 c6 ca jsr LCAC6 ca57: a0 3f ldy #$3f ca59: b9 86 68 LCA59 lda NumberOfUniqueItems,y ca5c: 91 00 sta ($00),y ca5e: 88 dey ca5f: 10 f8 bpl LCA59 ca61: ac 75 68 ldy SamusDataIndex ca64: a2 00 ldx #$00 ca66: bd 76 68 LCA66 lda SamusStat00,x ca69: 99 fe 77 sta SamusData,y ca6c: c8 iny ca6d: e8 inx ca6e: e0 10 cpx #$10 ca70: d0 f4 bne LCA66 ca72: 68 LCA72 pla ca73: 20 c6 ca jsr LCAC6 ca76: a0 3f ldy #$3f ca78: b1 00 LCA78 lda ($00),y ca7a: 99 86 68 sta NumberOfUniqueItems,y ca7d: 88 dey ca7e: 10 f8 bpl LCA78 ca80: 30 01 bmi LCA83 ca82: 48 .dd1 $48 ca83: ac 75 68 LCA83 ldy SamusDataIndex ca86: a2 00 ldx #$00 ca88: b9 fe 77 LCA88 lda SamusData,y ca8b: 9d 76 68 sta SamusStat00,x ca8e: c8 iny ca8f: e8 inx ca90: e0 10 cpx #$10 ca92: d0 f4 bne LCA88 ca94: 68 pla ca95: 60 rts ca96: ad 85 68 LCA96 lda DataSlot ca99: 0a asl A ca9a: 0a asl A ca9b: 0a asl A ca9c: 0a asl A ca9d: 8d 75 68 sta SamusDataIndex caa0: 60 rts caa1: a9 00 LCAA1 lda #$00 caa3: 20 c6 ca jsr LCAC6 caa6: e6 03 inc $03 caa8: a0 00 ldy #$00 caaa: 98 tya caab: 91 00 LCAAB sta ($00),y caad: c0 40 cpy #$40 caaf: b0 02 bcs LCAB3 cab1: 91 02 sta ($02),y cab3: c8 LCAB3 iny cab4: d0 f5 bne LCAAB cab6: ac 75 68 ldy SamusDataIndex cab9: a2 00 ldx #$00 cabb: 8a txa cabc: 99 fe 77 LCABC sta SamusData,y cabf: c8 iny cac0: e8 inx cac1: e0 0c cpx #$0c cac3: d0 f7 bne LCABC cac5: 60 rts cac6: 48 LCAC6 pha cac7: ad 85 68 lda DataSlot caca: 0a asl A cacb: aa tax cacc: bd ef ca lda LCAEF,x cacf: 85 00 sta $00 cad1: 85 02 sta $02 cad3: bd f0 ca lda LCAEF+1,x cad6: 85 01 sta $01 cad8: 85 03 sta $03 cada: 68 pla cadb: 29 0f and #$0f cadd: aa tax cade: f0 0e beq LCAEE cae0: a5 00 LCAE0 lda $00 cae2: 18 clc cae3: 69 40 adc #$40 cae5: 85 00 sta $00 cae7: 90 02 bcc LCAEB cae9: e6 01 inc $01 caeb: ca LCAEB dex caec: d0 f2 bne LCAE0 caee: 60 LCAEE rts caef: b4 69 LCAEF .dd2 ItmeHistory caf1: b4 69 .dd2 ItmeHistory caf3: b4 69 .dd2 ItmeHistory caf5: a0 01 LCAF5 ldy #$01 caf7: ad 7f 68 LCAF7 lda SamusStat01-1 cafa: d0 0d bne LCB09 cafc: ad 7e 68 lda $687e caff: d9 17 cb cmp LCB18-1,y cb02: b0 05 bcs LCB09 cb04: c8 iny cb05: c0 05 cpy #$05 cb07: d0 ee bne LCAF7 cb09: 8c 72 68 LCB09 sty EndingType cb0c: a9 00 lda #$00 cb0e: c0 04 cpy #$04 cb10: 90 02 bcc LCB14 cb12: a9 01 lda #$01 cb14: 8d b3 69 LCB14 sta JustInBailey cb17: 60 rts cb18: 7a 16 0a 04 LCB18 .bulk $7a,$16,$0a,$04 cb1c: 20 39 c4 unref_cb1c jsr LC439 cb1f: a9 ff lda #$ff cb21: 85 00 sta $00 cb23: 20 75 c1 jsr LC175 cb26: 4c a3 c1 jmp LC1A3 cb29: a2 00 UpdateWorld ldx #$00 cb2b: 86 5b stx SpritePagePos cb2d: 20 45 f3 jsr LF345 cb30: 20 bf d4 jsr LD4BF cb33: 20 0d cc jsr LCC0D cb36: 20 c3 95 jsr L95C3 cb39: 20 b3 d7 jsr LD7B3 cb3c: 20 d4 d9 jsr LD9D4 cb3f: 20 9d fa jsr LFA9D cb42: 20 65 fc jsr LFC65 cb45: 20 3b f9 jsr LF93B cb48: 20 dd fb jsr LFBDD cb4b: 20 13 8b jsr L8B13 cb4e: 20 79 8b jsr unref_8b79 cb51: 20 1b fe jsr LFE1B cb54: 20 34 f0 jsr LF034 cb57: 20 c1 e0 jsr LE0C1 cb5a: 20 f2 fa jsr LFAF2 cb5d: 20 17 db jsr LDB17 cb60: 20 37 db jsr LDB37 cb63: 20 e3 fd jsr LFDE3 cb66: a6 5b ldx SpritePagePos cb68: a9 f4 lda #$f4 cb6a: 9d 00 02 LCB6A sta Sprite00RAM,x cb6d: 20 93 e1 jsr LE193 cb70: d0 f8 bne LCB6A cb72: 60 rts cb73: 98 LCB73 tya cb74: 48 pha cb75: ad 78 68 lda SamusGear cb78: 0a asl A cb79: 0a asl A cb7a: 0a asl A cb7b: ad 0e 01 lda MissileToggle cb7e: 2a rol A cb7f: 69 02 adc #$02 cb81: ac b3 69 ldy JustInBailey cb84: f0 03 beq LCB89 cb86: 18 clc cb87: 69 17 adc #$17 cb89: 85 1c LCB89 sta PalDataPending cb8b: 68 pla cb8c: a8 tay cb8d: 60 rts cb8e: a9 01 LCB8E lda #$01 cb90: d0 0e bne LCBA0 cb92: a9 02 LCB92 lda #$02 cb94: d0 0a bne LCBA0 cb96: a9 08 LCB96 lda #$08 cb98: d0 06 bne LCBA0 cb9a: a9 10 LCB9A lda #$10 cb9c: d0 02 bne LCBA0 cb9e: a9 20 LCB9E lda #$20 cba0: a2 00 LCBA0 ldx #$00 cba2: f0 44 beq LCBE8 cba4: a9 08 LCBA4 lda #$08 cba6: d0 1a bne LCBC2 cba8: a9 01 LCBA8 lda #$01 cbaa: d0 49 bne LCBF5 cbac: a9 02 LCBAC lda #$02 cbae: d0 12 bne LCBC2 cbb0: a9 04 LCBB0 lda #$04 cbb2: d0 0e bne LCBC2 cbb4: a9 10 LCBB4 lda #$10 cbb6: d0 0a bne LCBC2 cbb8: a9 20 LCBB8 lda #$20 cbba: d0 06 bne LCBC2 cbbc: a9 40 LCBBC lda #$40 cbbe: d0 02 bne LCBC2 cbc0: a9 80 LCBC0 lda #$80 cbc2: a2 01 LCBC2 ldx #$01 cbc4: d0 22 bne LCBE8 cbc6: a9 01 LCBC6 lda #$01 cbc8: d0 f8 bne LCBC2 cbca: a9 40 LCBCA lda #$40 cbcc: d0 d2 bne LCBA0 cbce: a9 04 LCBCE lda #$04 cbd0: d0 23 bne LCBF5 cbd2: a9 20 LCBD2 lda #$20 cbd4: d0 1f bne LCBF5 cbd6: a9 02 LCBD6 lda #$02 cbd8: d0 25 bne LCBFF cbda: a9 40 LCBDA lda #$40 cbdc: d0 17 bne LCBF5 cbde: a9 04 LCBDE lda #$04 cbe0: d0 1d bne LCBFF cbe2: a9 80 LCBE2 lda #$80 cbe4: d0 0f bne LCBF5 cbe6: a2 02 ldx #$02 cbe8: 1d 80 06 LCBE8 ora NoiseSFXFlag,x cbeb: 9d 80 06 sta NoiseSFXFlag,x cbee: 60 rts cbef: a9 02 LCBEF lda #$02 cbf1: d0 02 bne LCBF5 cbf3: a9 08 LCBF3 lda #$08 cbf5: a2 03 LCBF5 ldx #$03 cbf7: d0 ef bne LCBE8 cbf9: a9 40 LCBF9 lda #$40 cbfb: d0 02 bne LCBFF cbfd: a9 80 LCBFD lda #$80 cbff: a2 04 LCBFF ldx #$04 cc01: d0 e5 bne LCBE8 cc03: a9 02 LCC03 lda #$02 cc05: d0 02 bne LCC09 cc07: a9 40 LCC07 lda #$40 cc09: a2 05 LCC09 ldx #$05 cc0b: d0 db bne LCBE8 cc0d: a2 00 LCC0D ldx #$00 cc0f: 86 4b stx PageIndex cc11: e8 inx cc12: 86 55 stx IsSamus cc14: 20 1a cc jsr LCC1A cc17: c6 55 dec IsSamus cc19: 60 rts cc1a: ad 00 03 LCC1A lda ObjAction cc1d: 30 17 bmi TCC36 cc1f: 20 7c c2 jsr ChooseRoutine cc22: 36 cc .dd2 TCC36 cc24: c2 cc .dd2 TCCC2 cc26: 02 d0 .dd2 TD002 cc28: e1 d0 .dd2 TD0E1 cc2a: 98 d1 .dd2 TD198 cc2c: a8 d3 .dd2 TD3A8 cc2e: 02 d0 .dd2 TD002 cc30: 1a d4 .dd2 TD41A cc32: 1f d4 .dd2 TD41F cc34: 23 d4 .dd2 TD423 cc36: a5 14 TCC36 lda Joy1Status cc38: 29 cf and #$cf cc3a: f0 05 beq LCC41 cc3c: 20 5d cf jsr LCF5D cc3f: a5 14 lda Joy1Status cc41: 29 07 LCC41 and #$07 cc43: d0 06 bne LCC4B cc45: a5 12 lda Joy1Change cc47: 29 08 and #$08 cc49: f0 10 beq LCC5B cc4b: 20 e1 e1 LCC4B jsr LE1E1 cc4e: c9 02 cmp #$02 cc50: b0 02 bcs LCC54 cc52: 85 4d sta SamusDir cc54: aa LCC54 tax cc55: bd 87 cc lda LCC87,x cc58: 8d 00 03 sta ObjAction cc5b: a5 12 LCC5B lda Joy1Change cc5d: 05 16 ora Joy1Retrig cc5f: 0a asl A cc60: 10 03 bpl LCC65 cc62: 20 ee d1 jsr LD1EE cc65: 24 12 LCC65 bit Joy1Change cc67: 10 05 bpl LCC6E cc69: a9 02 lda #$02 cc6b: 8d 00 03 sta ObjAction cc6e: a9 04 LCC6E lda #$04 cc70: 20 6d cd jsr LCD6D cc73: ad 00 03 lda ObjAction cc76: c9 05 cmp #$05 cc78: b0 1d bcs LCC97 cc7a: 20 7c c2 jsr ChooseRoutine cc7d: 5c c4 .dd2 TC45C cc7f: 98 cc .dd2 TCC98 cc81: c3 cf .dd2 TCFC3 cc83: b5 d0 .dd2 TD0B5 cc85: 77 cf .dd2 TCF77 cc87: 01 LCC87 .dd1 sa_Run cc88: 01 .dd1 sa_Run cc89: 03 .dd1 sa_Roll cc8a: 04 .dd1 sa_PntUp cc8b: a9 50 LCC8B lda #$50 cc8d: 8d 0f 03 sta SamusJumpDsplcmnt cc90: a9 32 lda #$32 cc92: 20 6b cf jsr LCF6B cc95: 85 65 sta ObjectCounter cc97: 60 LCC97 rts cc98: a9 09 TCC98 lda #$09 cc9a: 85 53 sta WalkSoundDelay cc9c: a2 00 ldx #$00 cc9e: ad 05 03 lda AnimResetIndex cca1: c9 07 cmp #$07 cca3: f0 0a beq LCCAF cca5: e8 inx cca6: c9 27 cmp #$27 cca8: f0 05 beq LCCAF ccaa: a9 04 lda #$04 ccac: 20 6e cf jsr LCF6E ccaf: bd be cc LCCAF lda LCCBE,x ccb2: 8d 05 03 sta AnimResetIndex ccb5: a6 4d ldx SamusDir ccb7: bd c0 cc LCCB7 lda LCCC0,x ccba: 8d 15 03 sta SamusHorzAccel ccbd: 60 rts ccbe: 00 LCCBE .dd1 $00 ccbf: 37 .dd1 $37 ccc0: 30 LCCC0 .dd1 $30 ccc1: d0 .dd1 $d0 ccc2: a6 4d TCCC2 ldx SamusDir ccc4: ad 14 03 lda SamusGravity ccc7: f0 5a beq LCD23 ccc9: ac 0f 03 ldy SamusJumpDsplcmnt cccc: 2c 08 03 bit ObjVertSpeed cccf: 30 0b bmi LCCDC ccd1: c0 18 cpy #$18 ccd3: b0 2d bcs LCD02 ccd5: a9 0c lda #$0c ccd7: 8d 05 03 sta AnimResetIndex ccda: 90 26 bcc LCD02 ccdc: c0 18 LCCDC cpy #$18 ccde: 90 22 bcc LCD02 cce0: ad 05 03 lda AnimResetIndex cce3: c9 20 cmp #$20 cce5: f0 05 beq LCCEC cce7: a9 0e lda #$0e cce9: 8d 05 03 sta AnimResetIndex ccec: c0 20 LCCEC cpy #$20 ccee: 90 12 bcc LCD02 ccf0: a5 14 lda Joy1Status ccf2: 29 08 and #$08 ccf4: f0 05 beq LCCFB ccf6: a9 35 lda #$35 ccf8: 8d 05 03 sta AnimResetIndex ccfb: 24 14 LCCFB bit Joy1Status ccfd: 30 03 bmi LCD02 ccff: 20 47 d1 jsr LD147 cd02: a9 00 LCD02 lda #$00 cd04: cd 05 03 cmp AnimResetIndex cd07: d0 05 bne LCD0E cd09: a9 0c lda #$0c cd0b: 8d 05 03 sta AnimResetIndex cd0e: a5 64 LCD0E lda SamusInLava cd10: f0 04 beq LCD16 cd12: a5 12 lda Joy1Change cd14: 30 2a bmi LCD40 cd16: 20 88 cf LCD16 jsr LCF88 cd19: 20 9c d0 jsr LD09C cd1c: 20 2e cf jsr LCF2E cd1f: a9 02 lda #$02 cd21: d0 4a bne LCD6D cd23: ad 07 03 LCD23 lda SamusOnElevator cd26: d0 03 bne LCD2B cd28: 20 b7 cc jsr LCCB7 cd2b: 20 bf cd LCD2B jsr LCDBF cd2e: c6 53 dec WalkSoundDelay cd30: d0 07 bne LCD39 cd32: a9 09 lda #$09 cd34: 85 53 sta WalkSoundDelay cd36: 20 96 cb jsr LCB96 cd39: 20 2e cf LCD39 jsr LCF2E cd3c: a5 12 lda Joy1Change cd3e: 10 0b bpl LCD4B cd40: 20 c3 cf LCD40 jsr TCFC3 cd43: a9 12 lda #$12 cd45: 8d 16 03 sta SamusHorzSpeedMax cd48: 4c 6b cd jmp LCD6B cd4b: 05 16 LCD4B ora Joy1Retrig cd4d: 0a asl A cd4e: 10 03 bpl LCD53 cd50: 20 d7 cd jsr LCDD7 cd53: a5 14 LCD53 lda Joy1Status cd55: 29 03 and #$03 cd57: d0 06 bne LCD5F cd59: 20 55 cf jsr TCF55 cd5c: 4c 6b cd jmp LCD6B cd5f: 20 e1 e1 LCD5F jsr LE1E1 cd62: c5 4d cmp SamusDir cd64: f0 05 beq LCD6B cd66: 85 4d sta SamusDir cd68: 20 98 cc jsr TCC98 cd6b: a9 03 LCD6B lda #$03 cd6d: 20 8f dc LCD6D jsr LDC8F cd70: 20 9c cd jsr LCD9C cd73: b0 09 bcs LCD7E cd75: a5 2d lda FrameCount cd77: 4a lsr A cd78: 29 03 and #$03 cd7a: 09 a0 ora #$a0 cd7c: 85 6b sta ObjectCntrl cd7e: 20 fa cd LCD7E jsr LCDFA cd81: 20 69 e2 jsr LE269 cd84: a5 92 lda MetroidOnSamus cd86: f0 04 beq LCD8C cd88: a9 a1 lda #$a1 cd8a: 85 6b sta ObjectCntrl cd8c: 20 92 cd LCD8C jsr LCD92 cd8f: 4c 4a de jmp LDE4A cd92: a5 4d LCD92 lda SamusDir cd94: 20 c5 c2 jsr LC2C5 cd97: 05 6b ora ObjectCntrl cd99: 85 6b sta ObjectCntrl cd9b: 60 rts cd9c: 38 LCD9C sec cd9d: ac 00 03 ldy ObjAction cda0: 88 dey cda1: d0 1b bne LCDBE cda3: ad 78 68 lda SamusGear cda6: 29 08 and #$08 cda8: f0 14 beq LCDBE cdaa: ad 05 03 lda AnimResetIndex cdad: c9 0e cmp #$0e cdaf: f0 0a beq LCDBB cdb1: c9 0c cmp #$0c cdb3: 38 sec cdb4: d0 08 bne LCDBE cdb6: 2c 08 03 bit ObjVertSpeed cdb9: 10 03 bpl LCDBE cdbb: cd 06 03 LCDBB cmp AnimIndex cdbe: 60 LCDBE rts cdbf: a5 14 LCDBF lda Joy1Status cdc1: 29 08 and #$08 cdc3: 4a lsr A cdc4: 4a lsr A cdc5: 4a lsr A cdc6: aa tax cdc7: bd be cc lda LCCBE,x cdca: cd 05 03 cmp AnimResetIndex cdcd: f0 ef beq LCDBE cdcf: 20 6b cf jsr LCF6B cdd2: 68 pla cdd3: 68 pla cdd4: 4c 6b cd jmp LCD6B cdd7: 20 ee d1 LCDD7 jsr LD1EE cdda: a5 14 lda Joy1Status cddc: 29 08 and #$08 cdde: d0 06 bne LCDE6 cde0: a9 22 lda #$22 cde2: 8d 06 03 sta AnimIndex cde5: 60 rts cde6: ad 06 03 LCDE6 lda AnimIndex cde9: 38 sec cdea: ed 05 03 sbc AnimResetIndex cded: 29 03 and #$03 cdef: aa tax cdf0: bd f6 cd lda LCDF6,x cdf3: 4c 6e cf jmp LCF6E cdf6: 3f LCDF6 .dd1 $3f cdf7: 3b .dd1 $3b cdf8: 3d .dd1 $3d cdf9: 3f .dd1 $3f cdfa: ad 0a 03 LCDFA lda SamusHit cdfd: 29 20 and #$20 cdff: f0 2f beq LCE30 ce01: a9 32 lda #$32 ce03: 85 70 sta SamusBlink ce05: a9 ff lda #$ff ce07: 85 72 sta DamagePushDirection ce09: a5 73 lda $73 ce0b: 85 77 sta $77 ce0d: f0 0f beq LCE1E ce0f: 10 03 bpl LCE14 ce11: 20 de cb jsr LCBDE ce14: ad 0a 03 LCE14 lda SamusHit ce17: 29 08 and #$08 ce19: 4a lsr A ce1a: 4a lsr A ce1b: 4a lsr A ce1c: 85 72 sta DamagePushDirection ce1e: a9 fd LCE1E lda #$fd ce20: 8d 08 03 sta ObjVertSpeed ce23: a9 38 lda #$38 ce25: 8d 14 03 sta SamusGravity ce28: 20 84 ce jsr LCE84 ce2b: d0 03 bne LCE30 ce2d: 4c 66 ce jmp LCE66 ce30: a5 70 LCE30 lda SamusBlink ce32: f0 32 beq LCE66 ce34: c6 70 dec SamusBlink ce36: a6 72 ldx DamagePushDirection ce38: e8 inx ce39: f0 18 beq LCE53 ce3b: 20 bf c2 jsr LC2BF ce3e: c9 03 cmp #$03 ce40: b0 08 bcs LCE4A ce42: ac 15 03 ldy SamusHorzAccel ce45: d0 0c bne LCE53 ce47: 20 4e cf jsr LCF4E ce4a: ca LCE4A dex ce4b: d0 03 bne LCE50 ce4d: 20 d4 c3 jsr LC3D4 ce50: 8d 09 03 LCE50 sta ObjHorzSpeed ce53: a5 77 LCE53 lda $77 ce55: 10 0f bpl LCE66 ce57: a5 2d lda FrameCount ce59: 29 01 and #$01 ce5b: d0 09 bne LCE66 ce5d: a8 tay ce5e: 8c 04 03 sty AnimDelay ce61: a0 f7 ldy #$f7 ce63: 8c 03 03 sty AnimFrame ce66: ac 07 01 LCE66 ldy HealthHi ce69: 88 dey ce6a: 30 09 bmi LCE75 ce6c: d0 10 bne LCE7E ce6e: ad 06 01 lda HealthLo ce71: c9 70 cmp #$70 ce73: b0 09 bcs LCE7E ce75: a5 2d LCE75 lda FrameCount ce77: 29 0f and #$0f ce79: d0 03 bne LCE7E ce7b: 20 f3 cb jsr LCBF3 ce7e: a9 00 LCE7E lda #$00 ce80: 8d 0a 03 sta SamusHit ce83: 60 rts ce84: ad 00 03 LCE84 lda ObjAction ce87: c9 07 cmp #$07 ce89: f0 06 beq LCE91 ce8b: c9 08 cmp #$08 ce8d: f0 02 beq LCE91 ce8f: c9 ff cmp #$ff ce91: 60 LCE91 rts ce92: a5 6e LCE92 lda HealthLoChange ce94: 05 6f ora HealthHiChange ce96: f0 f9 beq LCE91 ce98: 20 84 ce jsr LCE84 ce9b: f0 06 beq LCEA3 ce9d: ac 0b 01 ldy EndTimerHi cea0: c8 iny cea1: f0 03 beq LCEA6 cea3: 4c 23 f3 LCEA3 jmp LF323 cea6: a5 98 LCEA6 lda MotherBrainStatus cea8: c9 03 cmp #$03 ceaa: b0 f7 bcs LCEA3 ceac: ad 78 68 lda SamusGear ceaf: 29 20 and #$20 ceb1: f0 0c beq LCEBF ceb3: 46 6e lsr HealthLoChange ceb5: 46 6f lsr HealthHiChange ceb7: 90 06 bcc LCEBF ceb9: a9 4f lda #$4f cebb: 65 6e adc HealthLoChange cebd: 85 6e sta HealthLoChange cebf: ad 06 01 LCEBF lda HealthLo cec2: 85 03 sta $03 cec4: a5 6e lda HealthLoChange cec6: 38 sec cec7: 20 fb c3 jsr LC3FB ceca: 8d 06 01 sta HealthLo cecd: ad 07 01 lda HealthHi ced0: 85 03 sta $03 ced2: a5 6f lda HealthHiChange ced4: 20 fb c3 jsr LC3FB ced7: 8d 07 01 sta HealthHi ceda: ad 06 01 lda HealthLo cedd: 29 f0 and #$f0 cedf: 0d 07 01 ora HealthHi cee2: f0 02 beq LCEE6 cee4: b0 45 bcs LCF2B cee6: a9 00 LCEE6 lda #$00 cee8: 8d 06 01 sta HealthLo ceeb: 8d 07 01 sta HealthHi ceee: a9 07 lda #$07 cef0: 8d 00 03 sta ObjAction cef3: 20 e2 cb jsr LCBE2 cef6: 4c 8b cc jmp LCC8B cef9: ad 06 01 LCEF9 lda HealthLo cefc: 85 03 sta $03 cefe: a5 6e lda HealthLoChange cf00: 18 clc cf01: 20 da c3 jsr LC3DA cf04: 8d 06 01 sta HealthLo cf07: ad 07 01 lda HealthHi cf0a: 85 03 sta $03 cf0c: a5 6f lda HealthHiChange cf0e: 20 da c3 jsr LC3DA cf11: 8d 07 01 sta HealthHi cf14: ad 77 68 lda TankCount cf17: 20 c5 c2 jsr LC2C5 cf1a: 09 0f ora #$0f cf1c: cd 07 01 cmp HealthHi cf1f: b0 0a bcs LCF2B cf21: 29 f9 and #$f9 cf23: 8d 07 01 sta HealthHi cf26: a9 99 lda #$99 cf28: 8d 06 01 sta HealthLo cf2b: 4c 23 f3 LCF2B jmp LF323 cf2e: ad 0a 03 LCF2E lda SamusHit cf31: 4a lsr A cf32: 29 02 and #$02 cf34: f0 1e beq LCF54 cf36: b0 07 bcs LCF3F cf38: ad 15 03 lda SamusHorzAccel cf3b: 30 17 bmi LCF54 cf3d: 10 07 bpl LCF46 cf3f: ad 15 03 LCF3F lda SamusHorzAccel cf42: 30 02 bmi LCF46 cf44: d0 0e bne LCF54 cf46: 20 d4 c3 LCF46 jsr LC3D4 cf49: 8d 15 03 sta SamusHorzAccel cf4c: a0 00 LCF4C ldy #$00 cf4e: 8c 09 03 LCF4E sty ObjHorzSpeed cf51: 8c 13 03 sty HorzCntrLinear cf54: 60 LCF54 rts cf55: ad 15 03 TCF55 lda SamusHorzAccel cf58: d0 03 bne LCF5D cf5a: 20 96 cb jsr LCB96 cf5d: 20 81 cf LCF5D jsr LCF81 cf60: 8c 00 03 sty ObjAction cf63: a5 14 lda Joy1Status cf65: 29 08 and #$08 cf67: d0 0e bne TCF77 cf69: a9 07 lda #$07 cf6b: 8d 05 03 LCF6B sta AnimResetIndex cf6e: 8d 06 03 LCF6E sta AnimIndex cf71: a9 00 lda #$00 cf73: 8d 04 03 sta AnimDelay cf76: 60 rts cf77: a9 04 TCF77 lda #$04 cf79: 8d 00 03 sta ObjAction cf7c: a9 27 lda #$27 cf7e: 20 6b cf jsr LCF6B cf81: 20 b7 cf LCF81 jsr LCFB7 cf84: 8c 04 03 sty AnimDelay cf87: 60 rts cf88: a5 14 LCF88 lda Joy1Status cf8a: 29 03 and #$03 cf8c: f0 1b beq LCFA9 cf8e: 20 e1 e1 jsr LE1E1 cf91: aa tax cf92: 20 b7 cc jsr LCCB7 cf95: ad 14 03 lda SamusGravity cf98: 30 23 bmi LCFBD cf9a: ad 05 03 lda AnimResetIndex cf9d: c9 0e cmp #$0e cf9f: f0 1c beq LCFBD cfa1: 86 4d stx SamusDir cfa3: bd 97 d0 lda LD097,x cfa6: 4c 6b cf jmp LCF6B cfa9: ad 14 03 LCFA9 lda SamusGravity cfac: 30 0f bmi LCFBD cfae: f0 0d beq LCFBD cfb0: ad 05 03 lda AnimResetIndex cfb3: c9 0c cmp #$0c cfb5: d0 06 bne LCFBD cfb7: 20 4c cf LCFB7 jsr LCF4C cfba: 8c 15 03 sty SamusHorzAccel cfbd: 60 LCFBD rts cfbe: a0 35 TCFBE ldy #$35 cfc0: 4c c5 cf jmp LCFC5 cfc3: a0 0c TCFC3 ldy #$0c cfc5: 8c 05 03 LCFC5 sty AnimResetIndex cfc8: 88 dey cfc9: 8c 06 03 sty AnimIndex cfcc: a9 04 lda #$04 cfce: 8d 04 03 sta AnimDelay cfd1: a9 00 lda #$00 cfd3: 8d 0f 03 sta SamusJumpDsplcmnt cfd6: a9 fc lda #$fc cfd8: 8d 08 03 sta ObjVertSpeed cfdb: ae 00 03 ldx ObjAction cfde: ca dex cfdf: d0 0f bne LCFF0 cfe1: ad 78 68 lda SamusGear cfe4: 29 08 and #$08 cfe6: f0 08 beq LCFF0 cfe8: a9 00 lda #$00 cfea: 8d 86 06 sta $0686 cfed: 20 ca cb jsr LCBCA cff0: 20 ac cb LCFF0 jsr LCBAC cff3: a0 18 ldy #$18 cff5: ad 78 68 lda SamusGear cff8: 29 02 and #$02 cffa: f0 02 beq LCFFE cffc: a0 12 ldy #$12 cffe: 8c 14 03 LCFFE sty SamusGravity d001: 60 rts d002: ad 0f 03 TD002 lda SamusJumpDsplcmnt d005: 2c 08 03 bit ObjVertSpeed d008: 10 0b bpl LD015 d00a: c9 20 cmp #$20 d00c: 90 07 bcc LD015 d00e: 24 14 bit Joy1Status d010: 30 03 bmi LD015 d012: 20 47 d1 jsr LD147 d015: 20 55 d0 LD015 jsr LD055 d018: 20 2e cf jsr LCF2E d01b: a5 14 lda Joy1Status d01d: 29 08 and #$08 d01f: f0 0a beq LD02B d021: a9 35 lda #$35 d023: 8d 05 03 sta AnimResetIndex d026: a9 06 lda #$06 d028: 8d 00 03 sta ObjAction d02b: 20 9c d0 LD02B jsr LD09C d02e: a5 64 lda SamusInLava d030: f0 0a beq LD03C d032: a5 12 lda Joy1Change d034: 10 06 bpl LD03C d036: 20 c3 cf jsr TCFC3 d039: 4c 6b cd jmp LCD6B d03c: ad 14 03 LD03C lda SamusGravity d03f: d0 0f bne LD050 d041: ad 00 03 lda ObjAction d044: c9 06 cmp #$06 d046: d0 05 bne LD04D d048: 20 77 cf jsr TCF77 d04b: d0 03 bne LD050 d04d: 20 55 cf LD04D jsr TCF55 d050: a9 03 LD050 lda #$03 d052: 4c 6d cd jmp LCD6D d055: a2 01 LD055 ldx #$01 d057: a0 00 ldy #$00 d059: a5 14 lda Joy1Status d05b: 4a lsr A d05c: b0 06 bcs LD064 d05e: ca dex d05f: 4a lsr A d060: 90 30 bcc LD092 d062: ca dex d063: c8 iny d064: c4 4d LD064 cpy SamusDir d066: f0 2a beq LD092 d068: ad 00 03 lda ObjAction d06b: c9 06 cmp #$06 d06d: d0 0e bne LD07D d06f: ad 05 03 lda AnimResetIndex d072: d9 99 d0 cmp LD099,y d075: d0 11 bne LD088 d077: b9 9a d0 lda LD09A,y d07a: 4c 88 d0 jmp LD088 d07d: ad 05 03 LD07D lda AnimResetIndex d080: d9 96 d0 cmp LD096,y d083: d0 03 bne LD088 d085: b9 97 d0 lda LD097,y d088: 20 6b cf LD088 jsr LCF6B d08b: a9 08 lda #$08 d08d: 8d 04 03 sta AnimDelay d090: 84 4d sty SamusDir d092: 8e 09 03 LD092 stx ObjHorzSpeed d095: 60 LD095 rts d096: 0c LD096 .dd1 $0c d097: 0c LD097 .dd1 $0c d098: 0c .dd1 $0c d099: 35 LD099 .dd1 $35 d09a: 35 LD09A .dd1 $35 d09b: 35 .dd1 $35 d09c: a5 12 LD09C lda Joy1Change d09e: 05 16 ora Joy1Retrig d0a0: 0a asl A d0a1: 10 f2 bpl LD095 d0a3: ad 05 03 lda AnimResetIndex d0a6: c9 35 cmp #$35 d0a8: d0 03 bne LD0AD d0aa: 4c 75 d2 jmp LD275 d0ad: 20 10 d2 LD0AD jsr LD210 d0b0: a9 20 lda #$20 d0b2: 4c 6b cf jmp LCF6B d0b5: ad 78 68 TD0B5 lda SamusGear d0b8: 29 10 and #$10 d0ba: f0 1f beq LD0DB d0bc: ad 14 03 lda SamusGravity d0bf: d0 1a bne LD0DB d0c1: a6 4d ldx SamusDir d0c3: a9 16 lda #$16 d0c5: 8d 05 03 sta AnimResetIndex d0c8: a9 13 lda #$13 d0ca: 8d 06 03 sta AnimIndex d0cd: bd c0 cc lda LCCC0,x d0d0: 8d 15 03 sta SamusHorzAccel d0d3: a9 01 lda #$01 d0d5: 8d 86 06 sta $0686 d0d8: 4c ef cb jmp LCBEF d0db: a9 00 LD0DB lda #$00 d0dd: 8d 00 03 sta ObjAction d0e0: 60 rts d0e1: a5 12 TD0E1 lda Joy1Change d0e3: 29 08 and #$08 d0e5: d0 04 bne LD0EB d0e7: 24 12 bit Joy1Change d0e9: 10 33 bpl LD11E d0eb: a5 14 LD0EB lda Joy1Status d0ed: 29 04 and #$04 d0ef: d0 2d bne LD11E d0f1: ad 01 03 lda ObjRadY d0f4: 18 clc d0f5: 69 08 adc #$08 d0f7: 8d 01 03 sta ObjRadY d0fa: 20 a2 e7 jsr LE7A2 d0fd: 90 1f bcc LD11E d0ff: a2 00 ldx #$00 d101: 20 be e8 jsr LE8BE d104: 86 05 stx $05 d106: a9 f5 lda #$f5 d108: 85 04 sta $04 d10a: 20 8f fd jsr LFD8F d10d: 20 38 d6 jsr LD638 d110: 20 55 cf jsr TCF55 d113: ce 06 03 dec AnimIndex d116: 20 47 d1 jsr LD147 d119: a9 04 lda #$04 d11b: 4c 44 d1 jmp LD144 d11e: a5 12 LD11E lda Joy1Change d120: 20 e1 e1 jsr LE1E1 d123: c9 02 cmp #$02 d125: b0 07 bcs LD12E d127: 85 4d sta SamusDir d129: a9 16 lda #$16 d12b: 20 6b cf jsr LCF6B d12e: a6 4d LD12E ldx SamusDir d130: 20 b7 cc jsr LCCB7 d133: 20 2e cf jsr LCF2E d136: 20 50 d1 jsr LD150 d139: a5 14 lda Joy1Status d13b: 29 03 and #$03 d13d: d0 03 bne LD142 d13f: 20 b7 cf jsr LCFB7 d142: a9 02 LD142 lda #$02 d144: 4c 6d cd LD144 jmp LCD6D d147: a0 00 LD147 ldy #$00 d149: 8c 08 03 sty ObjVertSpeed d14c: 8c 12 03 sty VertCntrLinear d14f: 60 rts d150: ad 78 68 LD150 lda SamusGear d153: 4a lsr A d154: 90 41 bcc LD197 d156: a5 12 lda Joy1Change d158: 05 16 ora Joy1Retrig d15a: 0a asl A d15b: 10 3a bpl LD197 d15d: ad 08 03 lda ObjVertSpeed d160: 0d 07 03 ora SamusOnElevator d163: d0 32 bne LD197 d165: a2 d0 ldx #$d0 d167: bd 00 03 lda ObjAction,x d16a: f0 0e beq LD17A d16c: a2 e0 ldx #$e0 d16e: bd 00 03 lda ObjAction,x d171: f0 07 beq LD17A d173: a2 f0 ldx #$f0 d175: bd 00 03 lda ObjAction,x d178: d0 1d bne LD197 d17a: ad 0c 03 LD17A lda ObjectHi d17d: 9d 0c 03 sta ObjectHi,x d180: ad 0e 03 lda ObjectX d183: 9d 0e 03 sta ObjectX,x d186: ad 0d 03 lda ObjectY d189: 18 clc d18a: 69 04 adc #$04 d18c: 9d 0d 03 sta ObjectY,x d18f: a9 08 lda #$08 d191: 9d 00 03 sta ObjAction,x d194: 20 a8 cb jsr LCBA8 d197: 60 LD197 rts d198: a5 14 TD198 lda Joy1Status d19a: 29 08 and #$08 d19c: d0 05 bne LD1A3 d19e: a9 00 lda #$00 d1a0: 8d 00 03 sta ObjAction d1a3: a5 14 LD1A3 lda Joy1Status d1a5: 29 07 and #$07 d1a7: f0 10 beq LD1B9 d1a9: 20 e1 e1 jsr LE1E1 d1ac: c9 02 cmp #$02 d1ae: b0 02 bcs LD1B2 d1b0: 85 4d sta SamusDir d1b2: aa LD1B2 tax d1b3: bd eb d1 lda LD1EB,x d1b6: 8d 00 03 sta ObjAction d1b9: a5 12 LD1B9 lda Joy1Change d1bb: 05 16 ora Joy1Retrig d1bd: 0a asl A d1be: 10 03 bpl LD1C3 d1c0: 20 ee d1 jsr LD1EE d1c3: 24 12 LD1C3 bit Joy1Change d1c5: 10 05 bpl LD1CC d1c7: a9 06 lda #$06 d1c9: 8d 00 03 sta ObjAction d1cc: a9 04 LD1CC lda #$04 d1ce: 20 6d cd jsr LCD6D d1d1: ad 00 03 lda ObjAction d1d4: 20 7c c2 jsr ChooseRoutine d1d7: 55 cf .dd2 TCF55 d1d9: 98 cc .dd2 TCC98 d1db: 5c c4 .dd2 TC45C d1dd: b5 d0 .dd2 TD0B5 d1df: 5c c4 .dd2 TC45C d1e1: 5c c4 .dd2 TC45C d1e3: be cf .dd2 TCFBE d1e5: 5c c4 .dd2 TC45C d1e7: 5c c4 .dd2 TC45C d1e9: 5c c4 .dd2 TC45C d1eb: 01 LD1EB .dd1 $01 d1ec: 01 .dd1 $01 d1ed: 03 .dd1 $03 d1ee: a5 14 LD1EE lda Joy1Status d1f0: 29 08 and #$08 d1f2: f0 1c beq LD210 d1f4: 4c 75 d2 jmp LD275 d1f7: a0 d0 LD1F7 ldy #$d0 d1f9: b9 00 03 LD1F9 lda ObjAction,y d1fc: f0 07 beq LD205 d1fe: 20 ee f1 jsr LF1EE d201: d0 f6 bne LD1F9 d203: c8 iny d204: 60 rts d205: 99 0a 03 LD205 sta SamusHit,y d208: ad 0e 01 lda MissileToggle d20b: f0 02 beq LD20F d20d: c0 d0 cpy #$d0 d20f: 60 LD20F rts d210: a5 92 LD210 lda MetroidOnSamus d212: d0 55 bne LD269 d214: 20 f7 d1 jsr LD1F7 d217: d0 50 bne LD269 d219: 20 eb d2 jsr LD2EB d21c: 20 59 d3 jsr LD359 d21f: 20 8e d3 jsr LD38E d222: a9 0c lda #$0c d224: 99 0f 03 sta SamusJumpDsplcmnt,y d227: a6 4d ldx SamusDir d229: bd 73 d2 lda LD273,x d22c: 99 09 03 sta ObjHorzSpeed,y d22f: a9 00 lda #$00 d231: 99 08 03 sta ObjVertSpeed,y d234: a9 01 lda #$01 d236: 99 0b 03 sta ObjectOnScreen,y d239: 20 15 d3 jsr LD315 d23c: b9 00 03 lda ObjAction,y d23f: 0a asl A d240: 05 4d ora SamusDir d242: 29 03 and #$03 d244: aa tax d245: bd 6f d2 lda LD26F,x d248: 85 05 sta $05 d24a: a9 fa lda #$fa d24c: 85 04 sta $04 d24e: 20 06 d3 jsr LD306 d251: ad 78 68 lda SamusGear d254: 29 04 and #$04 d256: 4a lsr A d257: 4a lsr A d258: 4a lsr A d259: 6a ror A d25a: 0d 1f 06 ora HasBeamSFX d25d: 8d 1f 06 sta HasBeamSFX d260: be 00 03 ldx ObjAction,y d263: ca dex d264: d0 03 bne LD269 d266: 20 b4 cb jsr LCBB4 d269: a0 09 LD269 ldy #$09 d26b: 98 LD26B tya d26c: 4c 6e cf jmp LCF6E d26f: 0c LD26F .dd1 $0c d270: f4 .dd1 $f4 d271: 08 .dd1 $08 d272: f8 .dd1 $f8 d273: 04 LD273 .dd1 $04 d274: fc .dd1 $fc d275: a5 92 LD275 lda MetroidOnSamus d277: d0 53 bne LD2CC d279: 20 f7 d1 jsr LD1F7 d27c: d0 4e bne LD2CC d27e: 20 eb d2 jsr LD2EB d281: 20 8a d3 jsr LD38A d284: 20 8e d3 jsr LD38E d287: a9 0c lda #$0c d289: 99 0f 03 sta SamusJumpDsplcmnt,y d28c: a9 fc lda #$fc d28e: 99 08 03 sta ObjVertSpeed,y d291: a9 00 lda #$00 d293: 99 09 03 sta ObjHorzSpeed,y d296: a9 01 lda #$01 d298: 99 0b 03 sta ObjectOnScreen,y d29b: 20 40 d3 jsr LD340 d29e: a6 4d ldx SamusDir d2a0: bd e7 d2 lda LD2E7,x d2a3: 85 05 sta $05 d2a5: b9 00 03 lda ObjAction,y d2a8: 29 01 and #$01 d2aa: aa tax d2ab: bd e9 d2 lda LD2E9,x d2ae: 85 04 sta $04 d2b0: 20 06 d3 jsr LD306 d2b3: ad 78 68 lda SamusGear d2b6: 29 04 and #$04 d2b8: 4a lsr A d2b9: 4a lsr A d2ba: 4a lsr A d2bb: 6a ror A d2bc: 0d 1f 06 ora HasBeamSFX d2bf: 8d 1f 06 sta HasBeamSFX d2c2: b9 00 03 lda ObjAction,y d2c5: c9 01 cmp #$01 d2c7: d0 03 bne LD2CC d2c9: 20 b4 cb jsr LCBB4 d2cc: a6 4d LD2CC ldx SamusDir d2ce: bc e3 d2 ldy LD2E3,x d2d1: ad 14 03 lda SamusGravity d2d4: f0 03 beq LD2D9 d2d6: bc e5 d2 ldy LD2E5,x d2d9: ad 00 03 LD2D9 lda ObjAction d2dc: c9 01 cmp #$01 d2de: f0 25 beq LD305 d2e0: 4c 6b d2 jmp LD26B d2e3: 26 LD2E3 .dd1 $26 d2e4: 26 .dd1 $26 d2e5: 34 LD2E5 .dd1 $34 d2e6: 34 .dd1 $34 d2e7: 01 LD2E7 .dd1 $01 d2e8: ff .dd1 $ff d2e9: ec LD2E9 .dd1 $ec d2ea: f0 .dd1 $f0 d2eb: 98 LD2EB tya d2ec: aa tax d2ed: fe 00 03 inc ObjAction,x d2f0: a9 02 lda #$02 d2f2: 99 01 03 sta ObjRadY,y d2f5: 99 02 03 sta ObjRadX,y d2f8: a9 1b lda #$1b d2fa: 9d 05 03 LD2FA sta AnimResetIndex,x d2fd: 9d 06 03 LD2FD sta AnimIndex,x d300: a9 00 lda #$00 d302: 9d 04 03 sta AnimDelay,x d305: 60 LD305 rts d306: a2 00 LD306 ldx #$00 d308: 20 be e8 jsr LE8BE d30b: 98 tya d30c: aa tax d30d: 20 8f fd jsr LFD8F d310: 8a txa d311: a8 tay d312: 4c 38 d6 jmp LD638 d315: ad 0e 01 LD315 lda MissileToggle d318: f0 3e beq LD358 d31a: c0 d0 cpy #$d0 d31c: d0 3a bne LD358 d31e: a6 4d ldx SamusDir d320: bd 3e d3 lda LD33E,x d323: 20 4d d3 LD323 jsr LD34D d326: 20 9e cb jsr LCB9E d329: a9 0b lda #$0b d32b: 99 00 03 sta ObjAction,y d32e: a9 ff lda #$ff d330: 99 0f 03 sta SamusJumpDsplcmnt,y d333: ce 79 68 dec MissileCount d336: d0 20 bne LD358 d338: ce 0e 01 dec MissileToggle d33b: 4c 73 cb jmp LCB73 d33e: 8d LD33E .dd1 $8d d33f: 8b .dd1 $8b d340: ad 0e 01 LD340 lda MissileToggle d343: f0 13 beq LD358 d345: c0 d0 cpy #$d0 d347: d0 0f bne LD358 d349: a9 8f lda #$8f d34b: d0 d6 bne LD323 d34d: 99 06 03 LD34D sta AnimIndex,y d350: 99 05 03 sta AnimResetIndex,y d353: a9 00 lda #$00 d355: 99 04 03 sta AnimDelay,y d358: 60 LD358 rts d359: a5 4d LD359 lda SamusDir d35b: 99 02 05 LD35B sta TileAnimFrame-1,y d35e: 2c 78 68 bit SamusGear d361: 50 f5 bvc LD358 d363: ad 0e 01 lda MissileToggle d366: d0 f0 bne LD358 d368: a9 00 lda #$00 d36a: 99 01 05 sta $0501,y d36d: 99 04 03 sta AnimDelay,y d370: 98 tya d371: 20 be c2 jsr LC2BE d374: a9 00 lda #$00 d376: b0 02 bcs LD37A d378: a9 0c lda #$0c d37a: 99 00 05 LD37A sta TileRoutine,y d37d: a9 02 lda #$02 d37f: 99 00 03 sta ObjAction,y d382: a9 7d lda #$7d d384: 20 4d d3 jsr LD34D d387: 4c c6 cb jmp LCBC6 d38a: a9 02 LD38A lda #$02 d38c: d0 cd bne LD35B d38e: ad 0e 01 LD38E lda MissileToggle d391: d0 c5 bne LD358 d393: ad 78 68 lda SamusGear d396: 10 c0 bpl LD358 d398: a9 03 lda #$03 d39a: 99 00 03 sta ObjAction,y d39d: ad 1f 06 lda HasBeamSFX d3a0: 09 01 ora #$01 d3a2: 8d 1f 06 sta HasBeamSFX d3a5: 4c b4 cb jmp LCBB4 d3a8: a5 56 TD3A8 lda DoorStatus d3aa: c9 05 cmp #$05 d3ac: 90 63 bcc LD411 d3ae: c6 59 dec DoorDelay d3b0: d0 45 bne LD3F7 d3b2: 0a asl A d3b3: 90 05 bcc LD3BA d3b5: 4a lsr A d3b6: 85 56 sta DoorStatus d3b8: d0 57 bne LD411 d3ba: 20 8c d4 LD3BA jsr LD48C d3bd: 20 65 ed jsr LED65 d3c0: 20 ab 95 jsr L95AB d3c3: a5 79 lda ItemRoomMusicStatus d3c5: f0 11 beq LD3D8 d3c7: 48 pha d3c8: 20 2c d9 jsr LD92C d3cb: 68 pla d3cc: 10 0a bpl LD3D8 d3ce: a9 00 lda #$00 d3d0: 85 79 sta ItemRoomMusicStatus d3d2: f0 04 beq LD3D8 d3d4: a9 80 LD3D4 lda #$80 d3d6: 85 79 sta ItemRoomMusicStatus d3d8: ad 87 69 LD3D8 lda KraidRidleyPresent d3db: f0 0a beq LD3E7 d3dd: 20 07 cc jsr LCC07 d3e0: a9 00 lda #$00 d3e2: 8d 87 69 sta KraidRidleyPresent d3e5: f0 ed beq LD3D4 d3e7: a5 58 LD3E7 lda SamusDoorData d3e9: 29 0f and #$0f d3eb: 8d 00 03 sta ObjAction d3ee: a9 00 lda #$00 d3f0: 85 58 sta SamusDoorData d3f2: 85 56 sta DoorStatus d3f4: 20 47 d1 jsr LD147 d3f7: a5 4e LD3F7 lda SamusDoorDir d3f9: f0 0e beq LD409 d3fb: ac 0e 03 ldy ObjectX d3fe: d0 03 bne LD403 d400: 20 49 e2 jsr LE249 d403: ce 0e 03 LD403 dec ObjectX d406: 4c 11 d4 jmp LD411 d409: ee 0e 03 LD409 inc ObjectX d40c: d0 03 bne LD411 d40e: 20 49 e2 jsr LE249 d411: 20 fa cd LD411 jsr LCDFA d414: 20 92 cd jsr LCD92 d417: 4c 4a de jmp LDE4A d41a: a9 01 TD41A lda #$01 d41c: 4c 6d cd jmp LCD6D d41f: ce 04 03 TD41F dec AnimDelay d422: 60 rts d423: ad 20 03 TD423 lda ElevatorStatus d426: c9 03 cmp #$03 d428: f0 04 beq LD42E d42a: c9 08 cmp #$08 d42c: d0 43 bne LD471 d42e: ad 2f 03 LD42E lda $032f d431: 30 20 bmi LD453 d433: ad 0d 03 lda ObjectY d436: 38 sec d437: e5 fc sbc ScrollY d439: c9 84 cmp #$84 d43b: 90 03 bcc LD440 d43d: 20 19 e5 jsr LE519 d440: ac 0d 03 LD440 ldy ObjectY d443: c0 ef cpy #$ef d445: d0 05 bne LD44C d447: 20 49 e2 jsr LE249 d44a: a0 ff ldy #$ff d44c: c8 LD44C iny d44d: 8c 0d 03 sty ObjectY d450: 4c 7e d4 jmp LD47E d453: ad 0d 03 LD453 lda ObjectY d456: 38 sec d457: e5 fc sbc ScrollY d459: c9 64 cmp #$64 d45b: b0 03 bcs LD460 d45d: 20 f1 e4 jsr LE4F1 d460: ac 0d 03 LD460 ldy ObjectY d463: d0 05 bne LD46A d465: 20 49 e2 jsr LE249 d468: a0 f0 ldy #$f0 d46a: 88 LD46A dey d46b: 8c 0d 03 sty ObjectY d46e: 4c 7e d4 jmp LD47E d471: a0 00 LD471 ldy #$00 d473: 8c 08 03 sty ObjVertSpeed d476: c9 05 cmp #$05 d478: f0 09 beq LD483 d47a: c9 07 cmp #$07 d47c: f0 05 beq LD483 d47e: a5 2d LD47E lda FrameCount d480: 4a lsr A d481: 90 08 bcc LD48B d483: 20 92 cd LD483 jsr LCD92 d486: a9 01 lda #$01 d488: 4c 47 de jmp LDE47 d48b: 60 LD48B rts d48c: a2 60 LD48C ldx #$60 d48e: 38 sec d48f: 20 b4 d4 LD48F jsr LD4B4 d492: 8a txa d493: e9 20 sbc #$20 d495: aa tax d496: 10 f7 bpl LD48F d498: 20 85 eb jsr LEB85 d49b: a8 tay d49c: a2 18 ldx #$18 d49e: 20 a8 d4 LD49E jsr LD4A8 d4a1: 8a txa d4a2: 38 sec d4a3: e9 08 sbc #$08 d4a5: aa tax d4a6: d0 f6 bne LD49E d4a8: 98 LD4A8 tya d4a9: dd 2c 07 cmp $072c,x d4ac: d0 05 bne LD4B3 d4ae: a9 ff lda #$ff d4b0: 9d 28 07 sta $0728,x d4b3: 60 LD4B3 rts d4b4: bd 05 04 LD4B4 lda EnCounter-1,x d4b7: 29 02 and #$02 d4b9: d0 03 bne LD4BE d4bb: 9d f4 6a sta Enstatus,x d4be: 60 LD4BE rts d4bf: a2 d0 LD4BF ldx #$d0 d4c1: 20 cb d4 jsr LD4CB d4c4: a2 e0 ldx #$e0 d4c6: 20 cb d4 jsr LD4CB d4c9: a2 f0 ldx #$f0 d4cb: 86 4b LD4CB stx PageIndex d4cd: bd 00 03 lda ObjAction,x d4d0: 20 7c c2 jsr ChooseRoutine d4d3: 5c c4 .dd2 TC45C d4d5: eb d4 .dd2 TD4EB d4d7: 2c d5 .dd2 TD52C d4d9: c1 d5 .dd2 TD5C1 d4db: c8 d5 .dd2 TD5C8 d4dd: 5e d6 .dd2 TD65E d4df: 70 d6 .dd2 TD670 d4e1: 91 d6 .dd2 TD691 d4e3: 5e d6 .dd2 TD65E d4e5: 70 d6 .dd2 TD670 d4e7: 91 d6 .dd2 TD691 d4e9: eb d4 .dd2 TD4EB d4eb: a9 01 TD4EB lda #$01 d4ed: 85 71 sta UpdatingProjectile d4ef: 20 fc d5 jsr LD5FC d4f2: 20 da d5 jsr LD5DA d4f5: 20 09 d6 jsr LD609 d4f8: a6 4b LD4F8 ldx PageIndex d4fa: 90 13 bcc LD50F d4fc: ad 78 68 lda SamusGear d4ff: 29 04 and #$04 d501: d0 14 bne LD517 d503: de 0f 03 dec SamusJumpDsplcmnt,x d506: d0 0f bne LD517 d508: a9 00 lda #$00 d50a: 9d 00 03 sta ObjAction,x d50d: f0 08 beq LD517 d50f: bd 00 03 LD50F lda ObjAction,x d512: f0 08 beq LD51C d514: 20 e4 d5 jsr LD5E4 d517: a9 01 LD517 lda #$01 d519: 20 47 de jsr LDE47 d51c: c6 71 LD51C dec UpdatingProjectile d51e: 60 rts d51f: fe 00 05 LD51F inc TileRoutine,x d522: fe 00 05 LD522 inc TileRoutine,x d525: a9 00 lda #$00 d527: 9d 01 05 sta $0501,x d52a: f0 1a beq LD546 d52c: a9 01 TD52C lda #$01 d52e: 85 71 sta UpdatingProjectile d530: 20 fc d5 jsr LD5FC d533: 20 da d5 jsr LD5DA d536: bd 02 05 lda TileAnimFrame-1,x d539: 29 fe and #$fe d53b: a8 tay d53c: b9 8b d5 lda LD58B,y d53f: 85 0a sta $0a d541: b9 8c d5 lda LD58B+1,y d544: 85 0b sta $0b d546: bc 00 05 LD546 ldy TileRoutine,x d549: b1 0a lda ($0a),y d54b: c9 ff cmp #$ff d54d: d0 06 bne LD555 d54f: 9d 00 05 sta TileRoutine,x d552: 4c 22 d5 jmp LD522 d555: dd 01 05 LD555 cmp $0501,x d558: f0 c5 beq LD51F d55a: fe 01 05 inc $0501,x d55d: c8 iny d55e: b1 0a lda ($0a),y d560: 20 96 82 jsr L8296 d563: a6 4b ldx PageIndex d565: 9d 08 03 sta ObjVertSpeed,x d568: b1 0a lda ($0a),y d56a: 20 2f 83 jsr L832F d56d: a6 4b ldx PageIndex d56f: 9d 09 03 sta ObjHorzSpeed,x d572: a8 tay d573: bd 02 05 lda TileAnimFrame-1,x d576: 4a lsr A d577: 90 07 bcc LD580 d579: 98 tya d57a: 20 d4 c3 jsr LC3D4 d57d: 9d 09 03 sta ObjHorzSpeed,x d580: 20 09 d6 LD580 jsr LD609 d583: b0 03 bcs LD588 d585: 20 24 d6 jsr LD624 d588: 4c f8 d4 LD588 jmp LD4F8 d58b: 8f d5 LD58B .dd2 LD58F d58d: a8 d5 .dd2 LD58F+25 d58f: 01 f3 01 d3+ LD58F .bulk $01,$f3,$01,$d3,$01,$93,$01,$13,$01,$53,$01,$73,$01,$73,$01,$53 + $01,$13,$01,$93,$01,$d3,$01,$f3,$ff,$01,$b7,$01,$b5,$01,$b1,$01 + $b9,$01,$bd,$01,$bf,$01,$bf,$01,$bd,$01,$b9,$01,$b1,$01,$b5,$01 + $b7,$ff d5c1: a9 81 TD5C1 lda #$81 d5c3: 85 6b sta ObjectCntrl d5c5: 4c eb d4 jmp TD4EB d5c8: a9 01 TD5C8 lda #$01 d5ca: 85 71 sta UpdatingProjectile d5cc: bd 03 03 lda AnimFrame,x d5cf: 38 sec d5d0: e9 f7 sbc #$f7 d5d2: d0 03 bne LD5D7 d5d4: 9d 00 03 sta ObjAction,x d5d7: 4c 17 d5 LD5D7 jmp LD517 d5da: bd 0a 03 LD5DA lda SamusHit,x d5dd: f0 1c beq LD5FB d5df: a9 00 lda #$00 d5e1: 9d 0a 03 sta SamusHit,x d5e4: a9 1d LD5E4 lda #$1d d5e6: bc 00 03 ldy ObjAction,x d5e9: c0 04 cpy #$04 d5eb: f0 0e beq LD5FB d5ed: c0 0b cpy #$0b d5ef: d0 02 bne LD5F3 d5f1: a9 91 lda #$91 d5f3: 20 fa d2 LD5F3 jsr LD2FA d5f6: a9 04 lda #$04 d5f8: 9d 00 03 LD5F8 sta ObjAction,x d5fb: 60 LD5FB rts d5fc: bd 0b 03 LD5FC lda ObjectOnScreen,x d5ff: 4a lsr A d600: b0 f9 bcs LD5FB d602: a9 00 LD602 lda #$00 d604: f0 f2 beq LD5F8 d606: 4c 1e e8 LD606 jmp LE81E d609: 20 9f d7 LD609 jsr LD79F d60c: a0 00 ldy #$00 d60e: b1 04 lda ($04),y d610: c9 a0 cmp #$a0 d612: b0 10 bcs LD624 d614: 20 c0 95 jsr L95C0 d617: c9 4e cmp #$4e d619: f0 eb beq LD606 d61b: 20 51 d6 jsr LD651 d61e: 90 30 bcc LD650 d620: 18 clc d621: 4c be e9 jmp LE9BE d624: a6 4b LD624 ldx PageIndex d626: bd 09 03 lda ObjHorzSpeed,x d629: 85 05 sta $05 d62b: bd 08 03 lda ObjVertSpeed,x d62e: 85 04 sta $04 d630: 20 be e8 jsr LE8BE d633: 20 8f fd jsr LFD8F d636: 90 ca bcc LD602 d638: a5 08 LD638 lda $08 d63a: 9d 0d 03 sta ObjectY,x d63d: a5 09 lda $09 d63f: 9d 0e 03 sta ObjectX,x d642: a5 0b lda $0b d644: 29 01 and #$01 d646: 10 05 bpl LD64D d648: bd 0c 03 LD648 lda ObjectHi,x d64b: 49 01 eor #$01 d64d: 9d 0c 03 LD64D sta ObjectHi,x d650: 60 LD650 rts d651: a4 74 LD651 ldy InArea d653: c0 10 cpy #$10 d655: f0 04 beq LD65B d657: c9 70 cmp #$70 d659: b0 02 bcs LD65D d65b: c9 80 LD65B cmp #$80 d65d: 60 LD65D rts d65e: a9 7f TD65E lda #$7f d660: 20 fa d2 jsr LD2FA d663: a9 18 lda #$18 d665: 9d 0f 03 sta SamusJumpDsplcmnt,x d668: fe 00 03 inc ObjAction,x d66b: a9 03 LD66B lda #$03 d66d: 4c 47 de jmp LDE47 d670: a5 2d TD670 lda FrameCount d672: 4a lsr A d673: 90 19 bcc LD68E d675: de 0f 03 dec SamusJumpDsplcmnt,x d678: d0 14 bne LD68E d67a: a9 37 lda #$37 d67c: bc 00 03 ldy ObjAction,x d67f: c0 09 cpy #$09 d681: d0 02 bne LD685 d683: a9 82 lda #$82 d685: 20 fa d2 LD685 jsr LD2FA d688: fe 00 03 inc ObjAction,x d68b: 20 9a cb jsr LCB9A d68e: 4c 6b d6 LD68E jmp LD66B d691: fe 0f 03 TD691 inc SamusJumpDsplcmnt,x d694: 20 a7 d6 jsr LD6A7 d697: a6 4b ldx PageIndex d699: bd 03 03 lda AnimFrame,x d69c: 38 sec d69d: e9 f7 sbc #$f7 d69f: d0 03 bne LD6A4 d6a1: 9d 00 03 sta ObjAction,x d6a4: 4c 6b d6 LD6A4 jmp LD66B d6a7: 20 9f d7 LD6A7 jsr LD79F d6aa: a5 04 lda $04 d6ac: 85 0a sta $0a d6ae: a5 05 lda $05 d6b0: 85 0b sta $0b d6b2: a6 4b ldx PageIndex d6b4: bc 0f 03 ldy SamusJumpDsplcmnt,x d6b7: 88 dey d6b8: f0 2a beq LD6E4 d6ba: 88 dey d6bb: d0 2b bne LD6E8 d6bd: a9 40 lda #$40 d6bf: 20 8b d7 jsr LD78B d6c2: 8a txa d6c3: d0 06 bne LD6CB d6c5: a5 04 lda $04 d6c7: 29 20 and #$20 d6c9: f0 1c beq LD6E7 d6cb: a5 05 LD6CB lda $05 d6cd: 29 03 and #$03 d6cf: c9 03 cmp #$03 d6d1: d0 11 bne LD6E4 d6d3: a5 04 lda $04 d6d5: c9 c0 cmp #$c0 d6d7: 90 0b bcc LD6E4 d6d9: a5 49 lda ScrollDir d6db: 29 02 and #$02 d6dd: d0 08 bne LD6E7 d6df: a9 80 lda #$80 d6e1: 20 8b d7 jsr LD78B d6e4: 20 6a d7 LD6E4 jsr LD76A d6e7: 60 LD6E7 rts d6e8: 88 LD6E8 dey d6e9: d0 2a bne LD715 d6eb: a9 40 lda #$40 d6ed: 20 7f d7 jsr LD77F d6f0: 8a txa d6f1: d0 06 bne LD6F9 d6f3: a5 04 lda $04 d6f5: 29 20 and #$20 d6f7: d0 ee bne LD6E7 d6f9: a5 05 LD6F9 lda $05 d6fb: 29 03 and #$03 d6fd: c9 03 cmp #$03 d6ff: d0 11 bne LD712 d701: a5 04 lda $04 d703: c9 c0 cmp #$c0 d705: 90 0b bcc LD712 d707: a5 49 lda ScrollDir d709: 29 02 and #$02 d70b: d0 da bne LD6E7 d70d: a9 80 lda #$80 d70f: 20 7f d7 jsr LD77F d712: 4c 6a d7 LD712 jmp LD76A d715: 88 LD715 dey d716: d0 29 bne LD741 d718: a9 02 lda #$02 d71a: 20 8b d7 jsr LD78B d71d: 8a txa d71e: d0 05 bne LD725 d720: a5 04 lda $04 d722: 4a lsr A d723: 90 59 bcc LD77E d725: a5 04 LD725 lda $04 d727: 29 1f and #$1f d729: c9 1e cmp #$1e d72b: 90 11 bcc LD73E d72d: a5 49 lda ScrollDir d72f: 29 02 and #$02 d731: f0 4b beq LD77E d733: a9 1e lda #$1e d735: 20 7f d7 jsr LD77F d738: a5 05 lda $05 d73a: 49 04 eor #$04 d73c: 85 05 sta $05 d73e: 4c 6a d7 LD73E jmp LD76A d741: 88 LD741 dey d742: d0 3a bne LD77E d744: a9 02 lda #$02 d746: 20 7f d7 jsr LD77F d749: 8a txa d74a: d0 05 bne LD751 d74c: a5 04 lda $04 d74e: 4a lsr A d74f: b0 2d bcs LD77E d751: a5 04 LD751 lda $04 d753: 29 1f and #$1f d755: c9 02 cmp #$02 d757: b0 11 bcs LD76A d759: a5 49 lda ScrollDir d75b: 29 02 and #$02 d75d: f0 1f beq LD77E d75f: a9 1e lda #$1e d761: 20 8b d7 jsr LD78B d764: a5 05 lda $05 d766: 49 04 eor #$04 d768: 85 05 sta $05 d76a: 8a LD76A txa d76b: 48 pha d76c: a0 00 ldy #$00 d76e: b1 04 lda ($04),y d770: 20 51 d6 jsr LD651 d773: 90 07 bcc LD77C d775: c9 a0 cmp #$a0 d777: b0 03 bcs LD77C d779: 20 c2 e9 jsr LE9C2 d77c: 68 LD77C pla d77d: aa tax d77e: 60 LD77E rts d77f: 18 LD77F clc d780: 65 0a adc $0a d782: 85 04 sta $04 d784: a5 0b lda $0b d786: 69 00 adc #$00 d788: 4c 98 d7 jmp LD798 d78b: 85 00 LD78B sta $00 d78d: a5 0a lda $0a d78f: 38 sec d790: e5 00 sbc $00 d792: 85 04 sta $04 d794: a5 0b lda $0b d796: e9 00 sbc #$00 d798: 29 07 LD798 and #$07 d79a: 09 60 ora #$60 d79c: 85 05 sta $05 d79e: 60 LD79E rts d79f: a6 4b LD79F ldx PageIndex d7a1: bd 0d 03 lda ObjectY,x d7a4: 85 02 sta $02 d7a6: bd 0e 03 lda ObjectX,x d7a9: 85 03 sta $03 d7ab: bd 0c 03 lda ObjectHi,x d7ae: 85 0b sta $0b d7b0: 4c 6a e9 jmp LE96A d7b3: a2 20 LD7B3 ldx #$20 d7b5: 86 4b stx PageIndex d7b7: bd 00 03 lda ObjAction,x d7ba: 20 7c c2 jsr ChooseRoutine d7bd: 5c c4 .dd2 TC45C d7bf: d1 d7 .dd2 TD7D1 d7c1: 0e d8 .dd2 TD80E d7c3: 3d d8 .dd2 TD83D d7c5: 70 d8 .dd2 TD870 d7c7: a3 d8 .dd2 TD8A3 d7c9: bf d8 .dd2 TD8BF d7cb: a3 d8 .dd2 TD8A3 d7cd: 3d d8 .dd2 TD83D d7cf: 4e d9 .dd2 TD94E d7d1: ad 07 03 TD7D1 lda SamusOnElevator d7d4: f0 30 beq LD806 d7d6: a9 04 lda #$04 d7d8: 2c 2f 03 bit $032f d7db: 10 01 bpl LD7DE d7dd: 0a asl A d7de: 25 14 LD7DE and Joy1Status d7e0: f0 24 beq LD806 d7e2: 20 47 d1 jsr LD147 d7e5: 8c 04 03 sty AnimDelay d7e8: 8c 14 03 sty SamusGravity d7eb: 98 tya d7ec: 9d 08 03 sta ObjVertSpeed,x d7ef: fe 00 03 inc ObjAction,x d7f2: a9 09 lda #$09 d7f4: 8d 00 03 sta ObjAction d7f7: a9 04 lda #$04 d7f9: 20 6b cf jsr LCF6B d7fc: a9 80 lda #$80 d7fe: 8d 0e 03 sta ObjectX d801: a9 70 lda #$70 d803: 8d 0d 03 sta ObjectY d806: a5 2d LD806 lda FrameCount d808: 4a lsr A d809: 90 93 bcc LD79E d80b: 4c 4a de jmp LDE4A d80e: a5 fd TD80E lda ScrollX d810: d0 12 bne LD824 d812: a5 fa lda MirrorCntrl d814: 09 08 ora #$08 d816: 85 fa sta MirrorCntrl d818: a5 49 lda ScrollDir d81a: 29 01 and #$01 d81c: 85 49 sta ScrollDir d81e: fe 00 03 inc ObjAction,x d821: 4c 06 d8 jmp LD806 d824: a9 80 LD824 lda #$80 d826: 8d 0e 03 sta ObjectX d829: bd 0e 03 lda ObjectX,x d82c: 38 sec d82d: e5 fd sbc ScrollX d82f: 30 06 bmi LD837 d831: 20 a7 e6 jsr LE6A7 d834: 4c 06 d8 jmp LD806 d837: 20 d2 e6 LD837 jsr LE6D2 d83a: 4c 06 d8 jmp LD806 d83d: bd 0f 03 TD83D lda SamusJumpDsplcmnt,x d840: 10 12 bpl LD854 d842: bc 0d 03 ldy ObjectY,x d845: d0 05 bne LD84C d847: 20 48 d6 jsr LD648 d84a: a0 f0 ldy #$f0 d84c: 88 LD84C dey d84d: 98 tya d84e: 9d 0d 03 sta ObjectY,x d851: 4c 66 d8 jmp LD866 d854: fe 0d 03 LD854 inc ObjectY,x d857: bd 0d 03 lda ObjectY,x d85a: c9 f0 cmp #$f0 d85c: d0 08 bne LD866 d85e: 20 48 d6 jsr LD648 d861: a9 00 lda #$00 d863: 9d 0d 03 sta ObjectY,x d866: c9 83 LD866 cmp #$83 d868: d0 03 bne LD86D d86a: fe 00 03 inc ObjAction,x d86d: 4c 06 d8 LD86D jmp LD806 d870: a5 fc TD870 lda ScrollY d872: d0 1e bne LD892 d874: a9 4e lda #$4e d876: 8d 05 03 sta AnimResetIndex d879: a9 41 lda #$41 d87b: 8d 06 03 sta AnimIndex d87e: a9 5d lda #$5d d880: 9d 05 03 sta AnimResetIndex,x d883: a9 50 lda #$50 d885: 9d 06 03 sta AnimIndex,x d888: fe 00 03 inc ObjAction,x d88b: a9 40 lda #$40 d88d: 85 2a sta Timer1 d88f: 4c 06 d8 jmp LD806 d892: bd 0f 03 LD892 lda SamusJumpDsplcmnt,x d895: 10 06 bpl LD89D d897: 20 f1 e4 jsr LE4F1 d89a: 4c 06 d8 jmp LD806 d89d: 20 19 e5 LD89D jsr LE519 d8a0: 4c 06 d8 jmp LD806 d8a3: fe 00 03 TD8A3 inc ObjAction,x d8a6: bd 00 03 lda ObjAction,x d8a9: c9 08 cmp #$08 d8ab: d0 0d bne LD8BA d8ad: a9 23 lda #$23 d8af: 9d 03 03 sta AnimFrame,x d8b2: a9 04 lda #$04 d8b4: 20 6b cf jsr LCF6B d8b7: 4c 06 d8 jmp LD806 d8ba: a9 01 LD8BA lda #$01 d8bc: 4c 47 de jmp LDE47 d8bf: bd 0f 03 TD8BF lda SamusJumpDsplcmnt,x d8c2: a8 tay d8c3: c9 8f cmp #$8f d8c5: d0 13 bne LD8DA d8c7: a9 07 lda #$07 d8c9: 85 1e sta MainRoutine d8cb: ee 83 68 inc AtEnding d8ce: a0 00 ldy #$00 d8d0: 84 33 sty RoomPtr d8d2: c8 iny d8d3: 84 24 sty SwitchPending d8d5: a9 1d lda #$1d d8d7: 85 1f sta TitleRoutine d8d9: 60 rts d8da: 98 LD8DA tya d8db: 10 08 bpl LD8E5 d8dd: a0 00 ldy #$00 d8df: c9 84 cmp #$84 d8e1: d0 01 bne LD8E4 d8e3: c8 iny d8e4: 98 LD8E4 tya d8e5: 09 10 LD8E5 ora #$10 d8e7: 20 18 ca jsr LCA18 d8ea: a5 76 lda PalToggle d8ec: 49 07 eor #$07 d8ee: 85 76 sta PalToggle d8f0: a4 74 ldy InArea d8f2: c0 12 cpy #$12 d8f4: 90 02 bcc LD8F8 d8f6: a9 01 lda #$01 d8f8: 85 1c LD8F8 sta PalDataPending d8fa: 20 3f c4 jsr LC43F d8fd: 20 73 cb jsr LCB73 d900: 20 2c d9 jsr LD92C d903: 20 47 c4 jsr LC447 d906: 20 b0 c8 jsr LC8B0 d909: 20 bb c8 jsr LC8BB d90c: a2 20 ldx #$20 d90e: 86 4b stx PageIndex d910: a9 6b lda #$6b d912: 8d 05 03 sta AnimResetIndex d915: a9 5f lda #$5f d917: 8d 06 03 sta AnimIndex d91a: a9 7a lda #$7a d91c: 9d 05 03 sta AnimResetIndex,x d91f: a9 6e lda #$6e d921: 9d 06 03 sta AnimIndex,x d924: fe 00 03 inc ObjAction,x d927: a9 40 lda #$40 d929: 85 2a sta Timer1 d92b: 60 rts d92c: ad 20 03 LD92C lda ElevatorStatus d92f: c9 06 cmp #$06 d931: d0 05 bne LD938 d933: ad 2f 03 lda $032f d936: 30 09 bmi LD941 d938: ad cd 95 LD938 lda L95CC+1 d93b: a4 79 ldy ItemRoomMusicStatus d93d: 30 08 bmi LD947 d93f: f0 06 beq LD947 d941: a9 81 LD941 lda #$81 d943: 85 79 sta ItemRoomMusicStatus d945: a9 20 lda #$20 d947: 0d 85 06 LD947 ora MusicInitFlag d94a: 8d 85 06 sta MusicInitFlag d94d: 60 rts d94e: a5 fc TD94E lda ScrollY d950: d0 21 bne LD973 d952: a9 00 lda #$00 d954: 8d 00 03 sta ObjAction d957: 20 55 cf jsr TCF55 d95a: a6 4b ldx PageIndex d95c: a9 01 lda #$01 d95e: 9d 00 03 sta ObjAction,x d961: bd 0f 03 lda SamusJumpDsplcmnt,x d964: 49 80 eor #$80 d966: 9d 0f 03 sta SamusJumpDsplcmnt,x d969: 30 05 bmi LD970 d96b: 20 52 e2 jsr LE252 d96e: 85 fa sta MirrorCntrl d970: 4c 06 d8 LD970 jmp LD806 d973: 4c 92 d8 LD973 jmp LD892 d976: a9 00 LD976 lda #$00 d978: 8d 07 03 sta SamusOnElevator d97b: 85 7d sta OnFrozenEnemy d97d: a8 tay d97e: a2 50 ldx #$50 d980: 20 86 f1 jsr LF186 d983: bd f4 6a LD983 lda Enstatus,x d986: c9 04 cmp #$04 d988: d0 14 bne LD99E d98a: 20 52 f1 jsr LF152 d98d: 20 bf f1 jsr LF1BF d990: 20 fa f1 jsr LF1FA d993: b0 09 bcs LD99E d995: 20 ba d9 jsr LD9BA d998: d0 04 bne LD99E d99a: e6 7d inc OnFrozenEnemy d99c: d0 05 bne LD9A3 d99e: 20 f4 f1 LD99E jsr LF1F4 d9a1: 10 e0 bpl LD983 d9a3: ad 20 03 LD9A3 lda ElevatorStatus d9a6: f0 11 beq LD9B9 d9a8: a0 00 ldy #$00 d9aa: a2 20 ldx #$20 d9ac: 20 82 dc jsr LDC82 d9af: b0 08 bcs LD9B9 d9b1: 20 ba d9 jsr LD9BA d9b4: d0 03 bne LD9B9 d9b6: ee 07 03 inc SamusOnElevator d9b9: 60 LD9B9 rts d9ba: a5 10 LD9BA lda $10 d9bc: 29 02 and #$02 d9be: d0 07 bne LD9C7 d9c0: a4 11 ldy $11 d9c2: c8 iny d9c3: c4 04 cpy $04 d9c5: f0 0c beq LD9D3 d9c7: ad 0a 03 LD9C7 lda SamusHit d9ca: 29 38 and #$38 d9cc: 05 10 ora $10 d9ce: 09 40 ora #$40 d9d0: 8d 0a 03 sta SamusHit d9d3: 60 LD9D3 rts d9d4: a9 60 LD9D4 lda #$60 d9d6: 85 4b sta PageIndex d9d8: ac 60 03 ldy $0360 d9db: f0 f6 beq LD9D3 d9dd: 88 dey d9de: d0 0d bne LD9ED d9e0: 20 b0 da jsr LDAB0 d9e3: a0 01 ldy #$01 d9e5: 20 b0 da jsr LDAB0 d9e8: b0 03 bcs LD9ED d9ea: ee 60 03 inc $0360 d9ed: ac 60 03 LD9ED ldy $0360 d9f0: c0 02 cpy #$02 d9f2: d0 19 bne LDA0D d9f4: ad 7b 68 lda KraidStatueStatus d9f7: 10 05 bpl LD9FE d9f9: a0 02 ldy #$02 d9fb: 20 b0 da jsr LDAB0 d9fe: ad 7c 68 LD9FE lda RidleyStatueStatus da01: 10 05 bpl LDA08 da03: a0 03 ldy #$03 da05: 20 b0 da jsr LDAB0 da08: b0 03 LDA08 bcs LDA0D da0a: ee 60 03 inc $0360 da0d: a2 60 LDA0D ldx #$60 da0f: 20 1a da jsr LDA1A da12: a2 61 ldx #$61 da14: 20 1a da jsr LDA1A da17: 4c da da jmp LDADA da1a: 20 3d da LDA1A jsr LDA3D da1d: 20 7c da jsr LDA7C da20: 8a txa da21: 29 01 and #$01 da23: a8 tay da24: b9 3b da lda LDA3B,y da27: 8d 63 03 sta $0363 da2a: bd 1b 68 lda $681b,x da2d: f0 07 beq LDA36 da2f: 30 05 bmi LDA36 da31: a5 2d lda FrameCount da33: 4a lsr A da34: 90 45 bcc LDA7B da36: 4c 4a de LDA36 jmp LDE4A da39: 88 LDA39 .dd1 $88 da3a: 68 .dd1 $68 da3b: 65 LDA3B .dd1 $65 da3c: 66 .dd1 $66 da3d: bd 04 03 LDA3D lda AnimDelay,x da40: 30 39 bmi LDA7B da42: a9 01 lda #$01 da44: 9d 04 03 sta AnimDelay,x da47: bd 0f 03 lda SamusJumpDsplcmnt,x da4a: 29 0f and #$0f da4c: f0 2d beq LDA7B da4e: fe 04 03 inc AnimDelay,x da51: de 0f 03 dec SamusJumpDsplcmnt,x da54: bd 0f 03 lda SamusJumpDsplcmnt,x da57: 29 0f and #$0f da59: d0 20 bne LDA7B da5b: bd 04 03 lda AnimDelay,x da5e: 09 80 ora #$80 da60: 9d 04 03 sta AnimDelay,x da63: 9d 1b 68 sta $681b,x da66: fe 04 03 inc AnimDelay,x da69: 8a txa da6a: 48 pha da6b: 29 01 and #$01 da6d: 48 pha da6e: a8 tay da6f: 20 b0 da jsr LDAB0 da72: 68 pla da73: a8 tay da74: c8 iny da75: c8 iny da76: 20 b0 da jsr LDAB0 da79: 68 pla da7a: aa tax da7b: 60 LDA7B rts da7c: bd 0f 03 LDA7C lda SamusJumpDsplcmnt,x da7f: 8d 6d 03 sta $036d da82: 8a txa da83: 29 01 and #$01 da85: a8 tay da86: b9 39 da lda LDA39,y da89: 8d 6e 03 sta $036e da8c: bd 1b 68 lda $681b,x da8f: f0 19 beq LDAAA da91: 30 17 bmi LDAAA da93: bd 04 03 lda AnimDelay,x da96: c9 01 cmp #$01 da98: d0 10 bne LDAAA da9a: bd 06 03 lda AnimIndex,x da9d: f0 0b beq LDAAA da9f: de 0f 03 dec SamusJumpDsplcmnt,x daa2: ad 83 06 lda TriangleSFXFlag daa5: 09 10 ora #$10 daa7: 8d 83 06 sta TriangleSFXFlag daaa: a9 00 LDAAA lda #$00 daac: 9d 06 03 sta AnimIndex,x daaf: 60 rts dab0: b9 d2 da LDAB0 lda LDAD2,y dab3: 8d c8 05 sta $05c8 dab6: ad 6c 03 lda $036c dab9: 0a asl A daba: 0a asl A dabb: 19 d6 da ora LDAD6,y dabe: 8d c9 05 sta $05c9 dac1: a9 09 lda #$09 dac3: 8d c3 05 sta $05c3 dac6: a9 c0 lda #$c0 dac8: 85 4b sta PageIndex daca: 20 dc fe jsr LFEDC dacd: a9 60 lda #$60 dacf: 85 4b sta PageIndex dad1: 60 rts dad2: 30 LDAD2 .dd1 $30 dad3: ac .dd1 $ac dad4: f0 .dd1 $f0 dad5: 6c .dd1 $6c dad6: 61 LDAD6 .dd1 $61 dad7: 60 .dd1 $60 dad8: 60 .dd1 $60 dad9: 60 .dd1 $60 dada: a5 54 LDADA lda $54 dadc: 30 38 bmi LDB16 dade: a5 56 lda DoorStatus dae0: d0 34 bne LDB16 dae2: ad 7b 68 lda KraidStatueStatus dae5: 2d 7c 68 and RidleyStatueStatus dae8: 10 2c bpl LDB16 daea: 85 54 sta $54 daec: a2 70 ldx #$70 daee: a0 08 ldy #$08 daf0: a9 03 LDAF0 lda #$03 daf2: 9d 00 05 sta TileRoutine,x daf5: 98 tya daf6: 0a asl A daf7: 9d 07 05 sta TileDelay,x dafa: a9 04 lda #$04 dafc: 9d 0a 05 sta TileType,x daff: ad 6c 03 lda $036c db02: 0a asl A db03: 0a asl A db04: 09 62 ora #$62 db06: 9d 09 05 sta TileWRAMHi,x db09: 98 tya db0a: 0a asl A db0b: 69 08 adc #$08 db0d: 9d 08 05 sta TileWRAMLo,x db10: 20 f4 f1 jsr LF1F4 db13: 88 dey db14: d0 da bne LDAF0 db16: 60 LDB16 rts db17: ad 79 68 LDB17 lda MissileCount db1a: f0 fa beq LDB16 db1c: a5 12 lda Joy1Change db1e: 05 16 ora Joy1Retrig db20: 29 20 and #$20 db22: f0 f2 beq LDB16 db24: ad 0e 01 lda MissileToggle db27: 49 01 eor #$01 db29: 8d 0e 01 sta MissileToggle db2c: 4c 73 cb jmp LCB73 db2f: 38 LDB2F sec db30: a9 00 lda #$00 db32: 2a LDB32 rol A db33: 88 dey db34: 10 fc bpl LDB32 db36: 60 LDB36 rts db37: a9 40 LDB37 lda #$40 db39: 85 4b sta PageIndex db3b: a2 00 ldx #$00 db3d: 20 42 db jsr LDB42 db40: a2 08 ldx #$08 db42: 86 4c LDB42 stx ItemIndex db44: bc 48 07 ldy PowerUpType,x db47: c8 iny db48: f0 ec beq LDB36 db4a: bd 49 07 lda PowerUpYCoord,x db4d: 8d 4d 03 sta $034d db50: bd 4a 07 lda PowerUpXCoord,x db53: 8d 4e 03 sta $034e db56: bd 4b 07 lda PowerUpNameTable,x db59: 8d 4c 03 sta $034c db5c: 20 9f d7 jsr LD79F db5f: a6 4c ldx ItemIndex db61: a0 00 ldy #$00 db63: b1 04 lda ($04),y db65: c9 a0 cmp #$a0 db67: 90 cd bcc LDB36 db69: bd 48 07 lda PowerUpType,x db6c: 29 0f and #$0f db6e: 09 50 ora #$50 db70: 8d 43 03 sta $0343 db73: a5 2d lda FrameCount db75: 4a lsr A db76: 29 03 and #$03 db78: 09 80 ora #$80 db7a: 85 6b sta ObjectCntrl db7c: a5 5b lda SpritePagePos db7e: 48 pha db7f: bd 4f 07 lda PowerUpAnimIndex,x db82: 20 4a de jsr LDE4A db85: 68 pla db86: c5 5b cmp SpritePagePos db88: f0 6c beq LDBF6 db8a: aa tax db8b: a4 4c ldy ItemIndex db8d: b9 48 07 lda PowerUpType,y db90: a0 01 ldy #$01 db92: c9 07 cmp #$07 db94: f0 09 beq LDB9F db96: 88 dey db97: c9 06 cmp #$06 db99: f0 04 beq LDB9F db9b: c9 02 cmp #$02 db9d: d0 06 bne LDBA5 db9f: 98 LDB9F tya dba0: 9d 06 02 sta $0206,x dba3: a9 ff lda #$ff dba5: 48 LDBA5 pha dba6: a2 00 ldx #$00 dba8: a0 40 ldy #$40 dbaa: 20 7f dc jsr LDC7F dbad: 68 pla dbae: b0 46 bcs LDBF6 dbb0: a8 tay dbb1: 20 f9 cb jsr LCBF9 dbb4: a6 4c ldx ItemIndex dbb6: c8 iny dbb7: f0 0d beq LDBC6 dbb9: bd 4b 07 lda PowerUpNameTable,x dbbc: 85 08 sta $08 dbbe: bd 48 07 lda PowerUpType,x dbc1: 85 09 sta $09 dbc3: 20 1c dc jsr LDC1C dbc6: bd 48 07 LDBC6 lda PowerUpType,x dbc9: a8 tay dbca: c0 08 cpy #$08 dbcc: b0 29 bcs LDBF7 dbce: c0 06 cpy #$06 dbd0: 90 08 bcc LDBDA dbd2: ad 78 68 lda SamusGear dbd5: 29 3f and #$3f dbd7: 8d 78 68 sta SamusGear dbda: 20 2f db LDBDA jsr LDB2F dbdd: 0d 78 68 ora SamusGear dbe0: 8d 78 68 sta SamusGear dbe3: a9 ff LDBE3 lda #$ff dbe5: 8d 09 01 sta PowerUpDelay dbe8: 9d 48 07 sta PowerUpType,x dbeb: a4 79 ldy ItemRoomMusicStatus dbed: f0 02 beq LDBF1 dbef: a0 01 ldy #$01 dbf1: 84 79 LDBF1 sty ItemRoomMusicStatus dbf3: 4c 73 cb jmp LCB73 dbf6: 60 LDBF6 rts dbf7: f0 07 LDBF7 beq LDC00 dbf9: a9 05 lda #$05 dbfb: 20 97 dd jsr LDD97 dbfe: d0 e3 bne LDBE3 dc00: ad 77 68 LDC00 lda TankCount dc03: c9 06 cmp #$06 dc05: f0 03 beq LDC0A dc07: ee 77 68 inc TankCount dc0a: ad 77 68 LDC0A lda TankCount dc0d: 20 c5 c2 jsr LC2C5 dc10: 09 09 ora #$09 dc12: 8d 07 01 sta HealthHi dc15: a9 99 lda #$99 dc17: 8d 06 01 sta HealthLo dc1a: d0 c7 bne LDBE3 dc1c: a5 50 LDC1C lda MapPosX dc1e: 85 07 LDC1E sta $07 dc20: a5 4f lda MapPosY dc22: 85 06 sta $06 dc24: a5 49 lda ScrollDir dc26: 4a lsr A dc27: 08 php dc28: f0 0a beq LDC34 dc2a: 90 10 bcc LDC3C dc2c: a5 fd lda ScrollX dc2e: f0 0c beq LDC3C dc30: c6 07 dec $07 dc32: b0 08 bcs LDC3C dc34: 90 06 LDC34 bcc LDC3C dc36: a5 fc lda ScrollY dc38: f0 02 beq LDC3C dc3a: c6 06 dec $06 dc3c: a5 ff LDC3C lda PPUCNT0ZP dc3e: 45 08 eor $08 dc40: 29 01 and #$01 dc42: 28 plp dc43: 18 clc dc44: f0 07 beq LDC4D dc46: 65 07 adc $07 dc48: 85 07 sta $07 dc4a: 4c 51 dc jmp LDC51 dc4d: 65 06 LDC4D adc $06 dc4f: 85 06 sta $06 dc51: 20 67 dc LDC51 jsr LDC67 dc54: ac 86 68 LDC54 ldy NumberOfUniqueItems dc57: a5 06 lda $06 dc59: 99 87 68 sta UniqueItemHistory,y dc5c: a5 07 lda $07 dc5e: 99 88 68 sta $6888,y dc61: c8 iny dc62: c8 iny dc63: 8c 86 68 sty NumberOfUniqueItems dc66: 60 rts dc67: a5 07 LDC67 lda $07 dc69: 20 c4 c2 jsr LC2C4 dc6c: 05 06 ora $06 dc6e: 85 06 sta $06 dc70: 46 07 lsr $07 dc72: 46 07 lsr $07 dc74: 46 07 lsr $07 dc76: a5 09 lda $09 dc78: 0a asl A dc79: 0a asl A dc7a: 05 07 ora $07 dc7c: 85 07 sta $07 dc7e: 60 rts dc7f: 20 86 f1 LDC7F jsr LF186 dc82: 20 72 f1 LDC82 jsr LF172 dc85: 20 a7 f1 jsr LF1A7 dc88: 4c fa f1 jmp LF1FA dc8b: 00 LDC8B .dd1 $00 dc8c: 80 .dd1 $80 dc8d: c0 .dd1 $c0 dc8e: 40 .dd1 $40 dc8f: a6 4b LDC8F ldx PageIndex dc91: bc 04 03 ldy AnimDelay,x dc94: f0 05 beq LDC9B dc96: de 04 03 dec AnimDelay,x dc99: d0 15 bne LDCB0 dc9b: 9d 04 03 LDC9B sta AnimDelay,x dc9e: bc 06 03 ldy AnimIndex,x dca1: b9 72 85 LDCA1 lda L8572,y dca4: c9 ff cmp #$ff dca6: f0 09 beq LDCB1 dca8: 9d 03 03 sta AnimFrame,x dcab: c8 iny dcac: 98 tya dcad: 9d 06 03 sta AnimIndex,x dcb0: 60 LDCB0 rts dcb1: bc 05 03 LDCB1 ldy AnimResetIndex,x dcb4: 4c a1 dc jmp LDCA1 dcb7: 48 pha dcb8: a9 00 lda #$00 dcba: 85 06 sta $06 dcbc: 68 pla dcbd: 10 02 bpl LDCC1 dcbf: c6 06 dec $06 dcc1: 18 LDCC1 clc dcc2: 60 rts dcc3: a0 00 LDCC3 ldy #$00 dcc5: 84 0f sty $0f dcc7: b1 00 lda ($00),y dcc9: 85 04 sta $04 dccb: aa tax dccc: 20 bf c2 jsr LC2BF dccf: 29 03 and #$03 dcd1: 85 05 sta $05 dcd3: 8a txa dcd4: 29 c0 and #$c0 dcd6: 09 20 ora #$20 dcd8: 05 05 ora $05 dcda: 85 05 sta $05 dcdc: a5 6b lda ObjectCntrl dcde: 29 10 and #$10 dce0: 0a asl A dce1: 0a asl A dce2: 45 04 eor $04 dce4: 85 04 sta $04 dce6: a5 6b lda ObjectCntrl dce8: 10 05 bpl LDCEF dcea: 06 6b asl ObjectCntrl dcec: 20 38 e0 jsr LE038 dcef: 8a LDCEF txa dcf0: 29 0f and #$0f dcf2: 0a asl A dcf3: aa tax dcf4: 60 rts dcf5: 20 2d df LDCF5 jsr LDF2D dcf8: 68 pla dcf9: 68 pla dcfa: a6 4b ldx PageIndex dcfc: a5 74 LDCFC lda InArea dcfe: c9 13 cmp #$13 dd00: d0 0b bne LDD0D dd02: bd 02 6b lda EnDataIndex,x dd05: c9 04 cmp #$04 dd07: f0 5a beq LDD63 dd09: c9 02 cmp #$02 dd0b: f0 56 beq LDD63 dd0d: bd 0c 04 LDD0D lda $040c,x dd10: 0a asl A dd11: 30 62 bmi LDD75 dd13: 20 4b f7 jsr LF74B dd16: 85 00 sta $00 dd18: 20 b0 80 jsr Brinstar80b0 dd1b: 29 20 and #$20 dd1d: 9d 02 6b sta EnDataIndex,x dd20: a9 05 lda #$05 dd22: 9d f4 6a sta Enstatus,x dd25: a9 60 lda #$60 dd27: 9d 0d 04 sta $040d,x dd2a: a5 2e lda RandomNumber1 dd2c: c9 10 cmp #$10 dd2e: 90 2b bcc LDD5B dd30: 29 07 LDD30 and #$07 dd32: a8 tay dd33: b9 35 de lda LDE35,y dd36: 9d f7 6a sta EnAnimFrame,x dd39: c9 80 cmp #$80 dd3b: d0 0e bne LDD4B dd3d: a4 93 ldy MaxMissilePickup dd3f: c4 95 cpy CurrentMissilePickups dd41: f0 18 beq LDD5B dd43: ad 7a 68 lda MaxMissiles dd46: f0 13 beq LDD5B dd48: e6 95 inc CurrentMissilePickups dd4a: 60 LDD4A rts dd4b: a4 94 LDD4B ldy MaxEnergyPickup dd4d: c4 96 cpy CurrentEnergyPickups dd4f: f0 0a beq LDD5B dd51: e6 96 inc CurrentEnergyPickups dd53: c9 89 cmp #$89 dd55: d0 f3 bne LDD4A dd57: 46 00 lsr $00 dd59: b0 ef bcs LDD4A dd5b: a6 4b LDD5B ldx PageIndex dd5d: a5 74 lda InArea dd5f: c9 13 cmp #$13 dd61: f0 03 beq LDD66 dd63: 4c 18 fa LDD63 jmp LFA18 dd66: a5 2e LDD66 lda RandomNumber1 dd68: a0 00 ldy #$00 dd6a: 84 96 sty CurrentEnergyPickups dd6c: 84 95 sty CurrentMissilePickups dd6e: c8 iny dd6f: 84 93 sty MaxMissilePickup dd71: 84 94 sty MaxEnergyPickup dd73: d0 bb bne LDD30 dd75: 20 f9 cb LDD75 jsr LCBF9 dd78: a5 74 lda InArea dd7a: 29 0f and #$0f dd7c: 8d 08 01 sta MiniBossKillDelay dd7f: 4a lsr A dd80: a8 tay dd81: 99 7a 68 sta MaxMissiles,y dd84: a9 4b lda #$4b dd86: 20 97 dd jsr LDD97 dd89: d0 d0 bne LDD5B dd8b: a6 4b LDD8B ldx PageIndex dd8d: bd f7 6a lda EnAnimFrame,x dd90: c9 f7 cmp #$f7 dd92: d0 1c bne LDDB0 dd94: 4c 2d df jmp LDF2D dd97: 48 LDD97 pha dd98: 18 clc dd99: 6d 79 68 adc MissileCount dd9c: 90 02 bcc LDDA0 dd9e: a9 ff lda #$ff dda0: 8d 79 68 LDDA0 sta MissileCount dda3: 68 pla dda4: 18 clc dda5: 6d 7a 68 adc MaxMissiles dda8: 90 02 bcc LDDAC ddaa: a9 ff lda #$ff ddac: 8d 7a 68 LDDAC sta MaxMissiles ddaf: 60 rts ddb0: bd 00 04 LDDB0 lda EnYRoomPos,x ddb3: 85 0a sta $0a ddb5: bd 01 04 lda EnXRoomPos,x ddb8: 85 0b sta $0b ddba: bd fb 6a lda EnNameTable,x ddbd: 85 06 sta $06 ddbf: bd f7 6a lda EnAnimFrame,x ddc2: 0a asl A ddc3: a8 tay ddc4: b1 41 lda (EnmyFrameTbl1Ptr),y ddc6: 90 02 bcc LDDCA ddc8: b1 43 lda (EnmyFrameTbl2Ptr),y ddca: 85 00 LDDCA sta $00 ddcc: c8 iny ddcd: b1 41 lda (EnmyFrameTbl1Ptr),y ddcf: 90 02 bcc LDDD3 ddd1: b1 43 lda (EnmyFrameTbl2Ptr),y ddd3: 85 01 LDDD3 sta $01 ddd5: 20 c3 dc jsr LDCC3 ddd8: a8 tay ddd9: b1 45 lda (EnmyPlaceTblPtr),y dddb: 85 02 sta $02 dddd: c8 iny ddde: b1 45 lda (EnmyPlaceTblPtr),y dde0: 85 03 sta $03 dde2: a0 00 ldy #$00 dde4: e0 02 cpx #$02 dde6: d0 1d bne LDE05 dde8: a6 4b ldx PageIndex ddea: fe 06 04 inc EnCounter,x dded: bd 06 04 lda EnCounter,x ddf0: 48 pha ddf1: 29 03 and #$03 ddf3: aa tax ddf4: a5 05 lda $05 ddf6: 29 3f and #$3f ddf8: 1d 8b dc ora LDC8B,x ddfb: 85 05 sta $05 ddfd: 68 pla ddfe: c9 19 cmp #$19 de00: d0 03 bne LDE05 de02: 4c f5 dc jmp LDCF5 de05: a6 4b LDE05 ldx PageIndex de07: c8 iny de08: b1 00 lda ($00),y de0a: 9d f5 6a sta EnRadY,x de0d: 20 3d de jsr LDE3D de10: c8 iny de11: b1 00 lda ($00),y de13: 9d f6 6a sta EnRadX,x de16: 85 09 sta $09 de18: c8 iny de19: 84 11 sty $11 de1b: 20 df df jsr LDFDF de1e: 8a txa de1f: 0a asl A de20: 85 08 sta $08 de22: a6 4b ldx PageIndex de24: bd 05 04 lda EnCounter-1,x de27: 29 fd and #$fd de29: 05 08 ora $08 de2b: 9d 05 04 sta EnCounter-1,x de2e: a5 08 lda $08 de30: f0 21 beq LDE53 de32: 4c de de jmp LDEDE de35: 80 LDE35 .dd1 $80 de36: 81 .dd1 $81 de37: 89 .dd1 $89 de38: 80 .dd1 $80 de39: 81 .dd1 $81 de3a: 89 .dd1 $89 de3b: 81 .dd1 $81 de3c: 89 .dd1 $89 de3d: 38 LDE3D sec de3e: e9 10 sbc #$10 de40: b0 02 bcs LDE44 de42: a9 00 lda #$00 de44: 85 08 LDE44 sta $08 de46: 60 rts de47: 20 8f dc LDE47 jsr LDC8F de4a: a6 4b LDE4A ldx PageIndex de4c: bd 03 03 lda AnimFrame,x de4f: c9 f7 cmp #$f7 de51: d0 03 bne LDE56 de53: 4c 2d df LDE53 jmp LDF2D de56: c9 07 LDE56 cmp #$07 de58: d0 06 bne LDE60 de5a: a5 6b lda ObjectCntrl de5c: 29 ef and #$ef de5e: 85 6b sta ObjectCntrl de60: bd 0d 03 LDE60 lda ObjectY,x de63: 85 0a sta $0a de65: bd 0e 03 lda ObjectX,x de68: 85 0b sta $0b de6a: bd 0c 03 lda ObjectHi,x de6d: 85 06 sta $06 de6f: bd 03 03 lda AnimFrame,x de72: 0a asl A de73: aa tax de74: bd 0b 86 lda L8572+153,x de77: 85 00 sta $00 de79: bd 0c 86 lda L8572+154,x de7c: 85 01 sta $01 de7e: 20 c3 dc jsr LDCC3 de81: bd df 86 lda L8572+$16d,x de84: 85 02 sta $02 de86: bd e0 86 lda L8572+$16e,x de89: 85 03 sta $03 de8b: a5 55 lda IsSamus de8d: f0 2d beq LDEBC de8f: e0 0e cpx #$0e de91: d0 29 bne LDEBC de93: a6 4b ldx PageIndex de95: e6 65 inc ObjectCounter de97: a5 65 lda ObjectCounter de99: 48 pha de9a: 29 03 and #$03 de9c: aa tax de9d: a5 05 lda $05 de9f: 29 3f and #$3f dea1: 1d 8b dc ora LDC8B,x dea4: 85 05 sta $05 dea6: 68 pla dea7: c9 19 cmp #$19 dea9: d0 11 bne LDEBC deab: a6 4b ldx PageIndex dead: a9 08 lda #$08 deaf: 9d 00 03 sta ObjAction,x deb2: a9 28 lda #$28 deb4: 9d 04 03 sta AnimDelay,x deb7: 68 pla deb8: 68 pla deb9: 4c 2d df jmp LDF2D debc: a6 4b LDEBC ldx PageIndex debe: c8 iny debf: b1 00 lda ($00),y dec1: 9d 01 03 sta ObjRadY,x dec4: 20 3d de jsr LDE3D dec7: c8 iny dec8: b1 00 lda ($00),y deca: 9d 02 03 sta ObjRadX,x decd: 85 09 sta $09 decf: c8 iny ded0: 84 11 sty $11 ded2: 20 df df jsr LDFDF ded5: 8a txa ded6: a6 4b ldx PageIndex ded8: 9d 0b 03 sta ObjectOnScreen,x dedb: aa tax dedc: f0 05 beq LDEE3 dede: a6 5b LDEDE ldx SpritePagePos dee0: 4c 19 df jmp LDF19 dee3: 4c 2d df LDEE3 jmp LDF2D dee6: a4 0f LDEE6 ldy $0f dee8: 20 6b df jsr LDF6B deeb: 65 10 adc $10 deed: 9d 00 02 sta Sprite00RAM,x def0: de 00 02 dec Sprite00RAM,x def3: e6 0f inc $0f def5: a4 11 ldy $11 def7: b1 00 lda ($00),y def9: 9d 01 02 sta $0201,x defc: a5 6b lda ObjectCntrl defe: 0a asl A deff: 0a asl A df00: 29 40 and #$40 df02: 45 05 eor $05 df04: 9d 02 02 sta $0202,x df07: e6 11 inc $11 df09: a4 0f ldy $0f df0b: 20 a3 df jsr LDFA3 df0e: 65 0e adc $0e df10: 9d 03 02 sta Sprite01RAM-1,x df13: e6 0f inc $0f df15: e8 inx df16: e8 inx df17: e8 inx df18: e8 inx df19: a4 11 LDF19 ldy $11 df1b: b1 00 LDF1B lda ($00),y df1d: c9 fc cmp #$fc df1f: 90 c5 bcc LDEE6 df21: f0 2e beq LDF51 df23: c9 fd cmp #$fd df25: f0 14 beq LDF3B df27: c9 fe cmp #$fe df29: f0 07 beq LDF32 df2b: 86 5b stx SpritePagePos df2d: a9 00 LDF2D lda #$00 df2f: 85 6b sta ObjectCntrl df31: 60 rts df32: e6 0f LDF32 inc $0f df34: e6 0f inc $0f df36: e6 11 inc $11 df38: 4c 19 df jmp LDF19 df3b: c8 LDF3B iny df3c: 06 6b asl ObjectCntrl df3e: 90 05 bcc LDF45 df40: 20 38 e0 jsr LE038 df43: d0 06 bne LDF4B df45: 46 6b LDF45 lsr ObjectCntrl df47: b1 00 lda ($00),y df49: 85 05 sta $05 df4b: c8 LDF4B iny df4c: 84 11 sty $11 df4e: 4c 1b df jmp LDF1B df51: c8 LDF51 iny df52: b1 00 lda ($00),y df54: 18 clc df55: 65 10 adc $10 df57: 85 10 sta $10 df59: e6 11 inc $11 df5b: e6 11 inc $11 df5d: a4 11 ldy $11 df5f: b1 00 lda ($00),y df61: 18 clc df62: 65 0e adc $0e df64: 85 0e sta $0e df66: e6 11 inc $11 df68: 4c 19 df jmp LDF19 df6b: b1 02 LDF6B lda ($02),y df6d: a8 tay df6e: 29 f0 and #$f0 df70: c9 80 cmp #$80 df72: f0 07 beq LDF7B df74: 98 tya df75: 24 04 LDF75 bit $04 df77: 30 38 bmi LDFB1 df79: 18 clc df7a: 60 rts df7b: 98 LDF7B tya df7c: 29 0e and #$0e df7e: 4a lsr A df7f: a8 tay df80: b9 49 e0 lda LE049,y df83: a4 55 ldy IsSamus df85: d0 08 bne LDF8F df87: a4 4b ldy PageIndex df89: 79 06 04 adc EnCounter,y df8c: 4c 91 df jmp LDF91 df8f: 65 65 LDF8F adc ObjectCounter df91: a8 LDF91 tay df92: b9 4b e0 lda LE049+2,y df95: 48 pha df96: a5 0f lda $0f df98: 18 clc df99: 69 0c adc #$0c df9b: a8 tay df9c: 68 pla df9d: 18 clc df9e: 71 02 adc ($02),y dfa0: 4c 75 df jmp LDF75 dfa3: b1 02 LDFA3 lda ($02),y dfa5: a8 tay dfa6: 29 f0 and #$f0 dfa8: c9 80 cmp #$80 dfaa: f0 0c beq LDFB8 dfac: 98 tya dfad: 24 04 LDFAD bit $04 dfaf: 50 05 bvc LDFB6 dfb1: 49 ff LDFB1 eor #$ff dfb3: 38 sec dfb4: 69 f8 adc #$f8 dfb6: 18 LDFB6 clc dfb7: 60 rts dfb8: a4 4b LDFB8 ldy PageIndex dfba: b9 06 04 lda EnCounter,y dfbd: a4 55 ldy IsSamus dfbf: f0 02 beq LDFC3 dfc1: a5 65 lda ObjectCounter dfc3: 0a LDFC3 asl A dfc4: 48 pha dfc5: a4 0f ldy $0f dfc7: b1 02 lda ($02),y dfc9: 4a lsr A dfca: b0 06 bcs LDFD2 dfcc: 68 pla dfcd: 49 ff eor #$ff dfcf: 69 01 adc #$01 dfd1: 48 pha dfd2: a5 0f LDFD2 lda $0f dfd4: 18 clc dfd5: 69 0c adc #$0c dfd7: a8 tay dfd8: 68 pla dfd9: 18 clc dfda: 71 02 adc ($02),y dfdc: 4c ad df jmp LDFAD dfdf: a2 01 LDFDF ldx #$01 dfe1: a5 0a lda $0a dfe3: a8 tay dfe4: 38 sec dfe5: e5 fc sbc ScrollY dfe7: 85 10 sta $10 dfe9: a5 0b lda $0b dfeb: 38 sec dfec: e5 fd sbc ScrollX dfee: 85 0e sta $0e dff0: a5 49 lda ScrollDir dff2: 29 02 and #$02 dff4: d0 26 bne LE01C dff6: c4 fc cpy ScrollY dff8: a5 06 lda $06 dffa: 45 ff eor PPUCNT0ZP dffc: 29 01 and #$01 dffe: f0 12 beq LE012 e000: b0 18 LE000 bcs LE01A e002: a5 10 lda $10 e004: e9 0f sbc #$0f e006: 85 10 sta $10 e008: a5 09 lda $09 e00a: 18 clc e00b: 65 10 adc $10 e00d: c9 f0 cmp #$f0 e00f: 90 0a bcc LE01B e011: 18 clc e012: 90 06 LE012 bcc LE01A e014: a5 09 lda $09 e016: c5 10 cmp $10 e018: 90 01 bcc LE01B e01a: ca LE01A dex e01b: 60 LE01B rts e01c: a5 06 LE01C lda $06 e01e: 45 ff eor PPUCNT0ZP e020: 29 01 and #$01 e022: f0 0a beq LE02E e024: b0 10 bcs LE036 e026: a5 09 lda $09 e028: 18 clc e029: 65 0e adc $0e e02b: 90 0a bcc LE037 e02d: 18 clc e02e: 90 06 LE02E bcc LE036 e030: a5 09 lda $09 e032: c5 0e cmp $0e e034: 90 01 bcc LE037 e036: ca LE036 dex e037: 60 LE037 rts e038: 46 6b LE038 lsr ObjectCntrl e03a: b1 00 lda ($00),y e03c: 29 c0 and #$c0 e03e: 05 6b ora ObjectCntrl e040: 85 05 sta $05 e042: a5 6b lda ObjectCntrl e044: 09 80 ora #$80 e046: 85 6b sta ObjectCntrl e048: 60 rts e049: 00 18 30 fc+ LE049 .bulk $00,$18,$30,$fc,$f8,$f4,$f0,$ee,$ec,$ea,$e8,$e7,$e6,$e6,$e5,$e5 + $e4,$e4,$e3,$e5,$e7,$e9,$eb,$ef,$f3,$f7,$fb,$fe,$fc,$fa,$f8,$f6 + $f4,$f2,$f0,$ee,$ed,$eb,$ea,$e9,$e8,$e7,$e6,$e6,$e6,$e6,$e6,$e8 + $ea,$ec,$ee,$fe,$fc,$fa,$f8,$f7,$f6,$f5,$f4,$f3,$f2,$f1,$f1,$f0 + $f0,$ef,$ef,$ef,$ef,$ef,$ef,$f0,$f0,$f1,$f2 e094: a6 4b UpdateEnemyAnim ldx PageIndex e096: bc f4 6a ldy Enstatus,x e099: c0 05 cpy #$05 e09b: f0 1e beq LE0BB e09d: bc f8 6a ldy EnAnimDelay,x e0a0: f0 05 beq LE0A7 e0a2: de f8 6a dec EnAnimDelay,x e0a5: d0 14 bne LE0BB e0a7: 9d f8 6a LE0A7 sta EnAnimDelay,x e0aa: bc fa 6a ldy EnAnimIndex,x e0ad: b1 47 LE0AD lda (EnemyAnimPtr),y e0af: c9 ff cmp #$ff e0b1: f0 09 beq LE0BC e0b3: 9d f7 6a sta EnAnimFrame,x e0b6: c8 iny e0b7: 98 tya e0b8: 9d fa 6a sta EnAnimIndex,x e0bb: 60 LE0BB rts e0bc: bc f9 6a LE0BC ldy EnResetAnimIndex,x e0bf: b0 ec bcs LE0AD e0c1: a0 00 LE0C1 ldy #$00 e0c3: a5 5b lda SpritePagePos e0c5: 48 pha e0c6: aa tax e0c7: b9 b9 e1 LE0C7 lda LE1B9,y e0ca: 9d 00 02 sta Sprite00RAM,x e0cd: e8 inx e0ce: c8 iny e0cf: c0 28 cpy #$28 e0d1: d0 f4 bne LE0C7 e0d3: 86 5b stx SpritePagePos e0d5: 68 pla e0d6: aa tax e0d7: ad 07 01 lda HealthHi e0da: 29 0f and #$0f e0dc: 20 73 e1 jsr LE173 e0df: ad 06 01 lda HealthLo e0e2: 20 bf c2 jsr LC2BF e0e5: 20 73 e1 jsr LE173 e0e8: ac 0b 01 ldy EndTimerHi e0eb: c8 iny e0ec: d0 2e bne LE11C e0ee: ac 7a 68 ldy MaxMissiles e0f1: f0 17 beq LE10A e0f3: ad 79 68 lda MissileCount e0f6: 20 98 e1 jsr LE198 e0f9: a5 02 lda $02 e0fb: 20 73 e1 jsr LE173 e0fe: a5 01 lda $01 e100: 20 73 e1 jsr LE173 e103: a5 00 lda $00 e105: 20 73 e1 jsr LE173 e108: d0 40 bne LE14A e10a: a9 ff LE10A lda #$ff e10c: e0 f4 cpx #$f4 e10e: b0 3a bcs LE14A e110: 9d 0d 02 sta $020d,x e113: e0 f0 cpx #$f0 e115: b0 33 bcs LE14A e117: 9d 11 02 sta $0211,x e11a: d0 2e bne LE14A e11c: ad 0b 01 LE11C lda EndTimerHi e11f: 20 bf c2 jsr LC2BF e122: 20 73 e1 jsr LE173 e125: ad 0b 01 lda EndTimerHi e128: 29 0f and #$0f e12a: 20 73 e1 jsr LE173 e12d: ad 0a 01 lda EndTimerLo e130: 20 bf c2 jsr LC2BF e133: 20 73 e1 jsr LE173 e136: a9 58 lda #$58 e138: 9d 01 02 sta $0201,x e13b: fe 02 02 inc $0202,x e13e: e0 fc cpx #$fc e140: b0 08 bcs LE14A e142: a9 59 lda #$59 e144: 9d 05 02 sta $0205,x e147: fe 06 02 inc $0206,x e14a: a6 5b LE14A ldx SpritePagePos e14c: ad 77 68 lda TankCount e14f: f0 21 beq LE172 e151: 85 03 sta $03 e153: a9 40 lda #$40 e155: 85 00 sta $00 e157: a0 6f ldy #$6f e159: ad 07 01 lda HealthHi e15c: 20 bf c2 jsr LC2BF e15f: 85 01 sta $01 e161: d0 01 bne LE164 e163: 88 dey e164: 20 7b e1 LE164 jsr LE17B e167: c6 01 dec $01 e169: d0 01 bne LE16C e16b: 88 dey e16c: c6 03 LE16C dec $03 e16e: d0 f4 bne LE164 e170: 86 5b stx SpritePagePos e172: 60 LE172 rts e173: 09 a0 LE173 ora #$a0 e175: 9d 01 02 sta $0201,x e178: 4c 93 e1 jmp LE193 e17b: a9 17 LE17B lda #$17 e17d: 9d 00 02 sta Sprite00RAM,x e180: 98 tya e181: 9d 01 02 sta $0201,x e184: a9 01 lda #$01 e186: 9d 02 02 sta $0202,x e189: a5 00 lda $00 e18b: 9d 03 02 sta Sprite01RAM-1,x e18e: 38 sec e18f: e9 0a sbc #$0a e191: 85 00 sta $00 e193: e8 LE193 inx e194: e8 inx e195: e8 inx e196: e8 inx e197: 60 rts e198: a0 64 LE198 ldy #$64 e19a: 84 0a sty $0a e19c: 20 ad e1 jsr LE1AD e19f: 84 02 sty $02 e1a1: a0 0a ldy #$0a e1a3: 84 0a sty $0a e1a5: 20 ad e1 jsr LE1AD e1a8: 84 01 sty $01 e1aa: 85 00 sta $00 e1ac: 60 rts e1ad: a0 00 LE1AD ldy #$00 e1af: 38 sec e1b0: c8 LE1B0 iny e1b1: e5 0a sbc $0a e1b3: b0 fb bcs LE1B0 e1b5: 88 dey e1b6: 65 0a adc $0a e1b8: 60 rts e1b9: 21 a0 01 30+ LE1B9 .bulk $21,$a0,$01,$30,$21,$a0,$01,$38,$2b,$ff,$01,$28,$2b,$ff,$01,$30 + $2b,$ff,$01,$38,$2b,$5e,$00,$18,$2b,$5f,$00,$20,$21,$76,$01,$18 + $21,$7f,$01,$20,$21,$3a,$00,$28 e1e1: 86 0e LE1E1 stx $0e e1e3: a2 00 ldx #$00 e1e5: 4a LE1E5 lsr A e1e6: b0 05 bcs LE1ED e1e8: e8 inx e1e9: e0 08 cpx #$08 e1eb: d0 f8 bne LE1E5 e1ed: 8a LE1ED txa e1ee: a6 0e ldx $0e e1f0: 60 LE1F0 rts e1f1: a6 56 LE1F1 ldx DoorStatus e1f3: f0 fb beq LE1F0 e1f5: ca dex e1f6: d0 06 bne LE1FE e1f8: 20 d2 e6 jsr LE6D2 e1fb: 4c 04 e2 jmp LE204 e1fe: ca LE1FE dex e1ff: d0 0b bne LE20C e201: 20 a7 e6 jsr LE6A7 e204: a6 fd LE204 ldx ScrollX e206: d0 40 bne LE248 e208: a2 05 ldx #$05 e20a: d0 20 bne LE22C e20c: ca LE20C dex e20d: d0 06 bne LE215 e20f: 20 19 e5 jsr LE519 e212: 4c 1b e2 jmp LE21B e215: ca LE215 dex e216: d0 30 bne LE248 e218: 20 f1 e4 jsr LE4F1 e21b: a6 fc LE21B ldx ScrollY e21d: d0 29 bne LE248 e21f: 86 6c stx DoorOnNameTable3 e221: 86 6d stx DoorOnNameTable0 e223: e8 inx e224: ad 0e 03 lda ObjectX e227: 30 18 bmi LE241 e229: e8 inx e22a: d0 15 bne LE241 e22c: a9 20 LE22C lda #$20 e22e: 85 59 sta DoorDelay e230: a5 58 lda SamusDoorData e232: 20 c6 c2 jsr LC2C6 e235: b0 06 bcs LE23D e237: a4 57 ldy DoorScrollStatus e239: c0 03 cpy #$03 e23b: 90 04 bcc LE241 e23d: a9 47 LE23D lda #$47 e23f: d0 03 bne LE244 e241: 20 52 e2 LE241 jsr LE252 e244: 85 fa LE244 sta MirrorCntrl e246: 86 56 stx DoorStatus e248: 60 LE248 rts e249: ad 0c 03 LE249 lda ObjectHi e24c: 49 01 eor #$01 e24e: 8d 0c 03 sta ObjectHi e251: 60 rts e252: a5 49 LE252 lda ScrollDir e254: 49 03 eor #$03 e256: 85 49 sta ScrollDir e258: a5 fa lda MirrorCntrl e25a: 49 08 eor #$08 e25c: 60 rts e25d: a9 01 LE25D lda #$01 e25f: c5 49 cmp ScrollDir e261: b0 05 bcs LE268 e263: a9 d8 lda #$d8 e265: cd 0d 03 cmp ObjectY e268: 60 LE268 rts e269: ad 00 03 LE269 lda ObjAction e26c: c9 09 cmp #$09 e26e: f0 04 beq LE274 e270: c9 07 cmp #$07 e272: b0 f4 bcs LE268 e274: 20 5d e2 LE274 jsr LE25D e277: a0 ff ldy #$ff e279: b0 2b bcs LE2A6 e27b: 84 72 sty DamagePushDirection e27d: 20 23 f3 jsr LF323 e280: a9 32 lda #$32 e282: 85 70 sta SamusBlink e284: a5 2d lda FrameCount e286: 29 03 and #$03 e288: d0 03 bne LE28D e28a: 20 ac cb jsr LCBAC e28d: a5 2d LE28D lda FrameCount e28f: 4a lsr A e290: 29 03 and #$03 e292: d0 10 bne LE2A4 e294: ad 78 68 lda SamusGear e297: 29 20 and #$20 e299: f0 02 beq LE29D e29b: 90 07 bcc LE2A4 e29d: a9 07 LE29D lda #$07 e29f: 85 6e sta HealthLoChange e2a1: 20 92 ce jsr LCE92 e2a4: a0 00 LE2A4 ldy #$00 e2a6: c8 LE2A6 iny e2a7: 84 64 sty SamusInLava e2a9: 20 7a e3 jsr LE37A e2ac: ad 0d 03 lda ObjectY e2af: 38 sec e2b0: e5 fc sbc ScrollY e2b2: 85 52 sta SamusScrY e2b4: a5 00 lda $00 e2b6: 10 1f bpl LE2D7 e2b8: 20 d4 c3 jsr LC3D4 e2bb: a4 64 ldy SamusInLava e2bd: f0 03 beq LE2C2 e2bf: 4a lsr A e2c0: f0 58 beq LE31A e2c2: 85 65 LE2C2 sta ObjectCounter e2c4: 20 57 e4 LE2C4 jsr LE457 e2c7: b0 0a bcs LE2D3 e2c9: 38 sec e2ca: 6e 08 03 ror ObjVertSpeed e2cd: 6e 12 03 ror VertCntrLinear e2d0: 4c 1a e3 jmp LE31A e2d3: c6 65 LE2D3 dec ObjectCounter e2d5: d0 ed bne LE2C4 e2d7: f0 41 LE2D7 beq LE31A e2d9: a4 64 ldy SamusInLava e2db: f0 04 beq LE2E1 e2dd: 4a lsr A e2de: 4a lsr A e2df: f0 39 beq LE31A e2e1: 85 65 LE2E1 sta ObjectCounter e2e3: 20 a3 e4 LE2E3 jsr LE4A3 e2e6: b0 2e bcs LE316 e2e8: ad 00 03 lda ObjAction e2eb: c9 03 cmp #$03 e2ed: d0 1c bne LE30B e2ef: 4e 08 03 lsr ObjVertSpeed e2f2: f0 1a beq LE30E e2f4: 6e 12 03 ror VertCntrLinear e2f7: a9 00 lda #$00 e2f9: 38 sec e2fa: ed 12 03 sbc VertCntrLinear e2fd: 8d 12 03 sta VertCntrLinear e300: a9 00 lda #$00 e302: ed 08 03 sbc ObjVertSpeed e305: 8d 08 03 sta ObjVertSpeed e308: 4c 1a e3 jmp LE31A e30b: 20 96 cb LE30B jsr LCB96 e30e: 20 47 d1 LE30E jsr LD147 e311: 8c 14 03 sty SamusGravity e314: f0 04 beq LE31A e316: c6 65 LE316 dec ObjectCounter e318: d0 c9 bne LE2E3 e31a: 20 e5 e3 LE31A jsr LE3E5 e31d: ad 0e 03 lda ObjectX e320: 38 sec e321: e5 fd sbc ScrollX e323: 85 51 sta SamusScrX e325: a5 00 lda $00 e327: 10 1e bpl LE347 e329: 20 d4 c3 jsr LC3D4 e32c: a4 64 ldy SamusInLava e32e: f0 03 beq LE333 e330: 4a lsr A e331: f0 31 beq LE364 e333: 85 65 LE333 sta ObjectCounter e335: 20 26 e6 LE335 jsr LE626 e338: 20 65 e3 jsr LE365 e33b: c6 65 dec ObjectCounter e33d: d0 f6 bne LE335 e33f: a5 58 lda SamusDoorData e341: f0 21 beq LE364 e343: a9 01 lda #$01 e345: d0 1b bne LE362 e347: f0 1b LE347 beq LE364 e349: a4 64 ldy SamusInLava e34b: f0 03 beq LE350 e34d: 4a lsr A e34e: f0 14 beq LE364 e350: 85 65 LE350 sta ObjectCounter e352: 20 68 e6 LE352 jsr LE668 e355: 20 65 e3 jsr LE365 e358: c6 65 dec ObjectCounter e35a: d0 f6 bne LE352 e35c: a5 58 lda SamusDoorData e35e: f0 04 beq LE364 e360: a9 00 lda #$00 e362: 85 4e LE362 sta SamusDoorDir e364: 60 LE364 rts e365: b0 fd LE365 bcs LE364 e367: a9 01 lda #$01 e369: 85 65 sta ObjectCounter e36b: ad 14 03 lda SamusGravity e36e: d0 f4 bne LE364 e370: ad 00 03 lda ObjAction e373: c9 03 cmp #$03 e375: f0 ed beq LE364 e377: 4c 55 cf jmp TCF55 e37a: ad 14 03 LE37A lda SamusGravity e37d: d0 26 bne LE3A5 e37f: a9 18 lda #$18 e381: 8d 16 03 sta SamusHorzSpeedMax e384: ad 0d 03 lda ObjectY e387: 18 clc e388: 6d 01 03 adc ObjRadY e38b: 29 07 and #$07 e38d: d0 05 bne LE394 e38f: 20 ad e7 jsr LE7AD e392: 90 11 bcc LE3A5 e394: 20 76 d9 LE394 jsr LD976 e397: ad 07 03 lda SamusOnElevator e39a: d0 09 bne LE3A5 e39c: a5 7d lda OnFrozenEnemy e39e: d0 05 bne LE3A5 e3a0: a9 1a lda #$1a e3a2: 8d 14 03 sta SamusGravity e3a5: a2 05 LE3A5 ldx #$05 e3a7: ad 12 03 lda VertCntrLinear e3aa: 18 clc e3ab: 6d 14 03 adc SamusGravity e3ae: 8d 12 03 sta VertCntrLinear e3b1: ad 08 03 lda ObjVertSpeed e3b4: 69 00 adc #$00 e3b6: 8d 08 03 sta ObjVertSpeed e3b9: 10 0e bpl LE3C9 e3bb: a9 00 lda #$00 e3bd: cd 12 03 cmp VertCntrLinear e3c0: ed 08 03 sbc ObjVertSpeed e3c3: c9 06 cmp #$06 e3c5: a2 fa ldx #$fa e3c7: d0 02 bne LE3CB e3c9: c9 05 LE3C9 cmp #$05 e3cb: 90 06 LE3CB bcc LE3D3 e3cd: 20 47 d1 jsr LD147 e3d0: 8e 08 03 stx ObjVertSpeed e3d3: ad 10 03 LE3D3 lda VertCntrNonLinear e3d6: 18 clc e3d7: 6d 12 03 adc VertCntrLinear e3da: 8d 10 03 sta VertCntrNonLinear e3dd: a9 00 lda #$00 e3df: 6d 08 03 adc ObjVertSpeed e3e2: 85 00 sta $00 e3e4: 60 rts e3e5: ad 16 03 LE3E5 lda SamusHorzSpeedMax e3e8: 20 c5 c2 jsr LC2C5 e3eb: 85 00 sta $00 e3ed: 85 02 sta $02 e3ef: ad 16 03 lda SamusHorzSpeedMax e3f2: 20 bf c2 jsr LC2BF e3f5: 85 01 sta $01 e3f7: 85 03 sta $03 e3f9: ad 13 03 lda HorzCntrLinear e3fc: 18 clc e3fd: 6d 15 03 adc SamusHorzAccel e400: 8d 13 03 sta HorzCntrLinear e403: aa tax e404: a9 00 lda #$00 e406: 2c 15 03 bit SamusHorzAccel e409: 10 02 bpl LE40D e40b: a9 ff lda #$ff e40d: 6d 09 03 LE40D adc ObjHorzSpeed e410: 8d 09 03 sta ObjHorzSpeed e413: a8 tay e414: 10 10 bpl LE426 e416: a9 00 lda #$00 e418: 38 sec e419: ed 13 03 sbc HorzCntrLinear e41c: aa tax e41d: a9 00 lda #$00 e41f: ed 09 03 sbc ObjHorzSpeed e422: a8 tay e423: 20 49 e4 jsr LE449 e426: e4 02 LE426 cpx $02 e428: 98 tya e429: e5 03 sbc $03 e42b: 90 0a bcc LE437 e42d: a5 00 lda $00 e42f: 8d 13 03 sta HorzCntrLinear e432: a5 01 lda $01 e434: 8d 09 03 sta ObjHorzSpeed e437: ad 11 03 LE437 lda HorzCntrNonLinear e43a: 18 clc e43b: 6d 13 03 adc HorzCntrLinear e43e: 8d 11 03 sta HorzCntrNonLinear e441: a9 00 lda #$00 e443: 6d 09 03 adc ObjHorzSpeed e446: 85 00 sta $00 e448: 60 rts e449: a9 00 LE449 lda #$00 e44b: 38 sec e44c: e5 00 sbc $00 e44e: 85 00 sta $00 e450: a9 00 lda #$00 e452: e5 01 sbc $01 e454: 85 01 sta $01 e456: 60 rts e457: ad 0d 03 LE457 lda ObjectY e45a: 38 sec e45b: ed 01 03 sbc ObjRadY e45e: 29 07 and #$07 e460: d0 05 bne LE467 e462: 20 a2 e7 jsr LE7A2 e465: 90 3b bcc LE4A2 e467: ad 00 03 LE467 lda ObjAction e46a: c9 09 cmp #$09 e46c: f0 0d beq LE47B e46e: 20 76 d9 jsr LD976 e471: ad 0a 03 lda SamusHit e474: 29 42 and #$42 e476: c9 42 cmp #$42 e478: 18 clc e479: f0 27 beq LE4A2 e47b: a5 52 LE47B lda SamusScrY e47d: c9 66 cmp #$66 e47f: b0 05 bcs LE486 e481: 20 f1 e4 jsr LE4F1 e484: 90 02 bcc LE488 e486: c6 52 LE486 dec SamusScrY e488: ad 0d 03 LE488 lda ObjectY e48b: d0 0e bne LE49B e48d: a5 49 lda ScrollDir e48f: 29 02 and #$02 e491: d0 03 bne LE496 e493: 20 49 e2 jsr LE249 e496: a9 f0 LE496 lda #$f0 e498: 8d 0d 03 sta ObjectY e49b: ce 0d 03 LE49B dec ObjectY e49e: ee 0f 03 inc SamusJumpDsplcmnt e4a1: 38 sec e4a2: 60 LE4A2 rts e4a3: ad 0d 03 LE4A3 lda ObjectY e4a6: 18 clc e4a7: 6d 01 03 adc ObjRadY e4aa: 29 07 and #$07 e4ac: d0 05 bne LE4B3 e4ae: 20 ad e7 jsr LE7AD e4b1: 90 3d bcc LE4F0 e4b3: ad 00 03 LE4B3 lda ObjAction e4b6: c9 09 cmp #$09 e4b8: f0 0d beq LE4C7 e4ba: 20 76 d9 jsr LD976 e4bd: ad 07 03 lda SamusOnElevator e4c0: 18 clc e4c1: d0 2d bne LE4F0 e4c3: a5 7d lda OnFrozenEnemy e4c5: d0 29 bne LE4F0 e4c7: a5 52 LE4C7 lda SamusScrY e4c9: c9 84 cmp #$84 e4cb: 90 05 bcc LE4D2 e4cd: 20 19 e5 jsr LE519 e4d0: 90 02 bcc LE4D4 e4d2: e6 52 LE4D2 inc SamusScrY e4d4: ad 0d 03 LE4D4 lda ObjectY e4d7: c9 ef cmp #$ef e4d9: d0 0e bne LE4E9 e4db: a5 49 lda ScrollDir e4dd: 29 02 and #$02 e4df: d0 03 bne LE4E4 e4e1: 20 49 e2 jsr LE249 e4e4: a9 ff LE4E4 lda #$ff e4e6: 8d 0d 03 sta ObjectY e4e9: ee 0d 03 LE4E9 inc ObjectY e4ec: ce 0f 03 dec SamusJumpDsplcmnt e4ef: 38 sec e4f0: 60 LE4F0 rts e4f1: a5 49 LE4F1 lda ScrollDir e4f3: f0 0c beq LE501 e4f5: c9 01 cmp #$01 e4f7: d0 1e bne LE517 e4f9: c6 49 dec ScrollDir e4fb: a5 fc lda ScrollY e4fd: f0 02 beq LE501 e4ff: c6 4f dec MapPosY e501: a6 fc LE501 ldx ScrollY e503: d0 0c bne LE511 e505: c6 4f dec MapPosY e507: 20 20 e7 jsr LE720 e50a: b0 09 bcs LE515 e50c: 20 b7 e9 jsr LE9B7 e50f: a2 f0 ldx #$f0 e511: ca LE511 dex e512: 4c 3f e5 jmp LE53F e515: e6 4f LE515 inc MapPosY e517: 38 LE517 sec e518: 60 rts e519: a6 49 LE519 ldx ScrollDir e51b: ca dex e51c: f0 0a beq LE528 e51e: 10 28 bpl LE548 e520: e6 49 inc ScrollDir e522: a5 fc lda ScrollY e524: f0 02 beq LE528 e526: e6 4f inc MapPosY e528: a5 fc LE528 lda ScrollY e52a: d0 07 bne LE533 e52c: e6 4f inc MapPosY e52e: 20 20 e7 jsr LE720 e531: b0 13 bcs LE546 e533: a6 fc LE533 ldx ScrollY e535: e0 ef cpx #$ef e537: d0 05 bne LE53E e539: 20 b7 e9 jsr LE9B7 e53c: a2 ff ldx #$ff e53e: e8 LE53E inx e53f: 86 fc LE53F stx ScrollY e541: 20 4a e5 jsr LE54A e544: 18 clc e545: 60 rts e546: c6 4f LE546 dec MapPosY e548: 38 LE548 sec e549: 60 LE549 rts e54a: 20 2b ea LE54A jsr LEA2B e54d: a6 5a ldx RoomNumber e54f: e8 inx e550: d0 f7 bne LE549 e552: a5 49 lda ScrollDir e554: 29 02 and #$02 e556: d0 03 bne LE55B e558: 4c 71 e5 jmp LE571 e55b: 4c 01 e7 LE55B jmp LE701 e55e: 07 LE55E .dd1 $07 e55f: 00 .dd1 $00 e560: 20 LE560 .dd1 $20 e561: 2c .dd1 $2c e562: 60 LE562 .dd1 $60 e563: 64 .dd1 $64 e564: 20 85 eb LE564 jsr LEB85 e567: 29 01 and #$01 e569: a8 tay e56a: b9 60 e5 lda LE560,y e56d: be 62 e5 ldx LE562,y e570: 60 rts e571: a6 49 LE571 ldx ScrollDir e573: a5 fc lda ScrollY e575: 29 07 and #$07 e577: dd 5e e5 cmp LE55E,x e57a: d0 cd bne LE549 e57c: a6 49 LE57C ldx ScrollDir e57e: e4 4a cpx TempScrollDir e580: d0 c7 bne LE549 e582: a5 fc lda ScrollY e584: 29 f8 and #$f8 e586: 85 00 sta $00 e588: a9 00 lda #$00 e58a: 06 00 asl $00 e58c: 2a rol A e58d: 06 00 asl $00 e58f: 2a rol A e590: 85 01 LE590 sta $01 e592: 20 64 e5 jsr LE564 e595: 05 01 ora $01 e597: 85 03 sta $03 e599: 8a txa e59a: 05 01 ora $01 e59c: 85 01 sta $01 e59e: a5 00 lda $00 e5a0: 85 02 sta $02 e5a2: a5 49 lda ScrollDir e5a4: 4a lsr A e5a5: aa tax e5a6: bd e0 e5 lda LE5E0,x e5a9: 85 04 sta $04 e5ab: a0 01 ldy #$01 e5ad: 84 1b sty PPUDataPending e5af: 88 dey e5b0: ae a0 07 ldx PPUStrIndex e5b3: a5 03 lda $03 e5b5: 20 6b c3 jsr LC36B e5b8: a5 02 lda $02 e5ba: 20 6b c3 jsr LC36B e5bd: a5 04 lda $04 e5bf: 20 c6 c3 jsr LC3C6 e5c2: b1 00 LE5C2 lda ($00),y e5c4: 20 6b c3 jsr LC36B e5c7: 84 06 sty $06 e5c9: a0 01 ldy #$01 e5cb: 24 04 bit $04 e5cd: 10 02 bpl LE5D1 e5cf: a0 20 ldy #$20 e5d1: 20 a8 c2 LE5D1 jsr LC2A8 e5d4: a4 06 ldy $06 e5d6: c6 05 dec $05 e5d8: d0 e8 bne LE5C2 e5da: 8e a0 07 stx PPUStrIndex e5dd: 20 76 c3 jsr EndPPUString e5e0: 20 LE5E0 .dd1 $20 e5e1: 9e .dd1 $9e e5e2: a2 c0 TE5E2 ldx #$c0 e5e4: a5 5a lda RoomNumber e5e6: c9 f2 cmp #$f2 e5e8: f0 02 beq LE5EC e5ea: a2 e0 ldx #$e0 e5ec: 86 00 LE5EC stx $00 e5ee: 86 02 stx $02 e5f0: 20 64 e5 jsr LE564 e5f3: 09 03 ora #$03 e5f5: 85 03 sta $03 e5f7: 8a txa e5f8: 09 03 ora #$03 e5fa: 85 01 sta $01 e5fc: a9 01 lda #$01 e5fe: 85 1b sta PPUDataPending e600: ae a0 07 ldx PPUStrIndex e603: a5 03 lda $03 e605: 20 6b c3 jsr LC36B e608: a5 02 lda $02 e60a: 20 6b c3 jsr LC36B e60d: a9 20 lda #$20 e60f: 85 04 sta $04 e611: 20 6b c3 jsr LC36B e614: a0 00 ldy #$00 e616: b1 00 LE616 lda ($00),y e618: 20 6b c3 jsr LC36B e61b: c8 iny e61c: c6 04 dec $04 e61e: d0 f6 bne LE616 e620: 8e a0 07 stx PPUStrIndex e623: 20 76 c3 jsr EndPPUString e626: ad 0e 03 LE626 lda ObjectX e629: 38 sec e62a: ed 02 03 sbc ObjRadX e62d: 29 07 and #$07 e62f: d0 05 bne LE636 e631: 20 80 e8 jsr LE880 e634: 90 2d bcc LE663 e636: 20 76 d9 LE636 jsr LD976 e639: ad 0a 03 lda SamusHit e63c: 29 41 and #$41 e63e: c9 41 cmp #$41 e640: 18 clc e641: f0 20 beq LE663 e643: a5 51 lda SamusScrX e645: c9 71 cmp #$71 e647: b0 05 bcs LE64E e649: 20 a7 e6 jsr LE6A7 e64c: 90 02 bcc LE650 e64e: c6 51 LE64E dec SamusScrX e650: ad 0e 03 LE650 lda ObjectX e653: d0 09 bne LE65E e655: a5 49 lda ScrollDir e657: 29 02 and #$02 e659: f0 03 beq LE65E e65b: 20 49 e2 jsr LE249 e65e: ce 0e 03 LE65E dec ObjectX e661: 38 sec e662: 60 rts e663: a9 00 LE663 lda #$00 e665: 85 58 sta SamusDoorData e667: 60 rts e668: ad 0e 03 LE668 lda ObjectX e66b: 18 clc e66c: 6d 02 03 adc ObjRadX e66f: 29 07 and #$07 e671: d0 05 bne LE678 e673: 20 8b e8 jsr LE88B e676: 90 2a bcc LE6A2 e678: 20 76 d9 LE678 jsr LD976 e67b: ad 0a 03 lda SamusHit e67e: 29 41 and #$41 e680: c9 40 cmp #$40 e682: 18 clc e683: f0 1d beq LE6A2 e685: a5 51 lda SamusScrX e687: c9 8f cmp #$8f e689: 90 05 bcc LE690 e68b: 20 d2 e6 jsr LE6D2 e68e: 90 02 bcc LE692 e690: e6 51 LE690 inc SamusScrX e692: ee 0e 03 LE692 inc ObjectX e695: d0 09 bne LE6A0 e697: a5 49 lda ScrollDir e699: 29 02 and #$02 e69b: f0 03 beq LE6A0 e69d: 20 49 e2 jsr LE249 e6a0: 38 LE6A0 sec e6a1: 60 rts e6a2: a9 00 LE6A2 lda #$00 e6a4: 85 58 sta SamusDoorData e6a6: 60 rts e6a7: a5 49 LE6A7 lda ScrollDir e6a9: c9 02 cmp #$02 e6ab: f0 0c beq LE6B9 e6ad: c9 03 cmp #$03 e6af: d0 1f bne LE6D0 e6b1: c6 49 dec ScrollDir e6b3: a5 fd lda ScrollX e6b5: f0 02 beq LE6B9 e6b7: c6 50 dec MapPosX e6b9: a5 fd LE6B9 lda ScrollX e6bb: d0 0a bne LE6C7 e6bd: c6 50 dec MapPosX e6bf: 20 20 e7 jsr LE720 e6c2: b0 0a bcs LE6CE e6c4: 20 b7 e9 jsr LE9B7 e6c7: c6 fd LE6C7 dec ScrollX e6c9: 20 4a e5 jsr LE54A e6cc: 18 clc e6cd: 60 rts e6ce: e6 50 LE6CE inc MapPosX e6d0: 38 LE6D0 sec e6d1: 60 rts e6d2: a5 49 LE6D2 lda ScrollDir e6d4: c9 03 cmp #$03 e6d6: f0 0c beq LE6E4 e6d8: c9 02 cmp #$02 e6da: d0 21 bne LE6FD e6dc: e6 49 inc ScrollDir e6de: a5 fd lda ScrollX e6e0: f0 02 beq LE6E4 e6e2: e6 50 inc MapPosX e6e4: a5 fd LE6E4 lda ScrollX e6e6: d0 07 bne LE6EF e6e8: e6 50 inc MapPosX e6ea: 20 20 e7 jsr LE720 e6ed: b0 0c bcs LE6FB e6ef: e6 fd LE6EF inc ScrollX e6f1: d0 03 bne LE6F6 e6f3: 20 b7 e9 jsr LE9B7 e6f6: 20 4a e5 LE6F6 jsr LE54A e6f9: 18 clc e6fa: 60 rts e6fb: c6 50 LE6FB dec MapPosX e6fd: 38 LE6FD sec e6fe: 60 LE6FE rts e6ff: 07 .dd1 $07 e700: 00 .dd1 $00 e701: a6 49 LE701 ldx ScrollDir e703: a5 fd lda ScrollX e705: 29 07 and #$07 e707: dd fd e6 cmp LE6FD,x e70a: d0 f2 bne LE6FE e70c: a6 49 LE70C ldx ScrollDir e70e: e4 4a cpx TempScrollDir e710: d0 ec bne LE6FE e712: a5 fd lda ScrollX e714: 29 f8 and #$f8 e716: 20 c0 c2 jsr LC2C0 e719: 85 00 sta $00 e71b: a9 00 lda #$00 e71d: 4c 90 e5 jmp LE590 e720: a5 49 LE720 lda ScrollDir e722: 4a lsr A e723: f0 0e beq LE733 e725: 2a rol A e726: 69 ff adc #$ff e728: 48 pha e729: 20 93 ec jsr LEC93 e72c: 68 pla e72d: 39 6c 00 and DoorOnNameTable3,y e730: 38 sec e731: d0 3c bne LE76F e733: a5 4f LE733 lda MapPosY e735: 20 c5 c2 jsr LC2C5 e738: 85 00 sta $00 e73a: a9 00 lda #$00 e73c: 2a rol A e73d: 26 00 rol $00 e73f: 2a rol A e740: 85 01 sta $01 e742: a5 00 lda $00 e744: 65 50 adc MapPosX e746: 85 00 sta $00 e748: a5 01 lda $01 e74a: 69 70 adc #$70 e74c: 85 01 sta $01 e74e: a0 00 ldy #$00 e750: b1 00 lda ($00),y e752: c9 ff cmp #$ff e754: f0 19 beq LE76F e756: 85 5a sta RoomNumber e758: d9 d0 95 LE758 cmp L95CC+4,y e75b: f0 0d beq LE76A e75d: c8 iny e75e: c0 07 cpy #$07 e760: d0 f6 bne LE758 e762: a5 79 lda ItemRoomMusicStatus e764: f0 06 beq LE76C e766: a9 80 lda #$80 e768: d0 02 bne LE76C e76a: a9 01 LE76A lda #$01 e76c: 85 79 LE76C sta ItemRoomMusicStatus e76e: 18 clc e76f: 60 LE76F rts e770: a6 4b LE770 ldx PageIndex e772: bd f5 6a lda EnRadY,x e775: 18 clc e776: 69 08 adc #$08 e778: 4c 83 e7 jmp LE783 e77b: a6 4b LE77B ldx PageIndex e77d: a9 00 lda #$00 e77f: 38 sec e780: fd f5 6a sbc EnRadY,x e783: 85 02 LE783 sta $02 e785: a9 08 lda #$08 e787: 85 04 sta $04 e789: 20 92 e7 jsr LE792 e78c: bd f6 6a lda EnRadX,x e78f: 4c bd e7 jmp LE7BD e792: bd 01 04 LE792 lda EnXRoomPos,x e795: 85 09 sta $09 e797: bd 00 04 lda EnYRoomPos,x e79a: 85 08 sta $08 e79c: bd fb 6a lda EnNameTable,x e79f: 85 0b sta $0b e7a1: 60 rts e7a2: a6 4b LE7A2 ldx PageIndex e7a4: bd 01 03 lda ObjRadY,x e7a7: 18 clc e7a8: 69 08 adc #$08 e7aa: 4c b5 e7 jmp LE7B5 e7ad: a6 4b LE7AD ldx PageIndex e7af: a9 00 lda #$00 e7b1: 38 sec e7b2: fd 01 03 sbc ObjRadY,x e7b5: 85 02 LE7B5 sta $02 e7b7: 20 be e8 jsr LE8BE e7ba: bd 02 03 lda ObjRadX,x e7bd: d0 02 LE7BD bne LE7C1 e7bf: 38 sec e7c0: 60 rts e7c1: 85 03 LE7C1 sta $03 e7c3: a8 tay e7c4: a2 00 ldx #$00 e7c6: a5 09 lda $09 e7c8: 38 sec e7c9: e5 03 sbc $03 e7cb: 29 07 and #$07 e7cd: f0 01 beq LE7D0 e7cf: e8 inx e7d0: 20 ce e8 LE7D0 jsr LE8CE e7d3: 85 04 sta $04 e7d5: 20 0f e9 jsr LE90F e7d8: a2 00 ldx #$00 e7da: a0 08 ldy #$08 e7dc: a5 00 lda $00 e7de: d0 3c LE7DE bne LE81C e7e0: 86 06 stx $06 e7e2: 84 07 sty $07 e7e4: a6 04 ldx $04 e7e6: 20 6a e9 LE7E6 jsr LE96A e7e9: a0 00 ldy #$00 e7eb: b1 04 lda ($04),y e7ed: c9 4e cmp #$4e e7ef: f0 2d beq LE81E e7f1: 20 c0 95 jsr L95C0 e7f4: 20 51 d6 jsr LD651 e7f7: 90 24 bcc LE81D e7f9: c9 a0 cmp #$a0 e7fb: b0 03 bcs LE800 e7fd: 4c be e9 jmp LE9BE e800: a4 55 LE800 ldy IsSamus e802: f0 0f beq LE813 e804: 88 dey e805: 84 58 sty SamusDoorData e807: c9 a0 cmp #$a0 e809: f0 06 beq LE811 e80b: c9 a1 cmp #$a1 e80d: d0 04 bne LE813 e80f: e6 58 inc SamusDoorData e811: e6 58 LE811 inc SamusDoorData e813: ca LE813 dex e814: f0 06 beq LE81C e816: 20 8e e9 jsr LE98E e819: 4c e6 e7 jmp LE7E6 e81c: 38 LE81C sec e81d: 60 LE81D rts e81e: a6 71 LE81E ldx UpdatingProjectile e820: f0 59 beq LE87B e822: a2 06 ldx #$06 e824: a5 05 LE824 lda $05 e826: 55 5d eor $5d,x e828: 29 04 and #$04 e82a: d0 40 bne LE86C e82c: a5 04 lda $04 e82e: 55 5c eor $5c,x e830: 29 1f and #$1f e832: d0 38 bne LE86C e834: 8a txa e835: 20 c6 c2 jsr LC2C6 e838: 09 80 ora #$80 e83a: a8 tay e83b: b9 00 03 lda ObjAction,y e83e: f0 2c beq LE86C e840: b9 07 03 lda SamusOnElevator,y e843: 4a lsr A e844: b0 1f bcs LE865 e846: a6 4b ldx PageIndex e848: bd 00 03 lda ObjAction,x e84b: 49 0b eor #$0b e84d: f0 0e beq LE85D e84f: bd 00 03 lda ObjAction,x e852: 49 04 eor #$04 e854: d0 27 bne LE87D e856: bd 05 03 lda AnimResetIndex,x e859: 49 91 eor #$91 e85b: d0 20 bne LE87D e85d: ad 83 06 LE85D lda TriangleSFXFlag e860: 09 02 ora #$02 e862: 8d 83 06 sta TriangleSFXFlag e865: a9 04 LE865 lda #$04 e867: 99 0a 03 sta SamusHit,y e86a: d0 0f bne LE87B e86c: ca LE86C dex e86d: ca dex e86e: 10 b4 bpl LE824 e870: a5 04 lda $04 e872: 20 c0 c2 jsr LC2C0 e875: 29 01 and #$01 e877: aa tax e878: fe 66 03 inc $0366,x e87b: 18 LE87B clc e87c: 60 rts e87d: 4c b8 cb LE87D jmp LCBB8 e880: a6 4b LE880 ldx PageIndex e882: bd 02 03 lda ObjRadX,x e885: 18 clc e886: 69 08 adc #$08 e888: 4c 93 e8 jmp LE893 e88b: a6 4b LE88B ldx PageIndex e88d: a9 00 lda #$00 e88f: 38 sec e890: fd 02 03 sbc ObjRadX,x e893: 85 03 LE893 sta $03 e895: 20 be e8 jsr LE8BE e898: bc 01 03 ldy ObjRadY,x e89b: d0 02 LE89B bne LE89F e89d: 38 sec e89e: 60 rts e89f: 84 02 LE89F sty $02 e8a1: a2 00 ldx #$00 e8a3: a5 08 lda $08 e8a5: 38 sec e8a6: e5 02 sbc $02 e8a8: 29 07 and #$07 e8aa: f0 01 beq LE8AD e8ac: e8 inx e8ad: 20 ce e8 LE8AD jsr LE8CE e8b0: 85 04 sta $04 e8b2: 20 0f e9 jsr LE90F e8b5: a2 08 ldx #$08 e8b7: a0 00 ldy #$00 e8b9: a5 01 lda $01 e8bb: 4c de e7 jmp LE7DE e8be: bd 0c 03 LE8BE lda ObjectHi,x e8c1: 85 0b sta $0b e8c3: bd 0d 03 lda ObjectY,x e8c6: 85 08 sta $08 e8c8: bd 0e 03 lda ObjectX,x e8cb: 85 09 sta $09 e8cd: 60 rts e8ce: 49 ff LE8CE eor #$ff e8d0: 18 clc e8d1: 69 01 adc #$01 e8d3: 29 07 and #$07 e8d5: 85 04 sta $04 e8d7: 98 tya e8d8: 0a asl A e8d9: 38 sec e8da: e5 04 sbc $04 e8dc: b0 02 bcs LE8E0 e8de: 69 08 adc #$08 e8e0: a8 LE8E0 tay e8e1: 4a lsr A e8e2: 4a lsr A e8e3: 4a lsr A e8e4: 85 04 sta $04 e8e6: 98 tya e8e7: 29 07 and #$07 e8e9: f0 01 beq LE8EC e8eb: e8 inx e8ec: 8a LE8EC txa e8ed: 18 clc e8ee: 65 04 adc $04 e8f0: 60 rts e8f1: a6 4b LE8F1 ldx PageIndex e8f3: bd f6 6a lda EnRadX,x e8f6: 18 clc e8f7: 69 08 adc #$08 e8f9: 4c 04 e9 jmp LE904 e8fc: a6 4b LE8FC ldx PageIndex e8fe: a9 00 lda #$00 e900: 38 sec e901: fd f6 6a sbc EnRadX,x e904: 85 03 LE904 sta $03 e906: 20 92 e7 jsr LE792 e909: bc f5 6a ldy EnRadY,x e90c: 4c 9b e8 jmp LE89B e90f: a5 02 LE90F lda $02 e911: 10 0f bpl LE922 e913: 20 5f e9 jsr LE95F e916: b0 04 bcs LE91C e918: e0 f0 cpx #$f0 e91a: 90 21 bcc LE93D e91c: 8a LE91C txa e91d: 69 0f adc #$0f e91f: 4c 34 e9 jmp LE934 e922: 20 5f e9 LE922 jsr LE95F e925: a5 08 lda $08 e927: 38 sec e928: e5 02 sbc $02 e92a: aa tax e92b: 29 07 and #$07 e92d: 85 00 sta $00 e92f: b0 0c bcs LE93D e931: 8a txa e932: e9 0f sbc #$0f e934: aa LE934 tax e935: a5 49 lda ScrollDir e937: 29 02 and #$02 e939: d0 02 bne LE93D e93b: e6 0b inc $0b e93d: 86 02 LE93D stx $02 e93f: a2 00 ldx #$00 e941: a5 03 lda $03 e943: 30 01 bmi LE946 e945: ca dex e946: a5 09 LE946 lda $09 e948: 38 sec e949: e5 03 sbc $03 e94b: 85 03 sta $03 e94d: 29 07 and #$07 e94f: 85 01 sta $01 e951: 8a txa e952: 69 00 adc #$00 e954: f0 08 beq LE95E e956: a5 49 lda ScrollDir e958: 29 02 and #$02 e95a: f0 02 beq LE95E e95c: e6 0b inc $0b e95e: 60 LE95E rts e95f: a5 08 LE95F lda $08 e961: 38 sec e962: e5 02 sbc $02 e964: aa tax e965: 29 07 and #$07 e967: 85 00 sta $00 e969: 60 rts e96a: a9 18 LE96A lda #$18 e96c: 85 05 sta $05 e96e: a5 02 lda $02 e970: 29 f8 and #$f8 e972: 0a asl A e973: 26 05 rol $05 e975: 0a asl A e976: 26 05 rol $05 e978: 85 04 sta $04 e97a: a5 03 lda $03 e97c: 4a lsr A e97d: 4a lsr A e97e: 4a lsr A e97f: 05 04 ora $04 e981: 85 04 sta $04 e983: a5 0b lda $0b e985: 0a asl A e986: 0a asl A e987: 29 04 and #$04 e989: 05 05 ora $05 e98b: 85 05 sta $05 e98d: 60 rts e98e: a5 02 LE98E lda $02 e990: 18 clc e991: 65 06 adc $06 e993: 85 02 sta $02 e995: c9 f0 cmp #$f0 e997: 90 0c bcc LE9A5 e999: 69 0f adc #$0f e99b: 85 02 sta $02 e99d: a5 49 lda ScrollDir e99f: 29 02 and #$02 e9a1: d0 02 bne LE9A5 e9a3: e6 0b inc $0b e9a5: a5 03 LE9A5 lda $03 e9a7: 18 clc e9a8: 65 07 adc $07 e9aa: 85 03 sta $03 e9ac: 90 08 bcc LE9B6 e9ae: a5 49 lda ScrollDir e9b0: 29 02 and #$02 e9b2: f0 02 beq LE9B6 e9b4: e6 0b inc $0b e9b6: 60 LE9B6 rts e9b7: a5 ff LE9B7 lda PPUCNT0ZP e9b9: 49 03 eor #$03 e9bb: 85 ff sta PPUCNT0ZP e9bd: 60 rts e9be: a4 71 LE9BE ldy UpdatingProjectile e9c0: f0 42 beq LEA04 e9c2: a8 LE9C2 tay e9c3: 20 bd 95 jsr L95BD e9c6: c0 98 cpy #$98 e9c8: b0 39 bcs LEA03 e9ca: a2 c0 ldx #$c0 e9cc: bd 00 05 LE9CC lda TileRoutine,x e9cf: f0 0a beq LE9DB e9d1: 20 f4 f1 jsr LF1F4 e9d4: d0 f6 bne LE9CC e9d6: bd 00 05 lda TileRoutine,x e9d9: d0 28 bne LEA03 e9db: fe 00 05 LE9DB inc TileRoutine,x e9de: a5 04 lda $04 e9e0: 29 de and #$de e9e2: 9d 08 05 sta TileWRAMLo,x e9e5: a5 05 lda $05 e9e7: 9d 09 05 sta TileWRAMHi,x e9ea: a5 74 lda InArea e9ec: c9 11 cmp #$11 e9ee: d0 08 bne LE9F8 e9f0: c0 76 cpy #$76 e9f2: d0 04 bne LE9F8 e9f4: a9 04 lda #$04 e9f6: d0 07 bne LE9FF e9f8: 98 LE9F8 tya e9f9: 18 clc e9fa: 69 10 adc #$10 e9fc: 29 3c and #$3c e9fe: 4a lsr A e9ff: 4a LE9FF lsr A ea00: 9d 0a 05 sta TileType,x ea03: 18 LEA03 clc ea04: 60 LEA04 rts ea05: 20 85 eb LEA05 jsr LEB85 ea08: 0a asl A ea09: 0a asl A ea0a: 09 60 ora #$60 ea0c: 85 3a sta CartRAMPtr+1 ea0e: a9 00 lda #$00 ea10: 85 39 sta CartRAMPtr ea12: 60 rts ea13: a5 5a LEA13 lda RoomNumber ea15: 29 0f and #$0f ea17: e6 5a inc RoomNumber ea19: 20 7c c2 jsr ChooseRoutine ea1c: 5c c4 .dd2 TC45C ea1e: e2 e5 .dd2 TE5E2 ea20: 5c c4 .dd2 TC45C ea22: e2 e5 .dd2 TE5E2 ea24: 26 ea .dd2 TEA26 ea26: a9 ff TEA26 lda #$ff ea28: 85 5a sta RoomNumber ea2a: 60 LEA2A rts ea2b: a5 5a LEA2B lda RoomNumber ea2d: c9 ff cmp #$ff ea2f: f0 f9 beq LEA2A ea31: c9 fe cmp #$fe ea33: f0 28 beq LEA5D ea35: c9 f0 cmp #$f0 ea37: b0 da bcs LEA13 ea39: 20 9b ec jsr LEC9B ea3c: 20 98 ed jsr LED98 ea3f: a5 5a lda RoomNumber ea41: 0a asl A ea42: a8 tay ea43: b1 3b lda (RoomPtrTable),y ea45: 85 33 sta RoomPtr ea47: c8 iny ea48: b1 3b lda (RoomPtrTable),y ea4a: 85 34 sta RoomPtr+1 ea4c: a0 00 ldy #$00 ea4e: b1 33 lda (RoomPtr),y ea50: 85 68 sta RoomPal ea52: a9 01 lda #$01 ea54: 20 c0 ea jsr LEAC0 ea57: 20 05 ea jsr LEA05 ea5a: 20 f8 ef jsr LEFF8 ea5d: 4c aa ea LEA5D jmp LEAAA ea60: 85 0e LEA60 sta $0e ea62: a5 39 lda CartRAMPtr ea64: 85 37 sta CartRAMWorkPtr ea66: a5 3a lda CartRAMPtr+1 ea68: 85 38 sta CartRAMWorkPtr+1 ea6a: a5 0e lda $0e ea6c: 20 bf c2 jsr LC2BF ea6f: aa tax ea70: f0 0e beq LEA80 ea72: a5 37 LEA72 lda CartRAMWorkPtr ea74: 18 clc ea75: 69 40 adc #$40 ea77: 85 37 sta CartRAMWorkPtr ea79: 90 02 bcc LEA7D ea7b: e6 38 inc CartRAMWorkPtr+1 ea7d: ca LEA7D dex ea7e: d0 f2 bne LEA72 ea80: a5 0e LEA80 lda $0e ea82: 29 0f and #$0f ea84: 0a asl A ea85: 65 37 adc CartRAMWorkPtr ea87: 85 37 sta CartRAMWorkPtr ea89: 90 02 bcc LEA8D ea8b: e6 38 inc CartRAMWorkPtr+1 ea8d: c8 LEA8D iny ea8e: b1 33 lda (RoomPtr),y ea90: aa tax ea91: c8 iny ea92: b1 33 lda (RoomPtr),y ea94: 85 67 sta ObjectPal ea96: 8a txa ea97: 0a asl A ea98: a8 tay ea99: b1 3d lda (StructPtrTable),y ea9b: 85 35 sta StructPtr ea9d: c8 iny ea9e: b1 3d lda (StructPtrTable),y eaa0: 85 36 sta StructPtr+1 eaa2: 20 8c ef jsr LEF8C eaa5: a9 03 lda #$03 eaa7: 20 c0 ea jsr LEAC0 eaaa: a0 00 LEAAA ldy #$00 eaac: b1 33 lda (RoomPtr),y eaae: c9 ff cmp #$ff eab0: f0 42 beq LEAF4 eab2: c9 fe cmp #$fe eab4: f0 06 beq LEABC eab6: c9 fd cmp #$fd eab8: d0 a6 bne LEA60 eaba: f0 0e beq LEACA eabc: 85 5a LEABC sta RoomNumber eabe: a9 01 lda #$01 eac0: 18 LEAC0 clc eac1: 65 33 adc RoomPtr eac3: 85 33 sta RoomPtr eac5: 90 02 bcc LEAC9 eac7: e6 34 inc RoomPtr+1 eac9: 60 LEAC9 rts eaca: a5 33 LEACA lda RoomPtr eacc: 85 00 sta $00 eace: a5 34 lda RoomPtr+1 ead0: 85 01 sta $01 ead2: a9 01 lda #$01 ead4: 20 09 ef LEAD4 jsr LEF09 ead7: a0 00 ldy #$00 ead9: b1 00 lda ($00),y eadb: c9 ff cmp #$ff eadd: f0 15 beq LEAF4 eadf: 29 0f and #$0f eae1: 20 7c c2 jsr ChooseRoutine eae4: 5c c4 .dd2 TC45C eae6: 06 eb .dd2 TEB06 eae8: 8c eb .dd2 TEB8C eaea: 5c c4 .dd2 TC45C eaec: 04 ec .dd2 TEC04 eaee: 5c c4 .dd2 TC45C eaf0: 2f ec .dd2 TEC2F eaf2: 57 ec .dd2 TEC57 eaf4: a2 f0 LEAF4 ldx #$f0 eaf6: 86 5a stx RoomNumber eaf8: a5 49 lda ScrollDir eafa: 85 4a sta TempScrollDir eafc: 29 02 and #$02 eafe: d0 03 bne LEB03 eb00: 4c 7c e5 jmp LE57C eb03: 4c 0c e7 LEB03 jmp LE70C eb06: 20 0c eb TEB06 jsr LEB0C eb09: 4c d4 ea jmp LEAD4 eb0c: b1 00 LEB0C lda ($00),y eb0e: 29 f0 and #$f0 eb10: aa tax eb11: 20 7a eb jsr LEB7A eb14: d0 0f bne LEB25 eb16: c8 iny eb17: b1 00 lda ($00),y eb19: 20 28 eb jsr LEB28 eb1c: a0 02 ldy #$02 eb1e: b1 00 lda ($00),y eb20: 20 4d eb jsr LEB4D eb23: 48 pha eb24: 68 LEB24 pla eb25: a9 03 LEB25 lda #$03 eb27: 60 rts eb28: 48 LEB28 pha eb29: 29 c0 and #$c0 eb2b: 9d 0f 04 sta EnSpecialAttribs,x eb2e: 0a asl A eb2f: 10 15 bpl LEB46 eb31: a5 74 lda InArea eb33: 29 06 and #$06 eb35: 4a lsr A eb36: a8 tay eb37: b9 7a 68 lda MaxMissiles,y eb3a: f0 05 beq LEB41 eb3c: 68 pla eb3d: 68 pla eb3e: 4c 24 eb jmp LEB24 eb41: a9 01 LEB41 lda #$01 eb43: 8d 87 69 sta KraidRidleyPresent eb46: 68 LEB46 pla eb47: 29 3f and #$3f eb49: 9d 02 6b sta EnDataIndex,x eb4c: 60 rts eb4d: a8 LEB4D tay eb4e: 29 f0 and #$f0 eb50: 09 08 ora #$08 eb52: 9d 00 04 sta EnYRoomPos,x eb55: 98 tya eb56: 20 c5 c2 jsr LC2C5 eb59: 09 0c ora #$0c eb5b: 9d 01 04 sta EnXRoomPos,x eb5e: a9 01 lda #$01 eb60: 9d f4 6a sta Enstatus,x eb63: a9 00 lda #$00 eb65: 9d 04 04 sta $0404,x eb68: 20 85 eb jsr LEB85 eb6b: 9d fb 6a sta EnNameTable,x eb6e: bc 02 6b LEB6E ldy EnDataIndex,x eb71: 1e 05 04 asl EnCounter-1,x eb74: 20 7b fb jsr LFB7B eb77: 4c 5a f8 jmp LF85A eb7a: bd f4 6a LEB7A lda Enstatus,x eb7d: f0 05 beq LEB84 eb7f: bd 05 04 lda EnCounter-1,x eb82: 29 02 and #$02 eb84: 60 LEB84 rts eb85: a5 ff LEB85 lda PPUCNT0ZP eb87: 45 49 eor ScrollDir eb89: 29 01 and #$01 eb8b: 60 rts eb8c: 20 92 eb TEB8C jsr LEB92 eb8f: 4c d4 ea LEB8F jmp LEAD4 eb92: c8 LEB92 iny eb93: b1 00 lda ($00),y eb95: 48 pha eb96: 20 c5 c2 jsr LC2C5 eb99: 08 php eb9a: a5 50 lda MapPosX eb9c: 18 clc eb9d: 65 4f adc MapPosY eb9f: 28 plp eba0: 2a rol A eba1: 29 03 and #$03 eba3: a8 tay eba4: be 00 ec ldx LEC00,y eba7: 68 pla eba8: 29 03 and #$03 ebaa: 9d 07 03 sta SamusOnElevator,x ebad: 98 tya ebae: 48 pha ebaf: bd 07 03 lda SamusOnElevator,x ebb2: c9 01 cmp #$01 ebb4: f0 1a beq LEBD0 ebb6: c9 03 cmp #$03 ebb8: f0 16 beq LEBD0 ebba: a9 0a lda #$0a ebbc: 85 09 sta $09 ebbe: a4 50 ldy MapPosX ebc0: 8a txa ebc1: 20 c5 c2 jsr LC2C5 ebc4: 90 01 bcc LEBC7 ebc6: 88 dey ebc7: 98 LEBC7 tya ebc8: 20 41 ee jsr LEE41 ebcb: 20 4a ee jsr LEE4A ebce: b0 05 bcs LEBD5 ebd0: a9 01 LEBD0 lda #$01 ebd2: 9d 00 03 sta ObjAction,x ebd5: 68 LEBD5 pla ebd6: 29 01 and #$01 ebd8: a8 tay ebd9: 20 85 eb jsr LEB85 ebdc: 9d 0c 03 sta ObjectHi,x ebdf: b9 fc eb lda LEBFC,y ebe2: 9d 0e 03 sta ObjectX,x ebe5: a9 68 lda #$68 ebe7: 9d 0d 03 sta ObjectY,x ebea: b9 fe eb lda LEBFE,y ebed: a8 tay ebee: 20 85 eb jsr LEB85 ebf1: 49 01 eor #$01 ebf3: aa tax ebf4: 98 tya ebf5: 15 6c ora DoorOnNameTable3,x ebf7: 95 6c sta DoorOnNameTable3,x ebf9: a9 02 lda #$02 ebfb: 60 rts ebfc: f0 LEBFC .dd1 $f0 ebfd: 10 .dd1 $10 ebfe: 02 LEBFE .dd1 $02 ebff: 01 .dd1 $01 ec00: 80 LEC00 .dd1 $80 ec01: b0 .dd1 $b0 ec02: a0 .dd1 $a0 ec03: 90 .dd1 $90 ec04: 20 09 ec TEC04 jsr LEC09 ec07: d0 86 bne LEB8F ec09: ad 20 03 LEC09 lda ElevatorStatus ec0c: d0 1e bne LEC2C ec0e: c8 iny ec0f: b1 00 lda ($00),y ec11: 8d 2f 03 sta $032f ec14: a0 83 ldy #$83 ec16: 8c 2d 03 sty $032d ec19: a9 80 lda #$80 ec1b: 8d 2e 03 sta $032e ec1e: 20 85 eb jsr LEB85 ec21: 8d 2c 03 sta $032c ec24: a9 23 lda #$23 ec26: 8d 23 03 sta PasswordStat00-1 ec29: ee 20 03 inc ElevatorStatus ec2c: a9 02 LEC2C lda #$02 ec2e: 60 rts ec2f: 20 85 eb TEC2F jsr LEB85 ec32: 8d 6c 03 sta $036c ec35: a9 40 lda #$40 ec37: ae 7c 68 ldx RidleyStatueStatus ec3a: 10 02 bpl LEC3E ec3c: a9 30 lda #$30 ec3e: 8d 70 03 LEC3E sta $0370 ec41: a9 60 lda #$60 ec43: ae 7b 68 ldx KraidStatueStatus ec46: 10 02 bpl LEC4A ec48: a9 50 lda #$50 ec4a: 8d 6f 03 LEC4A sta $036f ec4d: 84 54 sty $54 ec4f: a9 01 lda #$01 ec51: 8d 60 03 sta $0360 ec54: 4c d4 ea LEC54 jmp LEAD4 ec57: a2 20 TEC57 ldx #$20 ec59: 8a LEC59 txa ec5a: 38 sec ec5b: e9 08 sbc #$08 ec5d: 30 30 bmi LEC8F ec5f: aa tax ec60: bc 28 07 ldy $0728,x ec63: c8 iny ec64: d0 f3 bne LEC59 ec66: a0 00 ldy #$00 ec68: b1 00 lda ($00),y ec6a: 29 f0 and #$f0 ec6c: 9d 29 07 sta $0729,x ec6f: c8 iny ec70: b1 00 lda ($00),y ec72: 9d 28 07 sta $0728,x ec75: c8 iny ec76: b1 00 lda ($00),y ec78: a8 tay ec79: 29 f0 and #$f0 ec7b: 09 08 ora #$08 ec7d: 9d 2a 07 sta $072a,x ec80: 98 tya ec81: 20 c5 c2 jsr LC2C5 ec84: 09 00 ora #$00 ec86: 9d 2b 07 sta $072b,x ec89: 20 85 eb jsr LEB85 ec8c: 9d 2c 07 sta $072c,x ec8f: a9 03 LEC8F lda #$03 ec91: d0 c1 bne LEC54 ec93: a5 ff LEC93 lda PPUCNT0ZP ec95: 49 01 eor #$01 ec97: 29 01 and #$01 ec99: a8 tay ec9a: 60 rts ec9b: a6 49 LEC9B ldx ScrollDir ec9d: ca dex ec9e: a0 00 ldy #$00 eca0: 20 51 ed jsr LED51 eca3: c8 iny eca4: 20 51 ed jsr LED51 eca7: a2 50 ldx #$50 eca9: 20 85 eb jsr LEB85 ecac: a8 tay ecad: 98 LECAD tya ecae: 5d fb 6a eor EnNameTable,x ecb1: 4a lsr A ecb2: b0 0a bcs LECBE ecb4: bd 05 04 lda EnCounter-1,x ecb7: 29 02 and #$02 ecb9: d0 03 bne LECBE ecbb: 9d f4 6a sta Enstatus,x ecbe: 20 f4 f1 LECBE jsr LF1F4 ecc1: 10 ea bpl LECAD ecc3: a2 18 ldx #$18 ecc5: 98 LECC5 tya ecc6: 55 b3 eor $b3,x ecc8: 4a lsr A ecc9: b0 04 bcs LECCF eccb: a9 00 lda #$00 eccd: 95 b0 sta $b0,x eccf: 8a LECCF txa ecd0: 38 sec ecd1: e9 08 sbc #$08 ecd3: aa tax ecd4: 10 ef bpl LECC5 ecd6: 20 65 ed jsr LED65 ecd9: 20 5b ed jsr LED5B ecdc: 20 85 eb jsr LEB85 ecdf: 0a asl A ece0: 0a asl A ece1: a8 tay ece2: a2 c0 ldx #$c0 ece4: 98 LECE4 tya ece5: 5d 09 05 eor TileWRAMHi,x ece8: 29 04 and #$04 ecea: d0 03 bne LECEF ecec: 9d 00 05 sta TileRoutine,x ecef: 20 f4 f1 LECEF jsr LF1F4 ecf2: c9 f0 cmp #$f0 ecf4: d0 ee bne LECE4 ecf6: 98 tya ecf7: 4a lsr A ecf8: 4a lsr A ecf9: a8 tay ecfa: a2 d0 ldx #$d0 ecfc: 20 7a ed jsr LED7A ecff: a2 e0 ldx #$e0 ed01: 20 7a ed jsr LED7A ed04: a2 f0 ldx #$f0 ed06: 20 7a ed jsr LED7A ed09: 98 tya ed0a: 38 sec ed0b: ed 2c 03 sbc $032c ed0e: d0 03 bne LED13 ed10: 8d 20 03 sta ElevatorStatus ed13: a2 1e LED13 ldx #$1e ed15: bd 04 07 LED15 lda $0704,x ed18: d0 05 bne LED1F ed1a: a9 ff lda #$ff ed1c: 9d 00 07 sta $0700,x ed1f: 8a LED1F txa ed20: 38 sec ed21: e9 06 sbc #$06 ed23: aa tax ed24: 10 ef bpl LED15 ed26: cc 6c 03 cpy $036c ed29: d0 05 bne LED30 ed2b: a9 00 lda #$00 ed2d: 8d 60 03 sta $0360 ed30: a2 18 LED30 ldx #$18 ed32: 98 LED32 tya ed33: dd 2c 07 cmp $072c,x ed36: d0 05 bne LED3D ed38: a9 ff lda #$ff ed3a: 9d 28 07 sta $0728,x ed3d: 8a LED3D txa ed3e: 38 sec ed3f: e9 08 sbc #$08 ed41: aa tax ed42: 10 ee bpl LED32 ed44: a2 00 ldx #$00 ed46: 20 8c ed jsr LED8C ed49: a2 08 ldx #$08 ed4b: 20 8c ed jsr LED8C ed4e: 4c ae 95 jmp L95AE ed51: 8a LED51 txa ed52: 49 03 eor #$03 ed54: 39 6c 00 and DoorOnNameTable3,y ed57: 99 6c 00 LED57 sta DoorOnNameTable3,y ed5a: 60 rts ed5b: 20 85 eb LED5B jsr LEB85 ed5e: 49 01 eor #$01 ed60: a8 tay ed61: a9 00 lda #$00 ed63: f0 f2 beq LED57 ed65: a2 b0 LED65 ldx #$b0 ed67: bd 00 03 LED67 lda ObjAction,x ed6a: f0 08 beq LED74 ed6c: bd 0b 03 lda ObjectOnScreen,x ed6f: d0 03 bne LED74 ed71: 9d 00 03 sta ObjAction,x ed74: 20 f4 f1 LED74 jsr LF1F4 ed77: 30 ee bmi LED67 ed79: 60 rts ed7a: bd 00 03 LED7A lda ObjAction,x ed7d: c9 05 cmp #$05 ed7f: 90 0a bcc LED8B ed81: 98 tya ed82: 5d 0c 03 eor ObjectHi,x ed85: 4a lsr A ed86: b0 03 bcs LED8B ed88: 9d 00 03 sta ObjAction,x ed8b: 60 LED8B rts ed8c: 98 LED8C tya ed8d: dd 4b 07 cmp PowerUpNameTable,x ed90: d0 05 bne LED97 ed92: a9 ff lda #$ff ed94: 9d 48 07 sta PowerUpType,x ed97: 60 LED97 rts ed98: ad 98 95 LED98 lda L9598 ed9b: 85 00 sta $00 ed9d: ad 99 95 lda L9598+1 eda0: 85 01 LEDA0 sta $01 eda2: a0 00 ldy #$00 eda4: b1 00 lda ($00),y eda6: c5 4f cmp MapPosY eda8: f0 14 beq LEDBE edaa: b0 eb bcs LED97 edac: c8 iny edad: b1 00 lda ($00),y edaf: aa tax edb0: c8 iny edb1: 31 00 and ($00),y edb3: c9 ff cmp #$ff edb5: f0 e0 beq LED97 edb7: b1 00 lda ($00),y edb9: 86 00 stx $00 edbb: 4c a0 ed jmp LEDA0 edbe: a9 03 LEDBE lda #$03 edc0: 20 09 ef jsr LEF09 edc3: a0 00 LEDC3 ldy #$00 edc5: b1 00 lda ($00),y edc7: c5 50 cmp MapPosX edc9: f0 09 beq LEDD4 edcb: b0 ca bcs LED97 edcd: c8 iny edce: 20 00 ef jsr LEF00 edd1: 4c c3 ed jmp LEDC3 edd4: a9 02 LEDD4 lda #$02 edd6: 20 09 ef LEDD6 jsr LEF09 edd9: a0 00 ldy #$00 eddb: b1 00 lda ($00),y eddd: 29 0f and #$0f eddf: 20 7c c2 jsr ChooseRoutine ede2: 5c c4 .dd2 TC45C ede4: f8 ed .dd2 TEDF8 ede6: fe ed .dd2 TEDFE ede8: 63 ee .dd2 TEE63 edea: a1 ee .dd2 TEEA1 edec: a6 ee .dd2 TEEA6 edee: ae ee .dd2 TEEAE edf0: ca ee .dd2 TEECA edf2: ee ee .dd2 TEEEE edf4: f4 ee .dd2 TEEF4 edf6: fa ee .dd2 TEEFA edf8: 20 0c eb TEDF8 jsr LEB0C edfb: 4c d6 ed LEDFB jmp LEDD6 edfe: c8 TEDFE iny edff: a2 00 ldx #$00 ee01: a9 ff lda #$ff ee03: cd 48 07 cmp PowerUpType ee06: f0 07 beq LEE0F ee08: a2 08 ldx #$08 ee0a: cd 50 07 cmp PowerUpBType ee0d: d0 2a bne LEE39 ee0f: b1 00 LEE0F lda ($00),y ee11: 20 3d ee jsr LEE3D ee14: 20 4a ee jsr LEE4A ee17: b0 20 bcs LEE39 ee19: a0 02 ldy #$02 ee1b: a5 09 lda $09 ee1d: 9d 48 07 sta PowerUpType,x ee20: b1 00 lda ($00),y ee22: a8 tay ee23: 29 f0 and #$f0 ee25: 09 08 ora #$08 ee27: 9d 49 07 sta PowerUpYCoord,x ee2a: 98 tya ee2b: 20 c5 c2 jsr LC2C5 ee2e: 09 08 ora #$08 ee30: 9d 4a 07 sta PowerUpXCoord,x ee33: 20 85 eb jsr LEB85 ee36: 9d 4b 07 sta PowerUpNameTable,x ee39: a9 03 LEE39 lda #$03 ee3b: d0 be bne LEDFB ee3d: 85 09 LEE3D sta $09 ee3f: a5 50 lda MapPosX ee41: 85 07 LEE41 sta $07 ee43: a5 4f lda MapPosY ee45: 85 06 sta $06 ee47: 4c 67 dc jmp LDC67 ee4a: ac 86 68 LEE4A ldy NumberOfUniqueItems ee4d: f0 12 beq LEE61 ee4f: a5 07 LEE4F lda $07 ee51: d9 86 68 cmp NumberOfUniqueItems,y ee54: d0 07 bne LEE5D ee56: a5 06 lda $06 ee58: d9 85 68 cmp DataSlot,y ee5b: f0 05 beq LEE62 ee5d: 88 LEE5D dey ee5e: 88 dey ee5f: d0 ee bne LEE4F ee61: 18 LEE61 clc ee62: 60 LEE62 rts ee63: a2 18 TEE63 ldx #$18 ee65: a5 2e lda RandomNumber1 ee67: 65 2d adc FrameCount ee69: 85 8a sta $8a ee6b: 20 86 ee LEE6B jsr LEE86 ee6e: 8a txa ee6f: 38 sec ee70: e9 08 sbc #$08 ee72: aa tax ee73: 10 f6 bpl LEE6B ee75: ad e4 95 lda L95CC+24 ee78: 8d e9 6b sta $6be9 ee7b: 8d ea 6b sta $6bea ee7e: a9 01 lda #$01 ee80: 8d e4 6b sta $6be4 ee83: 4c d6 ed LEE83 jmp LEDD6 ee86: b5 b0 LEE86 lda $b0,x ee88: d0 16 bne LEEA0 ee8a: 8a txa ee8b: 65 8a adc $8a ee8d: 29 7f and #$7f ee8f: 95 b1 sta $b1,x ee91: 65 2f adc RandomNumber2 ee93: 95 b2 sta $b2,x ee95: 20 85 eb jsr LEB85 ee98: 95 b3 sta $b3,x ee9a: a9 01 lda #$01 ee9c: 95 b0 sta $b0,x ee9e: 26 8a rol $8a eea0: 60 LEEA0 rts eea1: 20 09 ec TEEA1 jsr LEC09 eea4: d0 dd bne LEE83 eea6: 20 b1 95 TEEA6 jsr L95B1 eea9: a9 02 lda #$02 eeab: 4c d6 ed LEEAB jmp LEDD6 eeae: 20 b4 95 TEEAE jsr L95B4 eeb1: a9 38 lda #$38 eeb3: 85 07 sta $07 eeb5: a9 00 lda #$00 eeb7: 85 06 sta $06 eeb9: 20 4a ee jsr LEE4A eebc: 90 08 bcc LEEC6 eebe: a9 08 lda #$08 eec0: 85 98 sta MotherBrainStatus eec2: a9 00 lda #$00 eec4: 85 99 sta MotherBrainHits eec6: a9 01 LEEC6 lda #$01 eec8: d0 e1 bne LEEAB eeca: 20 b7 95 TEECA jsr L95B7 eecd: 8a txa eece: 4a lsr A eecf: 69 3c adc #$3c eed1: 85 07 sta $07 eed3: a9 00 lda #$00 eed5: 85 06 sta $06 eed7: 20 4a ee jsr LEE4A eeda: 90 0f bcc LEEEB eedc: a9 81 lda #$81 eede: 9d 58 07 sta $0758,x eee1: a9 01 lda #$01 eee3: 9d 5d 07 sta $075d,x eee6: a9 07 lda #$07 eee8: 9d 5b 07 sta $075b,x eeeb: 4c c6 ee LEEEB jmp LEEC6 eeee: 20 ba 95 TEEEE jsr L95BA eef1: 4c c6 ee jmp LEEC6 eef4: 20 92 eb TEEF4 jsr LEB92 eef7: 4c d6 ed jmp LEDD6 eefa: a5 49 TEEFA lda ScrollDir eefc: 85 91 sta $91 eefe: d0 c6 bne LEEC6 ef00: b1 00 LEF00 lda ($00),y ef02: c9 ff cmp #$ff ef04: d0 03 bne LEF09 ef06: 68 pla ef07: 68 pla ef08: 60 rts ef09: 18 LEF09 clc ef0a: 65 00 adc $00 ef0c: 85 00 sta $00 ef0e: 90 02 bcc LEF12 ef10: e6 01 inc $01 ef12: 60 LEF12 rts ef13: 29 0f LEF13 and #$0f ef15: d0 02 bne LEF19 ef17: a9 10 lda #$10 ef19: 85 0e LEF19 sta $0e ef1b: b1 35 lda (StructPtr),y ef1d: 20 bf c2 jsr LC2BF ef20: 0a asl A ef21: 65 37 adc CartRAMWorkPtr ef23: 85 00 sta $00 ef25: a9 00 lda #$00 ef27: 65 38 adc CartRAMWorkPtr+1 ef29: 85 01 sta $01 ef2b: a5 01 LEF2B lda $01 ef2d: c9 63 cmp #$63 ef2f: f0 07 beq LEF38 ef31: c9 67 cmp #$67 ef33: 90 0a bcc LEF3F ef35: f0 01 beq LEF38 ef37: 60 rts ef38: a5 00 LEF38 lda $00 ef3a: c9 a0 cmp #$a0 ef3c: 90 01 bcc LEF3F ef3e: 60 rts ef3f: e6 10 LEF3F inc $10 ef41: a4 10 ldy $10 ef43: b1 35 lda (StructPtr),y ef45: 0a asl A ef46: 0a asl A ef47: 85 11 sta $11 ef49: a2 03 ldx #$03 ef4b: a4 11 LEF4B ldy $11 ef4d: b1 3f lda (MacroPtr),y ef4f: e6 11 inc $11 ef51: bc 9a ef ldy LEF9A,x ef54: 91 00 sta ($00),y ef56: ca dex ef57: 10 f2 bpl LEF4B ef59: 20 9e ef jsr LEF9E ef5c: a0 02 ldy #$02 ef5e: 20 a8 c2 jsr LC2A8 ef61: a5 00 lda $00 ef63: 29 1f and #$1f ef65: d0 0b bne LEF72 ef67: a5 10 lda $10 ef69: 18 clc ef6a: 65 0e adc $0e ef6c: 38 sec ef6d: e9 01 sbc #$01 ef6f: 4c 78 ef jmp LEF78 ef72: c6 0e LEF72 dec $0e ef74: d0 b5 bne LEF2B ef76: a5 10 lda $10 ef78: 38 LEF78 sec ef79: 65 35 adc StructPtr ef7b: 85 35 sta StructPtr ef7d: 90 02 bcc LEF81 ef7f: e6 36 inc StructPtr+1 ef81: a9 40 LEF81 lda #$40 ef83: 18 clc ef84: 65 37 adc CartRAMWorkPtr ef86: 85 37 sta CartRAMWorkPtr ef88: 90 02 bcc LEF8C ef8a: e6 38 inc CartRAMWorkPtr+1 ef8c: a0 00 LEF8C ldy #$00 ef8e: 84 10 sty $10 ef90: b1 35 lda (StructPtr),y ef92: c9 ff cmp #$ff ef94: f0 03 beq LEF99 ef96: 4c 13 ef jmp LEF13 ef99: 60 LEF99 rts ef9a: 21 LEF9A .dd1 $21 ef9b: 20 .dd1 $20 ef9c: 01 .dd1 $01 ef9d: 00 .dd1 $00 ef9e: a5 67 LEF9E lda ObjectPal efa0: c5 68 cmp RoomPal efa2: f0 4f beq LEFF3 efa4: a5 00 lda $00 efa6: 85 02 sta $02 efa8: a5 01 lda $01 efaa: 4a lsr A efab: 66 02 ror $02 efad: 4a lsr A efae: 66 02 ror $02 efb0: a5 02 lda $02 efb2: 29 07 and #$07 efb4: 85 03 sta $03 efb6: a5 02 lda $02 efb8: 4a lsr A efb9: 4a lsr A efba: 29 38 and #$38 efbc: 05 03 ora $03 efbe: 09 c0 ora #$c0 efc0: 85 02 sta $02 efc2: a9 63 lda #$63 efc4: 85 03 sta $03 efc6: a2 00 ldx #$00 efc8: 24 00 bit $00 efca: 50 02 bvc LEFCE efcc: a2 02 ldx #$02 efce: a5 00 LEFCE lda $00 efd0: 29 02 and #$02 efd2: f0 01 beq LEFD5 efd4: e8 inx efd5: a5 01 LEFD5 lda $01 efd7: 29 04 and #$04 efd9: 05 03 ora $03 efdb: 85 03 sta $03 efdd: bd f4 ef lda LEFF4,x efe0: a0 00 ldy #$00 efe2: 31 02 and ($02),y efe4: 91 02 sta ($02),y efe6: a5 67 lda ObjectPal efe8: ca LEFE8 dex efe9: 30 04 bmi LEFEF efeb: 0a asl A efec: 0a asl A efed: 90 f9 bcc LEFE8 efef: 11 02 LEFEF ora ($02),y eff1: 91 02 sta ($02),y eff3: 60 LEFF3 rts eff4: fc LEFF4 .dd1 $fc eff5: f3 .dd1 $f3 eff6: cf .dd1 $cf eff7: 3f .dd1 $3f eff8: a5 3a LEFF8 lda CartRAMPtr+1 effa: a8 tay effb: aa tax effc: c8 iny effd: c8 iny effe: c8 iny efff: a9 ff lda #$ff f001: 20 1c f0 jsr LF01C f004: a6 01 ldx $01 f006: 20 93 e1 jsr LE193 f009: 86 01 stx $01 f00b: a6 68 ldx RoomPal f00d: bd 18 f0 lda LF018,x f010: a0 c0 ldy #$c0 f012: 91 00 LF012 sta ($00),y f014: c8 iny f015: d0 fb bne LF012 f017: 60 rts f018: 00 LF018 .dd1 $00 f019: 55 .dd1 $55 f01a: aa .dd1 $aa f01b: ff .dd1 $ff f01c: 48 LF01C pha f01d: 8a txa f01e: 84 01 sty $01 f020: 18 clc f021: e5 01 sbc $01 f023: aa tax f024: 68 pla f025: a0 00 ldy #$00 f027: 84 00 sty $00 f029: 91 00 LF029 sta ($00),y f02b: 88 dey f02c: d0 fb bne LF029 f02e: c6 01 dec $01 f030: e8 inx f031: d0 f6 bne LF029 f033: 60 rts f034: a9 ff LF034 lda #$ff f036: 85 73 sta $73 f038: 8d 0f 01 sta $010f f03b: a2 18 ldx #$18 f03d: b5 b0 LF03D lda $b0,x f03f: f0 3a beq LF07B f041: c9 03 cmp #$03 f043: f0 36 beq LF07B f045: 20 9a f1 jsr LF19A f048: 20 84 ce jsr LCE84 f04b: f0 0c beq LF059 f04d: a5 70 lda SamusBlink f04f: d0 08 bne LF059 f051: a0 00 ldy #$00 f053: 20 49 f1 jsr LF149 f056: 20 b4 f2 jsr LF2B4 f059: a0 d0 LF059 ldy #$d0 f05b: b9 00 03 LF05B lda ObjAction,y f05e: f0 16 beq LF076 f060: c9 04 cmp #$04 f062: 90 0c bcc LF070 f064: c9 07 cmp #$07 f066: f0 08 beq LF070 f068: c9 0a cmp #$0a f06a: f0 04 beq LF070 f06c: c9 0b cmp #$0b f06e: d0 06 bne LF076 f070: 20 49 f1 LF070 jsr LF149 f073: 20 2a f3 jsr LF32A f076: 20 ee f1 LF076 jsr LF1EE f079: d0 e0 bne LF05B f07b: 8a LF07B txa f07c: 38 sec f07d: e9 08 sbc #$08 f07f: aa tax f080: 10 bb bpl LF03D f082: a2 b0 ldx #$b0 f084: bd 00 03 LF084 lda ObjAction,x f087: c9 02 cmp #$02 f089: d0 0d bne LF098 f08b: a0 00 ldy #$00 f08d: 20 84 ce jsr LCE84 f090: f0 0b beq LF09D f092: 20 7f dc jsr LDC7F f095: 20 77 f2 jsr LF277 f098: 20 f4 f1 LF098 jsr LF1F4 f09b: 30 e7 bmi LF084 f09d: a2 50 LF09D ldx #$50 f09f: bd f4 6a LF09F lda Enstatus,x f0a2: f0 02 beq LF0A6 f0a4: c9 03 cmp #$03 f0a6: f0 3d LF0A6 beq LF0E5 f0a8: 20 52 f1 jsr LF152 f0ab: bd f4 6a lda Enstatus,x f0ae: c9 05 cmp #$05 f0b0: f0 22 beq LF0D4 f0b2: a0 d0 ldy #$d0 f0b4: b9 00 03 LF0B4 lda ObjAction,y f0b7: f0 16 beq LF0CF f0b9: c9 04 cmp #$04 f0bb: 90 0c bcc LF0C9 f0bd: c9 07 cmp #$07 f0bf: f0 08 beq LF0C9 f0c1: c9 0a cmp #$0a f0c3: f0 04 beq LF0C9 f0c5: c9 0b cmp #$0b f0c7: d0 06 bne LF0CF f0c9: 20 40 f1 LF0C9 jsr LF140 f0cc: 20 ca f2 jsr LF2CA f0cf: 20 ee f1 LF0CF jsr LF1EE f0d2: d0 e0 bne LF0B4 f0d4: a0 00 LF0D4 ldy #$00 f0d6: a5 70 lda SamusBlink f0d8: d0 0b bne LF0E5 f0da: 20 84 ce jsr LCE84 f0dd: f0 06 beq LF0E5 f0df: 20 40 f1 jsr LF140 f0e2: 20 82 f2 jsr LF282 f0e5: 20 f4 f1 LF0E5 jsr LF1F4 f0e8: 30 03 bmi LF0ED f0ea: 4c 9f f0 jmp LF09F f0ed: a2 00 LF0ED ldx #$00 f0ef: 20 72 f1 jsr LF172 f0f2: a0 60 ldy #$60 f0f4: b9 f4 6a LF0F4 lda Enstatus,y f0f7: f0 19 beq LF112 f0f9: c9 05 cmp #$05 f0fb: f0 15 beq LF112 f0fd: a5 70 lda SamusBlink f0ff: d0 11 bne LF112 f101: 20 84 ce jsr LCE84 f104: f0 0c beq LF112 f106: 20 b3 f1 jsr LF1B3 f109: 20 62 f1 jsr LF162 f10c: 20 fa f1 jsr LF1FA f10f: 20 ed f2 jsr LF2ED f112: 20 ee f1 LF112 jsr LF1EE f115: c9 c0 cmp #$c0 f117: d0 db bne LF0F4 f119: a0 00 ldy #$00 f11b: 20 84 ce jsr LCE84 f11e: f0 1d beq LF13D f120: 20 86 f1 jsr LF186 f123: a2 f0 ldx #$f0 f125: bd 00 03 LF125 lda ObjAction,x f128: c9 07 cmp #$07 f12a: f0 04 beq LF130 f12c: c9 0a cmp #$0a f12e: d0 06 bne LF136 f130: 20 82 dc LF130 jsr LDC82 f133: 20 11 f3 jsr LF311 f136: 20 f4 f1 LF136 jsr LF1F4 f139: c9 c0 cmp #$c0 f13b: d0 e8 bne LF125 f13d: 4c 92 ce LF13D jmp LCE92 f140: 20 bf f1 LF140 jsr LF1BF f143: 20 86 f1 jsr LF186 f146: 4c fa f1 jmp LF1FA f149: 20 86 f1 LF149 jsr LF186 f14c: 20 d2 f1 jsr LF1D2 f14f: 4c fa f1 jmp LF1FA f152: bd 00 04 LF152 lda EnYRoomPos,x f155: 85 07 sta $07 f157: bd 01 04 lda EnXRoomPos,x f15a: 85 09 sta $09 f15c: bd fb 6a lda EnNameTable,x f15f: 4c 7f f1 jmp LF17F f162: b9 00 04 LF162 lda EnYRoomPos,y f165: 85 06 sta $06 f167: b9 01 04 lda EnXRoomPos,y f16a: 85 08 sta $08 f16c: b9 fb 6a lda EnNameTable,y f16f: 4c 93 f1 jmp LF193 f172: bd 0d 03 LF172 lda ObjectY,x f175: 85 07 sta $07 f177: bd 0e 03 lda ObjectX,x f17a: 85 09 sta $09 f17c: bd 0c 03 lda ObjectHi,x f17f: 45 ff LF17F eor PPUCNT0ZP f181: 29 01 and #$01 f183: 85 0b sta $0b f185: 60 rts f186: b9 0d 03 LF186 lda ObjectY,y f189: 85 06 sta $06 f18b: b9 0e 03 lda ObjectX,y f18e: 85 08 sta $08 f190: b9 0c 03 lda ObjectHi,y f193: 45 ff LF193 eor PPUCNT0ZP f195: 29 01 and #$01 f197: 85 0a sta $0a f199: 60 rts f19a: b5 b1 LF19A lda $b1,x f19c: 85 07 sta $07 f19e: b5 b2 lda $b2,x f1a0: 85 09 sta $09 f1a2: b5 b3 lda $b3,x f1a4: 4c 7f f1 jmp LF17F f1a7: bd 01 03 LF1A7 lda ObjRadY,x f1aa: 20 e0 f1 jsr LF1E0 f1ad: bd 02 03 lda ObjRadX,x f1b0: 4c d9 f1 jmp LF1D9 f1b3: bd 01 03 LF1B3 lda ObjRadY,x f1b6: 20 e7 f1 jsr LF1E7 f1b9: bd 02 03 lda ObjRadX,x f1bc: 4c cb f1 jmp LF1CB f1bf: bd f5 6a LF1BF lda EnRadY,x f1c2: 20 e0 f1 jsr LF1E0 f1c5: bd f6 6a lda EnRadX,x f1c8: 4c d9 f1 jmp LF1D9 f1cb: 18 LF1CB clc f1cc: 79 f6 6a adc EnRadX,y f1cf: 85 05 sta $05 f1d1: 60 rts f1d2: a9 04 LF1D2 lda #$04 f1d4: 20 e0 f1 jsr LF1E0 f1d7: a9 08 lda #$08 f1d9: 18 LF1D9 clc f1da: 79 02 03 adc ObjRadX,y f1dd: 85 05 sta $05 f1df: 60 rts f1e0: 18 LF1E0 clc f1e1: 79 01 03 adc ObjRadY,y f1e4: 85 04 sta $04 f1e6: 60 rts f1e7: 18 LF1E7 clc f1e8: 79 f5 6a adc EnRadY,y f1eb: 85 04 sta $04 f1ed: 60 rts f1ee: 98 LF1EE tya f1ef: 18 clc f1f0: 69 10 adc #$10 f1f2: a8 tay f1f3: 60 rts f1f4: 8a LF1F4 txa f1f5: 38 sec f1f6: e9 10 sbc #$10 f1f8: aa tax f1f9: 60 rts f1fa: a9 02 LF1FA lda #$02 f1fc: 85 10 sta $10 f1fe: 25 49 and ScrollDir f200: 85 03 sta $03 f202: a5 07 lda $07 f204: 38 sec f205: e5 06 sbc $06 f207: 85 00 sta $00 f209: a5 03 lda $03 f20b: d0 17 bne LF224 f20d: a5 0b lda $0b f20f: 45 0a eor $0a f211: f0 11 beq LF224 f213: 20 62 f2 jsr LF262 f216: a5 00 lda $00 f218: 38 sec f219: e9 10 sbc #$10 f21b: 85 00 sta $00 f21d: b0 02 bcs LF221 f21f: c6 01 dec $01 f221: 4c 2b f2 LF221 jmp LF22B f224: a9 00 LF224 lda #$00 f226: e9 00 sbc #$00 f228: 20 66 f2 jsr LF266 f22b: 38 LF22B sec f22c: a5 01 lda $01 f22e: d0 31 bne LF261 f230: a5 00 lda $00 f232: 85 11 sta $11 f234: c5 04 cmp $04 f236: b0 29 bcs LF261 f238: 06 10 asl $10 f23a: a5 09 lda $09 f23c: 38 sec f23d: e5 08 sbc $08 f23f: 85 00 sta $00 f241: a5 03 lda $03 f243: f0 0c beq LF251 f245: a5 0b lda $0b f247: 45 0a eor $0a f249: f0 06 beq LF251 f24b: 20 62 f2 jsr LF262 f24e: 4c 56 f2 jmp LF256 f251: e9 00 LF251 sbc #$00 f253: 20 66 f2 jsr LF266 f256: 38 LF256 sec f257: a5 01 lda $01 f259: d0 06 bne LF261 f25b: a5 00 lda $00 f25d: 85 0f sta $0f f25f: c5 05 cmp $05 f261: 60 LF261 rts f262: a5 0b LF262 lda $0b f264: e5 0a sbc $0a f266: 85 01 LF266 sta $01 f268: 10 05 bpl LF26F f26a: 20 49 e4 jsr LE449 f26d: e6 10 inc $10 f26f: 60 LF26F rts f270: 1d 0a 03 LF270 ora SamusHit,x f273: 9d 0a 03 sta SamusHit,x f276: 60 rts f277: b0 08 LF277 bcs LF281 f279: a5 10 LF279 lda $10 f27b: 19 0a 03 LF27B ora SamusHit,y f27e: 99 0a 03 sta SamusHit,y f281: 60 LF281 rts f282: b0 fd LF282 bcs LF281 f284: 20 e8 f2 jsr LF2E8 f287: 20 9c cd jsr LCD9C f28a: a0 00 ldy #$00 f28c: 90 1f bcc LF2AD f28e: bd f4 6a lda Enstatus,x f291: c9 04 cmp #$04 f293: b0 ec bcs LF281 f295: bd 02 6b lda EnDataIndex,x f298: 8d 0f 01 LF298 sta $010f f29b: a8 tay f29c: 30 07 bmi LF2A5 f29e: b9 8b 96 lda L9601+138,y f2a1: 29 10 and #$10 f2a3: d0 dc bne LF281 f2a5: a0 00 LF2A5 ldy #$00 f2a7: 20 38 f3 jsr LF338 f2aa: 4c 06 f3 jmp LF306 f2ad: a9 81 LF2AD lda #$81 f2af: 9d 0e 04 sta EnSpecialAttribs-1,x f2b2: d0 21 bne LF2D5 f2b4: b0 13 LF2B4 bcs LF2C9 f2b6: 20 9c cd jsr LCD9C f2b9: a0 00 ldy #$00 f2bb: a9 c0 lda #$c0 f2bd: b0 d9 bcs LF298 f2bf: b5 b6 LF2BF lda $b6,x f2c1: 29 f8 and #$f8 f2c3: 05 10 ora $10 f2c5: 49 03 eor #$03 f2c7: 95 b6 sta $b6,x f2c9: 60 LF2C9 rts f2ca: b0 12 LF2CA bcs LF2DE f2cc: b9 00 03 lda ObjAction,y f2cf: 9d 0e 04 sta EnSpecialAttribs-1,x f2d2: 20 79 f2 jsr LF279 f2d5: 20 32 f3 LF2D5 jsr LF332 f2d8: 1d 04 04 LF2D8 ora $0404,x f2db: 9d 04 04 sta $0404,x f2de: 60 LF2DE rts f2df: a5 10 LF2DF lda $10 f2e1: 19 04 04 ora $0404,y f2e4: 99 04 04 sta $0404,y f2e7: 60 rts f2e8: 20 40 f3 LF2E8 jsr LF340 f2eb: d0 eb bne LF2D8 f2ed: b0 21 LF2ED bcs LF310 f2ef: 20 df f2 jsr LF2DF f2f2: 98 tya f2f3: 48 pha f2f4: 20 9c cd jsr LCD9C f2f7: 68 pla f2f8: a8 tay f2f9: 90 15 bcc LF310 f2fb: a9 80 lda #$80 f2fd: 8d 0f 01 sta $010f f300: 20 32 f3 jsr LF332 f303: 20 70 f2 jsr LF270 f306: ad ce 95 LF306 lda L95CC+2 f309: 85 6e sta HealthLoChange f30b: ad cf 95 lda L95CC+3 f30e: 85 6f sta HealthHiChange f310: 60 LF310 rts f311: b0 16 LF311 bcs LF329 f313: a9 e0 lda #$e0 f315: 8d 0f 01 sta $010f f318: 20 38 f3 jsr LF338 f31b: a5 0f lda $0f f31d: f0 02 beq LF321 f31f: a9 01 lda #$01 f321: 85 73 LF321 sta $73 f323: a9 00 LF323 lda #$00 f325: 85 6e sta HealthLoChange f327: 85 6f sta HealthHiChange f329: 60 LF329 rts f32a: b0 fd LF32A bcs LF329 f32c: 20 79 f2 jsr LF279 f32f: 4c bf f2 jmp LF2BF f332: 20 40 f3 LF332 jsr LF340 f335: 4c c6 c2 jmp LC2C6 f338: a5 10 LF338 lda $10 f33a: 0a asl A f33b: 0a asl A f33c: 0a asl A f33d: 4c 7b f2 jmp LF27B f340: a5 10 LF340 lda $10 f342: 49 03 eor #$03 f344: 60 rts f345: a2 50 LF345 ldx #$50 f347: 20 51 f3 LF347 jsr LF351 f34a: a6 4b ldx PageIndex f34c: 20 f4 f1 jsr LF1F4 f34f: d0 f6 bne LF347 f351: 86 4b LF351 stx PageIndex f353: bc f4 6a ldy Enstatus,x f356: f0 07 beq LF35F f358: c0 03 cpy #$03 f35a: b0 03 bcs LF35F f35c: 20 7f f3 jsr LF37F f35f: 20 aa f3 LF35F jsr LF3AA f362: bd f4 6a lda Enstatus,x f365: 85 81 sta HideShowEndMsg f367: c9 07 cmp #$07 f369: b0 11 bcs LF37C f36b: 20 7c c2 jsr ChooseRoutine f36e: 5c c4 .dd2 TC45C f370: be f3 .dd2 TF3BE f372: e6 f3 .dd2 TF3E6 f374: 0d f4 .dd2 TF40D f376: 3e f4 .dd2 TF43E f378: 83 f4 .dd2 TF483 f37a: ee f4 .dd2 TF4EE f37c: 4c 18 fa LF37C jmp LFA18 f37f: bd 05 04 LF37F lda EnCounter-1,x f382: 29 02 and #$02 f384: d0 21 bne LF3A7 f386: bd 00 04 lda EnYRoomPos,x f389: 85 0a sta $0a f38b: bd 01 04 lda EnXRoomPos,x f38e: 85 0b sta $0b f390: bd fb 6a lda EnNameTable,x f393: 85 06 sta $06 f395: bd f5 6a lda EnRadY,x f398: 85 08 sta $08 f39a: bd f6 6a lda EnRadX,x f39d: 85 09 sta $09 f39f: 20 df df jsr LDFDF f3a2: 8a txa f3a3: d0 02 bne LF3A7 f3a5: 68 pla f3a6: 68 pla f3a7: a6 4b LF3A7 ldx PageIndex f3a9: 60 rts f3aa: bd 05 04 LF3AA lda EnCounter-1,x f3ad: 0a asl A f3ae: 2a rol A f3af: a8 tay f3b0: 8a txa f3b1: 20 bf c2 jsr LC2BF f3b4: 45 2d eor FrameCount f3b6: 4a lsr A f3b7: 98 tya f3b8: 6a ror A f3b9: 6a ror A f3ba: 9d 05 04 sta EnCounter-1,x f3bd: 60 rts f3be: bd 05 04 TF3BE lda EnCounter-1,x f3c1: 0a asl A f3c2: 30 1f bmi LF3E3 f3c4: a9 00 lda #$00 f3c6: 9d 01 6b sta EnDataIndex-1,x f3c9: 9d 06 04 sta EnCounter,x f3cc: 9d 0a 04 sta EnHitPoints-1,x f3cf: 20 b9 f6 jsr LF6B9 f3d2: 20 5b f7 jsr LF75B f3d5: 20 82 f6 jsr LF682 f3d8: 20 76 f6 jsr LF676 f3db: bd 09 04 lda EnDelay,x f3de: f0 03 beq LF3E3 f3e0: 20 ba f7 jsr LF7BA f3e3: 4c 0a f4 LF3E3 jmp LF40A f3e6: bd 05 04 TF3E6 lda EnCounter-1,x f3e9: 0a asl A f3ea: 30 1e bmi LF40A f3ec: bd 05 04 lda EnCounter-1,x f3ef: 29 20 and #$20 f3f1: f0 0e beq LF401 f3f3: bc 02 6b ldy EnDataIndex,x f3f6: b9 bb 96 lda L9601+186,y f3f9: 9d 09 04 sta EnDelay,x f3fc: de f4 6a dec Enstatus,x f3ff: d0 09 bne LF40A f401: 20 b9 f6 LF401 jsr LF6B9 f404: 20 5b f7 jsr LF75B f407: 20 1e f5 jsr LF51E f40a: 20 36 f5 LF40A jsr LF536 f40d: 4c e5 95 TF40D jmp L95E5 f410: 20 94 e0 LF410 jsr UpdateEnemyAnim f413: 20 58 80 jsr L8058 f416: a6 4b LF416 ldx PageIndex f418: bd 0f 04 lda EnSpecialAttribs,x f41b: 10 08 bpl LF425 f41d: a5 6b lda ObjectCntrl f41f: 30 04 bmi LF425 f421: a9 a3 lda #$a3 f423: 85 6b LF423 sta ObjectCntrl f425: bd f4 6a LF425 lda Enstatus,x f428: f0 03 beq LF42D f42a: 20 8b dd jsr LDD8B f42d: a6 4b LF42D ldx PageIndex f42f: a9 00 lda #$00 f431: 9d 04 04 sta $0404,x f434: 9d 0e 04 sta EnSpecialAttribs-1,x f437: 60 rts f438: 20 94 e0 LF438 jsr UpdateEnemyAnim f43b: 4c 16 f4 jmp LF416 f43e: 20 36 f5 TF43E jsr LF536 f441: bd f4 6a lda Enstatus,x f444: c9 03 cmp #$03 f446: f0 c8 beq LF410 f448: 24 6b bit ObjectCntrl f44a: 30 04 bmi LF450 f44c: a9 a1 lda #$a1 f44e: 85 6b sta ObjectCntrl f450: a5 2d LF450 lda FrameCount f452: 29 07 and #$07 f454: d0 1b bne LF471 f456: de 0d 04 dec $040d,x f459: d0 16 bne LF471 f45b: bd f4 6a lda Enstatus,x f45e: c9 03 cmp #$03 f460: f0 0f beq LF471 f462: bd 0c 04 lda $040c,x f465: 9d f4 6a sta Enstatus,x f468: bc 02 6b ldy EnDataIndex,x f46b: b9 9b 96 lda L9601+154,y f46e: 9d 0d 04 sta $040d,x f471: bd 0d 04 LF471 lda $040d,x f474: c9 0b cmp #$0b f476: b0 08 bcs LF480 f478: a5 2d lda FrameCount f47a: 29 02 and #$02 f47c: f0 02 beq LF480 f47e: 06 6b asl ObjectCntrl f480: 4c 16 f4 LF480 jmp LF416 f483: bd 04 04 TF483 lda $0404,x f486: 29 24 and #$24 f488: f0 4a beq LF4D4 f48a: 20 18 fa jsr LFA18 f48d: bc f7 6a ldy EnAnimFrame,x f490: c0 80 cpy #$80 f492: f0 23 beq LF4B7 f494: 98 tya f495: 48 pha f496: bd 02 6b lda EnDataIndex,x f499: 48 pha f49a: a0 00 ldy #$00 f49c: a2 03 ldx #$03 f49e: 68 pla f49f: d0 0b bne LF4AC f4a1: ca dex f4a2: 68 pla f4a3: c9 81 cmp #$81 f4a5: d0 04 bne LF4AB f4a7: a2 00 ldx #$00 f4a9: a0 50 ldy #$50 f4ab: 48 LF4AB pha f4ac: 68 LF4AC pla f4ad: 84 6e sty HealthLoChange f4af: 86 6f stx HealthHiChange f4b1: 20 f9 ce jsr LCEF9 f4b4: 4c bc cb jmp LCBBC f4b7: a9 02 LF4B7 lda #$02 f4b9: bc 02 6b ldy EnDataIndex,x f4bc: f0 02 beq LF4C0 f4be: a9 1e lda #$1e f4c0: 18 LF4C0 clc f4c1: 6d 79 68 adc MissileCount f4c4: b0 05 bcs LF4CB f4c6: cd 7a 68 cmp MaxMissiles f4c9: 90 03 bcc LF4CE f4cb: ad 7a 68 LF4CB lda MaxMissiles f4ce: 8d 79 68 LF4CE sta MissileCount f4d1: 4c c0 cb jmp LCBC0 f4d4: a5 2d LF4D4 lda FrameCount f4d6: 29 03 and #$03 f4d8: d0 08 bne LF4E2 f4da: de 0d 04 dec $040d,x f4dd: d0 03 bne LF4E2 f4df: 20 18 fa jsr LFA18 f4e2: a5 2d LF4E2 lda FrameCount f4e4: 29 02 and #$02 f4e6: 4a lsr A f4e7: 09 a0 ora #$a0 f4e9: 85 6b sta ObjectCntrl f4eb: 4c 16 f4 jmp LF416 f4ee: de 0f 04 TF4EE dec EnSpecialAttribs,x f4f1: d0 1d bne LF510 f4f3: bd 0c 04 lda $040c,x f4f6: a8 tay f4f7: 29 c0 and #$c0 f4f9: 9d 0f 04 sta EnSpecialAttribs,x f4fc: 98 tya f4fd: 29 3f and #$3f f4ff: 9d f4 6a sta Enstatus,x f502: 48 pha f503: 20 b0 80 jsr Brinstar80b0 f506: 29 20 and #$20 f508: f0 05 beq LF50F f50a: 68 pla f50b: 20 15 f5 jsr LF515 f50e: 48 pha f50f: 68 LF50F pla f510: a9 a0 LF510 lda #$a0 f512: 4c 23 f4 jmp LF423 f515: 9d 0c 04 LF515 sta $040c,x f518: a9 04 LF518 lda #$04 f51a: 9d f4 6a sta Enstatus,x f51d: 60 rts f51e: a5 49 LF51E lda ScrollDir f520: a6 4b ldx PageIndex f522: c9 02 cmp #$02 f524: 90 45 bcc LF56B f526: bd 00 04 lda EnYRoomPos,x f529: c9 ec cmp #$ec f52b: 90 3e bcc LF56B f52d: 4c 18 fa jmp LFA18 f530: 20 d2 cb LF530 jsr LCBD2 f533: 4c 73 f6 jmp LF673 f536: bd 0f 04 LF536 lda EnSpecialAttribs,x f539: 85 0a sta $0a f53b: bd 04 04 lda $0404,x f53e: 29 20 and #$20 f540: f0 29 beq LF56B f542: bd 0e 04 lda EnSpecialAttribs-1,x f545: c9 03 cmp #$03 f547: d0 30 bne LF579 f549: 24 0a bit $0a f54b: 70 2c bvs LF579 f54d: bd f4 6a lda Enstatus,x f550: c9 04 cmp #$04 f552: f0 25 beq LF579 f554: 20 15 f5 jsr LF515 f557: a9 40 lda #$40 f559: 9d 0d 04 sta $040d,x f55c: 20 b0 80 jsr Brinstar80b0 f55f: 29 20 and #$20 f561: f0 08 beq LF56B f563: a9 05 lda #$05 f565: 9d 0b 04 sta EnHitPoints,x f568: 4c a8 95 jmp L95A8 f56b: 60 LF56B rts f56c: 20 b0 80 LF56C jsr Brinstar80b0 f56f: 29 20 and #$20 f571: d0 bd bne LF530 f573: 20 b8 cb jsr LCBB8 f576: 4c 2d f4 jmp LF42D f579: bd 0b 04 LF579 lda EnHitPoints,x f57c: c9 ff cmp #$ff f57e: f0 ec beq LF56C f580: 24 0a bit $0a f582: 50 05 bvc LF589 f584: 20 d6 cb jsr LCBD6 f587: d0 21 bne LF5AA f589: 20 4b f7 LF589 jsr LF74B f58c: 29 0c and #$0c f58e: f0 0d beq LF59D f590: c9 04 cmp #$04 f592: f0 0e beq LF5A2 f594: c9 08 cmp #$08 f596: f0 0f beq LF5A7 f598: 20 d2 cb jsr LCBD2 f59b: d0 0d bne LF5AA f59d: 20 b0 cb LF59D jsr LCBB0 f5a0: d0 08 bne LF5AA f5a2: 20 b0 cb LF5A2 jsr LCBB0 f5a5: d0 03 bne LF5AA f5a7: 20 ce cb LF5A7 jsr LCBCE f5aa: a6 4b LF5AA ldx PageIndex f5ac: 20 b0 80 jsr Brinstar80b0 f5af: 29 20 and #$20 f5b1: f0 07 beq LF5BA f5b3: bd 0e 04 lda EnSpecialAttribs-1,x f5b6: c9 0b cmp #$0b f5b8: d0 b2 bne LF56C f5ba: bd f4 6a LF5BA lda Enstatus,x f5bd: c9 04 cmp #$04 f5bf: d0 03 bne LF5C4 f5c1: bd 0c 04 lda $040c,x f5c4: 05 0a LF5C4 ora $0a f5c6: 9d 0c 04 sta $040c,x f5c9: 0a asl A f5ca: 30 12 bmi LF5DE f5cc: 20 b0 80 jsr Brinstar80b0 f5cf: 29 20 and #$20 f5d1: d0 0b bne LF5DE f5d3: bc 0e 04 ldy EnSpecialAttribs-1,x f5d6: c0 0b cpy #$0b f5d8: f0 37 beq LF611 f5da: c0 81 cpy #$81 f5dc: f0 33 beq LF611 f5de: a9 06 LF5DE lda #$06 f5e0: 9d f4 6a sta Enstatus,x f5e3: a9 0a lda #$0a f5e5: 24 0a bit $0a f5e7: 50 02 bvc LF5EB f5e9: a9 03 lda #$03 f5eb: 9d 0f 04 LF5EB sta EnSpecialAttribs,x f5ee: c0 02 cpy #$02 f5f0: f0 15 beq LF607 f5f2: 24 0a bit $0a f5f4: 50 16 bvc LF60C f5f6: bc 0e 04 ldy EnSpecialAttribs-1,x f5f9: c0 0b cpy #$0b f5fb: d0 0f bne LF60C f5fd: de 0b 04 dec EnHitPoints,x f600: f0 0f beq LF611 f602: de 0b 04 dec EnHitPoints,x f605: f0 0a beq LF611 f607: de 0b 04 LF607 dec EnHitPoints,x f60a: f0 05 beq LF611 f60c: de 0b 04 LF60C dec EnHitPoints,x f60f: d0 62 bne LF673 f611: a9 03 LF611 lda #$03 f613: 9d f4 6a sta Enstatus,x f616: 24 0a bit $0a f618: 70 0e bvs LF628 f61a: bd 0e 04 lda EnSpecialAttribs-1,x f61d: c9 02 cmp #$02 f61f: b0 07 bcs LF628 f621: a9 00 lda #$00 f623: 20 fc dc jsr LDCFC f626: a6 4b ldx PageIndex f628: 20 44 f8 LF628 jsr LF844 f62b: b9 0b 96 lda L9601+10,y f62e: 20 8d f6 jsr LF68D f631: 9d 06 04 sta EnCounter,x f634: a2 c0 ldx #$c0 f636: bd f4 6a LF636 lda Enstatus,x f639: f0 0b beq LF646 f63b: 8a txa f63c: 18 clc f63d: 69 08 adc #$08 f63f: aa tax f640: c9 e0 cmp #$e0 f642: d0 f2 bne LF636 f644: f0 2d beq LF673 f646: ad dd 95 LF646 lda L95CC+17 f649: 20 8d f6 jsr LF68D f64c: a9 0a lda #$0a f64e: 9d 06 04 sta EnCounter,x f651: fe f4 6a inc Enstatus,x f654: a9 00 lda #$00 f656: 24 0a bit $0a f658: 50 02 bvc LF65C f65a: a9 03 lda #$03 f65c: 9d 07 04 LF65C sta $0407,x f65f: a4 4b ldy PageIndex f661: b9 00 04 lda EnYRoomPos,y f664: 9d 00 04 sta EnYRoomPos,x f667: b9 01 04 lda EnXRoomPos,y f66a: 9d 01 04 sta EnXRoomPos,x f66d: b9 fb 6a lda EnNameTable,y f670: 9d fb 6a sta EnNameTable,x f673: a6 4b LF673 ldx PageIndex f675: 60 rts f676: 20 b0 80 LF676 jsr Brinstar80b0 f679: 0a asl A f67a: 0a asl A f67b: 0a asl A f67c: 29 c0 and #$c0 f67e: 9d 03 6b sta $6b03,x f681: 60 rts f682: 20 44 f8 LF682 jsr LF844 f685: b9 3b 96 lda L9601+58,y f688: dd f9 6a cmp EnResetAnimIndex,x f68b: f0 0b beq LF698 f68d: 9d f9 6a LF68D sta EnResetAnimIndex,x f690: 9d fa 6a LF690 sta EnAnimIndex,x f693: a9 00 LF693 lda #$00 f695: 9d f8 6a sta EnAnimDelay,x f698: 60 LF698 rts f699: 20 44 f8 LF699 jsr LF844 f69c: b9 5b 96 lda L9601+90,y f69f: dd f9 6a cmp EnResetAnimIndex,x f6a2: f0 14 beq LF6B8 f6a4: 20 8d f6 jsr LF68D f6a7: bc 02 6b ldy EnDataIndex,x f6aa: b9 7b 96 lda L9601+122,y f6ad: 29 7f and #$7f f6af: f0 07 beq LF6B8 f6b1: a8 tay f6b2: de fa 6a LF6B2 dec EnAnimIndex,x f6b5: 88 dey f6b6: d0 fa bne LF6B2 f6b8: 60 LF6B8 rts f6b9: a9 00 LF6B9 lda #$00 f6bb: 85 82 sta ClrChangeCounter f6bd: 20 4b f7 jsr LF74B f6c0: a8 tay f6c1: bd f4 6a lda Enstatus,x f6c4: c9 02 cmp #$02 f6c6: d0 05 bne LF6CD f6c8: 98 tya f6c9: 29 02 and #$02 f6cb: f0 eb beq LF6B8 f6cd: 98 LF6CD tya f6ce: de 0d 04 dec $040d,x f6d1: d0 e5 bne LF6B8 f6d3: 48 pha f6d4: bc 02 6b ldy EnDataIndex,x f6d7: b9 9b 96 lda L9601+154,y f6da: 9d 0d 04 sta $040d,x f6dd: 68 pla f6de: 10 2f bpl LF70F f6e0: a9 fe lda #$fe f6e2: 20 b3 f7 jsr LF7B3 f6e5: a5 49 lda ScrollDir f6e7: c9 02 cmp #$02 f6e9: 90 0a bcc LF6F5 f6eb: 20 52 f7 jsr LF752 f6ee: 90 05 bcc LF6F5 f6f0: 98 tya f6f1: 45 ff eor PPUCNT0ZP f6f3: b0 0b bcs LF700 f6f5: bd 01 04 LF6F5 lda EnXRoomPos,x f6f8: cd 0e 03 cmp ObjectX f6fb: d0 02 bne LF6FF f6fd: e6 82 inc ClrChangeCounter f6ff: 2a LF6FF rol A f700: 29 01 LF700 and #$01 f702: 20 44 f7 jsr LF744 f705: 4a lsr A f706: 6a ror A f707: 5d 03 04 eor $0403,x f70a: 10 03 bpl LF70F f70c: 20 da 81 jsr L81DA f70f: a9 fb LF70F lda #$fb f711: 20 b3 f7 jsr LF7B3 f714: a5 49 lda ScrollDir f716: c9 02 cmp #$02 f718: b0 0a bcs LF724 f71a: 20 52 f7 jsr LF752 f71d: 90 05 bcc LF724 f71f: 98 tya f720: 45 ff eor PPUCNT0ZP f722: b0 0d bcs LF731 f724: bd 00 04 LF724 lda EnYRoomPos,x f727: cd 0d 03 cmp ObjectY f72a: d0 04 bne LF730 f72c: e6 82 inc ClrChangeCounter f72e: e6 82 inc ClrChangeCounter f730: 2a LF730 rol A f731: 29 01 LF731 and #$01 f733: 0a asl A f734: 0a asl A f735: 20 44 f7 jsr LF744 f738: 4a lsr A f739: 4a lsr A f73a: 4a lsr A f73b: 6a ror A f73c: 5d 02 04 eor $0402,x f73f: 10 09 bpl LF74A f741: 4c 0f 82 jmp L820F f744: 1d 05 04 LF744 ora EnCounter-1,x f747: 9d 05 04 sta EnCounter-1,x f74a: 60 LF74A rts f74b: bc 02 6b LF74B ldy EnDataIndex,x f74e: b9 8b 96 lda L9601+138,y f751: 60 rts f752: bd fb 6a LF752 lda EnNameTable,x f755: a8 tay f756: 4d 0c 03 eor ObjectHi f759: 4a lsr A f75a: 60 rts f75b: a9 e7 LF75B lda #$e7 f75d: 85 06 sta $06 f75f: a9 18 lda #$18 f761: 20 44 f7 jsr LF744 f764: bc 02 6b ldy EnDataIndex,x f767: b9 ab 96 lda L9601+170,y f76a: f0 4d beq LF7B9 f76c: a8 tay f76d: bd 05 04 lda EnCounter-1,x f770: 29 02 and #$02 f772: f0 3d beq LF7B1 f774: 98 tya f775: a0 f7 ldy #$f7 f777: 0a asl A f778: b0 02 bcs LF77C f77a: a0 ef ldy #$ef f77c: 4a LF77C lsr A f77d: 85 02 sta $02 f77f: 84 06 sty $06 f781: ad 0d 03 lda ObjectY f784: 85 00 sta $00 f786: bc 00 04 ldy EnYRoomPos,x f789: bd 05 04 lda EnCounter-1,x f78c: 30 08 bmi LF796 f78e: ac 0e 03 ldy ObjectX f791: 84 00 sty $00 f793: bc 01 04 ldy EnXRoomPos,x f796: ad 0c 03 LF796 lda ObjectHi f799: 4a lsr A f79a: 66 00 ror $00 f79c: bd fb 6a lda EnNameTable,x f79f: 4a lsr A f7a0: 98 tya f7a1: 6a ror A f7a2: 38 sec f7a3: e5 00 sbc $00 f7a5: 10 03 bpl LF7AA f7a7: 20 d4 c3 jsr LC3D4 f7aa: 4a LF7AA lsr A f7ab: 4a lsr A f7ac: 4a lsr A f7ad: c5 02 cmp $02 f7af: 90 08 bcc LF7B9 f7b1: a5 06 LF7B1 lda $06 f7b3: 3d 05 04 LF7B3 and EnCounter-1,x f7b6: 9d 05 04 sta EnCounter-1,x f7b9: 60 LF7B9 rts f7ba: de 09 04 LF7BA dec EnDelay,x f7bd: d0 0a bne LF7C9 f7bf: bd 05 04 lda EnCounter-1,x f7c2: 29 08 and #$08 f7c4: d0 04 bne LF7CA f7c6: fe 09 04 inc EnDelay,x f7c9: 60 LF7C9 rts f7ca: bd 02 6b LF7CA lda EnDataIndex,x f7cd: c9 07 cmp #$07 f7cf: d0 05 bne LF7D6 f7d1: 20 a4 cb jsr LCBA4 f7d4: a6 4b ldx PageIndex f7d6: fe f4 6a LF7D6 inc Enstatus,x f7d9: 20 99 f6 jsr LF699 f7dc: bc 02 6b ldy EnDataIndex,x f7df: b9 cb 96 lda L9601+202,y f7e2: 18 clc f7e3: 69 d1 adc #$d1 f7e5: 85 00 sta $00 f7e7: a9 00 lda #$00 f7e9: 69 97 adc #$97 f7eb: 85 01 sta $01 f7ed: a5 2d lda FrameCount f7ef: 45 2e eor RandomNumber1 f7f1: a0 00 ldy #$00 f7f3: 31 00 and ($00),y f7f5: a8 tay f7f6: c8 iny f7f7: b1 00 lda ($00),y f7f9: 9d 08 04 sta EnDelay-1,x f7fc: 20 b0 80 jsr Brinstar80b0 f7ff: 10 38 bpl LF839 f801: a9 00 lda #$00 f803: 9d 06 04 sta EnCounter,x f806: 9d 07 04 sta $0407,x f809: bc 08 04 ldy EnDelay-1,x f80c: b9 2b 97 lda L9601+$12a,y f80f: 9d fe 6a sta $6afe,x f812: b9 3f 97 lda L9601+$13e,y f815: 9d ff 6a sta $6aff,x f818: b9 53 97 lda L9601+$152,y f81b: 9d 02 04 sta $0402,x f81e: b9 67 97 lda L9601+$166,y f821: 9d 03 04 sta $0403,x f824: bd 05 04 lda EnCounter-1,x f827: 30 09 bmi LF832 f829: 4a lsr A f82a: 90 0d bcc LF839 f82c: 20 d1 81 jsr L81D1 f82f: 4c 39 f8 jmp LF839 f832: 29 04 LF832 and #$04 f834: f0 03 beq LF839 f836: 20 06 82 jsr L8206 f839: a9 df LF839 lda #$df f83b: 4c b3 f7 jmp LF7B3 f83e: bd 05 04 LF83E lda EnCounter-1,x f841: 4c 4b f8 jmp LF84B f844: bd 05 04 LF844 lda EnCounter-1,x f847: 10 02 bpl LF84B f849: 4a lsr A f84a: 4a lsr A f84b: 4a LF84B lsr A f84c: bd 02 6b lda EnDataIndex,x f84f: 2a rol A f850: a8 tay f851: 60 rts f852: 8a LF852 txa f853: 4a lsr A f854: 4a lsr A f855: 4a lsr A f856: 65 2d adc FrameCount f858: 4a lsr A f859: 60 rts f85a: bc 02 6b LF85A ldy EnDataIndex,x f85d: b9 9b 96 lda L9601+154,y f860: 9d 0d 04 sta $040d,x f863: b9 2b 96 lda L9601+42,y f866: bc 0f 04 ldy EnSpecialAttribs,x f869: 10 01 bpl LF86C f86b: 0a asl A f86c: 9d 0b 04 LF86C sta EnHitPoints,x f86f: 60 LF86F rts f870: bd 05 04 LF870 lda EnCounter-1,x f873: 29 10 and #$10 f875: f0 f8 beq LF86F f877: a5 87 lda $87 f879: 3d f4 6a and Enstatus,x f87c: f0 f1 beq LF86F f87e: a5 87 lda $87 f880: 10 05 bpl LF887 f882: bc 01 6b ldy EnDataIndex-1,x f885: d0 e8 bne LF86F f887: 20 e8 f8 LF887 jsr LF8E8 f88a: b0 6b bcs LF8F7 f88c: 99 04 04 sta $0404,y f88f: 20 2c f9 jsr LF92C f892: bd 05 04 lda EnCounter-1,x f895: 4a lsr A f896: a5 85 lda $85 f898: 48 pha f899: 2a rol A f89a: aa tax f89b: bd 8b 97 lda L9601+$18a,x f89e: 48 pha f89f: 98 tya f8a0: aa tax f8a1: 68 pla f8a2: 20 8d f6 jsr LF68D f8a5: a6 4b ldx PageIndex f8a7: a9 01 lda #$01 f8a9: 99 f4 6a sta Enstatus,y f8ac: 3d 05 04 and EnCounter-1,x f8af: aa tax f8b0: bd 2a f9 lda LF92A,x f8b3: 99 03 04 sta $0403,y f8b6: a9 00 lda #$00 f8b8: 99 02 04 sta $0402,y f8bb: a6 4b ldx PageIndex f8bd: 20 f8 f8 jsr LF8F8 f8c0: bd 05 04 lda EnCounter-1,x f8c3: 4a lsr A f8c4: 68 pla f8c5: aa tax f8c6: bd a3 97 lda L9601+$1a2,x f8c9: 85 04 sta $04 f8cb: 8a txa f8cc: 2a rol A f8cd: aa tax f8ce: bd 9b 97 lda L9601+$19a,x f8d1: 85 05 sta $05 f8d3: 20 1d f9 jsr LF91D f8d6: a6 4b ldx PageIndex f8d8: 24 87 bit $87 f8da: 50 1b bvc LF8F7 f8dc: bd 05 04 lda EnCounter-1,x f8df: 29 01 and #$01 f8e1: a8 tay f8e2: b9 83 00 lda WaveSpritePointer,y f8e5: 4c 90 f6 jmp LF690 f8e8: a0 60 LF8E8 ldy #$60 f8ea: 18 clc f8eb: b9 f4 6a LF8EB lda Enstatus,y f8ee: f0 07 beq LF8F7 f8f0: 20 ee f1 jsr LF1EE f8f3: c9 c0 cmp #$c0 f8f5: d0 f4 bne LF8EB f8f7: 60 LF8F7 rts f8f8: a5 85 LF8F8 lda $85 f8fa: c9 02 cmp #$02 f8fc: 90 1e bcc LF91C f8fe: a6 4b ldx PageIndex f900: bd 05 04 lda EnCounter-1,x f903: 4a lsr A f904: a5 88 lda $88 f906: 2a rol A f907: 29 07 and #$07 f909: 99 0a 04 sta EnHitPoints-1,y f90c: a9 02 lda #$02 f90e: 99 f4 6a sta Enstatus,y f911: a9 00 lda #$00 f913: 99 09 04 sta EnDelay,y f916: 99 f8 6a sta EnAnimDelay,y f919: 99 08 04 sta EnDelay-1,y f91c: 60 LF91C rts f91d: a6 4b LF91D ldx PageIndex f91f: 20 92 e7 jsr LE792 f922: 98 tya f923: aa tax f924: 20 8f fd jsr LFD8F f927: 4c 49 fa jmp LFA49 f92a: 02 LF92A .dd1 $02 f92b: fe .dd1 $fe f92c: a9 02 LF92C lda #$02 f92e: 99 f5 6a sta EnRadY,y f931: 99 f6 6a sta EnRadX,y f934: 19 05 04 ora EnCounter-1,y f937: 99 05 04 sta EnCounter-1,y f93a: 60 rts f93b: a2 b0 LF93B ldx #$b0 f93d: 20 49 f9 LF93D jsr LF949 f940: a6 4b ldx PageIndex f942: 20 f4 f1 jsr LF1F4 f945: c9 60 cmp #$60 f947: d0 f4 bne LF93D f949: 86 4b LF949 stx PageIndex f94b: bd 05 04 lda EnCounter-1,x f94e: 29 02 and #$02 f950: d0 03 bne LF955 f952: 20 18 fa jsr LFA18 f955: bd f4 6a LF955 lda Enstatus,x f958: f0 0f beq LF969 f95a: 20 7c c2 jsr ChooseRoutine f95d: 5c c4 .dd2 TC45C f95f: 6a f9 .dd2 TF96A f961: 91 f9 .dd2 TF991 f963: 5c c4 .dd2 TC45C f965: 6b fa .dd2 TFA6B f967: 91 fa .dd2 TFA91 f969: 60 LF969 rts f96a: 20 5b fa TF96A jsr LFA5B f96d: 20 1e fa jsr LFA1E f970: a6 4b ldx PageIndex f972: b0 08 bcs LF97C f974: bd f4 6a lda Enstatus,x f977: f0 f0 beq LF969 f979: 20 60 fa jsr LFA60 f97c: a9 01 LF97C lda #$01 f97e: 20 94 e0 LF97E jsr UpdateEnemyAnim f981: 4c 8b dd jmp LDD8B f984: fe 08 04 LF984 inc EnDelay-1,x f987: fe 08 04 LF987 inc EnDelay-1,x f98a: a9 00 lda #$00 f98c: 9d 09 04 sta EnDelay,x f98f: f0 13 beq LF9A4 f991: 20 5b fa TF991 jsr LFA5B f994: bd 0a 04 lda EnHitPoints-1,x f997: 29 fe and #$fe f999: a8 tay f99a: b9 a7 97 lda L9601+$1a6,y f99d: 85 0a sta $0a f99f: b9 a8 97 lda L9601+$1a7,y f9a2: 85 0b sta $0b f9a4: bc 08 04 LF9A4 ldy EnDelay-1,x f9a7: b1 0a lda ($0a),y f9a9: c9 ff cmp #$ff f9ab: d0 06 bne LF9B3 f9ad: 9d 08 04 sta EnDelay-1,x f9b0: 4c 87 f9 jmp LF987 f9b3: dd 09 04 LF9B3 cmp EnDelay,x f9b6: f0 cc beq LF984 f9b8: fe 09 04 inc EnDelay,x f9bb: c8 iny f9bc: b1 0a lda ($0a),y f9be: 20 96 82 jsr L8296 f9c1: a6 4b ldx PageIndex f9c3: 9d 02 04 sta $0402,x f9c6: b1 0a lda ($0a),y f9c8: 20 2f 83 jsr L832F f9cb: a6 4b ldx PageIndex f9cd: 9d 03 04 sta $0403,x f9d0: a8 tay f9d1: bd 0a 04 lda EnHitPoints-1,x f9d4: 4a lsr A f9d5: 08 php f9d6: 90 07 bcc LF9DF f9d8: 98 tya f9d9: 20 d4 c3 jsr LC3D4 f9dc: 9d 03 04 sta $0403,x f9df: 28 LF9DF plp f9e0: d0 10 bne LF9F2 f9e2: bd 02 04 lda $0402,x f9e5: f0 0b beq LF9F2 f9e7: 30 09 bmi LF9F2 f9e9: bc 0a 04 ldy EnHitPoints-1,x f9ec: b9 e0 95 lda L95CC+20,y f9ef: 9d f9 6a sta EnResetAnimIndex,x f9f2: 20 1e fa LF9F2 jsr LFA1E f9f5: a6 4b ldx PageIndex f9f7: b0 1c bcs LFA15 f9f9: bd f4 6a lda Enstatus,x f9fc: f0 6c beq LFA6A f9fe: a0 00 ldy #$00 fa00: bd 0a 04 lda EnHitPoints-1,x fa03: 4a lsr A fa04: f0 01 beq LFA07 fa06: c8 iny fa07: b9 e2 95 LFA07 lda L95CC+22,y fa0a: 20 8d f6 jsr LF68D fa0d: 20 18 f5 jsr LF518 fa10: a9 0a lda #$0a fa12: 9d 09 04 sta EnDelay,x fa15: 4c 7c f9 LFA15 jmp LF97C fa18: a9 00 LFA18 lda #$00 fa1a: 9d f4 6a sta Enstatus,x fa1d: 60 rts fa1e: a5 74 LFA1E lda InArea fa20: c9 11 cmp #$11 fa22: d0 06 bne LFA2A fa24: bd f4 6a lda Enstatus,x fa27: 4a lsr A fa28: 90 0d bcc LFA37 fa2a: 20 7d fa LFA2A jsr LFA7D fa2d: a0 00 ldy #$00 fa2f: b1 04 lda ($04),y fa31: c9 a0 cmp #$a0 fa33: 90 25 bcc LFA5A fa35: a6 4b ldx PageIndex fa37: bd 03 04 LFA37 lda $0403,x fa3a: 85 05 sta $05 fa3c: bd 02 04 lda $0402,x fa3f: 85 04 sta $04 fa41: 20 92 e7 LFA41 jsr LE792 fa44: 20 8f fd jsr LFD8F fa47: 90 cf bcc LFA18 fa49: a5 08 LFA49 lda $08 fa4b: 9d 00 04 sta EnYRoomPos,x fa4e: a5 09 lda $09 fa50: 9d 01 04 sta EnXRoomPos,x fa53: a5 0b lda $0b fa55: 29 01 and #$01 fa57: 9d fb 6a sta EnNameTable,x fa5a: 60 LFA5A rts fa5b: bd 04 04 LFA5B lda $0404,x fa5e: f0 0a beq LFA6A fa60: a9 00 LFA60 lda #$00 fa62: 9d 04 04 sta $0404,x fa65: a9 05 lda #$05 fa67: 9d f4 6a sta Enstatus,x fa6a: 60 LFA6A rts fa6b: bd f7 6a TFA6B lda EnAnimFrame,x fa6e: c9 f7 cmp #$f7 fa70: f0 05 beq LFA77 fa72: de 09 04 dec EnDelay,x fa75: d0 03 bne LFA7A fa77: 20 18 fa LFA77 jsr LFA18 fa7a: 4c 7c f9 LFA7A jmp LF97C fa7d: a6 4b LFA7D ldx PageIndex fa7f: bd 00 04 lda EnYRoomPos,x fa82: 85 02 sta $02 fa84: bd 01 04 lda EnXRoomPos,x fa87: 85 03 sta $03 fa89: bd fb 6a lda EnNameTable,x fa8c: 85 0b sta $0b fa8e: 4c 6a e9 jmp LE96A fa91: 20 18 fa TFA91 jsr LFA18 fa94: ad dc 95 lda L95CC+16 fa97: 20 8d f6 jsr LF68D fa9a: 4c 7c f9 jmp LF97C fa9d: a2 c0 LFA9D ldx #$c0 fa9f: 86 4b LFA9F stx PageIndex faa1: bd f4 6a lda Enstatus,x faa4: f0 03 beq LFAA9 faa6: 20 b4 fa jsr LFAB4 faa9: a5 4b LFAA9 lda PageIndex faab: 18 clc faac: 69 08 adc #$08 faae: aa tax faaf: c9 e0 cmp #$e0 fab1: d0 ec bne LFA9F fab3: 60 LFAB3 rts fab4: de 06 04 LFAB4 dec EnCounter,x fab7: d0 0f bne LFAC8 fab9: a9 0c lda #$0c fabb: 9d 06 04 sta EnCounter,x fabe: de 07 04 dec $0407,x fac1: 30 02 bmi LFAC5 fac3: d0 03 bne LFAC8 fac5: 20 18 fa LFAC5 jsr LFA18 fac8: bd 06 04 LFAC8 lda EnCounter,x facb: c9 09 cmp #$09 facd: d0 12 bne LFAE1 facf: bd 07 04 lda $0407,x fad2: 0a asl A fad3: a8 tay fad4: b9 ea fa lda LFAEA,y fad7: 85 04 sta $04 fad9: b9 eb fa lda LFAEB,y fadc: 85 05 sta $05 fade: 20 41 fa jsr LFA41 fae1: a9 80 LFAE1 lda #$80 fae3: 85 6b sta ObjectCntrl fae5: a9 03 lda #$03 fae7: 4c 7e f9 jmp LF97E faea: 00 LFAEA .dd1 $00 faeb: 00 LFAEB .dd1 $00 faec: 0c .dd1 $0c faed: 1c .dd1 $1c faee: 10 .dd1 $10 faef: f0 .dd1 $f0 faf0: f0 .dd1 $f0 faf1: 08 .dd1 $08 faf2: a0 18 LFAF2 ldy #$18 faf4: 20 ff fa LFAF4 jsr LFAFF faf7: a5 4b lda PageIndex faf9: 38 sec fafa: e9 08 sbc #$08 fafc: a8 tay fafd: d0 f5 bne LFAF4 faff: 84 4b LFAFF sty PageIndex fb01: be 28 07 ldx $0728,y fb04: e8 inx fb05: f0 ac beq LFAB3 fb07: be 29 07 ldx $0729,y fb0a: bd f4 6a lda Enstatus,x fb0d: f0 07 beq LFB16 fb0f: bd 05 04 lda EnCounter-1,x fb12: 29 02 and #$02 fb14: d0 71 bne LFB87 fb16: 9d 04 04 LFB16 sta $0404,x fb19: a9 ff lda #$ff fb1b: dd 02 6b cmp EnDataIndex,x fb1e: d0 50 bne LFB70 fb20: de 09 04 dec EnDelay,x fb23: d0 62 bne LFB87 fb25: b9 28 07 lda $0728,y fb28: 20 28 eb jsr LEB28 fb2b: a4 4b ldy PageIndex fb2d: b9 2a 07 lda $072a,y fb30: 9d 00 04 sta EnYRoomPos,x fb33: b9 2b 07 lda $072b,y fb36: 9d 01 04 sta EnXRoomPos,x fb39: b9 2c 07 lda $072c,y fb3c: 9d fb 6a sta EnNameTable,x fb3f: a9 18 lda #$18 fb41: 9d f6 6a sta EnRadX,x fb44: a9 0c lda #$0c fb46: 9d f5 6a sta EnRadY,x fb49: a0 00 ldy #$00 fb4b: 20 86 f1 jsr LF186 fb4e: 20 52 f1 jsr LF152 fb51: 20 bf f1 jsr LF1BF fb54: 20 fa f1 jsr LF1FA fb57: 90 2e bcc LFB87 fb59: a9 01 lda #$01 fb5b: 9d 09 04 sta EnDelay,x fb5e: 9d f4 6a sta Enstatus,x fb61: 25 49 and ScrollDir fb63: 0a asl A fb64: 9d 05 04 sta EnCounter-1,x fb67: bc 02 6b ldy EnDataIndex,x fb6a: 20 7b fb jsr LFB7B fb6d: 4c 5a f8 jmp LF85A fb70: 9d 02 6b LFB70 sta EnDataIndex,x fb73: a9 01 lda #$01 fb75: 9d 09 04 sta EnDelay,x fb78: 4c 18 fa jmp LFA18 fb7b: 20 b0 80 LFB7B jsr Brinstar80b0 fb7e: 7e 05 04 ror EnCounter-1,x fb81: b9 bb 96 lda L9601+186,y fb84: 9d 09 04 sta EnDelay,x fb87: 60 LFB87 rts fb88: a6 4b LFB88 ldx PageIndex fb8a: 20 44 f8 jsr LF844 fb8d: bd 01 6b lda EnDataIndex-1,x fb90: fe 03 6b inc $6b03,x fb93: de 03 6b dec $6b03,x fb96: d0 02 bne LFB9A fb98: 48 pha fb99: 68 pla fb9a: 10 03 LFB9A bpl LFB9F fb9c: 20 d4 c3 jsr LC3D4 fb9f: c9 08 LFB9F cmp #$08 fba1: 90 1c bcc LFBBF fba3: c9 10 cmp #$10 fba5: b0 e0 bcs LFB87 fba7: 98 tya fba8: 29 01 and #$01 fbaa: a8 tay fbab: b9 85 00 lda $0085,y fbae: dd f9 6a cmp EnResetAnimIndex,x fbb1: f0 d4 beq LFB87 fbb3: 9d fa 6a sta EnAnimIndex,x fbb6: de fa 6a dec EnAnimIndex,x fbb9: 9d f9 6a LFBB9 sta EnResetAnimIndex,x fbbc: 4c 93 f6 jmp LF693 fbbf: b9 3b 96 LFBBF lda L9601+58,y fbc2: dd f9 6a cmp EnResetAnimIndex,x fbc5: f0 c0 beq LFB87 fbc7: 4c 8d f6 jmp LF68D fbca: a6 4b LFBCA ldx PageIndex fbcc: 20 44 f8 jsr LF844 fbcf: b9 5b 96 lda L9601+90,y fbd2: dd f9 6a cmp EnResetAnimIndex,x fbd5: f0 b0 beq LFB87 fbd7: 9d f9 6a sta EnResetAnimIndex,x fbda: 4c 90 f6 jmp LF690 fbdd: a9 40 LFBDD lda #$40 fbdf: 85 4b sta PageIndex fbe1: a2 0c ldx #$0c fbe3: 20 ec fb LFBE3 jsr LFBEC fbe6: ca dex fbe7: ca dex fbe8: ca dex fbe9: ca dex fbea: d0 f7 bne LFBE3 fbec: b5 a0 LFBEC lda $a0,x fbee: f0 67 beq LFC57 fbf0: d6 a0 dec $a0,x fbf2: 8a txa fbf3: 4a lsr A fbf4: a8 tay fbf5: b9 5d fc lda LFC5D,y fbf8: 85 04 sta $04 fbfa: b9 5e fc lda LFC5E,y fbfd: 85 05 sta $05 fbff: b5 a1 lda $a1,x fc01: 85 08 sta $08 fc03: b5 a2 lda $a2,x fc05: 85 09 sta $09 fc07: b5 a3 lda $a3,x fc09: 85 0b sta $0b fc0b: 20 8f fd jsr LFD8F fc0e: 90 48 bcc LFC58 fc10: a5 08 lda $08 fc12: 95 a1 sta $a1,x fc14: 8d 4d 03 sta $034d fc17: a5 09 lda $09 fc19: 95 a2 sta $a2,x fc1b: 8d 4e 03 sta $034e fc1e: a5 0b lda $0b fc20: 29 01 and #$01 fc22: 95 a3 sta $a3,x fc24: 8d 4c 03 sta $034c fc27: b5 a3 lda $a3,x fc29: 8d 4c 03 sta $034c fc2c: a9 5a lda #$5a fc2e: 8d 43 03 sta $0343 fc31: 8a txa fc32: 48 pha fc33: 20 4a de jsr LDE4A fc36: a5 70 lda SamusBlink fc38: d0 1b bne LFC55 fc3a: a0 00 ldy #$00 fc3c: a2 40 ldx #$40 fc3e: 20 7f dc jsr LDC7F fc41: b0 12 bcs LFC55 fc43: 20 9c cd jsr LCD9C fc46: a0 00 ldy #$00 fc48: 90 0b bcc LFC55 fc4a: 18 clc fc4b: 20 11 f3 jsr LF311 fc4e: a9 50 lda #$50 fc50: 85 6e sta HealthLoChange fc52: 20 92 ce jsr LCE92 fc55: 68 LFC55 pla fc56: aa tax fc57: 60 LFC57 rts fc58: a9 00 LFC58 lda #$00 fc5a: 95 a0 sta $a0,x fc5c: 60 rts fc5d: 00 LFC5D .dd1 $00 fc5e: fb LFC5E .dd1 $fb fc5f: fb .dd1 $fb fc60: fe .dd1 $fe fc61: fb .dd1 $fb fc62: 02 .dd1 $02 fc63: 00 .dd1 $00 fc64: 05 .dd1 $05 fc65: ad e4 6b LFC65 lda $6be4 fc68: f0 2a beq LFC94 fc6a: a2 f0 ldx #$f0 fc6c: 86 4b stx PageIndex fc6e: ad e9 6b lda $6be9 fc71: cd e4 95 cmp L95CC+24 fc74: d0 1f bne LFC95 fc76: a9 03 lda #$03 fc78: 20 94 e0 jsr UpdateEnemyAnim fc7b: a5 2e lda RandomNumber1 fc7d: 85 8a sta $8a fc7f: a9 18 lda #$18 fc81: 48 LFC81 pha fc82: aa tax fc83: 20 98 fc jsr LFC98 fc86: 68 pla fc87: aa tax fc88: b5 b6 lda $b6,x fc8a: 29 f8 and #$f8 fc8c: 95 b6 sta $b6,x fc8e: 8a txa fc8f: 38 sec fc90: e9 08 sbc #$08 fc92: 10 ed bpl LFC81 fc94: 60 LFC94 rts fc95: 4c 18 fa LFC95 jmp LFA18 fc98: b5 b0 LFC98 lda $b0,x fc9a: 20 7c c2 jsr ChooseRoutine fc9d: 5c c4 .dd2 TC45C fc9f: a5 fc .dd2 TFCA5 fca1: b1 fc .dd2 TFCB1 fca3: ba fc .dd2 TFCBA fca5: 20 84 fd TFCA5 jsr LFD84 fca8: 20 08 fd jsr LFD08 fcab: 20 25 fd jsr LFD25 fcae: 4c 8b dd jmp LDD8B fcb1: 20 84 fd TFCB1 jsr LFD84 fcb4: 20 c1 fc jsr LFCC1 fcb7: 4c 8b dd jmp LDD8B fcba: a9 00 TFCBA lda #$00 fcbc: 95 b0 sta $b0,x fcbe: 4c b0 cb jmp LCBB0 fcc1: 20 5f fd LFCC1 jsr LFD5F fcc4: b5 b4 lda $b4,x fcc6: c9 02 cmp #$02 fcc8: b0 0b bcs LFCD5 fcca: a4 08 ldy $08 fccc: cc 0d 03 cpy ObjectY fccf: 90 04 bcc LFCD5 fcd1: 09 02 ora #$02 fcd3: 95 b4 sta $b4,x fcd5: a0 01 LFCD5 ldy #$01 fcd7: b5 b4 lda $b4,x fcd9: 4a lsr A fcda: 90 02 bcc LFCDE fcdc: a0 ff ldy #$ff fcde: 84 05 LFCDE sty $05 fce0: a0 04 ldy #$04 fce2: 4a lsr A fce3: b5 b5 lda $b5,x fce5: 90 02 bcc LFCE9 fce7: a0 fd ldy #$fd fce9: 84 04 LFCE9 sty $04 fceb: f6 b5 inc $b5,x fced: 20 8f fd jsr LFD8F fcf0: b0 06 bcs LFCF8 fcf2: b5 b4 lda $b4,x fcf4: 09 02 ora #$02 fcf6: 95 b4 sta $b4,x fcf8: 90 03 LFCF8 bcc LFCFD fcfa: 20 6c fd jsr LFD6C fcfd: b5 b5 LFCFD lda $b5,x fcff: c9 50 cmp #$50 fd01: 90 04 bcc LFD07 fd03: a9 01 lda #$01 fd05: 95 b0 sta $b0,x fd07: 60 LFD07 rts fd08: a9 00 LFD08 lda #$00 fd0a: 95 b5 sta $b5,x fd0c: a8 tay fd0d: ad 0e 03 lda ObjectX fd10: 38 sec fd11: f5 b2 sbc $b2,x fd13: 10 04 bpl LFD19 fd15: c8 iny fd16: 20 d4 c3 jsr LC3D4 fd19: c9 10 LFD19 cmp #$10 fd1b: b0 07 bcs LFD24 fd1d: 98 tya fd1e: 95 b4 sta $b4,x fd20: a9 02 lda #$02 fd22: 95 b0 sta $b0,x fd24: 60 LFD24 rts fd25: 8a LFD25 txa fd26: 4a lsr A fd27: 4a lsr A fd28: 4a lsr A fd29: 65 8a adc $8a fd2b: 85 8a sta $8a fd2d: 46 8a lsr $8a fd2f: 29 03 and #$03 fd31: a8 tay fd32: b9 5a fd lda LFD5A,y fd35: 85 04 sta $04 fd37: b9 5b fd lda LFD5B,y fd3a: 85 05 sta $05 fd3c: 20 5f fd jsr LFD5F fd3f: a5 08 lda $08 fd41: 38 sec fd42: e5 fc sbc ScrollY fd44: a8 tay fd45: a9 02 lda #$02 fd47: c0 20 cpy #$20 fd49: 90 07 bcc LFD52 fd4b: 20 d4 c3 jsr LC3D4 fd4e: c0 80 cpy #$80 fd50: 90 02 bcc LFD54 fd52: 85 04 LFD52 sta $04 fd54: 20 8f fd LFD54 jsr LFD8F fd57: 4c 6c fd jmp LFD6C fd5a: 02 LFD5A .dd1 $02 fd5b: fe LFD5B .dd1 $fe fd5c: 01 .dd1 $01 fd5d: ff .dd1 $ff fd5e: 02 .dd1 $02 fd5f: b5 b3 LFD5F lda $b3,x fd61: 85 0b sta $0b fd63: b5 b1 lda $b1,x fd65: 85 08 sta $08 fd67: b5 b2 lda $b2,x fd69: 85 09 sta $09 fd6b: 60 rts fd6c: a5 08 LFD6C lda $08 fd6e: 95 b1 sta $b1,x fd70: 8d f0 04 sta $04f0 fd73: a5 09 lda $09 fd75: 95 b2 sta $b2,x fd77: 8d f1 04 sta $04f1 fd7a: a5 0b lda $0b fd7c: 29 01 and #$01 fd7e: 95 b3 sta $b3,x fd80: 8d eb 6b sta $6beb fd83: 60 rts fd84: b5 b6 LFD84 lda $b6,x fd86: 29 04 and #$04 fd88: f0 04 beq LFD8E fd8a: a9 03 lda #$03 fd8c: 95 b0 sta $b0,x fd8e: 60 LFD8E rts fd8f: a5 49 LFD8F lda ScrollDir fd91: 29 02 and #$02 fd93: 85 02 sta $02 fd95: a5 04 lda $04 fd97: 18 clc fd98: 30 17 bmi LFDB1 fd9a: f0 23 beq LFDBF fd9c: 65 08 adc $08 fd9e: b0 04 bcs LFDA4 fda0: c9 f0 cmp #$f0 fda2: 90 08 bcc LFDAC fda4: 69 0f LFDA4 adc #$0f fda6: a4 02 ldy $02 fda8: d0 37 bne LFDE1 fdaa: e6 0b inc $0b fdac: 85 08 LFDAC sta $08 fdae: 4c bf fd jmp LFDBF fdb1: 65 08 LFDB1 adc $08 fdb3: b0 08 bcs LFDBD fdb5: e9 0f sbc #$0f fdb7: a4 02 ldy $02 fdb9: d0 26 bne LFDE1 fdbb: e6 0b inc $0b fdbd: 85 08 LFDBD sta $08 fdbf: a5 05 LFDBF lda $05 fdc1: 18 clc fdc2: 30 0f bmi LFDD3 fdc4: f0 19 beq LFDDF fdc6: 65 09 adc $09 fdc8: 90 06 bcc LFDD0 fdca: a4 02 ldy $02 fdcc: f0 13 beq LFDE1 fdce: e6 0b inc $0b fdd0: 4c dd fd LFDD0 jmp LFDDD fdd3: 65 09 LFDD3 adc $09 fdd5: b0 06 bcs LFDDD fdd7: a4 02 ldy $02 fdd9: f0 06 beq LFDE1 fddb: e6 0b inc $0b fddd: 85 09 LFDDD sta $09 fddf: 38 LFDDF sec fde0: 60 rts fde1: 18 LFDE1 clc fde2: 60 LFDE2 rts fde3: ad 0b 01 LFDE3 lda EndTimerHi fde6: c9 99 cmp #$99 fde8: d0 0f bne LFDF9 fdea: 18 clc fdeb: ed 0a 01 sbc EndTimerLo fdee: d0 09 bne LFDF9 fdf0: 85 06 sta $06 fdf2: a9 38 lda #$38 fdf4: 85 07 sta $07 fdf6: 20 54 dc jsr LDC54 fdf9: a2 20 LFDF9 ldx #$20 fdfb: 20 05 fe LFDFB jsr LFE05 fdfe: 8a txa fdff: 38 sec fe00: e9 08 sbc #$08 fe02: aa tax fe03: d0 f6 bne LFDFB fe05: bd 58 07 LFE05 lda $0758,x fe08: 38 sec fe09: e9 02 sbc #$02 fe0b: d0 d5 bne LFDE2 fe0d: 85 06 sta $06 fe0f: fe 58 07 inc $0758,x fe12: 8a txa fe13: 4a lsr A fe14: 69 3c adc #$3c fe16: 85 07 sta $07 fe18: 4c 54 dc jmp LDC54 fe1b: a2 c0 LFE1B ldx #$c0 fe1d: 20 27 fe LFE1D jsr LFE27 fe20: a6 4b ldx PageIndex fe22: 20 f4 f1 jsr LF1F4 fe25: d0 f6 bne LFE1D fe27: 86 4b LFE27 stx PageIndex fe29: bd 00 05 lda TileRoutine,x fe2c: f0 4a beq LFE78 fe2e: 20 7c c2 jsr ChooseRoutine fe31: 5c c4 .dd2 TC45C fe33: 3d fe .dd2 TFE3D fe35: 54 fe .dd2 TFE54 fe37: 59 fe .dd2 TFE59 fe39: 54 fe .dd2 TFE54 fe3b: 83 fe .dd2 TFE83 fe3d: fe 00 05 TFE3D inc TileRoutine,x fe40: a9 00 lda #$00 fe42: 20 6d fe jsr LFE6D fe45: a9 50 lda #$50 fe47: 9d 07 05 sta TileDelay,x fe4a: bd 08 05 lda TileWRAMLo,x fe4d: 85 00 sta $00 fe4f: bd 09 05 lda TileWRAMHi,x fe52: 85 01 sta $01 fe54: a9 02 TFE54 lda #$02 fe56: 4c 54 ff jmp LFF54 fe59: a5 2d TFE59 lda FrameCount fe5b: 29 03 and #$03 fe5d: d0 19 bne LFE78 fe5f: de 07 05 dec TileDelay,x fe62: d0 14 bne LFE78 fe64: fe 00 05 inc TileRoutine,x fe67: bc 0a 05 ldy TileType,x fe6a: b9 79 fe lda LFE79,y fe6d: 9d 06 05 LFE6D sta TileAnimIndex,x fe70: 9d 05 05 sta TileAnimIndex-1,x fe73: a9 00 lda #$00 fe75: 9d 04 05 sta TileAnimDelay,x fe78: 60 LFE78 rts fe79: 18 1c 20 00+ LFE79 .bulk $18,$1c,$20,$00,$04,$08,$0c,$10,$24,$14 fe83: a9 00 TFE83 lda #$00 fe85: 9d 00 05 sta TileRoutine,x fe88: bd 08 05 lda TileWRAMLo,x fe8b: 18 clc fe8c: 69 21 adc #$21 fe8e: 85 00 sta $00 fe90: bd 09 05 lda TileWRAMHi,x fe93: 85 01 sta $01 fe95: 20 3c ff jsr LFF3C fe98: a5 02 lda $02 fe9a: 85 07 sta $07 fe9c: a5 03 lda $03 fe9e: 85 09 sta $09 fea0: a5 01 lda $01 fea2: 4a lsr A fea3: 4a lsr A fea4: 29 01 and #$01 fea6: 85 0b sta $0b fea8: a0 00 ldy #$00 feaa: 20 86 f1 jsr LF186 fead: a9 04 lda #$04 feaf: 18 clc feb0: 6d 01 03 adc ObjRadY feb3: 85 04 sta $04 feb5: a9 04 lda #$04 feb7: 18 clc feb8: 6d 02 03 adc ObjRadX febb: 85 05 sta $05 febd: 20 fa f1 jsr LF1FA fec0: b0 19 bcs LFEDB fec2: 20 11 f3 jsr LF311 fec5: a9 50 lda #$50 fec7: 85 6e sta HealthLoChange fec9: 4c 92 ce jmp LCE92 fecc: bd 03 05 LFECC lda TileAnimFrame,x fecf: 0a asl A fed0: a8 tay fed1: b9 af 97 lda L9601+$1ae,y fed4: 85 02 sta $02 fed6: b9 b0 97 lda L9601+$1af,y fed9: 85 03 sta $03 fedb: 60 LFEDB rts fedc: ad a0 07 LFEDC lda PPUStrIndex fedf: c9 1f cmp #$1f fee1: b0 f8 bcs LFEDB fee3: a6 4b ldx PageIndex fee5: bd 08 05 lda TileWRAMLo,x fee8: 85 00 sta $00 feea: bd 09 05 lda TileWRAMHi,x feed: 85 01 sta $01 feef: 20 cc fe jsr LFECC fef2: a0 00 ldy #$00 fef4: 84 11 sty $11 fef6: b1 02 lda ($02),y fef8: aa tax fef9: 20 bf c2 jsr LC2BF fefc: 85 04 sta $04 fefe: 8a txa feff: 29 0f and #$0f ff01: 85 05 sta $05 ff03: c8 iny ff04: 84 10 sty $10 ff06: a6 05 LFF06 ldx $05 ff08: a4 10 LFF08 ldy $10 ff0a: b1 02 lda ($02),y ff0c: e6 10 inc $10 ff0e: a4 11 ldy $11 ff10: 91 00 sta ($00),y ff12: e6 11 inc $11 ff14: ca dex ff15: d0 f1 bne LFF08 ff17: a5 11 lda $11 ff19: 18 clc ff1a: 69 20 adc #$20 ff1c: 38 sec ff1d: e5 05 sbc $05 ff1f: 85 11 sta $11 ff21: c6 04 dec $04 ff23: d0 e1 bne LFF06 ff25: a5 01 lda $01 ff27: 29 04 and #$04 ff29: f0 06 beq LFF31 ff2b: a5 01 lda $01 ff2d: 09 0c ora #$0c ff2f: 85 01 sta $01 ff31: a5 01 LFF31 lda $01 ff33: 29 2f and #$2f ff35: 85 01 sta $01 ff37: 20 28 c3 jsr LC328 ff3a: 18 clc ff3b: 60 rts ff3c: a5 00 LFF3C lda $00 ff3e: a8 tay ff3f: 29 e0 and #$e0 ff41: 85 02 sta $02 ff43: a5 01 lda $01 ff45: 4a lsr A ff46: 66 02 ror $02 ff48: 4a lsr A ff49: 66 02 ror $02 ff4b: 98 tya ff4c: 29 1f and #$1f ff4e: 20 c6 c2 jsr LC2C6 ff51: 85 03 sta $03 ff53: 60 rts ff54: a6 4b LFF54 ldx PageIndex ff56: bc 04 05 ldy TileAnimDelay,x ff59: f0 05 beq LFF60 ff5b: de 04 05 dec TileAnimDelay,x ff5e: d0 1f bne LFF7F ff60: 9d 04 05 LFF60 sta TileAnimDelay,x ff63: bc 06 05 ldy TileAnimIndex,x ff66: b9 86 ff lda LFF86,y ff69: c9 fe cmp #$fe ff6b: f0 13 beq LFF80 ff6d: 9d 03 05 sta TileAnimFrame,x ff70: c8 iny ff71: 98 tya ff72: 9d 06 05 sta TileAnimIndex,x ff75: 20 dc fe jsr LFEDC ff78: 90 05 bcc LFF7F ff7a: a6 4b ldx PageIndex ff7c: de 06 05 dec TileAnimIndex,x ff7f: 60 LFF7F rts ff80: fe 00 05 LFF80 inc TileRoutine,x ff83: 68 pla ff84: 68 pla ff85: 60 rts ff86: 06 07 00 fe LFF86 .bulk $06,$07,$00,$fe ff8a: 07 06 01 fe .bulk $07,$06,$01,$fe ff8e: 07 06 02 fe .bulk $07,$06,$02,$fe ff92: 07 06 03 fe .bulk $07,$06,$03,$fe ff96: 07 06 04 fe .bulk $07,$06,$04,$fe ff9a: 07 06 05 fe .bulk $07,$06,$05,$fe ff9e: 07 06 09 fe .bulk $07,$06,$09,$fe ffa2: 07 06 0a fe .bulk $07,$06,$0a,$fe ffa6: 07 06 0b fe .bulk $07,$06,$0b,$fe ffaa: 07 06 08 fe .bulk $07,$06,$08,$fe ffae: 00 .dd1 $00 ffaf: 00 .dd1 $00 ffb0: 78 RESET sei ffb1: d8 cld ffb2: a2 00 ldx #$00 ffb4: 8e 00 20 stx PPUControl0 ffb7: 8e 01 20 stx PPUControl1 ffba: ad 02 20 LFFBA lda PPUStatus ffbd: 10 fb bpl LFFBA ffbf: ad 02 20 LFFBF lda PPUStatus ffc2: 10 fb bpl LFFBF ffc4: 09 ff ora #$ff ffc6: 8d 00 80 sta MMC1Reg0 ffc9: 8d 00 a0 sta MMC1Reg1 ffcc: 8d 00 c0 sta MMC1Reg2 ffcf: 8d 00 e0 sta MMC1Reg3 ffd2: 4c 1a c0 jmp Startup ffd5: ff ff ff 4c+ .junk 37 fffa: d9 c0 .dd2 NMI fffc: b0 ff .dd2 RESET fffe: b0 ff .dd2 RESET .adrend β $c000
No exported symbols found.