RAM_Map_YI.asm
Yoshifanatic1_Yoshi-s-Island-Disassembly/YI/RAM_Map_YI.asm

!RAM_YI_Level_LevelDataPtrLo = $000032
!RAM_YI_Level_LevelDataPtrHi = !RAM_YI_Level_LevelDataPtrLo+$01
!RAM_YI_Level_LevelDataPtrBank = !RAM_YI_Level_LevelDataPtrLo+$02

!RAM_YI_Global_Layer1XPosLo = $000039|!SRAMBankBaseAddress
!RAM_YI_Global_Layer1XPosHi = !RAM_YI_Global_Layer1XPosLo+$01
!RAM_YI_Global_Layer1YPosLo = $00003B|!SRAMBankBaseAddress
!RAM_YI_Global_Layer1YPosHi = !RAM_YI_Global_Layer1YPosLo+$01
!RAM_YI_Global_Layer2XPosLo = $00003D|!SRAMBankBaseAddress
!RAM_YI_Global_Layer2XPosHi = !RAM_YI_Global_Layer2XPosLo+$01
!RAM_YI_Global_Layer2YPosLo = $00003F|!SRAMBankBaseAddress
!RAM_YI_Global_Layer2YPosHi = !RAM_YI_Global_Layer2YPosLo+$01
!RAM_YI_Global_Layer3XPosLo = $000041|!SRAMBankBaseAddress
!RAM_YI_Global_Layer3XPosHi = !RAM_YI_Global_Layer3XPosLo+$01
!RAM_YI_Global_Layer3YPosLo = $000043|!SRAMBankBaseAddress
!RAM_YI_Global_Layer3YPosHi = !RAM_YI_Global_Layer3YPosLo+$01
!RAM_YI_Global_Layer4XPosLo = $000045|!SRAMBankBaseAddress
!RAM_YI_Global_Layer4XPosHi = !RAM_YI_Global_Layer4XPosLo+$01
!RAM_YI_Global_Layer4YPosLo = $000047|!SRAMBankBaseAddress
!RAM_YI_Global_Layer4YPosHi = !RAM_YI_Global_Layer4YPosLo+$01

!RAM_YI_Global_PlayMusicLo = $00004D
!RAM_YI_Global_PlayMusicHi = !RAM_YI_Global_PlayMusicLo+$01
!RAM_YI_Global_PreviousMusicLo = $00004F
!RAM_YI_Global_PreviousMusicHi = !RAM_YI_Global_PreviousMusicLo+$01

!RAM_YI_Global_PlaySoundHighPriorityLo = $000053
!RAM_YI_Global_PlaySoundHighPriorityHi = !RAM_YI_Global_PlaySoundHighPriorityLo+$01
!RAM_YI_Global_PreviousHighPrioritySoundLo = $000055
!RAM_YI_Global_PreviousHighPrioritySoundHi = !RAM_YI_Global_PreviousHighPrioritySoundLo+$01
!RAM_YI_Global_SoundQueueSizeLo = $000057
!RAM_YI_Global_SoundQueueSizeHi = !RAM_YI_Global_SoundQueueSizeLo+$01
!RAM_YI_Global_SoundQueue = $000059

!RAM_YI_Global_CurrentGameMode = $000118

!RAM_YI_Level_LevelHeaderBackgroundColorLo = $000134
!RAM_YI_Level_LevelHeaderBackgroundColorHi = !RAM_YI_Level_LevelHeaderBackgroundColorLo+$01
!RAM_YI_Level_LevelHeaderBG1TilesetLo = $000136
!RAM_YI_Level_LevelHeaderBG1TilesetHi = !RAM_YI_Level_LevelHeaderBG1TilesetLo+$01
!RAM_YI_Level_LevelHeaderBG1PaletteLo = $000138
!RAM_YI_Level_LevelHeaderBG1PaletteHi = !RAM_YI_Level_LevelHeaderBG1PaletteLo+$01
!RAM_YI_Level_LevelHeaderBG2TilesetLo = $00013A
!RAM_YI_Level_LevelHeaderBG2TilesetHi = !RAM_YI_Level_LevelHeaderBG2TilesetLo+$01
!RAM_YI_Level_LevelHeaderBG2PaletteLo = $00013C
!RAM_YI_Level_LevelHeaderBG2PaletteHi = !RAM_YI_Level_LevelHeaderBG2PaletteLo+$01
!RAM_YI_Level_LevelHeaderBG3TilesetLo = $00013E
!RAM_YI_Level_LevelHeaderBG3TilesetHi = !RAM_YI_Level_LevelHeaderBG3TilesetLo+$01
!RAM_YI_Level_LevelHeaderBG3PaletteLo = $000140
!RAM_YI_Level_LevelHeaderBG3PaletteHi = !RAM_YI_Level_LevelHeaderBG3PaletteLo+$01
!RAM_YI_Level_LevelHeaderSpriteTilesetLo = $000142
!RAM_YI_Level_LevelHeaderSpriteTilesetHi = !RAM_YI_Level_LevelHeaderSpriteTilesetLo+$01
!RAM_YI_Level_LevelHeaderSpritePaletteLo = $000144
!RAM_YI_Level_LevelHeaderSpritePaletteHi = !RAM_YI_Level_LevelHeaderSpritePaletteLo+$01
!RAM_YI_Level_LevelHeaderLevelModeLo = $000146
!RAM_YI_Level_LevelHeaderLevelModeHi = !RAM_YI_Level_LevelHeaderLevelModeLo+$01
!RAM_YI_Level_LevelHeaderAnimationTilesetLo = $000148
!RAM_YI_Level_LevelHeaderAnimationTilesetHi = !RAM_YI_Level_LevelHeaderAnimationTilesetLo+$01
!RAM_YI_Level_LevelHeaderAnimationPaletteLo = $00014A
!RAM_YI_Level_LevelHeaderAnimationPaletteHi = !RAM_YI_Level_LevelHeaderAnimationPaletteLo+$01
!RAM_YI_Level_LevelHeaderBGScrollSettingLo = $00014C
!RAM_YI_Level_LevelHeaderBGScrollSettingHi = !RAM_YI_Level_LevelHeaderBGScrollSettingLo+$01
!RAM_YI_Level_LevelHeaderMusicSettingLo = $00014E
!RAM_YI_Level_LevelHeaderMusicSettingHi = !RAM_YI_Level_LevelHeaderMusicSettingLo+$01
!RAM_YI_Level_LevelHeaderItemMemorySettingLo = $000150
!RAM_YI_Level_LevelHeaderItemMemorySettingHi = !RAM_YI_Level_LevelHeaderItemMemorySettingLo+$01
!RAM_YI_Level_UnusedLevelHeaderSettingLo = $000152
!RAM_YI_Level_UnusedLevelHeaderSettingHi = !RAM_YI_Level_UnusedLevelHeaderSettingLo+$01

!RAM_YI_Level_CurrentBonusGame = $000212

!RAM_YI_Level_FinalWorldUnlockedFlagLo = $000216
!RAM_YI_Level_FinalWorldUnlockedFlagHi = !RAM_YI_Level_FinalWorldUnlockedFlagLo+$01
!RAM_YI_Level_CurrentWorldLo = $000218
!RAM_YI_Level_CurrentWorldHi = !RAM_YI_Level_CurrentWorldLo+$01
!RAM_YI_Level_CurrentLevelFromMapLo = $00021A
!RAM_YI_Level_CurrentLevelFromMapHi = !RAM_YI_Level_CurrentLevelFromMapLo+$01

!RAM_YI_Map_LevelClearFlags = $000222

!RAM_YI_Map_LevelHighScores = $0002B8

!RAM_YI_Global_CurrentSaveFile = $00030E

!RAM_YI_Level_PauseMenuItemInventory = $000357

!RAM_YI_Level_TutorialMessageFlagsLo = $000372
!RAM_YI_Level_TutorialMessageFlagsHi = !RAM_YI_Level_TutorialMessageFlagsLo+$01

!RAM_YI_Level_CurrentLifeCountLo = $000379
!RAM_YI_Level_CurrentLifeCountHi = !RAM_YI_Level_CurrentLifeCountLo+$01
!RAM_YI_Level_CurrentCoinCountLo = $00037B
!RAM_YI_Level_CurrentCoinCountHi = !RAM_YI_Level_CurrentCoinCountLo+$01
!RAM_YI_Level_DeathsInCurrentLevelLo = $00037D
!RAM_YI_Level_DeathsInCurrentLevelHi = !RAM_YI_Level_DeathsInCurrentLevelLo+$01
!RAM_YI_Level_1upsCollectedInCurrentLevelLo = $00037F
!RAM_YI_Level_1upsCollectedInCurrentLevelHi = !RAM_YI_Level_1upsCollectedInCurrentLevelLo+$01

!RAM_YI_Level_CurrentYoshiColorLo = $000383
!RAM_YI_Level_CurrentYoshiColorHi = !RAM_YI_Level_CurrentYoshiColorLo+$01
!RAM_YI_Level_DoBonusChallengeFlagLo = $000385
!RAM_YI_Level_DoBonusChallengeFlagHi = !RAM_YI_Level_DoBonusChallengeFlagLo+$01

!RAM_YI_Level_ItemBeingUsed = $000398

!RAM_YI_Level_StarTimerBelow10Flag = $0003AB
!RAM_YI_Level_MiddleRingsTouchedLo = $0003AC
!RAM_YI_Level_MiddleRingsTouchedHi = !RAM_YI_Level_MiddleRingsTouchedLo+$01
!RAM_YI_Level_BossHasBeenVisitedBeforeFlagLo = $0003AE
!RAM_YI_Level_BossHasBeenVisitedBeforeFlagHi = !RAM_YI_Level_BossHasBeenVisitedBeforeFlagLo+$01
!RAM_YI_Level_BabyBowerHasBeenVisitedBeforeFlagLo = $0003B0
!RAM_YI_Level_BabyBowerHasBeenVisitedBeforeFlagHi = !RAM_YI_Level_BabyBowerHasBeenVisitedBeforeFlagLo+$01

!RAM_YI_Level_RedCoinsCollectedLo = $0003B4
!RAM_YI_Level_RedCoinsCollectedHi = !RAM_YI_Level_RedCoinsCollectedLo+$01
!RAM_YI_Level_StarTimerLo = $0003B6
!RAM_YI_Level_StarTimerHi = !RAM_YI_Level_StarTimerLo+$01
!RAM_YI_Level_FlowersCollectedLo = $0003B8
!RAM_YI_Level_FlowersCollectedHi = !RAM_YI_Level_FlowersCollectedLo+$01

!RAM_YI_Level_CurrentItemMemoryPageLo = $0003BE
!RAM_YI_Level_CurrentItemMemoryPageHi = !RAM_YI_Level_CurrentItemMemoryPageLo+$01

!RAM_YI_Global_HDMAEnable = $00094A
!RAM_YI_Global_OAMSizeAndDataAreaDesignation = $00094B
!RAM_YI_Global_BGWindowLogicSettings = $00094C
!RAM_YI_Global_ColorAndObjectWindowLogicSettings = !RAM_YI_Global_BGWindowLogicSettings+$01
!RAM_YI_Global_Mode7TilemapSettings = $00094E
!RAM_YI_Global_Mode7MatrixParameterALo = $00094F
!RAM_YI_Global_Mode7MatrixParameterAHi = !RAM_YI_Global_Mode7MatrixParameterALo+$01
!RAM_YI_Global_Mode7MatrixParameterBLo = $000951
!RAM_YI_Global_Mode7MatrixParameterBHi = !RAM_YI_Global_Mode7MatrixParameterBLo+$01
!RAM_YI_Global_Mode7MatrixParameterCLo = $000953
!RAM_YI_Global_Mode7MatrixParameterCHi = !RAM_YI_Global_Mode7MatrixParameterCLo+$01
!RAM_YI_Global_Mode7MatrixParameterDLo = $000955
!RAM_YI_Global_Mode7MatrixParameterDHi = !RAM_YI_Global_Mode7MatrixParameterDLo+$01
!RAM_YI_Global_Mode7CenterXLo = $000957
!RAM_YI_Global_Mode7CenterXHi = !RAM_YI_Global_Mode7CenterXLo+$01
!RAM_YI_Global_Mode7CenterYLo = $000959
!RAM_YI_Global_Mode7CenterYHi = !RAM_YI_Global_Mode7CenterYLo+$01
!RAM_YI_Global_MosaicSizeAndBGEnable = $00095B
;Empty $00095C-$00095D
!RAM_YI_Global_BGModeAndTileSizeSetting = $00095E
!RAM_YI_Global_BG1AddressAndSize = $00095F
!RAM_YI_Global_BG2AddressAndSize = $000960
!RAM_YI_Global_BG3AddressAndSize = $000961
!RAM_YI_Global_BG1And2TileDataDesignation = $000962
!RAM_YI_Global_BG3And4TileDataDesignation = !RAM_YI_Global_BG1And2TileDataDesignation+$01
!RAM_YI_Global_BG1And2WindowMaskSettings = $000964
!RAM_YI_Global_BG3And4WindowMaskSettings = !RAM_YI_Global_BG1And2WindowMaskSettings+$01
!RAM_YI_Global_ObjectAndColorWindowSettings = $000966
!RAM_YI_Global_MainScreenLayers = $000967
!RAM_YI_Global_SubScreenLayers = $000968
!RAM_YI_Global_MainScreenWindowMask = $000969
!RAM_YI_Global_SubScreenWindowMask = $00096A
!RAM_YI_Global_ColorMathInitialSettings = $00096B
!RAM_YI_Global_ColorMathSelectAndEnable = $00096C

!RAM_YI_Level_CurrentPauseScreenState = $000B0F
!RAM_YI_Level_ActivePauseScreenFlag = $000B10

!RAM_YI_Level_CantUseItemsFlagLo = $000B48
!RAM_YI_Level_CantUseItemsFlagHi = !RAM_YI_Level_CantUseItemsFlagLo+$01

!RAM_YI_Level_TouchedFuzzyMosaicTimerLo = $000B55
!RAM_YI_Level_TouchedFuzzyMosaicTimerHi = !RAM_YI_Level_TouchedFuzzyMosaicTimerLo+$01

!RAM_YI_Level_NorSpr_GustyGeneratorActiveFlagLo = $000C3A
!RAM_YI_Level_NorSpr_GustyGeneratorActiveFlagHi = !RAM_YI_Level_NorSpr_GustyGeneratorActiveFlagLo+$01
!RAM_YI_Level_NorSpr_LakituActiveFlagLo = $000C3C
!RAM_YI_Level_NorSpr_LakituActiveFlagHi = !RAM_YI_Level_LakituActiveFlagLo+$01
!RAM_YI_Level_NorSpr_FuzzyGeneratorActiveFlagLo = $000C3E
!RAM_YI_Level_NorSpr_FuzzyGeneratorActiveFlagHi = !RAM_YI_Level_FuzzyGeneratorActiveFlagLo+$01

!RAM_YI_Level_NorSpr_PoochyExistsFlagLo = $000C46
!RAM_YI_Level_NorSpr_PoochyExistsFlagHi = !RAM_YI_Level_PoochyExistsFlagLo+$01
!RAM_YI_Level_NorSpr_BatGeneratorActiveFlagLo = $000C48
!RAM_YI_Level_NorSpr_BatGeneratorActiveFlagHi = !RAM_YI_Level_BatGeneratorActiveFlagLo+$01
!RAM_YI_Level_NorSpr_SpawnedBatGeneratorBatsLo = $000C4A
!RAM_YI_Level_NorSpr_SpawnedBatGeneratorBatsHi = !RAM_YI_Level_SpawnedBatGeneratorBatsLo+$01

!RAM_YI_Level_NorSpr_FireLakituActiveFlagLo = $000C68
!RAM_YI_Level_NorSpr_FireLakituActiveFlagHi = !RAM_YI_Level_FireLakituActiveFlagLo+$01

!RAM_YI_Level_NorSpr_NipperSporeGeneratorActiveFlagLo = $000C6E
!RAM_YI_Level_NorSpr_NipperSporeGeneratorActiveFlagHi = !RAM_YI_Level_NipperSporeGeneratorActiveFlagLo+$01
!RAM_YI_Level_NorSpr_PokeyBalloonGeneratorActiveFlagLo = $000C70
!RAM_YI_Level_NorSpr_PokeyBalloonGeneratorActiveFlagHi = !RAM_YI_Level_PokeyBalloonGeneratorActiveFlagLo+$01
!RAM_YI_Level_NorSpr_MissileBalloonGeneratorActiveFlagLo = $000C72
!RAM_YI_Level_NorSpr_MissileBalloonGeneratorActiveFlagHi = !RAM_YI_Level_MissileBalloonGeneratorActiveFlagLo+$01
!RAM_YI_Level_NorSpr_BalloonGeneratorActiveFlagLo = $000C74
!RAM_YI_Level_NorSpr_BalloonGeneratorActiveFlagHi = !RAM_YI_Level_BalloonGeneratorActiveFlagLo+$01
!RAM_YI_Level_NorSpr_PlatformGeneratorActiveFlagLo = $000C76
!RAM_YI_Level_NorSpr_PlatformGeneratorActiveFlagHi = !RAM_YI_Level_PlatformGeneratorActiveFlagLo+$01
!RAM_YI_Level_NorSpr_SlimeGeneratorActiveFlagLo = $000C78
!RAM_YI_Level_NorSpr_SlimeGeneratorActiveFlagHi = !RAM_YI_Level_SlimeGeneratorActiveFlagLo+$01

!RAM_YI_Level_RedSwitchTimer = $000CEC

!RAM_YI_Level_PauseScreenCursorLoc1 = $000CF4
!RAM_YI_Level_PauseScreenCursorLoc2 = $000CF5

!RAM_YI_Level_FuzzyEffectAmplitudeLo = $000CFF
!RAM_YI_Level_FuzzyEffectAmplitudeHi = !RAM_YI_Level_FuzzyEffectAmplitudeLo+$01
!RAM_YI_Level_FuzzyEffectPositionOffsetLo = $000D01
!RAM_YI_Level_FuzzyEffectPositionOffsetHi = !RAM_YI_Level_FuzzyEffectPositionOffsetLo+$01
!RAM_YI_Level_FuzzyEffectFrameCounterLo = $000D03
!RAM_YI_Level_FuzzyEffectFrameCounterHi = !RAM_YI_Level_FuzzyEffectFrameCounterLo+$01

!RAM_YI_Level_MessageBoxState = $000D0F

!RAM_YI_Level_FreeMovementFlag = $0010DA

!RAM_YI_Map_RunningYoshiIndex = $00112E

!RAM_YI_Global_MainRAMCodeBlock = (YI_MainRAMCodeBlock&$00FFFF)|$7E0000				; $7EC000

!RAM_YI_Global_VBlankRt = (YI_VBlankRt-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_DATA_00C1EC = (DATA_00C1EC-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_DATA_00C1F8 = (DATA_00C1F8-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_DATA_00C204 = (DATA_00C204-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_IRQRt = (YI_IRQRt-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_DATA_00CA80 = (DATA_00CA80-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_DATA_00CA8C = (DATA_00CA8C-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_DATA_00CA98 = (DATA_00CA98-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_DATA_00CC58 = (DATA_00CC58-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_DATA_00D2C2 = (DATA_00D2C2-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock

!RAM_YI_Global_RT_00DE47 = (CODE_00DE47-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_RT_00DE67 = (CODE_00DE67-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_RT_00DE91 = (CODE_00DE91-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_RT_00DECF = (CODE_00DECF-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_RT_00E152 = (CODE_00E152-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock
!RAM_YI_Global_BeginSuperFXProcessingRt = (YI_BeginSuperFXProcessingRt-YI_MainRAMCodeBlock)+!RAM_YI_Global_MainRAMCodeBlock

!RAM_YI_TitleScreen_IslandDecorationGFXBuffer = $7F56DE

!RAM_YI_Level_LevelDataBuffer = $7F8000

