More specials; bank 12 mobile

This commit is contained in:
PikalaxALT 2015-11-16 22:29:54 -05:00
parent 042fc4bfe5
commit 0b8fe4bac3
40 changed files with 3811 additions and 3810 deletions

View File

@ -8924,7 +8924,7 @@ IsMobileBattle2: ; 3f830
; 3f836
Function3f836: ; 3f836
DisplayLinkRecord: ; 3f836
ld a, BANK(sLinkBattleStats)
call GetSRAMBank

View File

@ -1,5 +1,5 @@
Function1dd702: ; 1dd702
_Diploma: ; 1dd702
call Function1dd709
call WaitPressAorB_BlinkCursor
ret

1242
engine/main_menu.asm Executable file

File diff suppressed because it is too large Load Diff

View File

@ -470,7 +470,7 @@ endr
BuyMenuLoop: ; 15cef
callba Function24ae8
callba PlaceMoneyTopRightOW
call UpdateSprites
ld hl, MenuDataHeader_Buy
call CopyMenuDataHeader
@ -875,7 +875,7 @@ Function15ee0: ; 15ee0
.okay_to_sell
ld hl, Text_Mart_SellHowMany
call PrintText
callba Function24af8
callba PlaceMoneyTopRightMenu
callba Function24fe1
call ExitMenu
jr c, .declined
@ -899,7 +899,7 @@ Function15ee0: ; 15ee0
ld hl, Text_Mart_SoldForAmount
call PrintTextBoxText
call PlayTransactionSound
callba Function24af0
callba PlaceMoneyBottomLeftOW
call JoyWaitAorB
.declined

View File

@ -179,7 +179,7 @@ PC_WaitPlaySFX: ; 156d0
ret
; 156d9
Function156d9: ; 156d9
_KrissHousePC: ; 156d9
call PC_PlayBootSound
ld hl, UnknownText_0x156ff
call PC_DisplayText

View File

@ -101,14 +101,14 @@ SpecialsPointers:: ; c029
add_special SpecialCheckPokerus
add_special Special_DisplayCoinCaseBalance
add_special Special_DisplayMoneyAndCoinBalance
add_special Function24ae8
add_special PlaceMoneyTopRightOW
add_special Special_CheckForLuckyNumberWinners
add_special Special_CheckLuckyNumberShowFlag
add_special Special_ResetLuckyNumberShowFlag
add_special Special_PrintTodaysLuckyNumber
add_special Special_SelectApricornForKurt
add_special SpecialNameRater
add_special Functionc2da
add_special Special_DisplayLinkRecord
add_special GetFirstPokemonHappiness
add_special CheckFirstMonIsEgg
add_special RandomPhoneRareWildMon
@ -120,15 +120,17 @@ SpecialsPointers:: ; c029
add_special Special_YoungerHaircutBrother
add_special Special_OlderHaircutBrother
add_special Special_DaisyMassage
add_special Functionc472
add_special PlayCurMonCry
add_special ProfOaksPCBoot
add_special SpecialGameboyCheck
add_special SpecialTrainerHouse
add_special PhotoStudio
add_special InitRoamMons
add_special Functionc48f
add_special Functionc49f
add_special Functionc4ac
add_special Special_FadeOutMusic
add_special Diploma
add_special PrintDiploma
; Crystal
add_special Function11ac3e
add_special Function11b444
add_special Function11b5e8
@ -151,7 +153,7 @@ SpecialsPointers:: ; c029
add_special Function101220
add_special Function101225
add_special Function101231
add_special Function4925b
add_special Special_MoveTutor
add_special SpecialOmanyteChamber
add_special Function11c1ab
add_special BattleTowerAction
@ -292,14 +294,14 @@ Special_TownMap: ; c2c0
Special_UnownPrinter: ; c2cd
call FadeToMenu
callba Function16be4
callba UnownPrinter
call Function2b4d
ret
; c2da
Functionc2da: ; c2da
Special_DisplayLinkRecord: ; c2da
call FadeToMenu
callba Function3f836
callba DisplayLinkRecord
call Function2b4d
ret
; c2e7
@ -307,7 +309,7 @@ Functionc2da: ; c2da
Special_KrissHousePC: ; c2e7
xor a
ld [ScriptVar], a
callba Function156d9
callba _KrissHousePC
ld a, c
ld [ScriptVar], a
ret
@ -586,7 +588,7 @@ SpecialSnorlaxAwake: ; 0xc43d
db $ff
Functionc472: ; c472
PlayCurMonCry: ; c472
ld a, [CurPartySpecies]
jp PlayCry
; c478
@ -614,7 +616,7 @@ SpecialGameboyCheck: ; c478
ret
Functionc48f: ; c48f
Special_FadeOutMusic: ; c48f
ld a, MUSIC_NONE % $100
ld [MusicFadeIDLo], a
ld a, MUSIC_NONE / $100
@ -624,16 +626,16 @@ Functionc48f: ; c48f
ret
; c49f
Functionc49f: ; c49f
Diploma: ; c49f
call FadeToMenu
callba Function1dd702
callba _Diploma
call Function2b4d
ret
; c4ac
Functionc4ac: ; c4ac
PrintDiploma: ; c4ac
call FadeToMenu
callba Function84688
callba _PrintDiploma
call Function2b4d
ret
; c4b9

354
event/celebi.asm Executable file
View File

@ -0,0 +1,354 @@
Special_CelebiShrineEvent: ; 4989a
call DelayFrame
ld a, [VramState]
push af
xor a
ld [VramState], a
call LoadCelebiGFX
lb de, $07, $50
ld a, SPRITE_ANIM_INDEX_2C
call _InitSpriteAnimStruct
ld hl, $3
add hl, bc
ld [hl], $84
ld hl, $2
add hl, bc
ld [hl], $1f
ld hl, $f
add hl, bc
ld a, $80
ld [hl], a
ld a, $a0
ld [wcf64], a
ld d, $0
.loop
ld a, [wJumptableIndex]
bit 7, a
jr nz, .done
push bc
call Function49bae
inc d
push de
ld a, $90
ld [wc3b5], a
callba Function8cf7a
call Function49935
ld c, 2
call DelayFrames
pop de
pop bc
jr .loop
.done
pop af
ld [VramState], a
call Function498f9
call Function49bf3
ret
; 498f9
Function498f9: ; 498f9
ld hl, Sprites + 2
xor a
ld c, $4
.loop
ld [hli], a
rept 3
inc hl
endr
inc a
dec c
jr nz, .loop
ld hl, Sprites + $10
ld bc, $90
xor a
call ByteFill
ret
; 49912
LoadCelebiGFX: ; 49912
callba Function8cf53
ld de, SpecialCelebiLeafGFX
ld hl, VTiles1
lb bc, BANK(SpecialCelebiLeafGFX), 4
call Request2bpp
ld de, SpecialCelebiGFX
ld hl, VTiles1 tile $04
lb bc, BANK(SpecialCelebiGFX), $10
call Request2bpp
xor a
ld [wJumptableIndex], a
ret
; 49935
Function49935: ; 49935
ld hl, wcf64
ld a, [hl]
and a
jr z, .asm_4993e
dec [hl]
ret
.asm_4993e
ld hl, wJumptableIndex
set 7, [hl]
ret
; 49944
Function49944: ; 49944
ld hl, wcf65
ld a, [hl]
inc [hl]
and $7
ret nz
ld a, [hl]
and $18
sla a
add $40
ld d, a
ld e, $0
ld a, SPRITE_ANIM_INDEX_18 ; fly land
call _InitSpriteAnimStruct
ld hl, $3
add hl, bc
ld [hl], $80
ret
; 49962
SpecialCelebiLeafGFX: ; 49962
INCBIN "gfx/special/celebi/leaf.2bpp"
SpecialCelebiGFX: ; 499a2
INCBIN "gfx/special/celebi/1.2bpp"
INCBIN "gfx/special/celebi/2.2bpp"
INCBIN "gfx/special/celebi/3.2bpp"
INCBIN "gfx/special/celebi/4.2bpp"
Function49aa2: ; 49aa2 (12:5aa2)
ld hl, $6
add hl, bc
ld a, [hl]
push af
ld hl, $5
add hl, bc
ld a, [hl]
cp $52
jp nc, Function49b30
ld hl, $5
add hl, bc
inc [hl]
ld hl, $f
add hl, bc
ld a, [hl]
ld d, a
cp $3a
jr c, .asm_49ac6
jr z, .asm_49ac6
sub $3
ld [hl], a
.asm_49ac6
ld hl, $e
add hl, bc
ld a, [hl]
inc [hl]
call Function49b3b
ld hl, $6
add hl, bc
ld [hl], a
ld d, a
ld hl, $4
add hl, bc
add [hl]
cp $5c
jr nc, .asm_49ae2
cp $44
jr nc, .asm_49b0d
.asm_49ae2
pop af
push af
cp d
jr nc, .asm_49af2
ld hl, $4
add hl, bc
add [hl]
cp $50
jr c, .asm_49b05
jr .asm_49afb
.asm_49af2
ld hl, $4
add hl, bc
add [hl]
cp $50
jr nc, .asm_49b05
.asm_49afb
ld hl, $5
add hl, bc
ld a, [hl]
sub $2
ld [hl], a
jr .asm_49b0d
.asm_49b05
ld hl, $5
add hl, bc
ld a, [hl]
add $1
ld [hl], a
.asm_49b0d
pop af
ld hl, $4
add hl, bc
add [hl]
cp $50
jr c, .asm_49b26
cp $e6
jr nc, .asm_49b26
ld hl, $1
add hl, bc
ld a, $41
call Function3b3c
jr .asm_49b2f
.asm_49b26
ld hl, $1
add hl, bc
ld a, $40
call Function3b3c
.asm_49b2f
ret
Function49b30: ; 49b30 (12:5b30)
pop af
ld hl, $1
add hl, bc
ld a, $40
call Function3b3c
ret
Function49b3b: ; 49b3b (12:5b3b)
add $10
and $3f
cp $20
jr nc, .asm_49b48
call Function49b52
ld a, h
ret
.asm_49b48
and $1f
call Function49b52
ld a, h
xor $ff
inc a
ret
Function49b52: ; 49b52 (12:5b52)
ld e, a
ld a, d
ld d, $0
ld hl, Unknown_49b6e
rept 2
add hl, de
endr
ld e, [hl]
inc hl
ld d, [hl]
ld hl, 0
.asm_49b61
srl a
jr nc, .asm_49b66
add hl, de
.asm_49b66
sla e
rl d
and a
jr nz, .asm_49b61
ret
; 49b6e (12:5b6e)
Unknown_49b6e: ; 49b6e
sine_wave $100
; 49bae
Function49bae: ; 49bae
push hl
push bc
push de
ld a, d
ld d, $3
ld e, d
cp $0
jr z, .asm_49bd0
cp d
jr z, .asm_49bd4
call Function49bed
cp d
jr z, .asm_49bd8
call Function49bed
cp d
jr z, .asm_49bdc
call Function49bed
cp d
jr c, .asm_49be9
jr .asm_49be5
.asm_49bd0
ld a, $84
jr .asm_49bde
.asm_49bd4
ld a, $88
jr .asm_49bde
.asm_49bd8
ld a, $8c
jr .asm_49bde
.asm_49bdc
ld a, $90
.asm_49bde
ld hl, $3
add hl, bc
ld [hl], a
jr .asm_49be9
.asm_49be5
pop de
ld d, $ff
push de
.asm_49be9
pop de
pop bc
pop hl
ret
; 49bed
Function49bed: ; 49bed
push af
ld a, d
add e
ld d, a
pop af
ret
; 49bf3
Function49bf3: ; 49bf3
ld a, BATTLETYPE_CELEBI
ld [BattleType], a
ret
; 49bf9
Function49bf9: ; 49bf9
ld a, [wBattleResult]
bit 6, a
jr z, .asm_49c07
ld a, $1
ld [ScriptVar], a
jr .asm_49c0b
.asm_49c07
xor a
ld [ScriptVar], a
.asm_49c0b
ret
; 49c0c

299
event/photo.asm Executable file
View File

@ -0,0 +1,299 @@
UnownPrinter: ; 16be4
ld a, [UnownDex]
and a
ret z
ld a, [hInMenu]
push af
ld a, $1
ld [hInMenu], a
ld a, [Options]
push af
set NO_TEXT_SCROLL, a
ld [Options], a
call ClearBGPalettes
call ClearTileMap
ld de, UnownDexATile
ld hl, VTiles1 tile $6f
lb bc, BANK(UnownDexBTile), 1
call Request1bpp
ld de, UnownDexBTile
ld hl, VTiles1 tile $75
lb bc, BANK(UnownDexBTile), 1
call Request1bpp
hlcoord 0, 0
lb bc, 3, 18
call TextBox
hlcoord 0, 5
lb bc, 7, 7
call TextBox
hlcoord 0, 14
lb bc, 2, 18
call TextBox
hlcoord 1, 2
ld de, AlphRuinsStampString
call PlaceString
hlcoord 1, 16
ld de, UnownDexDoWhatString
call PlaceString
hlcoord 10, 6
ld de, UnownDexMenuString
call PlaceString
xor a
ld [wJumptableIndex], a
call Function16cc8
call WaitBGMap
ld a, UNOWN
ld [CurPartySpecies], a
xor a
ld [TempMonDVs], a
ld [TempMonDVs + 1], a
ld b, SCGB_1C
call GetSGBLayout
call SetPalettes
.joy_loop
call JoyTextDelay
ld a, [hJoyPressed]
and B_BUTTON
jr nz, .pressed_b
ld a, [hJoyPressed]
and A_BUTTON
jr nz, .pressed_a
call Function16ca0
call DelayFrame
jr .joy_loop
.pressed_a
ld a, [wJumptableIndex]
push af
callba Function84560
call RestartMapMusic
pop af
ld [wJumptableIndex], a
jr .joy_loop
.pressed_b
pop af
ld [Options], a
pop af
ld [hInMenu], a
call ReturnToMapFromSubmenu
ret
; 16ca0
Function16ca0: ; 16ca0
ld a, [hJoyLast]
and D_RIGHT
jr nz, .press_right
ld a, [hJoyLast]
and D_LEFT
jr nz, .press_left
ret
.press_left
ld hl, wJumptableIndex
ld a, [hl]
and a
jr nz, .wrap_around_left
ld [hl], $1b
.wrap_around_left
dec [hl]
jr .return
.press_right
ld hl, wJumptableIndex
ld a, [hl]
cp $1a
jr c, .wrap_around_right
ld [hl], $ff
.wrap_around_right
inc [hl]
.return
call Function16cc8
ret
; 16cc8
Function16cc8: ; 16cc8
ld a, [wJumptableIndex]
cp 26
jr z, Function16d20
inc a
ld [UnownLetter], a
ld a, UNOWN
ld [CurPartySpecies], a
xor a
ld [wc2c6], a
ld de, VTiles2
predef GetFrontpic
call Function16cff
hlcoord 1, 6
xor a
ld [hFillBox], a
lb bc, 7, 7
predef FillBox
ld de, VTiles2 tile $31
callba Functione0000
ret
; 16cff
Function16cff: ; 16cff
ld a, [rSVBK]
push af
ld a, $6
ld [rSVBK], a
ld a, BANK(sScratch)
call GetSRAMBank
ld de, w6_d000
ld hl, sScratch
ld a, [hROMBank]
ld b, a
ld c, $31
call Get2bpp
call CloseSRAM
pop af
ld [rSVBK], a
ret
; 16d20
Function16d20: ; 16d20
hlcoord 1, 6
lb bc, 7, 7
call ClearBox
hlcoord 1, 9
ld de, UnownDexVacantString
call PlaceString
xor a
call GetSRAMBank
ld hl, sScratch
ld bc, $31 tiles
xor a
call ByteFill
ld hl, VTiles2 tile $31
ld de, sScratch
ld c, $31
ld a, [hROMBank]
ld b, a
call Get2bpp
call CloseSRAM
ld c, 20
call DelayFrames
ret
; 16d57
AlphRuinsStampString:
db " ALPH RUINS STAMP@"
UnownDexDoWhatString:
db "Do what?@"
UnownDexMenuString:
db "♂ PRINT"
next "♀ CANCEL"
next "← PREVIOUS"
next "→ NEXT"
db "@"
UnownDexVacantString:
db "VACANT@"
; 16d9c
UnownDexATile: ; 16d9c
INCBIN "gfx/unknown/016d9c.1bpp"
UnownDexBTile: ; 16da4
INCBIN "gfx/unknown/016da4.1bpp"
; 16dac
Function16dac: ; 16dac
hlcoord 0, 0
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
ld a, " "
call ByteFill
hlcoord 7, 11
ld a, $31
ld [hFillBox], a
lb bc, 7, 7
predef FillBox
ret
; 16dc7
PhotoStudio: ; 16dc7
ld hl, .Text_AskWhichMon
call PrintText
callba SelectMonFromParty
jr c, .cancel
ld a, [CurPartySpecies]
cp EGG
jr z, .egg
ld hl, .Text_HoldStill
call PrintText
call DisableSpriteUpdates
callba Function8461a
call Function2b74
ld a, [$ffac]
and a
jr nz, .cancel
ld hl, .Text_Presto
jr .print_text
.cancel
ld hl, .Text_NoPicture
jr .print_text
.egg
ld hl, .Text_Egg
.print_text
call PrintText
ret
; 16e04
.Text_AskWhichMon: ; 0x16e04
; Which #MON should I photo- graph?
text_jump UnknownText_0x1be024
db "@"
; 0x16e09
.Text_HoldStill: ; 0x16e09
; All righty. Hold still for a bit.
text_jump UnknownText_0x1be047
db "@"
; 0x16e0e
.Text_Presto: ; 0x16e0e
; Presto! All done. Come again, OK?
text_jump UnknownText_0x1be06a
db "@"
; 0x16e13
.Text_NoPicture: ; 0x16e13
; Oh, no picture? Come again, OK?
text_jump UnknownText_0x1c0000
db "@"
; 0x16e18
.Text_Egg: ; 0x16e18
; An EGG? My talent is worth more…
text_jump UnknownText_0x1c0021
db "@"
; 0x16e1d

View File

@ -312,7 +312,7 @@ VolumeOff:: ; 3ca3
ret
; 3ca8
FadeOutMusic:: ; 3ca8
Unused_FadeOutMusic:: ; 3ca8
ld a, 4
ld [MusicFade], a
ret

3745
main.asm

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,7 @@ UnknownScript_0x198018:
moveperson $b, $b, $b
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
appear $b
applymovement $b, MovementData_0x198134
@ -40,7 +40,7 @@ UnknownScript_0x198018:
UnknownScript_0x198034:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
appear $b
applymovement $b, MovementData_0x19813c

View File

@ -37,7 +37,7 @@ UnknownScript_0x19b0de:
special RestartMapMusic
loadfont
writetext UnknownText_0x19b296
special Functionc472
special PlayCurMonCry
keeptextopen
writetext UnknownText_0x19b2aa
closetext

View File

@ -49,7 +49,7 @@ UnknownScript_0x185c0d:
UnknownScript_0x185c25:
showemote EMOTE_SHOCK, $4, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
spriteface $4, RIGHT
pause 15
@ -98,7 +98,7 @@ UnknownScript_0x185c80:
loadmovesprites
dotrigger $2
setevent EVENT_RIVAL_BURNED_TOWER
special Functionc48f
special Special_FadeOutMusic
pause 15
earthquake 50
showemote EMOTE_SHOCK, PLAYER, 15

View File

@ -23,7 +23,7 @@ CeladonVendingMachine:
loadfont
writetext CeladonVendingText
.Start
special Function24ae8
special PlaceMoneyTopRightOW
loadmenudata .MenuData
interpretmenu2
writebackup

View File

@ -22,7 +22,7 @@ UnknownScript_0x7167e:
waitbutton
writetext UnknownText_0x71760
keeptextopen
special Functionc49f
special Diploma
writetext UnknownText_0x71763
closetext
loadmovesprites
@ -43,7 +43,7 @@ UnknownScript_0x716a4:
writetext UnknownText_0x717d8
yesorno
iffalse UnknownScript_0x716b0
special Functionc4ac
special PrintDiploma
loadmovesprites
end

View File

@ -103,7 +103,7 @@ UnknownScript_0x19c0aa:
UnknownScript_0x19c0ae:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
appear $3
applymovement $3, MovementData_0x19c1ce

View File

@ -66,7 +66,7 @@ UnknownScript_0x1a001e:
applymovement $c, MovementData_0x1a00ec
disappear $c
pause 20
special Functionc48f
special Special_FadeOutMusic
playmapmusic
pause 10
.Done

View File

@ -130,7 +130,7 @@ DragonShrineTestScript:
writetext UnknownText_0x18d916
closetext
loadmovesprites
special Functionc48f
special Special_FadeOutMusic
applymovement $5, MovementData_0x18d2da
loadfont
writetext UnknownText_0x18d974

View File

@ -70,7 +70,7 @@ UnknownScript_0x18c8f4:
loadmovesprites
UnknownScript_0x18c8f9:
applymovement $3, MovementData_0x18c9b3
special Functionc48f
special Special_FadeOutMusic
pause 30
special RestartMapMusic
disappear $3

View File

@ -61,21 +61,21 @@ MoveTutor:
.Flamethrower:
writebyte $1
writetext UnknownText_0x1991cf
special Function4925b
special Special_MoveTutor
if_equal $0, .TeachMove
jump .Incompatible
.Thunderbolt:
writebyte $2
writetext UnknownText_0x1991cf
special Function4925b
special Special_MoveTutor
if_equal $0, .TeachMove
jump .Incompatible
.IceBeam:
writebyte $3
writetext UnknownText_0x1991cf
special Function4925b
special Special_MoveTutor
if_equal $0, .TeachMove
jump .Incompatible

View File

@ -9,7 +9,7 @@ GoldenrodVendingMachine:
loadfont
writetext GoldenrodVendingText
.Start
special Function24ae8
special PlaceMoneyTopRightOW
loadmenudata .MenuData
interpretmenu2
writebackup

View File

@ -449,7 +449,7 @@ UnknownScript_0x6ee42:
loadmovesprites
pause 20
showemote EMOTE_SHOCK, PLAYER, 20
special Functionc48f
special Special_FadeOutMusic
applymovement PLAYER, MovementData_0x6ef58
pause 30
spriteface PLAYER, DOWN

View File

@ -55,7 +55,7 @@ UnknownScript_0x180053:
appear $5
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
applymovement $5, MovementData_0x180164
playmusic MUSIC_RIVAL_ENCOUNTER
@ -76,7 +76,7 @@ UnknownScript_0x180094:
appear $5
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
applymovement $5, MovementData_0x18016b
playmusic MUSIC_RIVAL_ENCOUNTER

View File

@ -40,7 +40,7 @@ KurtScript_0x18e178:
writetext UnknownText_0x18e473
closetext
loadmovesprites
special Functionc48f
special Special_FadeOutMusic
setevent EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET
checkcode VAR_FACING
if_equal UP, .RunAround
@ -287,7 +287,7 @@ KurtScript_0x18e178:
setevent EVENT_FOREST_IS_RESTLESS
clearevent EVENT_CAN_GIVE_GS_BALL_TO_KURT
clearevent EVENT_GAVE_GS_BALL_TO_KURT
special Functionc48f
special Special_FadeOutMusic
pause 20
showemote EMOTE_SHOCK, $2, 30
checkcode VAR_FACING

View File

@ -44,12 +44,12 @@ UnknownScript_0x180e53:
end
UnknownScript_0x180e6a:
special Functionc48f
special Special_FadeOutMusic
applymovement PLAYER, MovementData_0x180f38
jump LanceScript_0x180e7b
UnknownScript_0x180e74:
special Functionc48f
special Special_FadeOutMusic
applymovement PLAYER, MovementData_0x180f3c
LanceScript_0x180e7b:
spriteface $2, LEFT

View File

@ -51,7 +51,7 @@ UnknownScript_0x190039:
UnknownScript_0x190040:
loadfont
writetext UnknownText_0x1900b0
special Function24ae8
special PlaceMoneyTopRightOW
yesorno
iffalse UnknownScript_0x190072
checkmoney $0, 300
@ -61,7 +61,7 @@ UnknownScript_0x190040:
waitbutton
playsound SFX_TRANSACTION
takemoney $0, 300
special Function24ae8
special PlaceMoneyTopRightOW
writetext UnknownText_0x19014a
closetext
loadmovesprites

View File

@ -19,7 +19,7 @@ UnknownScript_0x7408d:
UnknownScript_0x7408e:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
applymovement $2, MovementData_0x740f9
playmusic MUSIC_RIVAL_ENCOUNTER

View File

@ -25,7 +25,7 @@ OlivineCity_MapScriptHeader:
UnknownScript_0x1a8833:
spriteface PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
playsound SFX_ENTER_DOOR
appear $5
@ -49,7 +49,7 @@ UnknownScript_0x1a8833:
UnknownScript_0x1a886b:
spriteface PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
playsound SFX_ENTER_DOOR
appear $5

View File

@ -581,7 +581,7 @@ Script_LeftTimeCapsule:
MapPokeCenter2FSignpost0Script:
refreshscreen $0
special Functionc2da
special Special_DisplayLinkRecord
loadmovesprites
end

View File

@ -140,7 +140,7 @@ UnknownScript_0x5d7be:
writetext UnknownText_0x5e054
closetext
loadmovesprites
special Functionc48f
special Special_FadeOutMusic
pause 20
special RestartMapMusic
checkcode VAR_BLUECARDBALANCE
@ -169,7 +169,7 @@ UnknownScript_0x5d81e:
closetext
loadmovesprites
spriteface $b, RIGHT
special Functionc48f
special Special_FadeOutMusic
pause 20
special RestartMapMusic
end
@ -200,7 +200,7 @@ UnknownScript_0x5d845:
closetext
loadmovesprites
spriteface $b, RIGHT
special Functionc48f
special Special_FadeOutMusic
pause 20
special RestartMapMusic
end

View File

@ -21,7 +21,7 @@ RocketScript_0x1adbfa:
loadfont
writetext UnknownText_0x1addc0
keeptextopen
special Functionc48f
special Special_FadeOutMusic
writetext UnknownText_0x1adee1
closetext
loadmovesprites

View File

@ -20,7 +20,7 @@ UnknownScript_0x9cec5:
checkitem MOOMOO_MILK
iftrue UnknownScript_0x9cf08
writetext UnknownText_0x9cfe1
special Function24ae8
special PlaceMoneyTopRightOW
yesorno
iffalse UnknownScript_0x9cf02
checkmoney $0, 500
@ -28,7 +28,7 @@ UnknownScript_0x9cec5:
giveitem MOOMOO_MILK
iffalse UnknownScript_0x9cefc
takemoney $0, 500
special Function24ae8
special PlaceMoneyTopRightOW
waitbutton
playsound SFX_TRANSACTION
writetext UnknownText_0x9d05d

View File

@ -6,7 +6,7 @@ SilverCaveRoom3_MapScriptHeader:
db 0
RedScript_0x18c603:
special Functionc48f
special Special_FadeOutMusic
faceplayer
loadfont
writetext UnknownText_0x18c637
@ -17,7 +17,7 @@ RedScript_0x18c603:
startbattle
reloadmapmusic
returnafterbattle
special Functionc48f
special Special_FadeOutMusic
loadfont
writetext UnknownText_0x18c63f
closetext

View File

@ -18,7 +18,7 @@ UnknownScript_0x184946:
UnknownScript_0x184947:
spriteface PLAYER, UP
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
playsound SFX_TACKLE
playsound SFX_ELEVATOR
earthquake 79

View File

@ -55,7 +55,7 @@ LanceScript_0x6dffc:
UnknownScript_0x6e019:
spriteface PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
appear $a
applymovement $a, MovementData_0x6e164
spriteface PLAYER, LEFT

View File

@ -158,7 +158,7 @@ UnknownScript_0x1850d7:
playsound SFX_EXIT_BUILDING
disappear $5
waitbutton
special Functionc48f
special Special_FadeOutMusic
pause 20
playmapmusic
end

View File

@ -80,7 +80,7 @@ TeacherScript_0x7ca7d:
UnknownScript_0x7ca80:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
playsound SFX_EXIT_BUILDING
appear $c
@ -99,7 +99,7 @@ UnknownScript_0x7ca80:
UnknownScript_0x7caaa:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
playsound SFX_EXIT_BUILDING
appear $c

View File

@ -19,7 +19,7 @@ UnknownScript_0x74492:
moveperson $2, $12, $b
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
appear $2
applymovement $2, MovementData_0x74539
@ -33,7 +33,7 @@ UnknownScript_0x74492:
UnknownScript_0x744b5:
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
special Special_FadeOutMusic
pause 15
appear $2
applymovement $2, MovementData_0x74542

View File

@ -186,7 +186,7 @@ OlderHaircutBrotherScript:
.DoHaircut:
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
iftrue .AlreadyGotHaircut
special Function24ae8
special PlaceMoneyTopRightOW
writetext UnknownText_0x7c5f9
yesorno
iffalse .Refused
@ -222,7 +222,7 @@ OlderHaircutBrotherScript:
.then:
takemoney $0, 500
special Function24ae8
special PlaceMoneyTopRightOW
writetext UnknownText_0x7c6b8
closetext
loadmovesprites
@ -269,7 +269,7 @@ YoungerHaircutBrotherScript:
.DoHaircut:
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
iftrue .AlreadyGotHaircut
special Function24ae8
special PlaceMoneyTopRightOW
writetext UnknownText_0x7c75c
yesorno
iffalse .Refused
@ -305,7 +305,7 @@ YoungerHaircutBrotherScript:
.then:
takemoney $0, 300
special Function24ae8
special PlaceMoneyTopRightOW
writetext UnknownText_0x7c80e
closetext
loadmovesprites
@ -343,21 +343,21 @@ YoungerHaircutBrotherScript:
UnknownScript_0x7c2bb:
writetext HaircutBrosText_SlightlyHappier
special Functionc472
special PlayCurMonCry
closetext
loadmovesprites
end
UnknownScript_0x7c2c4:
writetext HaircutBrosText_Happier
special Functionc472
special PlayCurMonCry
closetext
loadmovesprites
end
UnknownScript_0x7c2cd:
writetext HaircutBrosText_MuchHappier
special Functionc472
special PlayCurMonCry
closetext
loadmovesprites
end

1829
misc/mobile_12.asm Executable file

File diff suppressed because it is too large Load Diff