diff options
author | pikalaxalt <PikalaxALT@gmail.com> | 2016-06-17 15:45:52 -0400 |
---|---|---|
committer | pikalaxalt <PikalaxALT@gmail.com> | 2016-06-17 15:45:52 -0400 |
commit | f42efcae5d223bb89bb103492a91801b49947bc4 (patch) | |
tree | 9fa9b1560828fb0449d2ac520127365a08ff28d3 | |
parent | 13ff559c04f47db5ed1afbf7eeddc7c6a47ffc8f (diff) |
More of HOME
-rw-r--r-- | home.asm | 98 | ||||
-rw-r--r-- | home/flag.asm | 33 | ||||
-rw-r--r-- | home/map.asm | 12 | ||||
-rw-r--r-- | home/menu.asm | 2 | ||||
-rw-r--r-- | home/string.asm | 37 | ||||
-rw-r--r-- | home/window.asm | 65 | ||||
-rw-r--r-- | main.asm | 20 | ||||
-rw-r--r-- | wram.asm | 261 |
8 files changed, 163 insertions, 365 deletions
@@ -33,37 +33,92 @@ INCLUDE "home/handshake.asm" INCLUDE "home/game_time.asm" INCLUDE "home/map.asm" -Function2e16:: ; 2e16 -; Inexplicably blank -; Seen in predef pointers -rept 16 +InexplicablyEmptyFunction:: ; 2e16 +; Inexplicably empty. +; Seen in PredefPointers. + rept 16 nop -endr + endr ret INCLUDE "home/farcall.asm" INCLUDE "home/predef.asm" +INCLUDE "home/window.asm" +INCLUDE "home/flag.asm" + +Function2f7b:: + ld a, [wMonStatusFlags] + bit 1, a + ret z + ld a, [hJoyDown] + bit 1, a + ret -Function2e80:: ; 2e6c (0:2e6c) - dr $2e80, $2ef1 +xor_a:: + xor a + ret -Function2ef1:: - dr $2ef1, $2f10 +xor_a_dec_a:: + xor a + dec a + ret -Function2f10:: - dr $2f10, $2f16 +Function2f8b:: + push hl + ld hl, wMonStatusFlags + bit 1, [hl] + pop hl + ret -Function2f16:: - dr $2f16, $2f1d +DisableSpriteUpdates:: ; 2f93 (0:2f93) + xor a + ld [hMapAnims], a + ld a, [wVramState] + res 0, a + ld [wVramState], a + ld a, $0 + ld [wRTCEnabled], a + ret -Function2f1d:: - dr $2f1d, $2f93 +EnableSpriteUpdates:: ; 2fa4 (0:2fa4) + ld a, $1 + ld [wRTCEnabled], a + ld a, [wVramState] + set 0, a + ld [wVramState], a + ld a, $1 + ld [hMapAnims], a + ret + +INCLUDE "home/string.asm" + +IsInJohto:: + ld a, [wMapGroup] + ld b, a + ld a, [wMapNumber] + ld c, a + call GetWorldMapLocation + cp $5e + jr z, .asm_2ff9 + cp $0 + jr nz, .asm_2ff5 + ld a, [wd9f6] + ld b, a + ld a, [wd9f7] + ld c, a + call GetWorldMapLocation +.asm_2ff5 + cp $2e + jr nc, .asm_2ffb +.asm_2ff9 + xor a + ret -Function2f93:: - dr $2f93, $2fa4 +.asm_2ffb + ld a, $1 + ret -Function2fa4:: - dr $2fa4, $30e1 + dr $2ffe, $30e1 OpenSRAM:: dr $30e1, $30f1 @@ -128,7 +183,10 @@ Function3456:: dr $3456, $3472 ApplyTilemap:: - dr $3472, $3564 + dr $3472, $348e + +Function348e:: + dr $348e, $3564 Function3564:: dr $3564, $3583 diff --git a/home/flag.asm b/home/flag.asm index 099f4bf0..3d144ba7 100644 --- a/home/flag.asm +++ b/home/flag.asm @@ -1,39 +1,35 @@ -ResetMapBufferEventFlags:: ; 2e50 +ResetMapBufferEventFlags:: ; 2f10 (0:2f10) xor a - ld hl, EventFlags + ld hl, wEventFlags ld [hli], a ret -; 2e56 -ResetBikeFlags:: ; 2e56 +ResetBikeFlags:: ; 2f16 (0:2f16) xor a - ld hl, BikeFlags + ld hl, wBikeFlags ld [hli], a ld [hl], a ret -; 2e5d -ResetFlashIfOutOfCave:: ; 2e5d +ResetFlashIfOutOfCave:: ; 2f1d (0:2f1d) ld a, [wPermission] cp $2 - jr z, .asm_2e69 + jr z, .asm_2f29 cp $1 - jr z, .asm_2e69 + jr z, .asm_2f29 ret -.asm_2e69 - ld hl, StatusFlags +.asm_2f29 + ld hl, wStatusFlags res 2, [hl] ret -; 2e6f - -EventFlagAction:: ; 0x2e6f - ld hl, EventFlags +EventFlagAction:: + ld hl, wEventFlags call FlagAction ret -FlagAction:: ; 0x2e76 +FlagAction:: ; 2f36 (0:2f36) ; Perform action b on bit de in flag array hl. ; inputs: @@ -99,14 +95,11 @@ FlagAction:: ; 0x2e76 and [hl] ld [hl], a ret -; 0x2ead - -CheckReceivedDex:: ; 2ead +CheckReceivedDex:: ld de, ENGINE_POKEDEX ld b, CHECK_FLAG callba EngineFlagAction ld a, c and a ret -; 2ebb diff --git a/home/map.asm b/home/map.asm index 8dee046f..5da4d27d 100644 --- a/home/map.asm +++ b/home/map.asm @@ -194,10 +194,10 @@ ReturnToMapFromSubmenu:: Function2086:: call Clear_wc6e8 - call Function2f10 - call Function2f1d + call ResetMapBufferEventFlags + call ResetFlashIfOutOfCave call GetCurrentMapTrigger - call Function2f16 + call ResetBikeFlags ld a, $5 call RunMapCallback callba Function97c2a @@ -287,7 +287,7 @@ Function212d:: jr nz, .asm_2151 ld hl, wVramState set 0, [hl] - call Function2ef1 + call SafeUpdateSprites .asm_2151 xor a ld [wd182], a @@ -2100,7 +2100,7 @@ FadeToMenu:: call LoadStandardMenuDataHeader callba Function8c3ab call Function30ff - call Function2f93 + call DisableSpriteUpdates ret CloseSubmenu:: @@ -2122,7 +2122,7 @@ FinishExitMenu:: call Function3583 call Function3456 callba FadeInPalettes - call Function2fa4 + call EnableSpriteUpdates ret ReturnToMapWithSpeechTextbox:: diff --git a/home/menu.asm b/home/menu.asm index bbc29b34..7e9d4840 100644 --- a/home/menu.asm +++ b/home/menu.asm @@ -216,7 +216,7 @@ MenuWriteText:: ; 1cf6 (0:1cf6) ld [hBGMapMode], a call GetMenuIndexSet call RunMenuItemPrintingFunction - call Function2ef1 + call SafeUpdateSprites ld a, [hOAMUpdate] push af ld a, $1 diff --git a/home/string.asm b/home/string.asm index 70a0f2dd..6f804a96 100644 --- a/home/string.asm +++ b/home/string.asm @@ -1,38 +1,31 @@ -InitString:: ; 2ef6 -; Init a string of length c. +InitString:: push hl - jr _InitString -; 2ef9 + jr InitString_ -InitName:: ; 2ef9 -; Intended for names, so this function is limited to ten characters. +InitName:: push hl - ld c, 10 -; 2efc - -_InitString:: ; 2efc -; if the string pointed to by hl is empty (defined as "zero or more spaces -; followed by a null"), then initialize it to the string pointed to by de. + ld c, $a +InitString_:: push bc -.loop +.asm_2fbd ld a, [hli] - cp "@" - jr z, .blank - cp " " - jr nz, .notblank + cp $50 + jr z, .asm_2fc9 + cp $7f + jr nz, .asm_2fd4 dec c - jr nz, .loop -.blank + jr nz, .asm_2fbd +.asm_2fc9 pop bc ld l, e ld h, d pop de - ld b, 0 + ld b, $0 inc c call CopyBytes ret -.notblank + +.asm_2fd4 pop bc pop hl ret -; 2f17 diff --git a/home/window.asm b/home/window.asm index 32494ee3..a22ab18b 100644 --- a/home/window.asm +++ b/home/window.asm @@ -1,84 +1,69 @@ -RefreshScreen:: ; 2dba - +Function2e80:: ; 2e80 (0:2e80) call ClearWindowData ld a, [hROMBank] push af - ld a, BANK(Function6454) ; and BANK(Function64bf) + ld a, BANK(ReanchorBGMap_NoOAMUpdate) ; and BANK(LoadFonts_NoOAMUpdate) rst Bankswitch - - call Function6454 - call Function2e20 - call Function64bf - + call ReanchorBGMap_NoOAMUpdate + call _OpenAndCloseMenu_HDMATransferTileMapAndAttrMap + call LoadFonts_NoOAMUpdate pop af rst Bankswitch ret -; 2dcf - -CloseText:: ; 2dcf +CloseText ld a, [hOAMUpdate] push af ld a, $1 ld [hOAMUpdate], a - call .CloseText - pop af ld [hOAMUpdate], a - ld hl, VramState - res 6, [hl] ret -; 2de2 -.CloseText ; 2de2 +.CloseText: call ClearWindowData xor a ld [hBGMapMode], a call OverworldTextModeSwitch - call Function2e20 + call _OpenAndCloseMenu_HDMATransferTileMapAndAttrMap xor a ld [hBGMapMode], a - call Function2e31 + call SafeUpdateSprites ld a, $90 ld [hWY], a - call ReplaceKrisSprite - callba ReturnFromMapSetupScript - callba LoadOverworldFont + callba Function1415c + call Functiond97 + ld hl, wd565 + res 7, [hl] + call ResetBGWindow ret -; 2e08 -OpenText:: ; 2e08 +OpenText:: call ClearWindowData ld a, [hROMBank] push af - ld a, BANK(Function6454) ; and BANK(Function64bf) + ld a, BANK(ReanchorBGMap_NoOAMUpdate) ; and BANK(LoadFonts_NoOAMUpdate) rst Bankswitch - - call Function6454 ; clear bgmap + call ReanchorBGMap_NoOAMUpdate call SpeechTextBox - call Function2e20 ; anchor bgmap - call Function64bf ; load font + call _OpenAndCloseMenu_HDMATransferTileMapAndAttrMap + call LoadFonts_NoOAMUpdate pop af rst Bankswitch - ret -; 2e20 -Function2e20:: ; 2e20 +_OpenAndCloseMenu_HDMATransferTileMapAndAttrMap:: ; 2ee3 (0:2ee3) ld a, [hOAMUpdate] push af ld a, $1 ld [hOAMUpdate], a - - callba Function104110 - + call Function348e pop af ld [hOAMUpdate], a ret -; 2e31 -Function2e31:: ; 2e31 +SafeUpdateSprites:: ; 2ef1 (0:2ef1) ld a, [hOAMUpdate] push af ld a, [hBGMapMode] @@ -96,4 +81,8 @@ Function2e31:: ; 2e31 pop af ld [hOAMUpdate], a ret -; 2e4e + +Function2f0e:: + scf + ret + @@ -21,13 +21,21 @@ Function58c5:: IF DEF(GOLD) dr $58c5, $6545 GameInit:: - dr $6545, $8000 + dr $6545, $6551 +ReanchorBGMap_NoOAMUpdate:: ; 6551 + dr $6551, $65cb +LoadFonts_NoOAMUpdate:: ; 65cb + dr $65cb, $754e ENDC IF DEF(SILVER) dr $58c5, $650b GameInit:: - dr $650b, $8000 + dr $650b, $6517 +ReanchorBGMap_NoOAMUpdate:: ; 6517 + dr $6517, $6591 +LoadFonts_NoOAMUpdate:: ; 6591 + dr $6591, $7514 ENDC SECTION "bank2", DATA, BANK[$2] @@ -45,7 +53,9 @@ InitCGBPals:: ; 9cfd dr $9cfd, $c000 SECTION "bank3", DATA, BANK[$3] - dr $c000, $10000 + dr $c000, $c01b +EngineFlagAction:: ; c01b + dr $c01b, $10000 SECTION "bank4", DATA, BANK[$4] dr $10000, $14000 @@ -61,7 +71,9 @@ Function140ff:: ; 140ff Function1413c:: ; 1413c dr $1413c, $1414b RefreshSprites:: ; 1414b - dr $1414b, $1416d + dr $1414b, $1415c +Function1415c:: ; 1415c + dr $1415c, $1416d Function1416d:: ; 1416d dr $1416d, $14317 DoesSpriteHaveFacings_:: ; 14317 @@ -135,7 +135,7 @@ wAutoInputAddress:: dw ; c1c7 wAutoInputBank:: ds 1 ; c1c9 wAutoInputLength:: ds 1 ; c1ca -wc1cb:: ds 1 ; c1cb +wMonStatusFlags:: ds 1 ; c1cb wGameLogicPaused:: ds 1 ; c1cc wRTCEnabled:: ds 1 wc1ce:: ds 1 ; c1ce @@ -2516,7 +2516,7 @@ wd07f:: ds 1 ; d07f wd080:: ds 1 ; d080 wd081:: ds 1 ; d081 wd082:: ds 1 ; d082 -wd083:: ds 1 ; d083 +wPermission:: ds 1 ; d083 wd084:: ds 1 ; d084 wd085:: ds 1 ; d085 wMapBorderBlock:: ds 1 ; d086 @@ -2988,7 +2988,7 @@ wd56d:: ds 1 ; d56d wd56e:: ds 1 ; d56e wd56f:: ds 1 ; d56f wd570:: ds 1 ; d570 -wd571:: ds 1 ; d571 +wStatusFlags:: ds 1 ; d571 wd572:: ds 1 ; d572 wd573:: ds 1 ; d573 wd574:: ds 1 ; d574 @@ -3570,256 +3570,9 @@ wd7b3:: ds 1 ; d7b3 wd7b4:: ds 1 ; d7b4 wd7b5:: ds 1 ; d7b5 wd7b6:: ds 1 ; d7b6 -wd7b7:: ds 1 ; d7b7 -wd7b8:: ds 1 ; d7b8 -wd7b9:: ds 1 ; d7b9 -wd7ba:: ds 1 ; d7ba -wd7bb:: ds 1 ; d7bb -wd7bc:: ds 1 ; d7bc -wd7bd:: ds 1 ; d7bd -wd7be:: ds 1 ; d7be -wd7bf:: ds 1 ; d7bf -wd7c0:: ds 1 ; d7c0 -wd7c1:: ds 1 ; d7c1 -wd7c2:: ds 1 ; d7c2 -wd7c3:: ds 1 ; d7c3 -wd7c4:: ds 1 ; d7c4 -wd7c5:: ds 1 ; d7c5 -wd7c6:: ds 1 ; d7c6 -wd7c7:: ds 1 ; d7c7 -wd7c8:: ds 1 ; d7c8 -wd7c9:: ds 1 ; d7c9 -wd7ca:: ds 1 ; d7ca -wd7cb:: ds 1 ; d7cb -wd7cc:: ds 1 ; d7cc -wd7cd:: ds 1 ; d7cd -wd7ce:: ds 1 ; d7ce -wd7cf:: ds 1 ; d7cf -wd7d0:: ds 1 ; d7d0 -wd7d1:: ds 1 ; d7d1 -wd7d2:: ds 1 ; d7d2 -wd7d3:: ds 1 ; d7d3 -wd7d4:: ds 1 ; d7d4 -wd7d5:: ds 1 ; d7d5 -wd7d6:: ds 1 ; d7d6 -wd7d7:: ds 1 ; d7d7 -wd7d8:: ds 1 ; d7d8 -wd7d9:: ds 1 ; d7d9 -wd7da:: ds 1 ; d7da -wd7db:: ds 1 ; d7db -wd7dc:: ds 1 ; d7dc -wd7dd:: ds 1 ; d7dd -wd7de:: ds 1 ; d7de -wd7df:: ds 1 ; d7df -wd7e0:: ds 1 ; d7e0 -wd7e1:: ds 1 ; d7e1 -wd7e2:: ds 1 ; d7e2 -wd7e3:: ds 1 ; d7e3 -wd7e4:: ds 1 ; d7e4 -wd7e5:: ds 1 ; d7e5 -wd7e6:: ds 1 ; d7e6 -wd7e7:: ds 1 ; d7e7 -wd7e8:: ds 1 ; d7e8 -wd7e9:: ds 1 ; d7e9 -wd7ea:: ds 1 ; d7ea -wd7eb:: ds 1 ; d7eb -wd7ec:: ds 1 ; d7ec -wd7ed:: ds 1 ; d7ed -wd7ee:: ds 1 ; d7ee -wd7ef:: ds 1 ; d7ef -wd7f0:: ds 1 ; d7f0 -wd7f1:: ds 1 ; d7f1 -wd7f2:: ds 1 ; d7f2 -wd7f3:: ds 1 ; d7f3 -wd7f4:: ds 1 ; d7f4 -wd7f5:: ds 1 ; d7f5 -wd7f6:: ds 1 ; d7f6 -wd7f7:: ds 1 ; d7f7 -wd7f8:: ds 1 ; d7f8 -wd7f9:: ds 1 ; d7f9 -wd7fa:: ds 1 ; d7fa -wd7fb:: ds 1 ; d7fb -wd7fc:: ds 1 ; d7fc -wd7fd:: ds 1 ; d7fd -wd7fe:: ds 1 ; d7fe -wd7ff:: ds 1 ; d7ff -wd800:: ds 1 ; d800 -wd801:: ds 1 ; d801 -wd802:: ds 1 ; d802 -wd803:: ds 1 ; d803 -wd804:: ds 1 ; d804 -wd805:: ds 1 ; d805 -wd806:: ds 1 ; d806 -wd807:: ds 1 ; d807 -wd808:: ds 1 ; d808 -wd809:: ds 1 ; d809 -wd80a:: ds 1 ; d80a -wd80b:: ds 1 ; d80b -wd80c:: ds 1 ; d80c -wd80d:: ds 1 ; d80d -wd80e:: ds 1 ; d80e -wd80f:: ds 1 ; d80f -wd810:: ds 1 ; d810 -wd811:: ds 1 ; d811 -wd812:: ds 1 ; d812 -wd813:: ds 1 ; d813 -wd814:: ds 1 ; d814 -wd815:: ds 1 ; d815 -wd816:: ds 1 ; d816 -wd817:: ds 1 ; d817 -wd818:: ds 1 ; d818 -wd819:: ds 1 ; d819 -wd81a:: ds 1 ; d81a -wd81b:: ds 1 ; d81b -wd81c:: ds 1 ; d81c -wd81d:: ds 1 ; d81d -wd81e:: ds 1 ; d81e -wd81f:: ds 1 ; d81f -wd820:: ds 1 ; d820 -wd821:: ds 1 ; d821 -wd822:: ds 1 ; d822 -wd823:: ds 1 ; d823 -wd824:: ds 1 ; d824 -wd825:: ds 1 ; d825 -wd826:: ds 1 ; d826 -wd827:: ds 1 ; d827 -wd828:: ds 1 ; d828 -wd829:: ds 1 ; d829 -wd82a:: ds 1 ; d82a -wd82b:: ds 1 ; d82b -wd82c:: ds 1 ; d82c -wd82d:: ds 1 ; d82d -wd82e:: ds 1 ; d82e -wd82f:: ds 1 ; d82f -wd830:: ds 1 ; d830 -wd831:: ds 1 ; d831 -wd832:: ds 1 ; d832 -wd833:: ds 1 ; d833 -wd834:: ds 1 ; d834 -wd835:: ds 1 ; d835 -wd836:: ds 1 ; d836 -wd837:: ds 1 ; d837 -wd838:: ds 1 ; d838 -wd839:: ds 1 ; d839 -wd83a:: ds 1 ; d83a -wd83b:: ds 1 ; d83b -wd83c:: ds 1 ; d83c -wd83d:: ds 1 ; d83d -wd83e:: ds 1 ; d83e -wd83f:: ds 1 ; d83f -wd840:: ds 1 ; d840 -wd841:: ds 1 ; d841 -wd842:: ds 1 ; d842 -wd843:: ds 1 ; d843 -wd844:: ds 1 ; d844 -wd845:: ds 1 ; d845 -wd846:: ds 1 ; d846 -wd847:: ds 1 ; d847 -wd848:: ds 1 ; d848 -wd849:: ds 1 ; d849 -wd84a:: ds 1 ; d84a -wd84b:: ds 1 ; d84b -wd84c:: ds 1 ; d84c -wd84d:: ds 1 ; d84d -wd84e:: ds 1 ; d84e -wd84f:: ds 1 ; d84f -wd850:: ds 1 ; d850 -wd851:: ds 1 ; d851 -wd852:: ds 1 ; d852 -wd853:: ds 1 ; d853 -wd854:: ds 1 ; d854 -wd855:: ds 1 ; d855 -wd856:: ds 1 ; d856 -wd857:: ds 1 ; d857 -wd858:: ds 1 ; d858 -wd859:: ds 1 ; d859 -wd85a:: ds 1 ; d85a -wd85b:: ds 1 ; d85b -wd85c:: ds 1 ; d85c -wd85d:: ds 1 ; d85d -wd85e:: ds 1 ; d85e -wd85f:: ds 1 ; d85f -wd860:: ds 1 ; d860 -wd861:: ds 1 ; d861 -wd862:: ds 1 ; d862 -wd863:: ds 1 ; d863 -wd864:: ds 1 ; d864 -wd865:: ds 1 ; d865 -wd866:: ds 1 ; d866 -wd867:: ds 1 ; d867 -wd868:: ds 1 ; d868 -wd869:: ds 1 ; d869 -wd86a:: ds 1 ; d86a -wd86b:: ds 1 ; d86b -wd86c:: ds 1 ; d86c -wd86d:: ds 1 ; d86d -wd86e:: ds 1 ; d86e -wd86f:: ds 1 ; d86f -wd870:: ds 1 ; d870 -wd871:: ds 1 ; d871 -wd872:: ds 1 ; d872 -wd873:: ds 1 ; d873 -wd874:: ds 1 ; d874 -wd875:: ds 1 ; d875 -wd876:: ds 1 ; d876 -wd877:: ds 1 ; d877 -wd878:: ds 1 ; d878 -wd879:: ds 1 ; d879 -wd87a:: ds 1 ; d87a -wd87b:: ds 1 ; d87b -wd87c:: ds 1 ; d87c -wd87d:: ds 1 ; d87d -wd87e:: ds 1 ; d87e -wd87f:: ds 1 ; d87f -wd880:: ds 1 ; d880 -wd881:: ds 1 ; d881 -wd882:: ds 1 ; d882 -wd883:: ds 1 ; d883 -wd884:: ds 1 ; d884 -wd885:: ds 1 ; d885 -wd886:: ds 1 ; d886 -wd887:: ds 1 ; d887 -wd888:: ds 1 ; d888 -wd889:: ds 1 ; d889 -wd88a:: ds 1 ; d88a -wd88b:: ds 1 ; d88b -wd88c:: ds 1 ; d88c -wd88d:: ds 1 ; d88d -wd88e:: ds 1 ; d88e -wd88f:: ds 1 ; d88f -wd890:: ds 1 ; d890 -wd891:: ds 1 ; d891 -wd892:: ds 1 ; d892 -wd893:: ds 1 ; d893 -wd894:: ds 1 ; d894 -wd895:: ds 1 ; d895 -wd896:: ds 1 ; d896 -wd897:: ds 1 ; d897 -wd898:: ds 1 ; d898 -wd899:: ds 1 ; d899 -wd89a:: ds 1 ; d89a -wd89b:: ds 1 ; d89b -wd89c:: ds 1 ; d89c -wd89d:: ds 1 ; d89d -wd89e:: ds 1 ; d89e -wd89f:: ds 1 ; d89f -wd8a0:: ds 1 ; d8a0 -wd8a1:: ds 1 ; d8a1 -wd8a2:: ds 1 ; d8a2 -wd8a3:: ds 1 ; d8a3 -wd8a4:: ds 1 ; d8a4 -wd8a5:: ds 1 ; d8a5 -wd8a6:: ds 1 ; d8a6 -wd8a7:: ds 1 ; d8a7 -wd8a8:: ds 1 ; d8a8 -wd8a9:: ds 1 ; d8a9 -wd8aa:: ds 1 ; d8aa -wd8ab:: ds 1 ; d8ab -wd8ac:: ds 1 ; d8ac -wd8ad:: ds 1 ; d8ad -wd8ae:: ds 1 ; d8ae -wd8af:: ds 1 ; d8af -wd8b0:: ds 1 ; d8b0 + +wEventFlags:: flag_array NUM_EVENTS ; d7b7 + wd8b1:: ds 1 ; d8b1 wd8b2:: ds 1 ; d8b2 wd8b3:: ds 1 ; d8b3 @@ -3962,7 +3715,7 @@ wd93b:: ds 1 ; d93b wd93c:: ds 1 ; d93c wd93d:: ds 1 ; d93d wd93e:: ds 1 ; d93e -wd93f:: ds 1 ; d93f +wBikeFlags:: ds 1 ; d93f wd940:: ds 1 ; d940 wCurrentMapTriggerPointer:: dw ; d941 wd943:: ds 1 ; d943 |