Merge branch 'master' of https://github.com/mid-kid/pokecrystal (resolve PR #452)
# Conflicts: # data/player_names.asm # engine/battle/menu.asm # engine/billspc.asm # engine/billspctop.asm # engine/buy_sell_toss.asm # engine/decorations.asm # engine/delete_save_change_clock.asm # engine/events/buena.asm # engine/events/elevator.asm # engine/events/kurt.asm # engine/events/mom.asm # engine/events/move_tutor.asm # engine/events/pokecenter_pc.asm # engine/events/pokepic.asm # engine/events/std_scripts.asm # engine/events/unown_walls.asm # engine/init_gender.asm # engine/intro_menu.asm # engine/mail.asm # engine/main_menu.asm # engine/mart.asm # engine/menu_2.asm # engine/mon_menu.asm # engine/pack.asm # engine/slot_machine.asm # engine/start_menu.asm # home/menu.asm # maps/CeladonDeptStore6F.asm # maps/CeladonGameCornerPrizeRoom.asm # maps/DragonShrine.asm # maps/EarlsPokemonAcademy.asm # maps/GoldenrodCity.asm # maps/GoldenrodDeptStore6F.asm # maps/GoldenrodGameCorner.asm # maps/GoldenrodPokeComCenter2FMobile.asm # mobile/mobile_12.asm # mobile/mobile_12_2.asm # mobile/mobile_22.asm # mobile/mobile_22_2.asm # mobile/mobile_40.asm # mobile/mobile_45.asm # mobile/mobile_45_sprite_engine.asm # mobile/mobile_46.asm # mobile/mobile_5c.asm # mobile/mobile_5f.asm # mobile/mobile_menu.asm
This commit is contained in:
42
wram.asm
42
wram.asm
@@ -1418,37 +1418,28 @@ wMenuDataBank:: db
|
||||
wMenuDataHeaderEnd::
|
||||
|
||||
wMenuData2::
|
||||
UNION ; cf91
|
||||
; MenuData2
|
||||
wMenuData2Flags:: ; cf91
|
||||
; bit 7: When set, start printing text one tile to the right of the border
|
||||
; In scrolling menus, SELECT is functional
|
||||
; bit 6: When set, start printing text one tile below the border
|
||||
; In scrolling menus, START is functional
|
||||
; bit 5: ????
|
||||
; bit 4: ????
|
||||
; bit 3: ????
|
||||
; bit 2: ????
|
||||
; bit 1: Enable Select button
|
||||
; bit 0: Disable B button
|
||||
db
|
||||
|
||||
wMenuData2Flags:: db ; cf91
|
||||
|
||||
UNION ; cf92
|
||||
; Vertical Menu/DoNthMenu/SetUpMenu
|
||||
wMenuData2Items:: db ; cf92
|
||||
wMenuData2IndicesPointer:: dw ; cf94
|
||||
wMenuData2DisplayFunctionPointer:: dw ; cf96
|
||||
wMenuData2PointerTableAddr:: dw ; cf97
|
||||
|
||||
NEXTU ; cf91
|
||||
; 2D menu
|
||||
ds 2 ; cf91
|
||||
wMenuData2Spacing:: db ; cf93
|
||||
NEXTU ; cf92
|
||||
; 2D Menu
|
||||
wMenuData2_2DMenuDimensions:: db ; cf92
|
||||
wMenuData2_2DMenuSpacing:: db ; cf93
|
||||
wMenuData2_2DMenuItemStringsBank:: db ; cf94
|
||||
wMenuData2_2DMenuItemStringsAddr:: dw ; cf96
|
||||
wMenuData2_2DMenuFunctionBank:: db ; cf97
|
||||
wMenuData2_2DMenuFunctionAddr:: dw ; cf98
|
||||
|
||||
NEXTU ; cf91
|
||||
; scrolling menu
|
||||
ds 1 ; cf91
|
||||
NEXTU ; cf92
|
||||
; Scrolling Menu
|
||||
wMenuData2_ScrollingMenuHeight:: db ; cf92
|
||||
wMenuData2_ScrollingMenuWidth:: db ; cf93
|
||||
wMenuData2_ScrollingMenuSpacing:: db ; cf94
|
||||
@@ -1465,7 +1456,16 @@ w2DMenuCursorInitY:: db ; cfa1
|
||||
w2DMenuCursorInitX:: db ; cfa2
|
||||
w2DMenuNumRows:: db ; cfa3
|
||||
w2DMenuNumCols:: db ; cfa4
|
||||
w2DMenuFlags1:: db ; cfa5
|
||||
w2DMenuFlags1:: ; cfa5
|
||||
; bit 7: Disable checking of wMenuJoypadFilter
|
||||
; bit 6: Enable sprite animations
|
||||
; bit 5: Wrap around vertically
|
||||
; bit 4: Wrap around horizontally
|
||||
; bit 3: Set bit 7 in w2DMenuFlags2 and exit the loop if bit 5 is disabled and we tried to go too far down
|
||||
; bit 2: Set bit 7 in w2DMenuFlags2 and exit the loop if bit 5 is disabled and we tried to go too far up
|
||||
; bit 1: Set bit 7 in w2DMenuFlags2 and exit the loop if bit 4 is disabled and we tried to go too far left
|
||||
; bit 0: Set bit 7 in w2DMenuFlags2 and exit the loop if bit 4 is disabled and we tried to go too far right
|
||||
db
|
||||
w2DMenuFlags2:: db ; cfa6
|
||||
w2DMenuCursorOffsets:: db ; cfa7
|
||||
wMenuJoypadFilter:: db ; cfa8
|
||||
|
Reference in New Issue
Block a user