2015-12-25 20:34:33 -08:00
|
|
|
MobileTradeAnimation_SendGivemonToGTS: ; 108000
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $80
|
|
|
|
ld [wcf65], a
|
2015-12-25 20:34:33 -08:00
|
|
|
ld de, .TradeAnimScript
|
2015-12-17 10:49:26 -08:00
|
|
|
jp RunMobileTradeAnim_NoFrontpics
|
2015-02-10 19:15:15 -08:00
|
|
|
; 10800b
|
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
.TradeAnimScript:
|
|
|
|
mobiletradeanim_showgtsgivemon
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_12
|
|
|
|
mobiletradeanim_10
|
2016-04-10 11:42:14 -07:00
|
|
|
mobiletradeanim_sendmon
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_06
|
|
|
|
mobiletradeanim_0f
|
|
|
|
mobiletradeanim_end
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
MobileTradeAnimation_RetrieveGivemonFromGTS:
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $80
|
|
|
|
jr asm_108018
|
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
MobileTradeAnimation_ReceiveGetmonFromGTS: ; 108016
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $0
|
|
|
|
asm_108018:
|
|
|
|
ld [wcf65], a
|
2015-12-25 20:34:33 -08:00
|
|
|
ld de, .TradeAnimScript
|
2015-12-17 10:49:26 -08:00
|
|
|
jp RunMobileTradeAnim_NoFrontpics
|
2015-02-10 19:15:15 -08:00
|
|
|
; 108021
|
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
.TradeAnimScript:
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_11
|
|
|
|
mobiletradeanim_07
|
2016-04-10 11:42:14 -07:00
|
|
|
mobiletradeanim_receivemon
|
2015-12-25 20:34:33 -08:00
|
|
|
mobiletradeanim_showgtsgetmon
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_end
|
2015-02-10 19:15:15 -08:00
|
|
|
|
|
|
|
Function108026: ; 108026
|
|
|
|
ld a, $0
|
|
|
|
jr asm_10802c
|
|
|
|
|
|
|
|
Function10802a: ; 10802a
|
|
|
|
ld a, $1
|
|
|
|
|
|
|
|
asm_10802c:
|
|
|
|
ld [wcf65], a
|
2015-12-25 20:34:33 -08:00
|
|
|
ld de, .TradeAnimScript
|
2015-12-17 10:49:26 -08:00
|
|
|
jp RunMobileTradeAnim_Frontpics
|
2015-02-10 19:15:15 -08:00
|
|
|
; 108035
|
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
.TradeAnimScript: ; trade
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_showgivemon
|
|
|
|
mobiletradeanim_12
|
|
|
|
mobiletradeanim_02
|
2016-04-10 11:42:14 -07:00
|
|
|
mobiletradeanim_sendmon
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_05
|
2016-04-10 11:42:14 -07:00
|
|
|
mobiletradeanim_receivemon
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_showgetmon
|
|
|
|
mobiletradeanim_end
|
2015-02-10 19:15:15 -08:00
|
|
|
|
|
|
|
Function10803d: ; 10803d
|
|
|
|
ld a, $0
|
|
|
|
ld [wcf65], a
|
2015-12-25 20:34:33 -08:00
|
|
|
ld de, .TradeAnimScript
|
2015-12-17 10:49:26 -08:00
|
|
|
jp RunMobileTradeAnim_NoFrontpics
|
2015-02-10 19:15:15 -08:00
|
|
|
; 108048
|
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
.TradeAnimScript:
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_11
|
|
|
|
mobiletradeanim_07
|
2016-04-10 11:42:14 -07:00
|
|
|
mobiletradeanim_receivemon
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_showoddegg
|
|
|
|
mobiletradeanim_end
|
2015-02-10 19:15:15 -08:00
|
|
|
|
|
|
|
Function10804d: ; 10804d
|
|
|
|
ld a, $0
|
|
|
|
ld [wcf65], a
|
2015-12-25 20:34:33 -08:00
|
|
|
ld de, .TradeAnimScript
|
2015-12-17 10:49:26 -08:00
|
|
|
jp RunMobileTradeAnim_NoFrontpics
|
2015-02-10 19:15:15 -08:00
|
|
|
; 108058
|
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
.TradeAnimScript:
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_11
|
2015-12-25 20:34:33 -08:00
|
|
|
mobiletradeanim_showgtsgetmon
|
2015-12-17 10:49:26 -08:00
|
|
|
mobiletradeanim_end
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
RunMobileTradeAnim_Frontpics: ; 10805b
|
|
|
|
ld hl, wTradeAnimPointer
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hl], e
|
|
|
|
inc hl
|
|
|
|
ld [hl], d
|
2015-11-05 11:06:03 -08:00
|
|
|
ld a, [hMapAnims]
|
2015-02-10 19:15:15 -08:00
|
|
|
push af
|
|
|
|
xor a
|
2015-11-05 11:06:03 -08:00
|
|
|
ld [hMapAnims], a
|
2015-02-10 19:15:15 -08:00
|
|
|
ld hl, VramState
|
|
|
|
ld a, [hl]
|
|
|
|
push af
|
|
|
|
res 0, [hl]
|
|
|
|
ld hl, Options
|
|
|
|
ld a, [hl]
|
|
|
|
push af
|
2015-12-17 10:49:26 -08:00
|
|
|
set NO_TEXT_SCROLL, [hl]
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function1080b7
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
|
|
|
call MobileTradeAnim_JumptableLoop
|
|
|
|
jr nc, .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
pop af
|
|
|
|
ld [Options], a
|
|
|
|
pop af
|
|
|
|
ld [VramState], a
|
|
|
|
pop af
|
2015-11-05 11:06:03 -08:00
|
|
|
ld [hMapAnims], a
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108089
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
RunMobileTradeAnim_NoFrontpics: ; 108089
|
|
|
|
ld hl, wTradeAnimPointer
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hl], e
|
|
|
|
inc hl
|
|
|
|
ld [hl], d
|
2015-11-05 11:06:03 -08:00
|
|
|
ld a, [hMapAnims]
|
2015-02-10 19:15:15 -08:00
|
|
|
push af
|
|
|
|
xor a
|
2015-11-05 11:06:03 -08:00
|
|
|
ld [hMapAnims], a
|
2015-02-10 19:15:15 -08:00
|
|
|
ld hl, VramState
|
|
|
|
ld a, [hl]
|
|
|
|
push af
|
|
|
|
res 0, [hl]
|
|
|
|
ld hl, Options
|
|
|
|
ld a, [hl]
|
|
|
|
push af
|
2015-12-17 10:49:26 -08:00
|
|
|
set NO_TEXT_SCROLL, [hl]
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108157
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
|
|
|
call MobileTradeAnim_JumptableLoop
|
|
|
|
jr nc, .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
pop af
|
|
|
|
ld [Options], a
|
|
|
|
pop af
|
|
|
|
ld [VramState], a
|
|
|
|
pop af
|
2015-11-05 11:06:03 -08:00
|
|
|
ld [hMapAnims], a
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 1080b7
|
|
|
|
|
|
|
|
Function1080b7: ; 1080b7
|
|
|
|
xor a
|
2015-10-24 16:49:19 -07:00
|
|
|
ld [wJumptableIndex], a
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
call DisableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearVTiles
|
|
|
|
call MobileTradeAnim_ClearBGMap
|
2015-11-04 13:14:27 -08:00
|
|
|
call LoadStandardFont
|
2015-10-21 07:43:42 -07:00
|
|
|
call LoadFontsBattleExtra
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $1
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, LZ_108da7
|
|
|
|
ld de, VTiles2
|
|
|
|
call Decompress
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $0
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, LZ_108d27
|
2015-10-14 06:29:15 -07:00
|
|
|
ld de, VTiles0 tile $20
|
2015-02-10 19:15:15 -08:00
|
|
|
call Decompress
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
call EnableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-12-01 18:54:11 -08:00
|
|
|
callba ClearSpriteAnims
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrame
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, TradeBallGFX
|
|
|
|
ld hl, VTiles0
|
|
|
|
lb bc, BANK(TradeBallGFX), $06
|
|
|
|
call Request2bpp
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, TradePoofGFX
|
2015-10-14 06:29:15 -07:00
|
|
|
ld hl, VTiles0 tile $06
|
2015-02-10 19:15:15 -08:00
|
|
|
lb bc, BANK(TradePoofGFX), $0c
|
|
|
|
call Request2bpp
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, wSpriteAnimDict
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hli], a
|
|
|
|
ld [hl], $0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
|
|
|
ld a, [wPlayerTrademonSpecies]
|
|
|
|
ld hl, wPlayerTrademonDVs
|
2015-10-14 06:29:15 -07:00
|
|
|
ld de, VTiles0 tile $30
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_GetFrontpic
|
|
|
|
|
|
|
|
ld a, [wOTTrademonSpecies]
|
|
|
|
ld hl, wOTTrademonDVs
|
2015-10-14 06:29:15 -07:00
|
|
|
ld de, VTiles2 tile $31
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_GetFrontpic
|
|
|
|
|
|
|
|
ld a, [wPlayerTrademonSpecies]
|
|
|
|
ld de, wPlayerTrademonSpeciesName
|
|
|
|
call MobileTradeAnim_InitSpeciesName
|
|
|
|
|
|
|
|
ld a, [wOTTrademonSpecies]
|
|
|
|
ld de, wOTTrademonSpeciesName
|
|
|
|
call MobileTradeAnim_InitSpeciesName
|
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
call Function108b98
|
|
|
|
call Function108af4
|
|
|
|
ret
|
|
|
|
; 108157
|
|
|
|
|
|
|
|
Function108157: ; 108157
|
|
|
|
xor a
|
2015-10-24 16:49:19 -07:00
|
|
|
ld [wJumptableIndex], a
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
call DisableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearVTiles
|
|
|
|
call MobileTradeAnim_ClearBGMap
|
2015-11-04 13:14:27 -08:00
|
|
|
call LoadStandardFont
|
2015-10-21 07:43:42 -07:00
|
|
|
call LoadFontsBattleExtra
|
2015-02-10 19:15:15 -08:00
|
|
|
call EnableLCD
|
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-12-01 18:54:11 -08:00
|
|
|
callba ClearSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, wSpriteAnimDict
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hli], a
|
|
|
|
ld [hl], $0
|
|
|
|
call DelayFrame
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wPlayerTrademonSpecies]
|
|
|
|
ld de, wPlayerTrademonSpeciesName
|
|
|
|
call MobileTradeAnim_InitSpeciesName
|
|
|
|
ld a, [wOTTrademonSpecies]
|
|
|
|
ld de, wOTTrademonSpeciesName
|
|
|
|
call MobileTradeAnim_InitSpeciesName
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
call Function108b98
|
|
|
|
call Function108af4
|
|
|
|
ret
|
|
|
|
; 1081ad
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_ClearVTiles: ; 1081ad
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $1
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, VTiles0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 3 * $80 tiles
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
call ByteFill
|
|
|
|
ld a, $0
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, VTiles0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 3 * $80 tiles
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
call ByteFill
|
|
|
|
ret
|
|
|
|
; 1081ca
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_ClearBGMap: ; 1081ca
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $1
|
|
|
|
ld [rVBK], a
|
2015-11-20 08:47:52 -08:00
|
|
|
hlbgcoord 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 2 * BG_MAP_HEIGHT * BG_MAP_WIDTH
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $0
|
|
|
|
call ByteFill
|
|
|
|
ld a, $0
|
|
|
|
ld [rVBK], a
|
2015-11-20 08:47:52 -08:00
|
|
|
hlbgcoord 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 2 * BG_MAP_HEIGHT * BG_MAP_WIDTH
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $7f
|
|
|
|
call ByteFill
|
|
|
|
ret
|
|
|
|
; 1081e9
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_GetFrontpic: ; 1081e9
|
2015-02-10 19:15:15 -08:00
|
|
|
push de
|
|
|
|
push af
|
|
|
|
predef GetUnownLetter
|
|
|
|
pop af
|
|
|
|
ld [CurPartySpecies], a
|
|
|
|
ld [CurSpecies], a
|
|
|
|
call GetBaseData
|
|
|
|
pop de
|
|
|
|
predef GetFrontpic
|
|
|
|
ret
|
|
|
|
; 108201
|
|
|
|
|
|
|
|
Function108201: ; 108201
|
|
|
|
push de
|
|
|
|
push af
|
|
|
|
predef GetUnownLetter
|
|
|
|
pop af
|
|
|
|
ld [CurPartySpecies], a
|
|
|
|
ld [CurSpecies], a
|
|
|
|
call GetBaseData
|
|
|
|
pop de
|
2015-11-20 12:15:32 -08:00
|
|
|
predef FrontpicPredef
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108219
|
|
|
|
|
|
|
|
Function108219: ; 108219
|
|
|
|
ld [CurPartySpecies], a
|
|
|
|
hlcoord 7, 2
|
|
|
|
ld d, $0
|
2015-11-07 06:48:32 -08:00
|
|
|
ld e, ANIM_MON_TRADE
|
|
|
|
predef AnimateFrontpic
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108229
|
|
|
|
|
|
|
|
Function108229: ; 108229
|
|
|
|
ld [CurPartySpecies], a
|
|
|
|
hlcoord 7, 2
|
|
|
|
ld d, $0
|
2015-11-07 06:48:32 -08:00
|
|
|
ld e, ANIM_MON_TRADE
|
|
|
|
predef LoadMonAnimation
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108239
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_InitSpeciesName: ; 108239
|
2015-02-10 19:15:15 -08:00
|
|
|
push de
|
|
|
|
ld [wd265], a
|
|
|
|
call GetPokemonName
|
|
|
|
ld hl, StringBuffer1
|
|
|
|
pop de
|
2015-11-07 06:48:32 -08:00
|
|
|
ld bc, PKMN_NAME_LENGTH
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
|
|
|
ret
|
|
|
|
; 10824b
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_JumptableLoop: ; 10824b
|
2015-10-24 16:49:19 -07:00
|
|
|
ld a, [wJumptableIndex]
|
2015-02-10 19:15:15 -08:00
|
|
|
bit 7, a
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .StopAnim
|
|
|
|
call .ExecuteMobileTradeAnimCommand
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrame
|
|
|
|
and a
|
|
|
|
ret
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.StopAnim:
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-11-04 13:14:27 -08:00
|
|
|
call LoadStandardFont
|
2015-10-21 07:43:42 -07:00
|
|
|
call LoadFontsBattleExtra
|
2015-12-07 08:28:58 -08:00
|
|
|
callba MobileFunc_106462
|
2015-02-10 19:15:15 -08:00
|
|
|
callba Function106464
|
|
|
|
scf
|
|
|
|
ret
|
|
|
|
; 10827b
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.ExecuteMobileTradeAnimCommand: ; 10827b
|
2015-10-24 16:49:19 -07:00
|
|
|
ld a, [wJumptableIndex]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld e, a
|
|
|
|
ld d, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .Jumptable
|
2015-02-10 19:15:15 -08:00
|
|
|
add hl, de
|
2016-05-04 08:46:23 -07:00
|
|
|
add hl, de
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hli]
|
|
|
|
ld h, [hl]
|
|
|
|
ld l, a
|
2017-06-09 14:01:10 -07:00
|
|
|
jp hl
|
2015-02-10 19:15:15 -08:00
|
|
|
; 10828a
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.Jumptable: ; 10828a
|
2016-04-10 11:42:14 -07:00
|
|
|
|
2015-12-26 18:59:03 -08:00
|
|
|
dw GetMobileTradeAnimByte ; 00
|
|
|
|
dw MobileTradeAnim_ShowPlayerMonToBeSent ; 01
|
|
|
|
dw MobileTradeAnim_02 ; 02
|
|
|
|
dw MobileTradeAnim_GiveTrademon1 ; 03
|
|
|
|
dw MobileTradeAnim_GiveTrademon2 ; 04
|
|
|
|
dw MobileTradeAnim_05 ; 05
|
|
|
|
dw MobileTradeAnim_06 ; 06
|
|
|
|
dw MobileTradeAnim_07 ; 07
|
|
|
|
dw MobileTradeAnim_GetTrademon1 ; 08
|
|
|
|
dw MobileTradeAnim_GetTrademon2 ; 09
|
|
|
|
dw MobileTradeAnim_GetTrademon3 ; 0a
|
|
|
|
dw MobileTradeAnim_ShowOTMonFromTrade ; 0b
|
|
|
|
dw EndMobileTradeAnim ; 0c
|
|
|
|
dw MobileTradeAnim_ShowPlayerMonForGTS ; 0d
|
|
|
|
dw MobileTradeAnim_ShowOTMonFromGTS ; 0e
|
|
|
|
dw MobileTradeAnim_0f ; 0f
|
|
|
|
dw MobileTradeAnim_10 ; 10
|
|
|
|
dw MobileTradeAnim_11 ; 11
|
|
|
|
dw MobileTradeAnim_FadeToBlack ; 12
|
|
|
|
dw MobileTradeAnim_GetOddEgg ; 13 get odd egg
|
2015-02-10 19:15:15 -08:00
|
|
|
; 1082b2
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_Next: ; 1082b2
|
2015-10-24 16:49:19 -07:00
|
|
|
ld hl, wJumptableIndex
|
2015-02-10 19:15:15 -08:00
|
|
|
inc [hl]
|
|
|
|
ret
|
|
|
|
; 1082b7
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
GetMobileTradeAnimByte: ; 1082b7
|
|
|
|
ld hl, wTradeAnimPointer
|
2015-02-10 19:15:15 -08:00
|
|
|
ld e, [hl]
|
|
|
|
inc hl
|
|
|
|
ld d, [hl]
|
|
|
|
ld a, [de]
|
2015-10-24 16:49:19 -07:00
|
|
|
ld [wJumptableIndex], a
|
2015-02-10 19:15:15 -08:00
|
|
|
inc de
|
|
|
|
ld [hl], d
|
|
|
|
dec hl
|
|
|
|
ld [hl], e
|
|
|
|
ret
|
|
|
|
; 1082c6
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
EndMobileTradeAnim: ; 1082c6
|
2015-10-24 16:49:19 -07:00
|
|
|
ld hl, wJumptableIndex
|
2015-02-10 19:15:15 -08:00
|
|
|
set 7, [hl]
|
|
|
|
ret
|
|
|
|
; 1082cc
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
WaitMobileTradeSpriteAnims: ; 1082cc
|
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
push bc
|
2015-11-28 12:13:40 -08:00
|
|
|
callba PlaySpriteAnimations
|
2015-02-10 19:15:15 -08:00
|
|
|
pop bc
|
|
|
|
call DelayFrame
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 1082db
|
|
|
|
|
|
|
|
Function1082db: ; 1082db
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
2015-11-28 12:13:40 -08:00
|
|
|
callba PlaySpriteAnimations
|
2015-12-17 10:49:26 -08:00
|
|
|
callba SetUpPokeAnim
|
2016-05-04 19:34:09 -07:00
|
|
|
callba HDMATransferTileMapToWRAMBank3
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nc, .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 1082f0
|
|
|
|
|
|
|
|
Function1082f0: ; 1082f0
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108b78
|
|
|
|
call DelayFrame
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 1082fa
|
|
|
|
|
|
|
|
Function1082fa: ; 1082fa
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108b78
|
|
|
|
push hl
|
|
|
|
push bc
|
2015-11-28 12:13:40 -08:00
|
|
|
callba PlaySpriteAnimations
|
2015-02-10 19:15:15 -08:00
|
|
|
pop bc
|
|
|
|
pop hl
|
|
|
|
call DelayFrame
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 10830e
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_ShowPlayerMonToBeSent: ; 10830e
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, MUSIC_EVOLUTION
|
|
|
|
call PlayMusic2
|
|
|
|
ld a, $80
|
|
|
|
ld [hSCX], a
|
|
|
|
xor a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $87
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $50
|
|
|
|
ld [hWY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_DisplayMonToBeSent
|
|
|
|
ld a, [wPlayerTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [CurPartySpecies], a
|
|
|
|
call Function10895e
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wPlayerTrademonDVs]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wPlayerTrademonDVs + 1]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs + 1], a
|
2016-05-13 19:46:32 -07:00
|
|
|
ld b, SCGB_PLAYER_OR_MON_FRONTPIC_PALS
|
2015-02-10 19:15:15 -08:00
|
|
|
call GetSGBLayout
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, %11100100 ; 3,2,1,0
|
2015-02-10 19:15:15 -08:00
|
|
|
call DmgToCgbBGPals
|
|
|
|
call WaitBGMap
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hWX]
|
|
|
|
cp $7
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .okay
|
2015-02-10 19:15:15 -08:00
|
|
|
sub $4
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, [hSCX]
|
|
|
|
sub $4
|
|
|
|
ld [hSCX], a
|
|
|
|
call DelayFrame
|
2015-12-17 10:49:26 -08:00
|
|
|
jr .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.okay
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wPlayerTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
call GetCryIndex
|
2015-12-17 10:49:26 -08:00
|
|
|
jr c, .skip_cry
|
2015-02-10 19:15:15 -08:00
|
|
|
ld e, c
|
|
|
|
ld d, b
|
|
|
|
call PlayCryHeader
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.skip_cry
|
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
|
|
|
call Function108bec
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_20
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_BALL_POOF
|
|
|
|
call PlaySFX
|
2015-07-22 12:57:02 -07:00
|
|
|
hlcoord 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 12 * SCREEN_WIDTH
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, " "
|
2015-02-10 19:15:15 -08:00
|
|
|
call ByteFill
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 80
|
|
|
|
call WaitMobileTradeSpriteAnims
|
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 10839b
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_ShowOTMonFromTrade: ; 10839b
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
call DisableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearBGMap
|
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [CurPartySpecies], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, wOTTrademonDVs
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, VTiles2
|
|
|
|
call Function108201
|
|
|
|
call EnableLCD
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeAllSprites
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_21
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108b45
|
|
|
|
ld a, $1
|
|
|
|
call Function108b98
|
|
|
|
call Function108af4
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 48
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_BALL_POOF
|
|
|
|
call PlaySFX
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_DisplayReceivedMon
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $50
|
|
|
|
ld [hWY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [CurPartySpecies], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonDVs]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonDVs + 1]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs + 1], a
|
2016-05-13 19:46:32 -07:00
|
|
|
ld b, SCGB_PLAYER_OR_MON_FRONTPIC_PALS
|
2015-02-10 19:15:15 -08:00
|
|
|
call GetSGBLayout
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, %11100100 ; 3,2,1,0
|
2015-02-10 19:15:15 -08:00
|
|
|
call DmgToCgbBGPals
|
|
|
|
call Function108963
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108229
|
|
|
|
call Function1082db
|
|
|
|
call Function108c16
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 10842c
|
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
MobileTradeAnim_ShowPlayerMonForGTS: ; 10842c
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, MUSIC_EVOLUTION
|
|
|
|
call PlayMusic2
|
|
|
|
ld a, $80
|
|
|
|
ld [hSCX], a
|
|
|
|
xor a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $87
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $50
|
|
|
|
ld [hWY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_DisplayMonToBeSent
|
|
|
|
ld a, [wPlayerTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [CurPartySpecies], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, wPlayerTrademonDVs
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function10898a
|
|
|
|
call DelayFrame
|
|
|
|
ld de, TradeBallGFX
|
|
|
|
ld hl, VTiles0
|
|
|
|
lb bc, BANK(TradeBallGFX), $06
|
|
|
|
call Request2bpp
|
|
|
|
ld de, TradePoofGFX
|
2015-10-14 06:29:15 -07:00
|
|
|
ld hl, VTiles0 tile $06
|
2015-02-10 19:15:15 -08:00
|
|
|
lb bc, BANK(TradePoofGFX), $0c
|
|
|
|
call Request2bpp
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wPlayerTrademonDVs]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wPlayerTrademonDVs + 1]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs + 1], a
|
2016-05-13 19:46:32 -07:00
|
|
|
ld b, SCGB_PLAYER_OR_MON_FRONTPIC_PALS
|
2015-02-10 19:15:15 -08:00
|
|
|
call GetSGBLayout
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, %11100100 ; 3,2,1,0
|
2015-02-10 19:15:15 -08:00
|
|
|
call DmgToCgbBGPals
|
|
|
|
call WaitBGMap
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hWX]
|
|
|
|
cp $7
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .done
|
2015-02-10 19:15:15 -08:00
|
|
|
sub $4
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, [hSCX]
|
|
|
|
sub $4
|
|
|
|
ld [hSCX], a
|
|
|
|
call DelayFrame
|
2015-12-17 10:49:26 -08:00
|
|
|
jr .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.done
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wPlayerTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
call GetCryIndex
|
2015-12-17 10:49:26 -08:00
|
|
|
jr c, .skip_cry
|
2015-02-10 19:15:15 -08:00
|
|
|
ld e, c
|
|
|
|
ld d, b
|
|
|
|
call PlayCryHeader
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.skip_cry
|
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
|
|
|
call Function108c2b
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_20
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_BALL_POOF
|
|
|
|
call PlaySFX
|
2015-07-22 12:57:02 -07:00
|
|
|
hlcoord 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 12 * SCREEN_WIDTH
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, " "
|
2015-02-10 19:15:15 -08:00
|
|
|
call ByteFill
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 80
|
|
|
|
call WaitMobileTradeSpriteAnims
|
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 1084d7
|
|
|
|
|
2015-12-25 20:34:33 -08:00
|
|
|
MobileTradeAnim_ShowOTMonFromGTS: ; 1084d7
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
call DisableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearBGMap
|
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [CurPartySpecies], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, wOTTrademonDVs
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, VTiles2
|
|
|
|
call Function108201
|
|
|
|
call EnableLCD
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeAllSprites
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrame
|
|
|
|
ld de, TradeBallGFX
|
|
|
|
ld hl, VTiles0
|
|
|
|
lb bc, BANK(TradeBallGFX), $06
|
|
|
|
call Request2bpp
|
|
|
|
ld de, TradePoofGFX
|
2015-10-14 06:29:15 -07:00
|
|
|
ld hl, VTiles0 tile $06
|
2015-02-10 19:15:15 -08:00
|
|
|
lb bc, BANK(TradePoofGFX), $0c
|
|
|
|
call Request2bpp
|
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_21
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108b45
|
|
|
|
ld a, $1
|
|
|
|
call Function108b98
|
|
|
|
call Function108af4
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 48
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_BALL_POOF
|
|
|
|
call PlaySFX
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_DisplayReceivedMon
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $50
|
|
|
|
ld [hWY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [CurPartySpecies], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonDVs]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonDVs + 1]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs + 1], a
|
2016-05-13 19:46:32 -07:00
|
|
|
ld b, SCGB_PLAYER_OR_MON_FRONTPIC_PALS
|
2015-02-10 19:15:15 -08:00
|
|
|
call GetSGBLayout
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, %11100100 ; 3,2,1,0
|
2015-02-10 19:15:15 -08:00
|
|
|
call DmgToCgbBGPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonSpecies]
|
|
|
|
ld hl, wOTTrademonDVs
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function10898a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108229
|
|
|
|
call Function1082db
|
|
|
|
call Function108c40
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108589
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_GetOddEgg: ; 108589
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
call DisableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearBGMap
|
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [CurPartySpecies], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, wOTTrademonDVs
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, VTiles2
|
|
|
|
call Function108201
|
|
|
|
call EnableLCD
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeAllSprites
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrame
|
|
|
|
ld de, TradeBallGFX
|
|
|
|
ld hl, VTiles0
|
|
|
|
lb bc, BANK(TradeBallGFX), $06
|
|
|
|
call Request2bpp
|
|
|
|
ld de, TradePoofGFX
|
2015-10-14 06:29:15 -07:00
|
|
|
ld hl, VTiles0 tile $06
|
2015-02-10 19:15:15 -08:00
|
|
|
lb bc, BANK(TradePoofGFX), $0c
|
|
|
|
call Request2bpp
|
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_21
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108b45
|
|
|
|
ld a, $1
|
|
|
|
call Function108b98
|
|
|
|
call Function108af4
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 48
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_BALL_POOF
|
|
|
|
call PlaySFX
|
|
|
|
call Function108a33
|
|
|
|
xor a
|
|
|
|
ld [hSCX], a
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $50
|
|
|
|
ld [hWY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [CurPartySpecies], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonDVs]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonDVs + 1]
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [TempMonDVs + 1], a
|
2016-05-13 19:46:32 -07:00
|
|
|
ld b, SCGB_PLAYER_OR_MON_FRONTPIC_PALS
|
2015-02-10 19:15:15 -08:00
|
|
|
call GetSGBLayout
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, %11100100 ; 3,2,1,0
|
2015-02-10 19:15:15 -08:00
|
|
|
call DmgToCgbBGPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonSpecies]
|
|
|
|
ld hl, wOTTrademonDVs
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function10898a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, [wOTTrademonSpecies]
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108229
|
|
|
|
call Function1082db
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108638
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_02: ; 108638
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeAllSprites
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
xor a
|
|
|
|
ld [hBGMapMode], a
|
|
|
|
call DisableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearBGMap
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function108c80
|
|
|
|
call Function108c6d
|
|
|
|
call EnableLCD
|
|
|
|
ld a, $c
|
|
|
|
ld [hSCX], a
|
|
|
|
ld a, $78
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $5
|
|
|
|
ld [rSVBK], a
|
|
|
|
ld hl, Palette_109107
|
2015-11-20 12:15:32 -08:00
|
|
|
ld de, UnknBGPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 8 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
call Function108d07
|
|
|
|
call Function108af4
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108689
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_10: ; 108689
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeAllSprites
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
xor a
|
|
|
|
ld [hBGMapMode], a
|
|
|
|
call DisableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearBGMap
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $1
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, LZ_108da7
|
|
|
|
ld de, VTiles2
|
|
|
|
call Decompress
|
|
|
|
ld a, $0
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, LZ_108d27
|
2015-10-14 06:29:15 -07:00
|
|
|
ld de, VTiles0 tile $20
|
2015-02-10 19:15:15 -08:00
|
|
|
call Decompress
|
|
|
|
call Function108c80
|
|
|
|
call Function108c6d
|
|
|
|
call EnableLCD
|
|
|
|
ld a, $c
|
|
|
|
ld [hSCX], a
|
|
|
|
ld a, $78
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $5
|
|
|
|
ld [rSVBK], a
|
|
|
|
ld hl, Palette_109107
|
2015-11-20 12:15:32 -08:00
|
|
|
ld de, UnknBGPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 8 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
call Function108d07
|
|
|
|
call Function108af4
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 1086f4
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_11: ; 1086f4
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
xor a
|
|
|
|
ld [hBGMapMode], a
|
|
|
|
call DisableLCD
|
|
|
|
ld a, $1
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, LZ_108da7
|
|
|
|
ld de, VTiles2
|
|
|
|
call Decompress
|
|
|
|
ld a, $0
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, LZ_108d27
|
2015-10-14 06:29:15 -07:00
|
|
|
ld de, VTiles0 tile $20
|
2015-02-10 19:15:15 -08:00
|
|
|
call Decompress
|
|
|
|
call Function108c80
|
|
|
|
call Function108c6d
|
|
|
|
call EnableLCD
|
|
|
|
ld a, $80
|
|
|
|
ld [hSCX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hSCY], a
|
|
|
|
ld a, $7
|
|
|
|
ld [hWX], a
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $5
|
|
|
|
ld [rSVBK], a
|
|
|
|
ld hl, Palette_109107
|
2015-11-20 12:15:32 -08:00
|
|
|
ld de, UnknBGPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 8 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
call Function108d07
|
|
|
|
call Function108af4
|
|
|
|
call Function108b5a
|
|
|
|
ld a, $e0
|
|
|
|
ld [hSCX], a
|
|
|
|
ld de, MUSIC_EVOLUTION
|
|
|
|
call PlayMusic2
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108763
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_GiveTrademon1: ; 108763
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_GIVE_TRADEMON
|
|
|
|
call PlaySFX
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 40
|
|
|
|
ld hl, BGPals + 6 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function1082f0
|
|
|
|
call Function108af4
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hSCX]
|
|
|
|
cp $e0
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .loop2
|
2015-02-10 19:15:15 -08:00
|
|
|
dec a
|
2016-05-04 08:46:23 -07:00
|
|
|
dec a
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hSCX], a
|
|
|
|
cp $f8
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .next
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_22
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.next
|
|
|
|
ld c, 1
|
|
|
|
call WaitMobileTradeSpriteAnims
|
|
|
|
jr .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop2
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hSCY]
|
|
|
|
cp $f8
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .done
|
2015-02-10 19:15:15 -08:00
|
|
|
dec a
|
2016-05-04 08:46:23 -07:00
|
|
|
dec a
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hSCY], a
|
|
|
|
cp $40
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .init
|
2015-02-10 19:15:15 -08:00
|
|
|
cp $30
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .delete
|
2015-02-10 19:15:15 -08:00
|
|
|
cp $68
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .replace
|
|
|
|
jr .next2
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.init
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_22
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
call Function108ad4
|
2015-12-17 10:49:26 -08:00
|
|
|
jr .next2
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.delete
|
|
|
|
call MobileTradeAnim_DeleteSprites
|
|
|
|
jr .next2
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.replace
|
|
|
|
call MobileTradeAnim_DeleteSprites
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $1
|
|
|
|
call Function108ad4
|
2015-12-17 10:49:26 -08:00
|
|
|
.next2
|
|
|
|
ld c, 1
|
|
|
|
call WaitMobileTradeSpriteAnims
|
|
|
|
jr .loop2
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.done
|
|
|
|
call MobileTradeAnim_Next
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 1087cf
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_GiveTrademon2: ; 1087cf
|
|
|
|
ld c, 40
|
|
|
|
ld hl, BGPals + 1 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function1082f0
|
|
|
|
call Function108af4
|
|
|
|
call Function108b5a
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 9, 10, 2, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_25
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_FORESIGHT
|
|
|
|
call PlaySFX
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 10
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
ld [wcf64], a
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 9, 10, 2, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_23
|
|
|
|
call _InitSpriteAnimStruct
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hSCY]
|
|
|
|
cp $90
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .done
|
2015-02-10 19:15:15 -08:00
|
|
|
sub $8
|
|
|
|
ld [hSCY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 1
|
|
|
|
call WaitMobileTradeSpriteAnims
|
|
|
|
jr .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.done
|
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108811
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_05: ; 108811
|
|
|
|
ld c, 40
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $1
|
|
|
|
ld [wcf64], a
|
|
|
|
ld de, SFX_SHARPEN
|
|
|
|
call PlaySFX
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 60
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 30, 10, 2, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_24
|
|
|
|
call _InitSpriteAnimStruct
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_THROW_BALL
|
|
|
|
call PlaySFX
|
|
|
|
ret
|
|
|
|
; 108838
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_06: ; 108838
|
|
|
|
ld c, 40
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $1
|
|
|
|
ld [wcf64], a
|
|
|
|
ld de, SFX_SHARPEN
|
|
|
|
call PlaySFX
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 10884c
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_07: ; 10884c
|
2015-11-13 07:48:49 -08:00
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 30, 10, 2, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_24
|
|
|
|
call _InitSpriteAnimStruct
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_THROW_BALL
|
|
|
|
call PlaySFX
|
|
|
|
ret
|
|
|
|
; 108863
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_GetTrademon1: ; 108863
|
|
|
|
ld c, 40
|
|
|
|
call WaitMobileTradeSpriteAnims
|
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hSCY]
|
|
|
|
cp $f8
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .done
|
2015-02-10 19:15:15 -08:00
|
|
|
add $8
|
|
|
|
ld [hSCY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 1
|
|
|
|
call WaitMobileTradeSpriteAnims
|
|
|
|
jr .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.done
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeAllSprites
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 9, 10, 2, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_25
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
ld de, SFX_GLASS_TING_2
|
|
|
|
call PlaySFX
|
|
|
|
call Function108af4
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_Next
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108894
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_GetTrademon2: ; 108894
|
|
|
|
ld c, 20
|
|
|
|
ld hl, BGPals + 1 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function1082fa
|
|
|
|
ld de, SFX_GIVE_TRADEMON
|
|
|
|
call PlaySFX
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 20
|
|
|
|
ld hl, BGPals + 1 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function1082fa
|
|
|
|
call Function108af4
|
|
|
|
.asm_1088ad
|
|
|
|
ld a, [hSCY]
|
|
|
|
cp $78
|
|
|
|
jr z, .asm_1088ee
|
|
|
|
inc a
|
2016-05-04 08:46:23 -07:00
|
|
|
inc a
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hSCY], a
|
|
|
|
cp $30
|
|
|
|
jr z, .asm_1088c5
|
|
|
|
cp $40
|
|
|
|
jr z, .asm_1088dd
|
|
|
|
cp $68
|
|
|
|
jr z, .asm_1088cf
|
|
|
|
jr .asm_1088e7
|
|
|
|
|
|
|
|
.asm_1088c5
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_22
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
jr .asm_1088e7
|
|
|
|
|
|
|
|
.asm_1088cf
|
2015-11-18 10:01:55 -08:00
|
|
|
depixel 10, 11, 4, 0
|
2015-11-13 07:48:49 -08:00
|
|
|
ld a, SPRITE_ANIM_INDEX_22
|
|
|
|
call _InitSpriteAnimStruct
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
call Function108ad4
|
|
|
|
jr .asm_1088e7
|
|
|
|
|
|
|
|
.asm_1088dd
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_DeleteSprites
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, $1
|
|
|
|
call Function108ad4
|
|
|
|
jr .asm_1088e7
|
|
|
|
|
|
|
|
.asm_1088e7
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 1
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
jr .asm_1088ad
|
|
|
|
|
|
|
|
.asm_1088ee
|
|
|
|
ld a, [hSCX]
|
|
|
|
cp $c
|
|
|
|
jr z, .asm_108906
|
|
|
|
inc a
|
2016-05-04 08:46:23 -07:00
|
|
|
inc a
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hSCX], a
|
2015-12-17 10:49:26 -08:00
|
|
|
cp -8
|
2015-02-10 19:15:15 -08:00
|
|
|
jr nz, .asm_1088e7
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_DeleteSprites
|
|
|
|
ld c, 1
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-02-10 19:15:15 -08:00
|
|
|
jr .asm_1088ee
|
|
|
|
|
|
|
|
.asm_108906
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_Next
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 10890a
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_GetTrademon3: ; 10890a
|
|
|
|
ld c, 40
|
|
|
|
ld hl, BGPals + 6 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call Function1082f0
|
|
|
|
call Function108af4
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108919
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_0f: ; 108919
|
|
|
|
ld c, 40
|
|
|
|
call WaitMobileTradeSpriteAnims
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeAllSprites
|
2015-11-11 20:38:57 -08:00
|
|
|
call ClearBGPalettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
call ClearTileMap
|
|
|
|
call DisableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearVTiles
|
|
|
|
call MobileTradeAnim_ClearBGMap
|
2015-02-10 19:15:15 -08:00
|
|
|
call EnableLCD
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 10893d
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_FadeToBlack: ; 10893d
|
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [rBGP]
|
|
|
|
and a
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .blank
|
2015-02-10 19:15:15 -08:00
|
|
|
sla a
|
|
|
|
sla a
|
|
|
|
call DmgToCgbBGPals
|
2015-12-09 08:38:40 -08:00
|
|
|
call DmgToCgbObjPal0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 4
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
2015-12-17 10:49:26 -08:00
|
|
|
jr .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.blank
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
|
|
|
call DmgToCgbBGPals
|
2015-12-09 08:38:40 -08:00
|
|
|
call DmgToCgbObjPal0
|
2015-12-17 10:49:26 -08:00
|
|
|
call GetMobileTradeAnimByte
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 10895e
|
|
|
|
|
|
|
|
Function10895e: ; 10895e
|
2015-10-14 06:29:15 -07:00
|
|
|
ld de, VTiles0 tile $30
|
2015-02-10 19:15:15 -08:00
|
|
|
jr asm_108966
|
|
|
|
|
|
|
|
Function108963:
|
2015-10-14 06:29:15 -07:00
|
|
|
ld de, VTiles2 tile $31
|
2015-02-10 19:15:15 -08:00
|
|
|
asm_108966
|
|
|
|
call DelayFrame
|
|
|
|
ld hl, VTiles2
|
2015-12-17 10:49:26 -08:00
|
|
|
lb bc, $a, $31 ; $a is the bank of ?????
|
2015-02-10 19:15:15 -08:00
|
|
|
call Request2bpp
|
|
|
|
call WaitTop
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearTilemap
|
2015-02-10 19:15:15 -08:00
|
|
|
hlcoord 7, 2
|
|
|
|
xor a
|
2016-01-12 09:46:18 -08:00
|
|
|
ld [hGraphicStartTile], a
|
2015-12-17 10:49:26 -08:00
|
|
|
lb bc, 7, 7
|
2016-01-12 09:46:18 -08:00
|
|
|
predef PlaceGraphic
|
2015-02-10 19:15:15 -08:00
|
|
|
call WaitBGMap
|
|
|
|
ret
|
|
|
|
; 10898a
|
|
|
|
|
|
|
|
Function10898a: ; 10898a
|
|
|
|
ld de, VTiles2
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_GetFrontpic
|
2015-02-10 19:15:15 -08:00
|
|
|
call WaitTop
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearTilemap
|
2015-02-10 19:15:15 -08:00
|
|
|
hlcoord 7, 2
|
|
|
|
xor a
|
2016-01-12 09:46:18 -08:00
|
|
|
ld [hGraphicStartTile], a
|
2015-12-17 10:49:26 -08:00
|
|
|
lb bc, 7, 7
|
2016-01-12 09:46:18 -08:00
|
|
|
predef PlaceGraphic
|
2015-02-10 19:15:15 -08:00
|
|
|
call WaitBGMap
|
|
|
|
ret
|
|
|
|
; 1089a8
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_DisplayMonToBeSent: ; 1089a8
|
|
|
|
ld de, wPlayerTrademonSpecies
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [de]
|
2015-12-17 10:49:26 -08:00
|
|
|
cp EGG
|
|
|
|
jr z, MobileTradeAnim_DisplayEggData
|
|
|
|
call MobileTradeAnim_LoadMonTemplate
|
|
|
|
ld de, wPlayerTrademonSpecies
|
|
|
|
call MobileTradeAnim_MonDisplay_PrintSpeciesNumber
|
|
|
|
ld de, wPlayerTrademonSpeciesName
|
|
|
|
call MobileTradeAnim_MonDisplay_PrintSpeciesName
|
|
|
|
ld a, [wPlayerTrademonCaughtData]
|
|
|
|
ld de, wPlayerTrademonOTName
|
|
|
|
call MobileTradeAnim_MonDisplay_PrintOTNameAndGender
|
|
|
|
ld de, wPlayerTrademonID
|
|
|
|
call MobileTradeAnim_MonDisplay_PrintIDNumber
|
|
|
|
call MobileTradeAnim_MonDisplay_UpdateBGMap
|
|
|
|
ret
|
|
|
|
|
|
|
|
MobileTradeAnim_DisplayReceivedMon:
|
|
|
|
ld de, wOTTrademonSpecies
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [de]
|
2015-12-17 10:49:26 -08:00
|
|
|
cp EGG
|
|
|
|
jr z, MobileTradeAnim_DisplayEggData
|
|
|
|
call MobileTradeAnim_LoadMonTemplate
|
|
|
|
ld de, wOTTrademonSpecies
|
|
|
|
call MobileTradeAnim_MonDisplay_PrintSpeciesNumber
|
|
|
|
ld de, wOTTrademonSpeciesName
|
|
|
|
call MobileTradeAnim_MonDisplay_PrintSpeciesName
|
|
|
|
ld a, [wOTTrademonCaughtData]
|
|
|
|
ld de, wOTTrademonOTName
|
|
|
|
call MobileTradeAnim_MonDisplay_PrintOTNameAndGender
|
|
|
|
ld de, wOTTrademonID
|
|
|
|
call MobileTradeAnim_MonDisplay_PrintIDNumber
|
|
|
|
call MobileTradeAnim_MonDisplay_UpdateBGMap
|
|
|
|
ret
|
|
|
|
|
|
|
|
MobileTradeAnim_DisplayEggData
|
2015-02-10 19:15:15 -08:00
|
|
|
call WaitTop
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearTilemap
|
2015-10-19 13:49:29 -07:00
|
|
|
ld a, VBGMap1 / $100
|
|
|
|
ld [hBGMapAddress + 1], a
|
2015-02-10 19:15:15 -08:00
|
|
|
hlcoord 5, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld b, 6
|
|
|
|
ld c, 9
|
2015-02-10 19:15:15 -08:00
|
|
|
call TextBox
|
|
|
|
hlcoord 6, 2
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, .EggTemplate
|
2015-02-10 19:15:15 -08:00
|
|
|
call PlaceString
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_MonDisplay_UpdateBGMap
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108a1d
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.EggTemplate: ; 108a1d
|
2015-02-10 19:15:15 -08:00
|
|
|
db "タマゴ"
|
|
|
|
next "おや/?????"
|
2015-12-17 10:49:26 -08:00
|
|
|
next "<ID>№·?????"
|
2015-02-10 19:15:15 -08:00
|
|
|
db "@"
|
|
|
|
; 108a33
|
|
|
|
|
|
|
|
Function108a33: ; 108a33
|
|
|
|
call WaitTop
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearTilemap
|
2015-10-19 13:49:29 -07:00
|
|
|
ld a, VBGMap1 / $100
|
|
|
|
ld [hBGMapAddress + 1], a
|
2015-02-10 19:15:15 -08:00
|
|
|
hlcoord 5, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld b, 6
|
|
|
|
ld c, 9
|
2015-02-10 19:15:15 -08:00
|
|
|
call TextBox
|
|
|
|
hlcoord 7, 4
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, .OddEgg
|
2015-02-10 19:15:15 -08:00
|
|
|
call PlaceString
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_MonDisplay_UpdateBGMap
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108a54
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.OddEgg: ; 108a54
|
2015-02-10 19:15:15 -08:00
|
|
|
db "なぞのタマゴ@"
|
|
|
|
; 108a5b
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_LoadMonTemplate: ; 108a5b
|
2015-02-10 19:15:15 -08:00
|
|
|
call WaitTop
|
2015-12-17 10:49:26 -08:00
|
|
|
call MobileTradeAnim_ClearTilemap
|
2015-10-19 13:49:29 -07:00
|
|
|
ld a, VBGMap1 / $100
|
|
|
|
ld [hBGMapAddress + 1], a
|
2015-02-10 19:15:15 -08:00
|
|
|
hlcoord 4, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld b, 6
|
|
|
|
ld c, 10
|
2015-02-10 19:15:15 -08:00
|
|
|
call TextBox
|
|
|
|
hlcoord 5, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, .MonTemplate
|
2015-02-10 19:15:15 -08:00
|
|
|
call PlaceString
|
|
|
|
ret
|
|
|
|
; 108a79
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.MonTemplate: ; 108a79
|
|
|
|
db "─ №·"
|
2015-02-10 19:15:15 -08:00
|
|
|
next ""
|
|
|
|
next "おや/"
|
2015-12-17 10:49:26 -08:00
|
|
|
next "<ID>№·"
|
2015-02-10 19:15:15 -08:00
|
|
|
db "@"
|
|
|
|
; 108a87
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_MonDisplay_UpdateBGMap: ; 108a87
|
2015-02-10 19:15:15 -08:00
|
|
|
call WaitBGMap
|
|
|
|
call WaitTop
|
2015-10-19 13:49:29 -07:00
|
|
|
ld a, VBGMap0 / $100
|
|
|
|
ld [hBGMapAddress + 1], a
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
; 108a92
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_MonDisplay_PrintSpeciesNumber: ; 108a92
|
2015-02-10 19:15:15 -08:00
|
|
|
hlcoord 9, 0
|
2015-10-10 14:03:04 -07:00
|
|
|
lb bc, PRINTNUM_LEADINGZEROS | 1, 3
|
2015-02-10 19:15:15 -08:00
|
|
|
call PrintNum
|
|
|
|
ret
|
|
|
|
; 108a9c
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_MonDisplay_PrintSpeciesName: ; 108a9c
|
2015-02-10 19:15:15 -08:00
|
|
|
hlcoord 5, 2
|
|
|
|
call PlaceString
|
|
|
|
ret
|
|
|
|
; 108aa3
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_MonDisplay_PrintOTNameAndGender: ; 108aa3
|
2015-02-10 19:15:15 -08:00
|
|
|
cp $3
|
2015-12-17 10:49:26 -08:00
|
|
|
jr c, .got_gender
|
2015-02-10 19:15:15 -08:00
|
|
|
xor a
|
2015-12-17 10:49:26 -08:00
|
|
|
.got_gender
|
2015-02-10 19:15:15 -08:00
|
|
|
push af
|
|
|
|
hlcoord 8, 4
|
|
|
|
call PlaceString
|
|
|
|
inc bc
|
|
|
|
pop af
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .GenderChars
|
2015-02-10 19:15:15 -08:00
|
|
|
ld d, 0
|
|
|
|
ld e, a
|
|
|
|
add hl, de
|
|
|
|
ld a, [hl]
|
|
|
|
ld [bc], a
|
|
|
|
ret
|
|
|
|
; 108abb
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.GenderChars: ; 108abb
|
|
|
|
db " "
|
|
|
|
db "♂"
|
|
|
|
db "♀"
|
2015-02-10 19:15:15 -08:00
|
|
|
; 108abe
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_MonDisplay_PrintIDNumber: ; 108abe
|
2015-02-10 19:15:15 -08:00
|
|
|
hlcoord 8, 6
|
2015-10-10 14:03:04 -07:00
|
|
|
lb bc, PRINTNUM_LEADINGZEROS | 2, 5
|
2015-02-10 19:15:15 -08:00
|
|
|
call PrintNum
|
|
|
|
ret
|
|
|
|
; 108ac8
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_ClearTilemap: ; 108ac8
|
2015-07-22 12:57:02 -07:00
|
|
|
hlcoord 0, 0
|
|
|
|
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, " "
|
2015-02-10 19:15:15 -08:00
|
|
|
call ByteFill
|
|
|
|
ret
|
|
|
|
; 108ad4
|
|
|
|
|
|
|
|
Function108ad4: ; 108ad4
|
|
|
|
and a
|
|
|
|
jr z, .asm_108adc
|
|
|
|
ld de, GFX_1092c7
|
|
|
|
jr .asm_108adf
|
|
|
|
|
|
|
|
.asm_108adc
|
|
|
|
ld de, GFX_1091c7
|
|
|
|
.asm_108adf
|
|
|
|
ld a, $1
|
|
|
|
ld [rVBK], a
|
2015-10-14 06:29:15 -07:00
|
|
|
ld hl, VTiles2 tile $4a
|
2015-12-17 10:49:26 -08:00
|
|
|
lb bc, BANK(GFX_1092c7), 16
|
2015-11-04 12:35:29 -08:00
|
|
|
call Get2bpp_2
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrame
|
|
|
|
ld a, $0
|
|
|
|
ld [rVBK], a
|
|
|
|
ret
|
|
|
|
; 108af4
|
|
|
|
|
|
|
|
Function108af4: ; 108af4
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $5
|
|
|
|
ld [rSVBK], a
|
|
|
|
ld a, [wcf65]
|
|
|
|
and $1
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .copy_palette_109147
|
2015-02-10 19:15:15 -08:00
|
|
|
ld hl, Palette_109187
|
2015-11-20 12:15:32 -08:00
|
|
|
ld de, UnknOBPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 8 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
|
|
|
ld hl, Palette_109187
|
|
|
|
ld de, OBPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 8 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
2015-12-17 10:49:26 -08:00
|
|
|
jr .done_copy
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.copy_palette_109147
|
2015-02-10 19:15:15 -08:00
|
|
|
ld hl, Palette_109147
|
2015-11-20 12:15:32 -08:00
|
|
|
ld de, UnknOBPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 8 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
|
|
|
ld hl, Palette_109147
|
|
|
|
ld de, OBPals
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 8 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.done_copy
|
2015-02-10 19:15:15 -08:00
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, %11100100 ; 3,2,1,0
|
2015-12-09 08:38:40 -08:00
|
|
|
call DmgToCgbObjPal0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld a, %11100100 ; 3,2,1,0
|
2015-02-10 19:15:15 -08:00
|
|
|
call DmgToCgbBGPals
|
|
|
|
call DelayFrame
|
|
|
|
ret
|
|
|
|
; 108b45
|
|
|
|
|
|
|
|
Function108b45: ; 108b45
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $5
|
|
|
|
ld [rSVBK], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, (31 << 10) + (31 << 5) + 31 ; $7fff
|
2015-11-20 12:15:32 -08:00
|
|
|
ld hl, UnknBGPals
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, e
|
|
|
|
ld [hli], a
|
|
|
|
ld d, a
|
|
|
|
ld [hli], a
|
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
ret
|
|
|
|
; 108b5a
|
|
|
|
|
|
|
|
Function108b5a: ; 108b5a
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $5
|
|
|
|
ld [rSVBK], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, (15 << 10) + (31 << 5) + 18 ; $3ff2
|
|
|
|
ld hl, BGPals + 4 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
ld c, $10
|
2015-12-17 10:49:26 -08:00
|
|
|
.loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, e
|
|
|
|
ld [hli], a
|
|
|
|
ld a, d
|
|
|
|
ld [hli], a
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .loop
|
2015-02-10 19:15:15 -08:00
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
ld a, $1
|
|
|
|
ld [hCGBPalUpdate], a
|
|
|
|
ret
|
|
|
|
; 108b78
|
|
|
|
|
|
|
|
Function108b78: ; 108b78
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $5
|
|
|
|
ld [rSVBK], a
|
|
|
|
ld a, c
|
|
|
|
and $2
|
2015-12-17 10:49:26 -08:00
|
|
|
jr z, .Orange
|
|
|
|
ld de, (31 << 10) + (31 << 5) + 31 ; $7fff
|
|
|
|
jr .load_pal
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Orange:
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, ( 1 << 10) + (15 << 5) + 31 ; $05ff
|
|
|
|
.load_pal
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, e
|
|
|
|
ld [hli], a
|
|
|
|
ld a, d
|
|
|
|
ld [hld], a
|
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
ld a, $1
|
|
|
|
ld [hCGBPalUpdate], a
|
|
|
|
ret
|
|
|
|
; 108b98
|
|
|
|
|
|
|
|
Palette_108b98:
|
|
|
|
; removed
|
|
|
|
|
|
|
|
Function108b98: ; 108b98
|
|
|
|
ld d, a
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $5
|
|
|
|
ld [rSVBK], a
|
|
|
|
ld a, [wcf65]
|
|
|
|
and $1
|
|
|
|
xor d
|
|
|
|
jr z, .asm_108bad
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, Palette_108b98 + 1 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
jr .asm_108bb0
|
|
|
|
|
|
|
|
.asm_108bad
|
|
|
|
ld hl, Palette_108b98
|
|
|
|
.asm_108bb0
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, UnknBGPals + 7 palettes
|
|
|
|
ld bc, 8 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call CopyBytes
|
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
ret
|
|
|
|
; 108bbd
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
MobileTradeAnim_DeleteSprites: ; 108bbd
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeAllSprites
|
2015-02-10 19:15:15 -08:00
|
|
|
call ClearSprites
|
|
|
|
ret
|
|
|
|
; 108bc7
|
|
|
|
|
|
|
|
Function108bc7: ; 108bc7 (42:4bc7)
|
|
|
|
ld a, [wcf64]
|
|
|
|
and a
|
|
|
|
ret z
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, SPRITEANIMSTRUCT_YCOORD
|
2015-02-10 19:15:15 -08:00
|
|
|
add hl, bc
|
|
|
|
ld a, [hl]
|
2015-12-17 10:49:26 -08:00
|
|
|
cp -1 * 8 - 6
|
|
|
|
jr z, .delete
|
|
|
|
sub 1 * 8
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hl], a
|
|
|
|
ret
|
2015-12-17 10:49:26 -08:00
|
|
|
|
|
|
|
.delete
|
2015-12-04 05:46:11 -08:00
|
|
|
callba DeinitializeSprite
|
2015-02-10 19:15:15 -08:00
|
|
|
ret
|
|
|
|
|
|
|
|
Function108be0: ; 108be0 (42:4be0)
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, SPRITEANIMSTRUCT_YCOORD
|
2015-02-10 19:15:15 -08:00
|
|
|
add hl, bc
|
|
|
|
ld a, [hl]
|
2015-12-17 10:49:26 -08:00
|
|
|
cp 9 * 8 + 2
|
2015-02-10 19:15:15 -08:00
|
|
|
ret z
|
2015-12-17 10:49:26 -08:00
|
|
|
add 1 * 8
|
2015-02-10 19:15:15 -08:00
|
|
|
ld [hl], a
|
|
|
|
ret
|
|
|
|
; 108bec (42:4bec)
|
|
|
|
|
|
|
|
Function108bec: ; 108bec
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .PlayerWillTradeMon
|
2015-02-10 19:15:15 -08:00
|
|
|
call PrintText
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .ForPartnersMon
|
2015-02-10 19:15:15 -08:00
|
|
|
call PrintText
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
|
|
|
ret
|
|
|
|
; 108c07
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.PlayerWillTradeMon: ; 0x108c07
|
2015-02-10 19:15:15 -08:00
|
|
|
text_jump UnknownText_0x1bc787
|
|
|
|
db "@"
|
|
|
|
; 0x108c0c
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.ForPartnersMon: ; 0x108c0c
|
2015-02-10 19:15:15 -08:00
|
|
|
text_jump UnknownText_0x1bc79d
|
|
|
|
db "@"
|
|
|
|
; 0x108c11
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.UnusedTextPlayersMonTrade: ; 0x108c11
|
2015-02-10 19:15:15 -08:00
|
|
|
text_jump UnknownText_0x1bc7b0
|
|
|
|
db "@"
|
|
|
|
; 0x108c16
|
|
|
|
|
|
|
|
Function108c16: ; 108c16
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .TakeGoodCareOfMon
|
2015-02-10 19:15:15 -08:00
|
|
|
call PrintText
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
|
|
|
ret
|
|
|
|
; 108c26
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.TakeGoodCareOfMon: ; 0x108c26
|
2015-02-10 19:15:15 -08:00
|
|
|
text_jump UnknownText_0x1bc7c3
|
|
|
|
db "@"
|
|
|
|
; 0x108c2b
|
|
|
|
|
|
|
|
Function108c2b: ; 108c2b
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .PlayersMonTrade
|
2015-02-10 19:15:15 -08:00
|
|
|
call PrintText
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
|
|
|
ret
|
|
|
|
; 108c3b
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.PlayersMonTrade: ; 0x108c3b
|
2015-02-10 19:15:15 -08:00
|
|
|
text_jump UnknownText_0x1bc7dd
|
2015-12-17 10:49:26 -08:00
|
|
|
db "@"
|
2015-02-10 19:15:15 -08:00
|
|
|
; 0x108c40
|
|
|
|
|
|
|
|
Function108c40: ; 108c40
|
|
|
|
ld a, $90
|
|
|
|
ld [hWY], a
|
|
|
|
ld a, [wcf65]
|
2015-12-25 20:34:33 -08:00
|
|
|
and %10000000
|
|
|
|
jr z, .Getmon
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .CameBack
|
2015-02-10 19:15:15 -08:00
|
|
|
call PrintText
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
|
|
|
ret
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Getmon:
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .TakeGoodCareOf
|
2015-02-10 19:15:15 -08:00
|
|
|
call PrintText
|
2015-12-17 10:49:26 -08:00
|
|
|
ld c, 80
|
2015-02-10 19:15:15 -08:00
|
|
|
call DelayFrames
|
|
|
|
ret
|
|
|
|
; 108c63
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.TakeGoodCareOf: ; 0x108c63
|
2015-02-10 19:15:15 -08:00
|
|
|
text_jump UnknownText_0x1bc7f0
|
|
|
|
db "@"
|
|
|
|
; 0x108c68
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.CameBack: ; 0x108c68
|
2015-02-10 19:15:15 -08:00
|
|
|
text_jump UnknownText_0x1bc80a
|
|
|
|
db "@"
|
|
|
|
; 0x108c6d
|
|
|
|
|
|
|
|
Function108c6d: ; 108c6d
|
|
|
|
ld hl, LZ_108fe7
|
2015-11-20 08:47:52 -08:00
|
|
|
debgcoord 0, 0
|
2015-02-10 19:15:15 -08:00
|
|
|
call Decompress
|
|
|
|
ld hl, LZ_108fe7
|
2015-11-20 08:47:52 -08:00
|
|
|
debgcoord 0, 0, VBGMap1
|
2015-02-10 19:15:15 -08:00
|
|
|
call Decompress
|
|
|
|
ret
|
|
|
|
; 108c80
|
|
|
|
|
|
|
|
Function108c80: ; 108c80
|
|
|
|
ld a, $1
|
|
|
|
ld [rVBK], a
|
|
|
|
ld hl, LZ_1090a7
|
2015-11-20 08:47:52 -08:00
|
|
|
debgcoord 0, 0
|
2015-02-10 19:15:15 -08:00
|
|
|
call Decompress
|
|
|
|
ld hl, LZ_1090a7
|
2015-11-20 08:47:52 -08:00
|
|
|
debgcoord 0, 0, VBGMap1
|
2015-02-10 19:15:15 -08:00
|
|
|
call Decompress
|
|
|
|
ld a, $0
|
|
|
|
ld [rVBK], a
|
|
|
|
ret
|
|
|
|
; 108c9b
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
DebugMobileTrade: ; 108c9b
|
|
|
|
; localization error: NAME_LENGTH (11) should be 6 here
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
ld hl, .DebugTradeData
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hli]
|
2015-12-17 10:49:26 -08:00
|
|
|
ld [wPlayerTrademonSpecies], a
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, wPlayerTrademonSenderName
|
|
|
|
ld c, NAME_LENGTH
|
|
|
|
.your_name_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hli]
|
|
|
|
ld [de], a
|
|
|
|
inc de
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .your_name_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, wPlayerTrademonID
|
|
|
|
ld c, 2
|
|
|
|
.your_id_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hli]
|
|
|
|
ld [de], a
|
|
|
|
inc de
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .your_id_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, wPlayerTrademonOTName
|
|
|
|
ld c, NAME_LENGTH
|
|
|
|
.your_ot_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hli]
|
|
|
|
ld [de], a
|
|
|
|
inc de
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .your_ot_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
|
|
|
ld a, [hli]
|
2015-12-17 10:49:26 -08:00
|
|
|
ld [wOTTrademonSpecies], a
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, wOTTrademonSenderName
|
|
|
|
ld c, NAME_LENGTH
|
|
|
|
.their_name_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hli]
|
|
|
|
ld [de], a
|
|
|
|
inc de
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .their_name_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, wOTTrademonID
|
|
|
|
ld c, 2
|
|
|
|
.their_id_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hli]
|
|
|
|
ld [de], a
|
|
|
|
inc de
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .their_id_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, wOTTrademonOTName
|
|
|
|
ld c, NAME_LENGTH
|
|
|
|
.their_ot_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
ld a, [hli]
|
|
|
|
ld [de], a
|
|
|
|
inc de
|
|
|
|
dec c
|
2015-12-17 10:49:26 -08:00
|
|
|
jr nz, .their_ot_loop
|
2015-02-10 19:15:15 -08:00
|
|
|
|
|
|
|
ret
|
|
|
|
; 108ce9
|
|
|
|
|
2015-12-17 10:49:26 -08:00
|
|
|
.DebugTradeData:
|
|
|
|
db VENUSAUR
|
2015-02-10 19:15:15 -08:00
|
|
|
db "ゲーフり@@"
|
2015-12-17 10:49:26 -08:00
|
|
|
dw $0123
|
2015-02-10 19:15:15 -08:00
|
|
|
db "かびーん@@"
|
2015-12-17 10:49:26 -08:00
|
|
|
db CHARIZARD
|
2015-02-10 19:15:15 -08:00
|
|
|
db "クりーチャ@"
|
2015-12-17 10:49:26 -08:00
|
|
|
dw $0456
|
2015-02-10 19:15:15 -08:00
|
|
|
db "マツミヤ@@"
|
|
|
|
; 108d07
|
|
|
|
|
|
|
|
Function108d07: ; 108d07
|
|
|
|
ld a, [wc74e]
|
|
|
|
and $7f
|
|
|
|
cp $8
|
|
|
|
jr c, .asm_108d12
|
|
|
|
ld a, $7
|
|
|
|
|
|
|
|
.asm_108d12
|
2015-12-17 10:49:26 -08:00
|
|
|
ld bc, 1 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
ld hl, Palette_1093c7
|
|
|
|
call AddNTimes
|
|
|
|
ld a, $5
|
2015-12-17 10:49:26 -08:00
|
|
|
ld de, UnknBGPals + 4 palettes
|
|
|
|
ld bc, 1 palettes
|
2015-02-10 19:15:15 -08:00
|
|
|
call FarCopyWRAM
|
|
|
|
ret
|
|
|
|
; 108d27
|
|
|
|
|
|
|
|
LZ_108d27:
|
|
|
|
INCBIN "gfx/unknown/108d27.2bpp.lz"
|
|
|
|
|
|
|
|
LZ_108da7:
|
|
|
|
INCBIN "gfx/unknown/108da7.2bpp.lz"
|
|
|
|
|
|
|
|
LZ_108fe7:
|
|
|
|
INCBIN "gfx/unknown/108fe7.tilemap.lz"
|
|
|
|
|
|
|
|
LZ_1090a7:
|
|
|
|
INCBIN "gfx/unknown/1090a7.tilemap.lz"
|
|
|
|
|
|
|
|
Palette_1090f7:
|
2015-12-17 10:49:26 -08:00
|
|
|
; unreferenced
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 0, 25
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 9, 19, 31
|
|
|
|
RGB 0, 0, 0
|
|
|
|
|
|
|
|
Palette_109107:
|
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 20, 20, 20
|
|
|
|
RGB 11, 11, 11
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 15, 1
|
|
|
|
RGB 14, 14, 31
|
|
|
|
RGB 12, 9, 31
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 14, 14, 31
|
|
|
|
RGB 12, 9, 31
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 20, 20, 20
|
|
|
|
RGB 11, 11, 11
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 31, 7, 9
|
|
|
|
RGB 18, 0, 1
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 20, 20, 20
|
|
|
|
RGB 11, 11, 11
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 15, 1
|
|
|
|
RGB 18, 0, 30
|
|
|
|
RGB 9, 0, 17
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 18, 0, 30
|
|
|
|
RGB 9, 0, 17
|
|
|
|
RGB 0, 0, 0
|
|
|
|
|
|
|
|
Palette_109147:
|
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 31, 31, 12
|
|
|
|
RGB 31, 13, 12
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 31, 23, 15
|
|
|
|
RGB 31, 18, 7
|
|
|
|
RGB 31, 15, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 20, 20, 20
|
|
|
|
RGB 11, 11, 11
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 31, 0, 25
|
|
|
|
RGB 31, 0, 25
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 9, 19, 31
|
|
|
|
RGB 9, 19, 31
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
|
|
|
|
|
|
|
Palette_109187:
|
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 31, 31, 12
|
|
|
|
RGB 31, 13, 12
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 31, 23, 15
|
|
|
|
RGB 31, 18, 7
|
|
|
|
RGB 31, 15, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 20, 20, 20
|
|
|
|
RGB 11, 11, 11
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 9, 19, 31
|
|
|
|
RGB 9, 19, 31
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 31, 0, 25
|
|
|
|
RGB 31, 0, 25
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 31, 31, 31
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
|
|
|
RGB 0, 0, 0
|
|
|
|
|
|
|
|
GFX_1091c7:
|
|
|
|
INCBIN "gfx/unknown/1091c7.2bpp"
|
|
|
|
GFX_1092c7:
|
|
|
|
INCBIN "gfx/unknown/1092c7.2bpp"
|
|
|
|
|
|
|
|
Palette_1093c7:
|
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 4, 13, 31
|
|
|
|
RGB 0, 0, 31
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 31, 31, 0
|
|
|
|
RGB 31, 15, 0
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 9, 24, 0
|
|
|
|
RGB 2, 16, 0
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 31, 7, 9
|
|
|
|
RGB 18, 0, 1
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 28, 5, 31
|
|
|
|
RGB 17, 0, 17
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 9, 9, 9
|
|
|
|
RGB 4, 4, 4
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 31, 13, 21
|
|
|
|
RGB 27, 7, 12
|
|
|
|
RGB 0, 0, 0
|
2015-12-17 10:49:26 -08:00
|
|
|
|
2015-02-10 19:15:15 -08:00
|
|
|
RGB 18, 31, 15
|
|
|
|
RGB 21, 20, 20
|
|
|
|
RGB 14, 14, 31
|
|
|
|
RGB 0, 0, 0
|