mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
14c8cf5b48
# 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
55 lines
1017 B
NASM
55 lines
1017 B
NASM
unownwall: MACRO
|
|
rept _NARG
|
|
if \1 == "-"
|
|
x = $64
|
|
else
|
|
if \1 >= "Y"
|
|
x = 2 * (\1 - "Y") + $60
|
|
else
|
|
if \1 >= "Q"
|
|
x = 2 * (\1 - "Q") + $40
|
|
else
|
|
if \1 >= "I"
|
|
x = 2 * (\1 - "I") + $20
|
|
else
|
|
x = 2 * (\1 - "A")
|
|
endc
|
|
endc
|
|
endc
|
|
endc
|
|
db x
|
|
shift
|
|
endr
|
|
db -1 ; end
|
|
ENDM
|
|
|
|
UnownWalls: ; 8aebc
|
|
; UNOWNWORDS_ESCAPE
|
|
; db $08, $44, $04, $00, $2e, $08, $ff
|
|
unownwall "E", "S", "C", "A", "P", "E"
|
|
; UNOWNWORDS_LIGHT
|
|
; db $26, $20, $0c, $0e, $46, $ff
|
|
unownwall "L", "I", "G", "H", "T"
|
|
; UNOWNWORDS_WATER
|
|
; db $4c, $00, $46, $08, $42, $ff
|
|
unownwall "W", "A", "T", "E", "R"
|
|
; UNOWNWORDS_HO_OH
|
|
; db $0e, $2c, $64, $2c, $0e, $ff
|
|
unownwall "H", "O", "-", "O", "H"
|
|
; 8aed5
|
|
|
|
MenuDataHeaders_UnownWalls: ; 0x8aed5
|
|
; UNOWNWORDS_ESCAPE
|
|
db MENU_BACKUP_TILES ; flags
|
|
menu_coords 3, 4, 16, 9
|
|
; UNOWNWORDS_LIGHT
|
|
db MENU_BACKUP_TILES ; flags
|
|
menu_coords 4, 4, 15, 9
|
|
; UNOWNWORDS_WATER
|
|
db MENU_BACKUP_TILES ; flags
|
|
menu_coords 4, 4, 15, 9
|
|
; UNOWNWORDS_HO_OH
|
|
db MENU_BACKUP_TILES ; flags
|
|
menu_coords 4, 4, 15, 9
|
|
; 8aee9
|