Identify remaining gfx/unknown files
13
Makefile
@ -157,6 +157,8 @@ gfx/pokemon/%/back.2bpp: rgbgfx += -h
|
|||||||
|
|
||||||
gfx/trainers/%.2bpp: rgbgfx += -h
|
gfx/trainers/%.2bpp: rgbgfx += -h
|
||||||
|
|
||||||
|
gfx/pokemon/egg/unused_front.2bpp: rgbgfx += -h
|
||||||
|
|
||||||
gfx/new_game/shrink1.2bpp: rgbgfx += -h
|
gfx/new_game/shrink1.2bpp: rgbgfx += -h
|
||||||
gfx/new_game/shrink2.2bpp: rgbgfx += -h
|
gfx/new_game/shrink2.2bpp: rgbgfx += -h
|
||||||
|
|
||||||
@ -181,7 +183,6 @@ gfx/title/old_fg.2bpp: tools/gfx += --interleave --png=$<
|
|||||||
gfx/title/logo.2bpp: rgbgfx += -x 4
|
gfx/title/logo.2bpp: rgbgfx += -x 4
|
||||||
|
|
||||||
gfx/trade/ball.2bpp: tools/gfx += --remove-whitespace
|
gfx/trade/ball.2bpp: tools/gfx += --remove-whitespace
|
||||||
gfx/trade/game_boy_n64.2bpp: tools/gfx += --trim-whitespace
|
|
||||||
|
|
||||||
gfx/slots/slots_1.2bpp: tools/gfx += --trim-whitespace
|
gfx/slots/slots_1.2bpp: tools/gfx += --trim-whitespace
|
||||||
gfx/slots/slots_2.2bpp: tools/gfx += --interleave --png=$<
|
gfx/slots/slots_2.2bpp: tools/gfx += --interleave --png=$<
|
||||||
@ -226,13 +227,17 @@ gfx/font/unused_bold_font.1bpp: tools/gfx += --trim-whitespace
|
|||||||
gfx/sgb/sgb_border.2bpp: tools/gfx += --trim-whitespace
|
gfx/sgb/sgb_border.2bpp: tools/gfx += --trim-whitespace
|
||||||
|
|
||||||
gfx/mobile/ascii_font.2bpp: tools/gfx += --trim-whitespace
|
gfx/mobile/ascii_font.2bpp: tools/gfx += --trim-whitespace
|
||||||
|
gfx/mobile/dialpad.2bpp: tools/gfx += --trim-whitespace
|
||||||
|
gfx/mobile/dialpad_cursor.2bpp: tools/gfx += --trim-whitespace
|
||||||
gfx/mobile/electro_ball.2bpp: tools/gfx += --trim-whitespace
|
gfx/mobile/electro_ball.2bpp: tools/gfx += --trim-whitespace
|
||||||
gfx/mobile/electro_ball_nonmatching.2bpp: tools/gfx += --remove-duplicates --remove-xflip
|
gfx/mobile/electro_ball_nonmatching.2bpp: tools/gfx += --remove-duplicates --remove-xflip
|
||||||
gfx/mobile/mobile_adapter.2bpp: tools/gfx += --trim-whitespace
|
|
||||||
gfx/mobile/mobile_splash.2bpp: tools/gfx += --remove-duplicates --remove-xflip
|
gfx/mobile/mobile_splash.2bpp: tools/gfx += --remove-duplicates --remove-xflip
|
||||||
|
gfx/mobile/card.2bpp: tools/gfx += --trim-whitespace
|
||||||
|
gfx/mobile/card_2.2bpp: tools/gfx += --trim-whitespace
|
||||||
|
gfx/mobile/card_folder.2bpp: tools/gfx += --trim-whitespace
|
||||||
|
gfx/mobile/phone_tiles.2bpp: tools/gfx += --remove-whitespace
|
||||||
gfx/mobile/pichu_animated.2bpp: tools/gfx += --trim-whitespace
|
gfx/mobile/pichu_animated.2bpp: tools/gfx += --trim-whitespace
|
||||||
|
gfx/mobile/stadium2_n64.2bpp: tools/gfx += --trim-whitespace
|
||||||
gfx/unknown/unknown_egg.2bpp: rgbgfx += -h
|
|
||||||
|
|
||||||
|
|
||||||
### Catch-all graphics rules
|
### Catch-all graphics rules
|
||||||
|
@ -222,7 +222,7 @@ MG_Mobile_Layout02:
|
|||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
|
|
||||||
Function49742:
|
Function49742:
|
||||||
ld hl, .Palette_49757
|
ld hl, .MobileBorderPalettes
|
||||||
ld de, wBGPals1
|
ld de, wBGPals1
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
ld a, BANK(wBGPals1)
|
ld a, BANK(wBGPals1)
|
||||||
@ -230,8 +230,8 @@ Function49742:
|
|||||||
farcall ApplyPals
|
farcall ApplyPals
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.Palette_49757:
|
.MobileBorderPalettes:
|
||||||
INCLUDE "gfx/unknown/49757.pal"
|
INCLUDE "gfx/trade/mobile_border.pal"
|
||||||
|
|
||||||
_InitMG_Mobile_LinkTradePalMap:
|
_InitMG_Mobile_LinkTradePalMap:
|
||||||
hlcoord 0, 0, wAttrmap
|
hlcoord 0, 0, wAttrmap
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
GFX_49c0c:
|
MobileMenuGFX:
|
||||||
INCBIN "gfx/unknown/049c0c.2bpp"
|
INCBIN "gfx/mobile/mobile_menu.2bpp"
|
||||||
|
|
||||||
MainMenu:
|
MainMenu:
|
||||||
xor a
|
xor a
|
||||||
|
@ -942,9 +942,8 @@ StatsScreen_LoadTextboxSpaceGFX:
|
|||||||
pop hl
|
pop hl
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Unreferenced_4e32a:
|
Unreferenced_StatsScreenSpaceGFX:
|
||||||
; A blank space tile?
|
INCBIN "gfx/font/space.2bpp"
|
||||||
ds 16
|
|
||||||
|
|
||||||
EggStatsScreen:
|
EggStatsScreen:
|
||||||
xor a
|
xor a
|
||||||
|
11
gfx/font.asm
@ -18,8 +18,6 @@ INCBIN "gfx/frames/7.1bpp"
|
|||||||
INCBIN "gfx/frames/8.1bpp"
|
INCBIN "gfx/frames/8.1bpp"
|
||||||
INCBIN "gfx/frames/9.1bpp"
|
INCBIN "gfx/frames/9.1bpp"
|
||||||
|
|
||||||
; Various misc graphics here.
|
|
||||||
|
|
||||||
StatsScreenPageTilesGFX:
|
StatsScreenPageTilesGFX:
|
||||||
INCBIN "gfx/stats/stats_tiles.2bpp"
|
INCBIN "gfx/stats/stats_tiles.2bpp"
|
||||||
|
|
||||||
@ -35,22 +33,23 @@ INCBIN "gfx/battle/expbar.2bpp"
|
|||||||
TownMapGFX:
|
TownMapGFX:
|
||||||
INCBIN "gfx/pokegear/town_map.2bpp.lz"
|
INCBIN "gfx/pokegear/town_map.2bpp.lz"
|
||||||
|
|
||||||
UnusedWeekdayKanjiGFX: ; unused kanji
|
UnusedWeekdayKanjiGFX:
|
||||||
INCBIN "gfx/font/unused_weekday_kanji.2bpp"
|
INCBIN "gfx/font/unused_weekday_kanji.2bpp"
|
||||||
|
|
||||||
PokegearPhoneIconGFX:
|
PokegearPhoneIconGFX:
|
||||||
INCBIN "gfx/font/phone_icon.2bpp"
|
INCBIN "gfx/font/phone_icon.2bpp"
|
||||||
|
|
||||||
UnusedBoldFontGFX: ; unused bold letters + unown chars
|
UnusedBoldFontGFX:
|
||||||
INCBIN "gfx/font/unused_bold_font.1bpp"
|
INCBIN "gfx/font/unused_bold_font.1bpp"
|
||||||
|
|
||||||
TextboxSpaceGFX:
|
TextboxSpaceGFX:
|
||||||
INCBIN "gfx/frames/space.1bpp"
|
; StatsScreen_LoadTextboxSpaceGFX reads 2bpp; LoadFrame reads first half as 1bpp
|
||||||
|
INCBIN "gfx/font/space.2bpp"
|
||||||
|
|
||||||
FontsExtra_SolidBlackGFX:
|
FontsExtra_SolidBlackGFX:
|
||||||
INCBIN "gfx/font/black.1bpp"
|
INCBIN "gfx/font/black.1bpp"
|
||||||
|
|
||||||
UnusedUpArrowGFX: ; unused up arrow + whitespace
|
UnusedUpArrowGFX:
|
||||||
INCBIN "gfx/font/unused_up_arrow.1bpp"
|
INCBIN "gfx/font/unused_up_arrow.1bpp"
|
||||||
|
|
||||||
MobilePhoneTilesGFX:
|
MobilePhoneTilesGFX:
|
||||||
|
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 78 B |
BIN
gfx/font/space.png
Normal file
After Width: | Height: | Size: 71 B |
Before Width: | Height: | Size: 113 B |
BIN
gfx/mobile/card.png
Normal file
After Width: | Height: | Size: 335 B |
BIN
gfx/mobile/card_2.png
Normal file
After Width: | Height: | Size: 306 B |
BIN
gfx/mobile/card_folder.png
Normal file
After Width: | Height: | Size: 567 B |
BIN
gfx/mobile/card_large_sprite.png
Normal file
After Width: | Height: | Size: 137 B |
BIN
gfx/mobile/card_list.png
Normal file
After Width: | Height: | Size: 235 B |
BIN
gfx/mobile/card_sprite.png
Normal file
After Width: | Height: | Size: 103 B |
BIN
gfx/mobile/chris_silhouette.png
Normal file
After Width: | Height: | Size: 250 B |
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 149 B |
BIN
gfx/mobile/dialpad.png
Normal file
After Width: | Height: | Size: 631 B |
BIN
gfx/mobile/dialpad_cursor.png
Normal file
After Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 78 B After Width: | Height: | Size: 78 B |
BIN
gfx/mobile/kris_silhouette.png
Normal file
After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 1.5 KiB |
8
gfx/mobile/mobile_adapters.pal
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
RGB 18,31,15, 04,13,31, 00,00,31, 00,00,00 ; blue
|
||||||
|
RGB 18,31,15, 31,31,00, 31,15,00, 00,00,00 ; yellow
|
||||||
|
RGB 18,31,15, 09,24,00, 02,16,00, 00,00,00 ; green
|
||||||
|
RGB 18,31,15, 31,07,09, 18,00,01, 00,00,00 ; red
|
||||||
|
RGB 18,31,15, 28,05,31, 17,00,17, 00,00,00 ; purple
|
||||||
|
RGB 18,31,15, 09,09,09, 04,04,04, 00,00,00 ; black
|
||||||
|
RGB 18,31,15, 31,13,21, 27,07,12, 00,00,00 ; pink
|
||||||
|
RGB 18,31,15, 21,20,20, 14,14,31, 00,00,00 ; gray
|
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 177 B |
39
gfx/mobile/mobile_password.pal
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 3, 0, 0
|
||||||
|
RGB 5, 0, 0
|
||||||
|
RGB 31, 31, 29
|
||||||
|
|
||||||
|
RGB 0, 2, 10
|
||||||
|
RGB 2, 10, 21
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 10, 26, 31
|
||||||
|
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 0, 7, 8
|
||||||
|
RGB 31, 8, 0
|
||||||
|
RGB 1, 17, 15
|
||||||
|
|
||||||
|
RGB 31, 16, 0
|
||||||
|
RGB 31, 22, 0
|
||||||
|
RGB 31, 27, 0
|
||||||
|
RGB 31, 31, 0
|
||||||
|
|
||||||
|
RGB 31, 18, 6
|
||||||
|
RGB 0, 3, 0
|
||||||
|
RGB 0, 9, 0
|
||||||
|
RGB 0, 12, 0
|
||||||
|
|
||||||
|
RGB 0, 16, 0
|
||||||
|
RGB 0, 22, 0
|
||||||
|
RGB 0, 25, 0
|
||||||
|
RGB 0, 27, 0
|
||||||
|
|
||||||
|
RGB 5, 5, 16
|
||||||
|
RGB 8, 19, 28
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 31, 31, 31
|
||||||
|
|
||||||
|
RGB 31, 31, 29
|
||||||
|
RGB 21, 21, 20
|
||||||
|
RGB 11, 11, 10
|
||||||
|
RGB 0, 0, 0
|
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 648 B |
39
gfx/mobile/mobile_trade_bg.pal
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
RGB 18, 31, 15
|
||||||
|
RGB 20, 20, 20
|
||||||
|
RGB 11, 11, 11
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 15, 1
|
||||||
|
RGB 14, 14, 31
|
||||||
|
RGB 12, 09, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 18, 31, 15
|
||||||
|
RGB 14, 14, 31
|
||||||
|
RGB 12, 09, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 18, 31, 15
|
||||||
|
RGB 20, 20, 20
|
||||||
|
RGB 11, 11, 11
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 18, 31, 15
|
||||||
|
RGB 31, 07, 09
|
||||||
|
RGB 18, 00, 01
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 18, 31, 15
|
||||||
|
RGB 20, 20, 20
|
||||||
|
RGB 11, 11, 11
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 15, 1
|
||||||
|
RGB 18, 00, 30
|
||||||
|
RGB 09, 00, 17
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 18, 31, 15
|
||||||
|
RGB 18, 00, 30
|
||||||
|
RGB 09, 00, 17
|
||||||
|
RGB 00, 00, 00
|
19
gfx/mobile/mobile_trade_lights.pal
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 31, 31, 7
|
||||||
|
RGB 20, 31, 6
|
||||||
|
RGB 13, 20, 16
|
||||||
|
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 7, 11, 17
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 0, 0, 0
|
||||||
|
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 31, 24, 4
|
||||||
|
RGB 25, 12, 0
|
||||||
|
RGB 31, 7, 4
|
||||||
|
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 25, 0, 0
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 0, 0, 0
|
Before Width: | Height: | Size: 94 B After Width: | Height: | Size: 94 B |
39
gfx/mobile/mobile_trade_ob1.pal
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 31, 31, 12
|
||||||
|
RGB 31, 13, 12
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 31, 23, 15
|
||||||
|
RGB 31, 18, 07
|
||||||
|
RGB 31, 15, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 20, 20, 20
|
||||||
|
RGB 11, 11, 11
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 31, 00, 25
|
||||||
|
RGB 31, 00, 25
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 09, 19, 31
|
||||||
|
RGB 09, 19, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
39
gfx/mobile/mobile_trade_ob2.pal
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 31, 31, 12
|
||||||
|
RGB 31, 13, 12
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 31, 23, 15
|
||||||
|
RGB 31, 18, 07
|
||||||
|
RGB 31, 15, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 20, 20, 20
|
||||||
|
RGB 11, 11, 11
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 09, 19, 31
|
||||||
|
RGB 09, 19, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 31, 00, 25
|
||||||
|
RGB 31, 00, 25
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
||||||
|
RGB 00, 00, 00
|
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 266 B |
4
gfx/mobile/pichu_border_bg.pal
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
RGB 31, 30, 30
|
||||||
|
RGB 2, 0, 0
|
||||||
|
RGB 10, 9, 9
|
||||||
|
RGB 15, 14, 14
|
39
gfx/mobile/pichu_border_ob.pal
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 7, 5, 4
|
||||||
|
RGB 31, 28, 4
|
||||||
|
RGB 31, 5, 5
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 7, 5, 4
|
||||||
|
RGB 31, 23, 0
|
||||||
|
RGB 31, 28, 4
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 16, 19, 31
|
||||||
|
RGB 17, 31, 31
|
||||||
|
RGB 31, 31, 31
|
||||||
|
|
||||||
|
RGB 5, 5, 5
|
||||||
|
RGB 7, 5, 4
|
||||||
|
RGB 31, 28, 4
|
||||||
|
RGB 19, 11, 6
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 3, 15, 31
|
||||||
|
RGB 4, 25, 25
|
||||||
|
RGB 0, 7, 12
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 0, 16, 0
|
||||||
|
RGB 0, 16, 0
|
||||||
|
RGB 0, 16, 0
|
||||||
|
|
||||||
|
RGB 4, 11, 22
|
||||||
|
RGB 0, 16, 0
|
||||||
|
RGB 0, 16, 0
|
||||||
|
RGB 0, 16, 0
|
||||||
|
|
||||||
|
RGB 22, 11, 8
|
||||||
|
RGB 0, 16, 0
|
||||||
|
RGB 0, 16, 0
|
||||||
|
RGB 0, 16, 0
|
39
gfx/mobile/pokemon_news.pal
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
RGB 24, 9, 8
|
||||||
|
RGB 4, 9, 18
|
||||||
|
RGB 18, 18, 12
|
||||||
|
RGB 0, 0, 0
|
||||||
|
|
||||||
|
RGB 24, 24, 18
|
||||||
|
RGB 18, 18, 12
|
||||||
|
RGB 4, 9, 18
|
||||||
|
RGB 0, 0, 0
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 23, 11, 10
|
||||||
|
RGB 13, 6, 5
|
||||||
|
RGB 0, 0, 0
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 15, 25, 5
|
||||||
|
RGB 10, 20, 0
|
||||||
|
RGB 0, 0, 0
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 20, 28, 20
|
||||||
|
RGB 10, 18, 15
|
||||||
|
RGB 0, 0, 0
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 22, 22, 12
|
||||||
|
RGB 17, 12, 5
|
||||||
|
RGB 0, 0, 0
|
||||||
|
|
||||||
|
RGB 5, 5, 16
|
||||||
|
RGB 8, 19, 28
|
||||||
|
RGB 0, 0, 0
|
||||||
|
RGB 31, 31, 31
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 27, 24, 0
|
||||||
|
RGB 24, 16, 3
|
||||||
|
RGB 0, 0, 0
|
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 787 B |
11
gfx/mobile/unused_mobile_pulses.pal
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 00, 25
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 31, 31, 31
|
||||||
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
RGB 09, 19, 31
|
||||||
|
RGB 00, 00, 00
|
Before Width: | Height: | Size: 77 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 896 B |
@ -267,7 +267,7 @@ GetBaseData::
|
|||||||
jr .end
|
jr .end
|
||||||
|
|
||||||
.egg
|
.egg
|
||||||
ld de, UnknownEggPic
|
ld de, UnusedEggFrontpic
|
||||||
|
|
||||||
; Sprite dimensions
|
; Sprite dimensions
|
||||||
ld b, $55 ; 5x5
|
ld b, $55 ; 5x5
|
||||||
|
4
main.asm
@ -262,9 +262,9 @@ INCLUDE "data/pokemon/base_stats.asm"
|
|||||||
INCLUDE "data/pokemon/names.asm"
|
INCLUDE "data/pokemon/names.asm"
|
||||||
INCLUDE "data/pokemon/unused_pic_banks.asm"
|
INCLUDE "data/pokemon/unused_pic_banks.asm"
|
||||||
|
|
||||||
UnknownEggPic::
|
UnusedEggFrontpic::
|
||||||
; Another egg pic. This is shifted up a few pixels.
|
; Another egg pic. This is shifted up a few pixels.
|
||||||
INCBIN "gfx/unknown/unknown_egg.2bpp.lz"
|
INCBIN "gfx/pokemon/egg/unused_front.2bpp.lz"
|
||||||
|
|
||||||
|
|
||||||
SECTION "Crystal Phone Text", ROMX
|
SECTION "Crystal Phone Text", ROMX
|
||||||
|
@ -311,11 +311,11 @@ Function11c1b9:
|
|||||||
call Function11d323
|
call Function11d323
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld hl, GFX_11d67e
|
ld hl, SelectStartGFX
|
||||||
ld de, vTiles2
|
ld de, vTiles2
|
||||||
ld bc, $60
|
ld bc, $60
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, LZ_11d6de
|
ld hl, EZChatSlowpokeLZ
|
||||||
ld de, vTiles0
|
ld de, vTiles0
|
||||||
call Decompress
|
call Decompress
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
@ -3236,14 +3236,14 @@ EZChat_GetCategoryWordsByKana:
|
|||||||
|
|
||||||
INCLUDE "data/pokemon/ezchat_order.asm"
|
INCLUDE "data/pokemon/ezchat_order.asm"
|
||||||
|
|
||||||
GFX_11d67e:
|
SelectStartGFX:
|
||||||
INCBIN "gfx/pokedex/select_start.2bpp"
|
INCBIN "gfx/mobile/select_start.2bpp"
|
||||||
|
|
||||||
LZ_11d6de:
|
EZChatSlowpokeLZ:
|
||||||
INCBIN "gfx/pokedex/slowpoke.2bpp.lz"
|
INCBIN "gfx/pokedex/slowpoke.2bpp.lz"
|
||||||
|
|
||||||
MobileEZChatCategoryNames:
|
MobileEZChatCategoryNames:
|
||||||
; Fixed message categories
|
; entries correspond to EZCHAT_* constants
|
||||||
db "ポケモン@@" ; 00
|
db "ポケモン@@" ; 00
|
||||||
db "タイプ@@@" ; 01
|
db "タイプ@@@" ; 01
|
||||||
db "あいさつ@@" ; 02
|
db "あいさつ@@" ; 02
|
||||||
|
@ -1006,10 +1006,10 @@ Function488b9:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
MobileUpArrowGFX:
|
MobileUpArrowGFX:
|
||||||
INCBIN "gfx/mobile/up_arrow.2bpp"
|
INCBIN "gfx/mobile/up_arrow.1bpp"
|
||||||
|
|
||||||
MobileDownArrowGFX:
|
MobileDownArrowGFX:
|
||||||
INCBIN "gfx/mobile/down_arrow.2bpp"
|
INCBIN "gfx/mobile/down_arrow.1bpp"
|
||||||
|
|
||||||
Function488d3:
|
Function488d3:
|
||||||
call Function48283
|
call Function48283
|
||||||
|
@ -501,9 +501,9 @@ Function893e2:
|
|||||||
|
|
||||||
Function893ef:
|
Function893ef:
|
||||||
ld de, vTiles0
|
ld de, vTiles0
|
||||||
ld hl, GFX_8940b
|
ld hl, EZChatCursorGFX
|
||||||
ld bc, $20
|
ld bc, $20
|
||||||
ld a, BANK(GFX_8940b)
|
ld a, BANK(EZChatCursorGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -514,19 +514,19 @@ Function893fe:
|
|||||||
call DelayFrame
|
call DelayFrame
|
||||||
ret
|
ret
|
||||||
|
|
||||||
GFX_8940b:
|
EZChatCursorGFX:
|
||||||
INCBIN "gfx/unknown/08940b.2bpp"
|
INCBIN "gfx/mobile/ez_chat_cursor.2bpp"
|
||||||
|
|
||||||
Function8942b:
|
Function8942b:
|
||||||
ld de, vTiles0 tile $02
|
ld de, vTiles0 tile $02
|
||||||
ld hl, MobileAdapterGFX + $7d tiles
|
ld hl, CardLargeSpriteGFX
|
||||||
ld bc, 8 tiles
|
ld bc, 8 tiles
|
||||||
ld a, BANK(MobileAdapterGFX)
|
ld a, BANK(CardLargeSpriteGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ld de, vTiles0 tile $0a
|
ld de, vTiles0 tile $0a
|
||||||
ld hl, MobileAdapterGFX + $c6 tiles
|
ld hl, CardSpriteGFX
|
||||||
ld bc, 4 tiles
|
ld bc, 4 tiles
|
||||||
ld a, BANK(MobileAdapterGFX)
|
ld a, BANK(CardSpriteGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -544,23 +544,23 @@ Function89448:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
Function89455:
|
Function89455:
|
||||||
ld hl, MobileAdapterGFX + $7d tiles
|
ld hl, CardLargeSpriteGFX
|
||||||
ld de, vTiles2 tile $0c
|
ld de, vTiles2 tile $0c
|
||||||
ld bc, $49 tiles
|
ld bc, (8 + 65) tiles
|
||||||
ld a, BANK(MobileAdapterGFX)
|
ld a, BANK(CardLargeSpriteGFX) ; aka BANK(CardFolderGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Function89464:
|
Function89464:
|
||||||
ld hl, MobileAdapterGFX
|
ld hl, MobileCardGFX
|
||||||
ld de, vTiles2
|
ld de, vTiles2
|
||||||
ld bc, $20 tiles
|
ld bc, $20 tiles
|
||||||
ld a, BANK(MobileAdapterGFX)
|
ld a, BANK(MobileCardGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ld hl, MobileAdapterGFX + $66 tiles
|
ld hl, MobileCard2GFX
|
||||||
ld de, vTiles2 tile $20
|
ld de, vTiles2 tile $20
|
||||||
ld bc, $17 tiles
|
ld bc, $17 tiles
|
||||||
ld a, BANK(MobileAdapterGFX)
|
ld a, BANK(MobileCard2GFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -1193,16 +1193,16 @@ Function897d5:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
Function89807:
|
Function89807:
|
||||||
ld hl, MobileAdapterGFX + $20 tiles
|
ld hl, ChrisSilhouetteGFX
|
||||||
ld a, [wPlayerGender]
|
ld a, [wPlayerGender]
|
||||||
bit PLAYERGENDER_FEMALE_F, a
|
bit PLAYERGENDER_FEMALE_F, a
|
||||||
jr z, .asm_89814
|
jr z, .asm_89814
|
||||||
ld hl, MobileAdapterGFX + $43 tiles
|
ld hl, KrisSilhouetteGFX
|
||||||
.asm_89814
|
.asm_89814
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld de, vTiles2 tile $37
|
ld de, vTiles2 tile $37
|
||||||
ld bc, $23 tiles
|
ld bc, (5 * 7) tiles
|
||||||
ld a, BANK(MobileAdapterGFX)
|
ld a, BANK(ChrisSilhouetteGFX) ; aka BANK(KrisSilhouetteGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
call DelayFrame
|
call DelayFrame
|
||||||
|
@ -569,20 +569,20 @@ Function8b677:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
Function8b690:
|
Function8b690:
|
||||||
ld hl, GFX_17afa5 + $514
|
ld hl, MobileCardListGFX
|
||||||
ld de, vTiles2
|
ld de, vTiles2
|
||||||
ld bc, $160
|
ld bc, $16 tiles
|
||||||
ld a, BANK(GFX_17afa5)
|
ld a, BANK(MobileCardListGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ld hl, GFX_17afa5 + $514 + $160 - $10
|
ld hl, MobileCardListGFX tile $15
|
||||||
ld de, vTiles2 tile $61
|
ld de, vTiles2 tile $61
|
||||||
ld bc, $10
|
ld bc, 1 tiles
|
||||||
ld a, BANK(GFX_17afa5)
|
ld a, BANK(MobileCardListGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ld hl, GFX_17afa5 + $514 + $160
|
ld hl, MobileCardListGFX tile $16
|
||||||
ld de, vTiles0 tile $ee
|
ld de, vTiles0 tile $ee
|
||||||
ld bc, $10
|
ld bc, 1 tiles
|
||||||
ld a, BANK(GFX_17afa5)
|
ld a, BANK(MobileCardListGFX)
|
||||||
call FarCopyBytes
|
call FarCopyBytes
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -6439,16 +6439,16 @@ Function102dc3:
|
|||||||
|
|
||||||
Function102dd3:
|
Function102dd3:
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld de, GFX_1032a2
|
ld de, MobileTradeLightsGFX
|
||||||
ld hl, vTiles0
|
ld hl, vTiles0
|
||||||
lb bc, BANK(GFX_1032a2), 4
|
lb bc, BANK(MobileTradeLightsGFX), 4
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
farcall __LoadTradeScreenBorder
|
farcall __LoadTradeScreenBorder
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Function102dec:
|
Function102dec:
|
||||||
ld hl, Palettes_1032e2
|
ld hl, MobileTradeLightsPalettes
|
||||||
ld de, wOBPals1
|
ld de, wOBPals1
|
||||||
ld bc, 4 palettes
|
ld bc, 4 palettes
|
||||||
ld a, $05
|
ld a, $05
|
||||||
@ -6890,29 +6890,11 @@ Unknown_10327a:
|
|||||||
db $00, $00, $03, $02
|
db $00, $00, $03, $02
|
||||||
db $00, $00, $01, $03
|
db $00, $00, $01, $03
|
||||||
|
|
||||||
GFX_1032a2:
|
MobileTradeLightsGFX:
|
||||||
INCBIN "gfx/unknown/1032a2.2bpp"
|
INCBIN "gfx/mobile/mobile_trade_lights.2bpp"
|
||||||
|
|
||||||
Palettes_1032e2:
|
MobileTradeLightsPalettes:
|
||||||
RGB 0, 0, 0
|
INCLUDE "gfx/mobile/mobile_trade_lights.pal"
|
||||||
RGB 31, 31, 7
|
|
||||||
RGB 20, 31, 6
|
|
||||||
RGB 13, 20, 16
|
|
||||||
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 7, 11, 17
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 0, 0, 0
|
|
||||||
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 31, 24, 4
|
|
||||||
RGB 25, 12, 0
|
|
||||||
RGB 31, 7, 4
|
|
||||||
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 25, 0, 0
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 0, 0, 0
|
|
||||||
|
|
||||||
Function103302:
|
Function103302:
|
||||||
call Function103309
|
call Function103309
|
||||||
|
@ -1016,10 +1016,10 @@ Function106464::
|
|||||||
ld hl, vTiles2 tile "▲" ; $61
|
ld hl, vTiles2 tile "▲" ; $61
|
||||||
lb bc, BANK(FontsExtra2_UpArrowGFX), 1
|
lb bc, BANK(FontsExtra2_UpArrowGFX), 1
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
ld de, GFX_106514
|
ld de, MobileDialingFrameGFX
|
||||||
ld hl, vTiles2 tile "☎" ; $62
|
ld hl, vTiles2 tile "☎" ; $62
|
||||||
ld c, 9
|
ld c, 9
|
||||||
ld b, BANK(GFX_106514)
|
ld b, BANK(MobileDialingFrameGFX)
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
ld de, $40b0
|
ld de, $40b0
|
||||||
ld hl, vTiles2 tile $6b
|
ld hl, vTiles2 tile $6b
|
||||||
@ -1103,5 +1103,5 @@ Function10650a:
|
|||||||
call Get2bpp
|
call Get2bpp
|
||||||
ret
|
ret
|
||||||
|
|
||||||
GFX_106514:
|
MobileDialingFrameGFX:
|
||||||
INCBIN "gfx/unknown/106514.2bpp"
|
INCBIN "gfx/mobile/dialing_frame.2bpp"
|
||||||
|
@ -149,13 +149,13 @@ Function1080b7:
|
|||||||
|
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, LZ_108da7
|
ld hl, MobileTradeGFX
|
||||||
ld de, vTiles2
|
ld de, vTiles2
|
||||||
call Decompress
|
call Decompress
|
||||||
|
|
||||||
ld a, $0
|
ld a, $0
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, LZ_108d27
|
ld hl, MobileTradeSpritesGFX
|
||||||
ld de, vTiles0 tile $20
|
ld de, vTiles0 tile $20
|
||||||
call Decompress
|
call Decompress
|
||||||
|
|
||||||
@ -804,7 +804,7 @@ MobileTradeAnim_02:
|
|||||||
push af
|
push af
|
||||||
ld a, $5
|
ld a, $5
|
||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
ld hl, Palette_109107
|
ld hl, MobileTradeBGPalettes
|
||||||
ld de, wBGPals1
|
ld de, wBGPals1
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -826,12 +826,12 @@ MobileTradeAnim_10:
|
|||||||
call MobileTradeAnim_ClearBGMap
|
call MobileTradeAnim_ClearBGMap
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, LZ_108da7
|
ld hl, MobileTradeGFX
|
||||||
ld de, vTiles2
|
ld de, vTiles2
|
||||||
call Decompress
|
call Decompress
|
||||||
ld a, $0
|
ld a, $0
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, LZ_108d27
|
ld hl, MobileTradeSpritesGFX
|
||||||
ld de, vTiles0 tile $20
|
ld de, vTiles0 tile $20
|
||||||
call Decompress
|
call Decompress
|
||||||
call Function108c80
|
call Function108c80
|
||||||
@ -849,7 +849,7 @@ MobileTradeAnim_10:
|
|||||||
push af
|
push af
|
||||||
ld a, $5
|
ld a, $5
|
||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
ld hl, Palette_109107
|
ld hl, MobileTradeBGPalettes
|
||||||
ld de, wBGPals1
|
ld de, wBGPals1
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -869,12 +869,12 @@ MobileTradeAnim_11:
|
|||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, LZ_108da7
|
ld hl, MobileTradeGFX
|
||||||
ld de, vTiles2
|
ld de, vTiles2
|
||||||
call Decompress
|
call Decompress
|
||||||
ld a, $0
|
ld a, $0
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, LZ_108d27
|
ld hl, MobileTradeSpritesGFX
|
||||||
ld de, vTiles0 tile $20
|
ld de, vTiles0 tile $20
|
||||||
call Decompress
|
call Decompress
|
||||||
call Function108c80
|
call Function108c80
|
||||||
@ -892,7 +892,7 @@ MobileTradeAnim_11:
|
|||||||
push af
|
push af
|
||||||
ld a, $5
|
ld a, $5
|
||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
ld hl, Palette_109107
|
ld hl, MobileTradeBGPalettes
|
||||||
ld de, wBGPals1
|
ld de, wBGPals1
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -1364,16 +1364,16 @@ MobileTradeAnim_ClearTilemap:
|
|||||||
Function108ad4:
|
Function108ad4:
|
||||||
and a
|
and a
|
||||||
jr z, .asm_108adc
|
jr z, .asm_108adc
|
||||||
ld de, GFX_1092c7
|
ld de, MobileCable2GFX
|
||||||
jr .asm_108adf
|
jr .asm_108adf
|
||||||
|
|
||||||
.asm_108adc
|
.asm_108adc
|
||||||
ld de, GFX_1091c7
|
ld de, MobileCable1GFX
|
||||||
.asm_108adf
|
.asm_108adf
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, vTiles2 tile $4a
|
ld hl, vTiles2 tile $4a
|
||||||
lb bc, BANK(GFX_1092c7), 16
|
lb bc, BANK(MobileCable1GFX), 16 ; aka BANK(MobileCable2GFX)
|
||||||
call Get2bpp_2
|
call Get2bpp_2
|
||||||
call DelayFrame
|
call DelayFrame
|
||||||
ld a, $0
|
ld a, $0
|
||||||
@ -1387,23 +1387,23 @@ Function108af4:
|
|||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
ld a, [wcf65]
|
ld a, [wcf65]
|
||||||
and $1
|
and $1
|
||||||
jr z, .copy_palette_109147
|
jr z, .copy_MobileTradeOB1Palettes
|
||||||
ld hl, Palette_109187
|
ld hl, MobileTradeOB2Palettes
|
||||||
ld de, wOBPals1
|
ld de, wOBPals1
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, Palette_109187
|
ld hl, MobileTradeOB2Palettes
|
||||||
ld de, wOBPals2
|
ld de, wOBPals2
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
jr .done_copy
|
jr .done_copy
|
||||||
|
|
||||||
.copy_palette_109147
|
.copy_MobileTradeOB1Palettes
|
||||||
ld hl, Palette_109147
|
ld hl, MobileTradeOB1Palettes
|
||||||
ld de, wOBPals1
|
ld de, wOBPals1
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, Palette_109147
|
ld hl, MobileTradeOB1Palettes
|
||||||
ld de, wOBPals2
|
ld de, wOBPals2
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -1615,10 +1615,10 @@ Function108c40:
|
|||||||
text_end
|
text_end
|
||||||
|
|
||||||
Function108c6d:
|
Function108c6d:
|
||||||
ld hl, LZ_108fe7
|
ld hl, MobileTradeTilemapLZ
|
||||||
debgcoord 0, 0
|
debgcoord 0, 0
|
||||||
call Decompress
|
call Decompress
|
||||||
ld hl, LZ_108fe7
|
ld hl, MobileTradeTilemapLZ
|
||||||
debgcoord 0, 0, vBGMap1
|
debgcoord 0, 0, vBGMap1
|
||||||
call Decompress
|
call Decompress
|
||||||
ret
|
ret
|
||||||
@ -1626,10 +1626,10 @@ Function108c6d:
|
|||||||
Function108c80:
|
Function108c80:
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, LZ_1090a7
|
ld hl, MobileTradeAttrmapLZ
|
||||||
debgcoord 0, 0
|
debgcoord 0, 0
|
||||||
call Decompress
|
call Decompress
|
||||||
ld hl, LZ_1090a7
|
ld hl, MobileTradeAttrmapLZ
|
||||||
debgcoord 0, 0, vBGMap1
|
debgcoord 0, 0, vBGMap1
|
||||||
call Decompress
|
call Decompress
|
||||||
ld a, $0
|
ld a, $0
|
||||||
@ -1729,197 +1729,35 @@ LoadMobileAdapterPalette:
|
|||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
ret
|
ret
|
||||||
|
|
||||||
LZ_108d27:
|
MobileTradeSpritesGFX:
|
||||||
INCBIN "gfx/unknown/108d27.2bpp.lz"
|
INCBIN "gfx/mobile/mobile_trade_sprites.2bpp.lz"
|
||||||
|
|
||||||
LZ_108da7:
|
MobileTradeGFX:
|
||||||
INCBIN "gfx/unknown/108da7.2bpp.lz"
|
INCBIN "gfx/mobile/mobile_trade.2bpp.lz"
|
||||||
|
|
||||||
LZ_108fe7:
|
MobileTradeTilemapLZ:
|
||||||
INCBIN "gfx/unknown/108fe7.tilemap.lz"
|
INCBIN "gfx/mobile/mobile_trade.tilemap.lz"
|
||||||
|
|
||||||
LZ_1090a7:
|
MobileTradeAttrmapLZ:
|
||||||
INCBIN "gfx/unknown/1090a7.tilemap.lz"
|
INCBIN "gfx/mobile/mobile_trade.attrmap.lz"
|
||||||
|
|
||||||
Palette_1090f7:
|
UnusedMobilePulsePalettes:
|
||||||
; unused
|
INCLUDE "gfx/mobile/unused_mobile_pulses.pal"
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 00, 25
|
MobileTradeBGPalettes:
|
||||||
RGB 00, 00, 00
|
INCLUDE "gfx/mobile/mobile_trade_bg.pal"
|
||||||
|
|
||||||
RGB 31, 31, 31
|
MobileTradeOB1Palettes:
|
||||||
RGB 00, 00, 00
|
INCLUDE "gfx/mobile/mobile_trade_ob1.pal"
|
||||||
|
|
||||||
RGB 09, 19, 31
|
MobileTradeOB2Palettes:
|
||||||
RGB 00, 00, 00
|
INCLUDE "gfx/mobile/mobile_trade_ob2.pal"
|
||||||
|
|
||||||
Palette_109107:
|
MobileCable1GFX:
|
||||||
RGB 18, 31, 15
|
INCBIN "gfx/mobile/mobile_cable_1.2bpp"
|
||||||
RGB 20, 20, 20
|
|
||||||
RGB 11, 11, 11
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 15, 1
|
MobileCable2GFX:
|
||||||
RGB 14, 14, 31
|
INCBIN "gfx/mobile/mobile_cable_2.2bpp"
|
||||||
RGB 12, 09, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 14, 14, 31
|
|
||||||
RGB 12, 09, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 20, 20, 20
|
|
||||||
RGB 11, 11, 11
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 31, 07, 09
|
|
||||||
RGB 18, 00, 01
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 20, 20, 20
|
|
||||||
RGB 11, 11, 11
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 15, 1
|
|
||||||
RGB 18, 00, 30
|
|
||||||
RGB 09, 00, 17
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 18, 00, 30
|
|
||||||
RGB 09, 00, 17
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
Palette_109147:
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 31, 31, 12
|
|
||||||
RGB 31, 13, 12
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 31, 23, 15
|
|
||||||
RGB 31, 18, 07
|
|
||||||
RGB 31, 15, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 20, 20, 20
|
|
||||||
RGB 11, 11, 11
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 31, 00, 25
|
|
||||||
RGB 31, 00, 25
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 09, 19, 31
|
|
||||||
RGB 09, 19, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
Palette_109187:
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 31, 31, 12
|
|
||||||
RGB 31, 13, 12
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 31, 23, 15
|
|
||||||
RGB 31, 18, 07
|
|
||||||
RGB 31, 15, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 20, 20, 20
|
|
||||||
RGB 11, 11, 11
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 09, 19, 31
|
|
||||||
RGB 09, 19, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 31, 00, 25
|
|
||||||
RGB 31, 00, 25
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
GFX_1091c7:
|
|
||||||
INCBIN "gfx/unknown/1091c7.2bpp"
|
|
||||||
GFX_1092c7:
|
|
||||||
INCBIN "gfx/unknown/1092c7.2bpp"
|
|
||||||
|
|
||||||
MobileAdapterPalettes:
|
MobileAdapterPalettes:
|
||||||
RGB 18, 31, 15
|
INCLUDE "gfx/mobile/mobile_adapters.pal"
|
||||||
RGB 04, 13, 31
|
|
||||||
RGB 00, 00, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 31, 31, 00
|
|
||||||
RGB 31, 15, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 09, 24, 00
|
|
||||||
RGB 02, 16, 00
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 31, 07, 09
|
|
||||||
RGB 18, 00, 01
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 28, 05, 31
|
|
||||||
RGB 17, 00, 17
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 09, 09, 09
|
|
||||||
RGB 04, 04, 04
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 31, 13, 21
|
|
||||||
RGB 27, 07, 12
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
|
||||||
RGB 18, 31, 15
|
|
||||||
RGB 21, 20, 20
|
|
||||||
RGB 14, 14, 31
|
|
||||||
RGB 00, 00, 00
|
|
||||||
|
@ -1358,46 +1358,12 @@ Unknown_1172e9:
|
|||||||
db $0, $8, $0, $2
|
db $0, $8, $0, $2
|
||||||
db $4, $10, $10, $6
|
db $4, $10, $10, $6
|
||||||
|
|
||||||
Palette_11730e:
|
PichuBorderMobileOBPalettes:
|
||||||
RGB 31, 31, 31
|
INCLUDE "gfx/mobile/pichu_border_ob.pal"
|
||||||
RGB 7, 5, 4
|
|
||||||
RGB 31, 28, 4
|
|
||||||
RGB 31, 5, 5
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 7, 5, 4
|
|
||||||
RGB 31, 23, 0
|
|
||||||
RGB 31, 28, 4
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 16, 19, 31
|
|
||||||
RGB 17, 31, 31
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 5, 5, 5
|
|
||||||
RGB 7, 5, 4
|
|
||||||
RGB 31, 28, 4
|
|
||||||
RGB 19, 11, 6
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 3, 15, 31
|
|
||||||
RGB 4, 25, 25
|
|
||||||
RGB 0, 7, 12
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 4, 11, 22
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 22, 11, 8
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 0, 16, 0
|
|
||||||
|
|
||||||
Palette_11734e:
|
PichuBorderMobileBGPalettes:
|
||||||
RGB 31, 30, 30
|
INCLUDE "gfx/mobile/pichu_border_bg.pal"
|
||||||
RGB 2, 0, 0
|
|
||||||
RGB 10, 9, 9
|
|
||||||
RGB 15, 14, 14
|
|
||||||
|
|
||||||
Unknown_117356:
|
PichuBorderMobileTilemapAttrmap:
|
||||||
INCBIN "gfx/unknown/117356.tilemap"
|
INCBIN "gfx/mobile/pichu_border.tilemap"
|
||||||
INCBIN "gfx/unknown/1174d6.attrmap"
|
INCBIN "gfx/mobile/pichu_border.attrmap"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Function115d99:
|
Function115d99:
|
||||||
ld de, GFX_11601a
|
ld de, MobileDialingGFX
|
||||||
ld hl, vTiles0 tile $60
|
ld hl, vTiles0 tile $60
|
||||||
lb bc, BANK(GFX_11601a), 20
|
lb bc, BANK(MobileDialingGFX), 20
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
xor a
|
xor a
|
||||||
ld [wc305], a
|
ld [wc305], a
|
||||||
@ -307,13 +307,13 @@ Unknown_116005:
|
|||||||
dsprite 2, 0, 0, 0, $62, $01
|
dsprite 2, 0, 0, 0, $62, $01
|
||||||
dsprite 2, 0, 1, 0, $63, $01
|
dsprite 2, 0, 1, 0, $63, $01
|
||||||
|
|
||||||
GFX_11601a::
|
MobileDialingGFX::
|
||||||
INCBIN "gfx/unknown/11601a.2bpp"
|
INCBIN "gfx/mobile/dialing.2bpp"
|
||||||
|
|
||||||
Function11615a:
|
Function11615a:
|
||||||
xor a
|
xor a
|
||||||
ld [wc30d], a
|
ld [wc30d], a
|
||||||
ld [$c319], a
|
ld [wc319], a
|
||||||
ld [wc310], a
|
ld [wc310], a
|
||||||
ld [wc311], a
|
ld [wc311], a
|
||||||
ld [wc312], a
|
ld [wc312], a
|
||||||
@ -341,7 +341,7 @@ Function11619d:
|
|||||||
ld a, [wc30d]
|
ld a, [wc30d]
|
||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
ld a, [$c319]
|
ld a, [wc319]
|
||||||
cp $2
|
cp $2
|
||||||
jr c, .asm_1161b4
|
jr c, .asm_1161b4
|
||||||
ld a, $a0
|
ld a, $a0
|
||||||
@ -354,7 +354,7 @@ Function11619d:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
Function1161b8:
|
Function1161b8:
|
||||||
ld a, [$c319]
|
ld a, [wc319]
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, 0
|
ld d, 0
|
||||||
ld hl, .Jumptable
|
ld hl, .Jumptable
|
||||||
@ -381,9 +381,9 @@ Function1161d5:
|
|||||||
ld a, $6
|
ld a, $6
|
||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
|
|
||||||
ld hl, Unknown_117356
|
ld hl, PichuBorderMobileTilemapAttrmap
|
||||||
ld de, wDecompressScratch
|
ld de, wDecompressScratch
|
||||||
ld bc, $0300
|
ld bc, 32 * 12 * 2
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
|
|
||||||
di
|
di
|
||||||
@ -479,9 +479,9 @@ Function1161d5:
|
|||||||
ld [wMusicFadeID], a
|
ld [wMusicFadeID], a
|
||||||
ld a, d
|
ld a, d
|
||||||
ld [wMusicFadeID + 1], a
|
ld [wMusicFadeID + 1], a
|
||||||
ld a, [$c319]
|
ld a, [wc319]
|
||||||
inc a
|
inc a
|
||||||
ld [$c319], a
|
ld [wc319], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
MenuHeader_11628c:
|
MenuHeader_11628c:
|
||||||
@ -492,18 +492,18 @@ MenuHeader_11628c:
|
|||||||
|
|
||||||
Function116294:
|
Function116294:
|
||||||
farcall Function170d02
|
farcall Function170d02
|
||||||
ld a, [$c319]
|
ld a, [wc319]
|
||||||
inc a
|
inc a
|
||||||
ld [$c319], a
|
ld [wc319], a
|
||||||
ldh a, [rSVBK]
|
ldh a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
ld a, $5
|
ld a, $5
|
||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
ld hl, wBGPals1 palette 6
|
ld hl, wBGPals1 palette 6
|
||||||
ld de, $c320
|
ld de, wc320
|
||||||
ld bc, 2 palettes
|
ld bc, 2 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, Palette_11734e
|
ld hl, PichuBorderMobileBGPalettes
|
||||||
ld de, wBGPals1 palette 7
|
ld de, wBGPals1 palette 7
|
||||||
ld bc, 1 palettes
|
ld bc, 1 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -516,14 +516,14 @@ Function116294:
|
|||||||
|
|
||||||
Function1162cb:
|
Function1162cb:
|
||||||
farcall Function170cc6
|
farcall Function170cc6
|
||||||
ld a, [$c319]
|
ld a, [wc319]
|
||||||
inc a
|
inc a
|
||||||
ld [$c319], a
|
ld [wc319], a
|
||||||
ldh a, [rSVBK]
|
ldh a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
ld a, $5
|
ld a, $5
|
||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
ld hl, Palette_11730e
|
ld hl, PichuBorderMobileOBPalettes
|
||||||
ld de, wOBPals1 + 2 palettes
|
ld de, wOBPals1 + 2 palettes
|
||||||
ld bc, 6 palettes
|
ld bc, 6 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -654,7 +654,7 @@ Function11636e:
|
|||||||
xor a
|
xor a
|
||||||
ld [wMusicFadeID + 1], a
|
ld [wMusicFadeID + 1], a
|
||||||
xor a
|
xor a
|
||||||
ld [$c319], a
|
ld [wc319], a
|
||||||
ld [wc30d], a
|
ld [wc30d], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -711,7 +711,7 @@ Function1163c0:
|
|||||||
|
|
||||||
.asm_116439
|
.asm_116439
|
||||||
xor a
|
xor a
|
||||||
ld [$c319], a
|
ld [wc319], a
|
||||||
ld [wc30d], a
|
ld [wc30d], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -727,7 +727,7 @@ Function116441:
|
|||||||
xor a
|
xor a
|
||||||
ld [wMusicFadeID + 1], a
|
ld [wMusicFadeID + 1], a
|
||||||
xor a
|
xor a
|
||||||
ld [$c319], a
|
ld [wc319], a
|
||||||
ld [wc30d], a
|
ld [wc30d], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ MobileSystemSplashScreen_InitGFX:
|
|||||||
|
|
||||||
.LoadPals:
|
.LoadPals:
|
||||||
ld de, wBGPals1
|
ld de, wBGPals1
|
||||||
ld hl, UnknownMobilePalettes_16c903
|
ld hl, MobileSplashScreenPalettes
|
||||||
ld bc, 8
|
ld bc, 8
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
@ -211,8 +211,8 @@ INCBIN "gfx/mobile/mobile_splash.tilemap"
|
|||||||
.Attrmap:
|
.Attrmap:
|
||||||
INCBIN "gfx/mobile/mobile_splash.attrmap"
|
INCBIN "gfx/mobile/mobile_splash.attrmap"
|
||||||
|
|
||||||
UnknownMobilePalettes_16c903:
|
MobileSplashScreenPalettes:
|
||||||
INCLUDE "gfx/unknown/16c903.pal"
|
INCLUDE "gfx/mobile/mobile_splash.pal"
|
||||||
|
|
||||||
Function16c943:
|
Function16c943:
|
||||||
ld a, [wd003]
|
ld a, [wd003]
|
||||||
@ -237,7 +237,7 @@ Function16c943:
|
|||||||
ld e, $0
|
ld e, $0
|
||||||
ld a, $0
|
ld a, $0
|
||||||
.asm_16c969
|
.asm_16c969
|
||||||
ld hl, UnknownMobilePalettes_16c903
|
ld hl, MobileSplashScreenPalettes
|
||||||
call Function16cab6
|
call Function16cab6
|
||||||
call Function16cabb
|
call Function16cabb
|
||||||
ld d, a
|
ld d, a
|
||||||
@ -260,7 +260,7 @@ Function16c943:
|
|||||||
call Function16cadc
|
call Function16cadc
|
||||||
|
|
||||||
.asm_16c991
|
.asm_16c991
|
||||||
ld hl, UnknownMobilePalettes_16c903
|
ld hl, MobileSplashScreenPalettes
|
||||||
call Function16cab6
|
call Function16cab6
|
||||||
call Function16cad8
|
call Function16cad8
|
||||||
ld d, a
|
ld d, a
|
||||||
@ -283,7 +283,7 @@ Function16c943:
|
|||||||
call Function16cb08
|
call Function16cb08
|
||||||
|
|
||||||
.asm_16c9b9
|
.asm_16c9b9
|
||||||
ld hl, UnknownMobilePalettes_16c903
|
ld hl, MobileSplashScreenPalettes
|
||||||
call Function16cab6
|
call Function16cab6
|
||||||
call Function16cac4
|
call Function16cac4
|
||||||
ld d, a
|
ld d, a
|
||||||
@ -669,8 +669,8 @@ Function16cc02:
|
|||||||
|
|
||||||
Function16cc18:
|
Function16cc18:
|
||||||
ld hl, vTiles1
|
ld hl, vTiles1
|
||||||
ld de, GFX_16cca3
|
ld de, MobileAdapterCheckGFX
|
||||||
lb bc, BANK(GFX_16cca3), 46
|
lb bc, BANK(MobileAdapterCheckGFX), 46
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -754,8 +754,8 @@ Function16cc90:
|
|||||||
jr nz, .asm_16cc93
|
jr nz, .asm_16cc93
|
||||||
ret
|
ret
|
||||||
|
|
||||||
GFX_16cca3:
|
MobileAdapterCheckGFX:
|
||||||
INCBIN "gfx/unknown/16cca3.2bpp"
|
INCBIN "gfx/mobile/mobile_splash_check.2bpp"
|
||||||
|
|
||||||
Unknown_16cfa3:
|
Unknown_16cfa3:
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
|
@ -278,9 +278,9 @@ Function170cc6:
|
|||||||
Function170d02:
|
Function170d02:
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld de, GFX_171848
|
ld de, PichuBorderMobileGFX
|
||||||
ld hl, vTiles0 tile $c1
|
ld hl, vTiles0 tile $c1
|
||||||
lb bc, BANK(GFX_171848), 24
|
lb bc, BANK(PichuBorderMobileGFX), 24
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
xor a
|
xor a
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
@ -292,8 +292,8 @@ INCBIN "gfx/mobile/pichu_animated.2bpp.lz"
|
|||||||
ElectroBallMobileGFX:
|
ElectroBallMobileGFX:
|
||||||
INCBIN "gfx/mobile/electro_ball.2bpp.lz"
|
INCBIN "gfx/mobile/electro_ball.2bpp.lz"
|
||||||
|
|
||||||
GFX_171848:
|
PichuBorderMobileGFX:
|
||||||
INCBIN "gfx/unknown/171848.2bpp"
|
INCBIN "gfx/mobile/pichu_border.2bpp"
|
||||||
|
|
||||||
Function1719c8:
|
Function1719c8:
|
||||||
ldh a, [hInMenu]
|
ldh a, [hInMenu]
|
||||||
@ -659,19 +659,19 @@ String_171c73:
|
|||||||
|
|
||||||
Function171c87:
|
Function171c87:
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld hl, GFX_171db1
|
ld hl, AsciiFontGFX
|
||||||
ld de, vTiles2 tile $00
|
ld de, vTiles2 tile $00
|
||||||
ld bc, $6e0
|
ld bc, $6e0
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, LZ_172abd
|
ld hl, PasswordSlowpokeLZ
|
||||||
ld de, vTiles0 tile $00
|
ld de, vTiles0 tile $00
|
||||||
call Decompress
|
call Decompress
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
ld hl, Tilemap_172491
|
ld hl, PasswordTopTilemap
|
||||||
decoord 0, 0
|
decoord 0, 0
|
||||||
ld bc, $168
|
ld bc, $168
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, Attrmap_1727ed
|
ld hl, MobilePasswordAttrmap
|
||||||
decoord 0, 0, wAttrmap
|
decoord 0, 0, wAttrmap
|
||||||
ld bc, $168
|
ld bc, $168
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -688,7 +688,7 @@ Function171ccd:
|
|||||||
push af
|
push af
|
||||||
ld a, $5
|
ld a, $5
|
||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
ld hl, Palette_171d71
|
ld hl, MobilePasswordPalettes
|
||||||
ld de, wBGPals1
|
ld de, wBGPals1
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -711,8 +711,8 @@ Function171cf0:
|
|||||||
xor $1
|
xor $1
|
||||||
ld [wcd4b], a
|
ld [wcd4b], a
|
||||||
and a
|
and a
|
||||||
jr nz, .asm_171d16
|
jr nz, .shifted
|
||||||
ld hl, Tilemap_17251d
|
ld hl, PasswordBottomTilemap
|
||||||
decoord 0, 7
|
decoord 0, 7
|
||||||
ld bc, $8c
|
ld bc, $8c
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -720,8 +720,8 @@ Function171cf0:
|
|||||||
ld de, String_172e3f
|
ld de, String_172e3f
|
||||||
jp PlaceString
|
jp PlaceString
|
||||||
|
|
||||||
.asm_171d16
|
.shifted
|
||||||
ld hl, Tilemap_1725f9
|
ld hl, PasswordShiftTilemap
|
||||||
decoord 0, 7
|
decoord 0, 7
|
||||||
ld bc, $8c
|
ld bc, $8c
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -731,19 +731,19 @@ Function171cf0:
|
|||||||
|
|
||||||
Function171d2b:
|
Function171d2b:
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld hl, GFX_171db1
|
ld hl, AsciiFontGFX
|
||||||
ld de, vTiles2 tile $00
|
ld de, vTiles2 tile $00
|
||||||
ld bc, $6e0
|
ld bc, $6e0
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, LZ_172abd
|
ld hl, PasswordSlowpokeLZ
|
||||||
ld de, vTiles0 tile $00
|
ld de, vTiles0 tile $00
|
||||||
call Decompress
|
call Decompress
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
ld hl, Tilemap_172685
|
ld hl, ChooseMobileCenterTilemap
|
||||||
decoord 0, 0
|
decoord 0, 0
|
||||||
ld bc, $168
|
ld bc, $168
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, Attrmap_172955
|
ld hl, ChooseMobileCenterAttrmap
|
||||||
decoord 0, 0, wAttrmap
|
decoord 0, 0, wAttrmap
|
||||||
ld bc, $168
|
ld bc, $168
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -755,57 +755,31 @@ Function171d2b:
|
|||||||
call PlaceString
|
call PlaceString
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Palette_171d71:
|
MobilePasswordPalettes:
|
||||||
RGB 0, 0, 0
|
INCLUDE "gfx/mobile/mobile_password.pal"
|
||||||
RGB 3, 0, 0
|
|
||||||
RGB 5, 0, 0
|
|
||||||
RGB 31, 31, 29
|
|
||||||
RGB 0, 2, 10
|
|
||||||
RGB 2, 10, 21
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 10, 26, 31
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 0, 7, 8
|
|
||||||
RGB 31, 8, 0
|
|
||||||
RGB 1, 17, 15
|
|
||||||
RGB 31, 16, 0
|
|
||||||
RGB 31, 22, 0
|
|
||||||
RGB 31, 27, 0
|
|
||||||
RGB 31, 31, 0
|
|
||||||
RGB 31, 18, 6
|
|
||||||
RGB 0, 3, 0
|
|
||||||
RGB 0, 9, 0
|
|
||||||
RGB 0, 12, 0
|
|
||||||
RGB 0, 16, 0
|
|
||||||
RGB 0, 22, 0
|
|
||||||
RGB 0, 25, 0
|
|
||||||
RGB 0, 27, 0
|
|
||||||
RGB 5, 5, 16
|
|
||||||
RGB 8, 19, 28
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 31, 31, 29
|
|
||||||
RGB 21, 21, 20
|
|
||||||
RGB 11, 11, 10
|
|
||||||
RGB 0, 0, 0
|
|
||||||
|
|
||||||
GFX_171db1:
|
AsciiFontGFX:
|
||||||
INCBIN "gfx/mobile/ascii_font.2bpp"
|
INCBIN "gfx/mobile/ascii_font.2bpp"
|
||||||
|
|
||||||
Tilemap_172491:
|
PasswordTopTilemap:
|
||||||
INCBIN "gfx/unknown/172491.tilemap"
|
INCBIN "gfx/mobile/password_top.tilemap"
|
||||||
Tilemap_17251d:
|
|
||||||
INCBIN "gfx/unknown/17251d.tilemap"
|
|
||||||
Tilemap_1725f9:
|
|
||||||
INCBIN "gfx/unknown/1725f9.tilemap"
|
|
||||||
Tilemap_172685:
|
|
||||||
INCBIN "gfx/unknown/172685.tilemap"
|
|
||||||
Attrmap_1727ed:
|
|
||||||
INCBIN "gfx/unknown/1727ed.attrmap"
|
|
||||||
Attrmap_172955:
|
|
||||||
INCBIN "gfx/unknown/172955.attrmap"
|
|
||||||
|
|
||||||
LZ_172abd:
|
PasswordBottomTilemap:
|
||||||
|
INCBIN "gfx/mobile/password_bottom.tilemap"
|
||||||
|
|
||||||
|
PasswordShiftTilemap:
|
||||||
|
INCBIN "gfx/mobile/password_shift.tilemap"
|
||||||
|
|
||||||
|
ChooseMobileCenterTilemap:
|
||||||
|
INCBIN "gfx/mobile/mobile_center.tilemap"
|
||||||
|
|
||||||
|
MobilePasswordAttrmap:
|
||||||
|
INCBIN "gfx/mobile/password.attrmap"
|
||||||
|
|
||||||
|
ChooseMobileCenterAttrmap:
|
||||||
|
INCBIN "gfx/mobile/mobile_center.attrmap"
|
||||||
|
|
||||||
|
PasswordSlowpokeLZ:
|
||||||
INCBIN "gfx/pokedex/slowpoke.2bpp.lz"
|
INCBIN "gfx/pokedex/slowpoke.2bpp.lz"
|
||||||
|
|
||||||
String_172e31:
|
String_172e31:
|
||||||
@ -830,16 +804,16 @@ Function172e78:
|
|||||||
ld bc, $168
|
ld bc, $168
|
||||||
call ByteFill
|
call ByteFill
|
||||||
call DisableLCD
|
call DisableLCD
|
||||||
ld hl, GameBoyN64GFX
|
ld hl, Stadium2N64GFX
|
||||||
ld de, vTiles2 tile $00
|
ld de, vTiles2 tile $00
|
||||||
ld bc, $610
|
ld bc, $610
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
ld hl, Tilemap_1733af
|
ld hl, Stadium2N64Tilemap
|
||||||
decoord 0, 0
|
decoord 0, 0
|
||||||
ld bc, $168
|
ld bc, $168
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, Attrmap_173517
|
ld hl, Stadium2N64Attrmap
|
||||||
decoord 0, 0, wAttrmap
|
decoord 0, 0, wAttrmap
|
||||||
ld bc, $168
|
ld bc, $168
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -897,15 +871,17 @@ Palette_172edf:
|
|||||||
RGB 0, 0, 0
|
RGB 0, 0, 0
|
||||||
RGB 0, 0, 0
|
RGB 0, 0, 0
|
||||||
|
|
||||||
GameBoyN64GFX:
|
Stadium2N64GFX:
|
||||||
INCBIN "gfx/trade/game_boy_n64.2bpp"
|
INCBIN "gfx/mobile/stadium2_n64.2bpp"
|
||||||
|
|
||||||
Tilemap_1733af:
|
Stadium2N64Tilemap:
|
||||||
if DEF(_CRYSTAL11)
|
if DEF(_CRYSTAL11)
|
||||||
INCBIN "gfx/unknown/1733af_corrupt.tilemap"
|
; Crystal 1.1 corrupted this tilemap by treating $0a bytes as Unix newlines,
|
||||||
|
; and converting them to $0d $0a Windows newlines.
|
||||||
|
INCBIN "gfx/mobile/stadium2_n64_corrupt.tilemap"
|
||||||
else
|
else
|
||||||
INCBIN "gfx/unknown/1733af.tilemap"
|
INCBIN "gfx/mobile/stadium2_n64.tilemap"
|
||||||
endc
|
endc
|
||||||
|
|
||||||
Attrmap_173517:
|
Stadium2N64Attrmap:
|
||||||
INCBIN "gfx/unknown/173517.attrmap"
|
INCBIN "gfx/mobile/stadium2_n64.attrmap"
|
||||||
|
@ -1,5 +1,23 @@
|
|||||||
MobileAdapterGFX::
|
MobileCardGFX::
|
||||||
INCBIN "gfx/mobile/mobile_adapter.2bpp"
|
INCBIN "gfx/mobile/card.2bpp"
|
||||||
|
|
||||||
|
ChrisSilhouetteGFX::
|
||||||
|
INCBIN "gfx/mobile/chris_silhouette.2bpp"
|
||||||
|
|
||||||
|
KrisSilhouetteGFX::
|
||||||
|
INCBIN "gfx/mobile/kris_silhouette.2bpp"
|
||||||
|
|
||||||
|
MobileCard2GFX::
|
||||||
|
INCBIN "gfx/mobile/card_2.2bpp"
|
||||||
|
|
||||||
|
CardLargeSpriteGFX::
|
||||||
|
INCBIN "gfx/mobile/card_large_sprite.2bpp"
|
||||||
|
|
||||||
|
CardFolderGFX::
|
||||||
|
INCBIN "gfx/mobile/card_folder.2bpp"
|
||||||
|
|
||||||
|
CardSpriteGFX::
|
||||||
|
INCBIN "gfx/mobile/card_sprite.2bpp"
|
||||||
|
|
||||||
Function17a68f::
|
Function17a68f::
|
||||||
call Function17a6a8
|
call Function17a6a8
|
||||||
@ -730,21 +748,21 @@ Function17aba0:
|
|||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
|
|
||||||
ld hl, vTiles5 tile $00
|
ld hl, vTiles5 tile $00
|
||||||
ld de, GFX_17afa5
|
ld de, DialpadGFX
|
||||||
lb bc, BANK(GFX_17afa5), $80
|
lb bc, BANK(DialpadGFX), $80 ; includes first 4 tiles of DialpadCursorGFX
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
|
|
||||||
pop af
|
pop af
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
|
|
||||||
ld hl, vTiles0 tile $00
|
ld hl, vTiles0 tile $00
|
||||||
ld de, GFX_17afa5 + $4c0
|
ld de, DialpadCursorGFX
|
||||||
lb bc, BANK(GFX_17afa5), 5
|
lb bc, BANK(DialpadCursorGFX), 5
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
|
|
||||||
ld hl, vTiles0 tile $05
|
ld hl, vTiles0 tile $05
|
||||||
ld de, GFX_11601a
|
ld de, MobileDialingGFX
|
||||||
lb bc, BANK(GFX_11601a), 4
|
lb bc, BANK(MobileDialingGFX), 4
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -764,7 +782,7 @@ Function17abcf:
|
|||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
|
|
||||||
ld hl, GFX_17afa5 + $510
|
ld hl, Palette_17b4b5
|
||||||
ld de, wOBPals1 palette 1
|
ld de, wOBPals1 palette 1
|
||||||
ld bc, 2 palettes
|
ld bc, 2 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -789,14 +807,14 @@ Function17ac0c:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
Function17ac1d:
|
Function17ac1d:
|
||||||
ld hl, Tilemap_17acd5
|
ld hl, DialpadTilemap
|
||||||
decoord 0, 4
|
decoord 0, 4
|
||||||
ld bc, (SCREEN_HEIGHT - 4) * SCREEN_WIDTH
|
ld bc, (SCREEN_HEIGHT - 4) * SCREEN_WIDTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Function17ac2a:
|
Function17ac2a:
|
||||||
ld hl, Tilemap_17ae3d
|
ld hl, DialpadAttrmap
|
||||||
decoord 0, 4, wAttrmap
|
decoord 0, 4, wAttrmap
|
||||||
ld bc, (SCREEN_HEIGHT - 4) * SCREEN_WIDTH
|
ld bc, (SCREEN_HEIGHT - 4) * SCREEN_WIDTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -905,11 +923,21 @@ Palette_17ac95:
|
|||||||
RGB 27, 31, 0
|
RGB 27, 31, 0
|
||||||
RGB 31, 31, 0
|
RGB 31, 31, 0
|
||||||
|
|
||||||
Tilemap_17acd5:
|
DialpadTilemap:
|
||||||
INCBIN "gfx/unknown/17acd5.tilemap"
|
INCBIN "gfx/mobile/dialpad.tilemap"
|
||||||
|
|
||||||
Tilemap_17ae3d:
|
DialpadAttrmap:
|
||||||
INCBIN "gfx/unknown/17ae3d.tilemap"
|
INCBIN "gfx/mobile/dialpad.attrmap"
|
||||||
|
|
||||||
GFX_17afa5::
|
DialpadGFX:
|
||||||
INCBIN "gfx/unknown/17afa5.2bpp"
|
INCBIN "gfx/mobile/dialpad.2bpp"
|
||||||
|
|
||||||
|
DialpadCursorGFX:
|
||||||
|
INCBIN "gfx/mobile/dialpad_cursor.2bpp"
|
||||||
|
|
||||||
|
Palette_17b4b5:
|
||||||
|
RGB 2, 6, 10
|
||||||
|
RGB 24, 30, 29
|
||||||
|
|
||||||
|
MobileCardListGFX::
|
||||||
|
INCBIN "gfx/mobile/card_list.2bpp"
|
||||||
|
@ -625,7 +625,7 @@ Function17d370:
|
|||||||
call CopyBytes
|
call CopyBytes
|
||||||
xor a
|
xor a
|
||||||
ldh [rVBK], a
|
ldh [rVBK], a
|
||||||
ld hl, GFX_17eb7e
|
ld hl, PostalMarkGFX
|
||||||
ld de, vTiles2 tile $60
|
ld de, vTiles2 tile $60
|
||||||
ld bc, 1 tiles
|
ld bc, 1 tiles
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -677,7 +677,7 @@ Function17d405:
|
|||||||
push af
|
push af
|
||||||
ld a, $5
|
ld a, $5
|
||||||
ldh [rSVBK], a
|
ldh [rSVBK], a
|
||||||
ld hl, Palette_17eff6
|
ld hl, PokemonNewsPalettes
|
||||||
ld de, wBGPals1
|
ld de, wBGPals1
|
||||||
ld bc, 8 palettes
|
ld bc, 8 palettes
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -712,7 +712,7 @@ Jumptable_17d483:
|
|||||||
dw Function17e427
|
dw Function17e427
|
||||||
|
|
||||||
Function17d48d:
|
Function17d48d:
|
||||||
ld hl, Palette_17eff6
|
ld hl, PokemonNewsPalettes
|
||||||
ld de, wc608
|
ld de, wc608
|
||||||
ld bc, $40
|
ld bc, $40
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -2870,9 +2870,9 @@ Function17e2a7:
|
|||||||
xor a
|
xor a
|
||||||
ld [wcf66], a
|
ld [wcf66], a
|
||||||
farcall Function118233
|
farcall Function118233
|
||||||
ld de, GFX_17eb7e
|
ld de, PostalMarkGFX
|
||||||
ld hl, vTiles2 tile $60
|
ld hl, vTiles2 tile $60
|
||||||
lb bc, BANK(GFX_17eb7e), 1
|
lb bc, BANK(PostalMarkGFX), 1
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
ld a, [wMobileErrorCodeBuffer]
|
ld a, [wMobileErrorCodeBuffer]
|
||||||
and a
|
and a
|
||||||
@ -3530,45 +3530,14 @@ Function17e6de:
|
|||||||
PokemonNewsGFX:
|
PokemonNewsGFX:
|
||||||
INCBIN "gfx/mobile/pokemon_news.2bpp"
|
INCBIN "gfx/mobile/pokemon_news.2bpp"
|
||||||
|
|
||||||
GFX_17eb7e:
|
PostalMarkGFX:
|
||||||
INCBIN "gfx/unknown/17eb7e.2bpp"
|
INCBIN "gfx/font/postal_mark.2bpp"
|
||||||
|
|
||||||
PokemonNewsTileAttrmap:
|
PokemonNewsTileAttrmap:
|
||||||
INCBIN "gfx/mobile/pokemon_news.bin"
|
INCBIN "gfx/mobile/pokemon_news.bin"
|
||||||
|
|
||||||
Palette_17eff6:
|
PokemonNewsPalettes:
|
||||||
RGB 24, 9, 8
|
INCLUDE "gfx/mobile/pokemon_news.pal"
|
||||||
RGB 4, 9, 18
|
|
||||||
RGB 18, 18, 12
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 24, 24, 18
|
|
||||||
RGB 18, 18, 12
|
|
||||||
RGB 4, 9, 18
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 23, 11, 10
|
|
||||||
RGB 13, 6, 5
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 15, 25, 5
|
|
||||||
RGB 10, 20, 0
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 20, 28, 20
|
|
||||||
RGB 10, 18, 15
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 22, 22, 12
|
|
||||||
RGB 17, 12, 5
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 5, 5, 16
|
|
||||||
RGB 8, 19, 28
|
|
||||||
RGB 0, 0, 0
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 31, 31, 31
|
|
||||||
RGB 27, 24, 0
|
|
||||||
RGB 24, 16, 3
|
|
||||||
RGB 0, 0, 0
|
|
||||||
|
|
||||||
RunMobileScript::
|
RunMobileScript::
|
||||||
ld a, $6
|
ld a, $6
|
||||||
|
@ -600,9 +600,9 @@ Function4a449:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
Function4a485:
|
Function4a485:
|
||||||
ld de, GFX_49c0c
|
ld de, MobileMenuGFX
|
||||||
ld hl, vTiles2 tile $00
|
ld hl, vTiles2 tile $00
|
||||||
lb bc, BANK(GFX_49c0c), 13
|
lb bc, BANK(MobileMenuGFX), 13
|
||||||
call Get2bpp
|
call Get2bpp
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|