mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
opentext and breeding
This commit is contained in:
parent
0c4bf512d0
commit
a5a8364c35
@ -9,21 +9,21 @@
|
|||||||
|
|
||||||
; egg group constants
|
; egg group constants
|
||||||
const_value SET 1
|
const_value SET 1
|
||||||
const MONSTER
|
const MONSTER ; 1
|
||||||
const AMPHIBIAN
|
const AMPHIBIAN ; 2
|
||||||
const INSECT
|
const INSECT ; 3
|
||||||
const AVIAN
|
const AVIAN ; 4
|
||||||
const FIELD
|
const FIELD ; 5
|
||||||
const FAIRY
|
const FAIRY ; 6
|
||||||
const PLANT
|
const PLANT ; 7
|
||||||
const HUMANSHAPE
|
const HUMANSHAPE ; 8
|
||||||
const INVERTEBRATE
|
const INVERTEBRATE ; 9
|
||||||
const INANIMATE
|
const INANIMATE ; a
|
||||||
const AMORPHOUS
|
const AMORPHOUS ; b
|
||||||
const FISH
|
const FISH ; c
|
||||||
const LADIES_MAN
|
const LADIES_MAN ; d
|
||||||
const REPTILE
|
const REPTILE ; e
|
||||||
const NO_EGGS
|
const NO_EGGS ; f
|
||||||
|
|
||||||
|
|
||||||
; menu sprites
|
; menu sprites
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Function16e1d: ; 16e1d
|
CheckBreedmonCompatibility: ; 16e1d
|
||||||
call Function16ed6
|
call .CheckBreedingGroupCompatibility
|
||||||
ld c, $0
|
ld c, $0
|
||||||
jp nc, .asm_16eb7
|
jp nc, .done
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld a, [wBreedMon1DVs]
|
ld a, [wBreedMon1DVs]
|
||||||
@ -11,12 +11,12 @@ Function16e1d: ; 16e1d
|
|||||||
ld a, $3
|
ld a, $3
|
||||||
ld [MonType], a
|
ld [MonType], a
|
||||||
predef GetGender
|
predef GetGender
|
||||||
jr c, .asm_16e70
|
jr c, .genderless
|
||||||
ld b, $1
|
ld b, $1
|
||||||
jr nz, .asm_16e48
|
jr nz, .breedmon2
|
||||||
inc b
|
inc b
|
||||||
|
|
||||||
.asm_16e48
|
.breedmon2
|
||||||
push bc
|
push bc
|
||||||
ld a, [wBreedMon2Species]
|
ld a, [wBreedMon2Species]
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
@ -28,96 +28,105 @@ Function16e1d: ; 16e1d
|
|||||||
ld [MonType], a
|
ld [MonType], a
|
||||||
predef GetGender
|
predef GetGender
|
||||||
pop bc
|
pop bc
|
||||||
jr c, .asm_16e70
|
jr c, .genderless
|
||||||
ld a, $1
|
ld a, $1
|
||||||
jr nz, .asm_16e6d
|
jr nz, .compare_gender
|
||||||
inc a
|
inc a
|
||||||
|
|
||||||
.asm_16e6d
|
.compare_gender
|
||||||
cp b
|
cp b
|
||||||
jr nz, .asm_16e89
|
jr nz, .compute
|
||||||
|
|
||||||
.asm_16e70
|
.genderless
|
||||||
ld c, $0
|
ld c, $0
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
cp DITTO
|
cp DITTO
|
||||||
jr z, .asm_16e82
|
jr z, .ditto1
|
||||||
ld a, [wBreedMon2Species]
|
ld a, [wBreedMon2Species]
|
||||||
cp DITTO
|
cp DITTO
|
||||||
jr nz, .asm_16eb7
|
jr nz, .done
|
||||||
jr .asm_16e89
|
jr .compute
|
||||||
|
|
||||||
.asm_16e82
|
.ditto1
|
||||||
ld a, [wBreedMon2Species]
|
ld a, [wBreedMon2Species]
|
||||||
cp DITTO
|
cp DITTO
|
||||||
jr z, .asm_16eb7
|
jr z, .done
|
||||||
|
|
||||||
.asm_16e89
|
.compute
|
||||||
call Function16ebc
|
call .CheckDVs
|
||||||
ld c, $ff
|
ld c, 255
|
||||||
jp z, .asm_16eb7
|
jp z, .done
|
||||||
ld a, [wBreedMon2Species]
|
ld a, [wBreedMon2Species]
|
||||||
ld b, a
|
ld b, a
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
cp b
|
cp b
|
||||||
ld c, $fe
|
ld c, 254
|
||||||
jr z, .asm_16e9f
|
jr z, .compare_ids
|
||||||
ld c, $80
|
ld c, 128
|
||||||
.asm_16e9f
|
.compare_ids
|
||||||
|
; Speed up
|
||||||
ld a, [wBreedMon1ID]
|
ld a, [wBreedMon1ID]
|
||||||
ld b, a
|
ld b, a
|
||||||
ld a, [wBreedMon2ID]
|
ld a, [wBreedMon2ID]
|
||||||
cp b
|
cp b
|
||||||
jr nz, .asm_16eb7
|
jr nz, .done
|
||||||
ld a, [wBreedMon1ID + 1]
|
ld a, [wBreedMon1ID + 1]
|
||||||
ld b, a
|
ld b, a
|
||||||
ld a, [wBreedMon2ID + 1]
|
ld a, [wBreedMon2ID + 1]
|
||||||
cp b
|
cp b
|
||||||
jr nz, .asm_16eb7
|
jr nz, .done
|
||||||
ld a, c
|
ld a, c
|
||||||
sub $4d
|
sub 77
|
||||||
ld c, a
|
ld c, a
|
||||||
|
|
||||||
.asm_16eb7
|
.done
|
||||||
ld a, c
|
ld a, c
|
||||||
ld [wd265], a
|
ld [wd265], a
|
||||||
ret
|
ret
|
||||||
; 16ebc
|
; 16ebc
|
||||||
|
|
||||||
|
|
||||||
Function16ebc: ; 16ebc (5:6ebc)
|
.CheckDVs: ; 16ebc (5:6ebc)
|
||||||
|
; If Defense DVs match and the lower 3 bits of the Special DVs match,
|
||||||
|
; maximize the chances of spawning an egg regardless of species.
|
||||||
ld a, [wBreedMon1DVs]
|
ld a, [wBreedMon1DVs]
|
||||||
and $f
|
and %1111
|
||||||
ld b, a
|
ld b, a
|
||||||
ld a, [wBreedMon2DVs]
|
ld a, [wBreedMon2DVs]
|
||||||
and $f
|
and %1111
|
||||||
cp b
|
cp b
|
||||||
ret nz
|
ret nz
|
||||||
ld a, [wBreedMon1DVs + 1]
|
ld a, [wBreedMon1DVs + 1]
|
||||||
and $7
|
and %111
|
||||||
ld b, a
|
ld b, a
|
||||||
ld a, [wBreedMon2DVs + 1]
|
ld a, [wBreedMon2DVs + 1]
|
||||||
and $7
|
and %111
|
||||||
cp b
|
cp b
|
||||||
ret
|
ret
|
||||||
; 16ed6
|
; 16ed6
|
||||||
|
|
||||||
Function16ed6: ; 16ed6
|
.CheckBreedingGroupCompatibility: ; 16ed6
|
||||||
|
; If either mon is in the No Eggs group,
|
||||||
|
; they are not compatible.
|
||||||
ld a, [wBreedMon2Species]
|
ld a, [wBreedMon2Species]
|
||||||
ld [CurSpecies], a
|
ld [CurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
ld a, [BaseEggGroups]
|
ld a, [BaseEggGroups]
|
||||||
cp $ff
|
cp NO_EGGS * $11
|
||||||
jr z, .asm_16f3a
|
jr z, .Incompatible
|
||||||
|
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
ld [CurSpecies], a
|
ld [CurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
ld a, [BaseEggGroups]
|
ld a, [BaseEggGroups]
|
||||||
cp $ff
|
cp NO_EGGS * $11
|
||||||
jr z, .asm_16f3a
|
jr z, .Incompatible
|
||||||
|
|
||||||
|
; Ditto is automatically compatible with everything.
|
||||||
|
; If not Ditto, load the breeding groups into b/c and d/e.
|
||||||
ld a, [wBreedMon2Species]
|
ld a, [wBreedMon2Species]
|
||||||
cp DITTO
|
cp DITTO
|
||||||
jr z, .asm_16f3c
|
jr z, .Compatible
|
||||||
ld [CurSpecies], a
|
ld [CurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
ld a, [BaseEggGroups]
|
ld a, [BaseEggGroups]
|
||||||
@ -128,9 +137,10 @@ Function16ed6: ; 16ed6
|
|||||||
and $f0
|
and $f0
|
||||||
swap a
|
swap a
|
||||||
ld c, a
|
ld c, a
|
||||||
|
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
cp DITTO
|
cp DITTO
|
||||||
jr z, .asm_16f3c
|
jr z, .Compatible
|
||||||
ld [CurSpecies], a
|
ld [CurSpecies], a
|
||||||
push bc
|
push bc
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
@ -143,22 +153,24 @@ Function16ed6: ; 16ed6
|
|||||||
and $f0
|
and $f0
|
||||||
swap a
|
swap a
|
||||||
ld e, a
|
ld e, a
|
||||||
|
|
||||||
ld a, d
|
ld a, d
|
||||||
cp b
|
cp b
|
||||||
jr z, .asm_16f3c
|
jr z, .Compatible
|
||||||
cp c
|
cp c
|
||||||
jr z, .asm_16f3c
|
jr z, .Compatible
|
||||||
|
|
||||||
ld a, e
|
ld a, e
|
||||||
cp b
|
cp b
|
||||||
jr z, .asm_16f3c
|
jr z, .Compatible
|
||||||
cp c
|
cp c
|
||||||
jr z, .asm_16f3c
|
jr z, .Compatible
|
||||||
|
|
||||||
.asm_16f3a
|
.Incompatible
|
||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.asm_16f3c
|
.Compatible
|
||||||
scf
|
scf
|
||||||
ret
|
ret
|
||||||
; 16f3e
|
; 16f3e
|
||||||
@ -448,7 +460,7 @@ endr
|
|||||||
jr .loop
|
jr .loop
|
||||||
|
|
||||||
.reached_end
|
.reached_end
|
||||||
call Function1720b
|
call GetBreedmonMovePointer
|
||||||
ld b, NUM_MOVES
|
ld b, NUM_MOVES
|
||||||
.loop2
|
.loop2
|
||||||
ld a, [de]
|
ld a, [de]
|
||||||
@ -613,7 +625,7 @@ GetHeritableMoves: ; 17197
|
|||||||
ret
|
ret
|
||||||
; 1720b
|
; 1720b
|
||||||
|
|
||||||
Function1720b: ; 1720b
|
GetBreedmonMovePointer: ; 1720b
|
||||||
ld hl, wBreedMon1Moves
|
ld hl, wBreedMon1Moves
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
cp DITTO
|
cp DITTO
|
||||||
@ -631,7 +643,7 @@ Function1720b: ; 1720b
|
|||||||
; 17224
|
; 17224
|
||||||
|
|
||||||
|
|
||||||
Function17224: ; 17224 (5:7224)
|
GetEggFrontpic: ; 17224 (5:7224)
|
||||||
push de
|
push de
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld [CurSpecies], a
|
ld [CurSpecies], a
|
||||||
@ -641,7 +653,7 @@ Function17224: ; 17224 (5:7224)
|
|||||||
pop de
|
pop de
|
||||||
predef_jump GetFrontpic
|
predef_jump GetFrontpic
|
||||||
|
|
||||||
Function1723c: ; 1723c (5:723c)
|
GetHatchlingFrontpic: ; 1723c (5:723c)
|
||||||
push de
|
push de
|
||||||
ld [CurPartySpecies], a
|
ld [CurPartySpecies], a
|
||||||
ld [CurSpecies], a
|
ld [CurSpecies], a
|
||||||
@ -701,10 +713,10 @@ EggHatch_AnimationSequence: ; 1728f (5:728f)
|
|||||||
callba ClearSpriteAnims
|
callba ClearSpriteAnims
|
||||||
ld de, VTiles2 tile $00
|
ld de, VTiles2 tile $00
|
||||||
ld a, [wJumptableIndex]
|
ld a, [wJumptableIndex]
|
||||||
call Function1723c
|
call GetHatchlingFrontpic
|
||||||
ld de, VTiles2 tile $31
|
ld de, VTiles2 tile $31
|
||||||
ld a, EGG
|
ld a, EGG
|
||||||
call Function17224
|
call GetEggFrontpic
|
||||||
ld de, MUSIC_EVOLUTION
|
ld de, MUSIC_EVOLUTION
|
||||||
call PlayMusic
|
call PlayMusic
|
||||||
call EnableLCD
|
call EnableLCD
|
||||||
@ -915,7 +927,7 @@ Function1746c: ; 1746c
|
|||||||
ld de, StringBuffer1
|
ld de, StringBuffer1
|
||||||
ld bc, NAME_LENGTH
|
ld bc, NAME_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
call Function16e1d
|
call CheckBreedmonCompatibility
|
||||||
pop bc
|
pop bc
|
||||||
ld a, [wd265]
|
ld a, [wd265]
|
||||||
ld hl, UnknownText_0x1749c
|
ld hl, UnknownText_0x1749c
|
||||||
|
@ -137,7 +137,7 @@ Function8ade: ; 8ade SGB layout $fc
|
|||||||
.asm_8af7
|
.asm_8af7
|
||||||
push de
|
push de
|
||||||
ld hl, wcda9 + 10
|
ld hl, wcda9 + 10
|
||||||
ld bc, $0006
|
ld bc, $6
|
||||||
ld a, [wcda9]
|
ld a, [wcda9]
|
||||||
call AddNTimes
|
call AddNTimes
|
||||||
pop de
|
pop de
|
||||||
@ -150,13 +150,13 @@ Function8b07: ; 8b07
|
|||||||
ret z
|
ret z
|
||||||
ld hl, Palette8b2f
|
ld hl, Palette8b2f
|
||||||
ld de, UnknBGPals
|
ld de, UnknBGPals
|
||||||
ld bc, $0008
|
ld bc, 1 palettes
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
|
|
||||||
ld hl, Palette8b37
|
ld hl, Palette8b37
|
||||||
ld de, MartPointer
|
ld de, MartPointer
|
||||||
ld bc, $0008
|
ld bc, 1 palettes
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
|
|
||||||
@ -171,6 +171,7 @@ Palette8b2f: ; 8b2f
|
|||||||
RGB 18, 23, 31
|
RGB 18, 23, 31
|
||||||
RGB 15, 20, 31
|
RGB 15, 20, 31
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; 8b37
|
; 8b37
|
||||||
|
|
||||||
Palette8b37: ; 8b37
|
Palette8b37: ; 8b37
|
||||||
@ -178,6 +179,7 @@ Palette8b37: ; 8b37
|
|||||||
RGB 31, 31, 12
|
RGB 31, 31, 12
|
||||||
RGB 08, 16, 28
|
RGB 08, 16, 28
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; 8b3f
|
; 8b3f
|
||||||
|
|
||||||
Function8b3f: ; 8b3f
|
Function8b3f: ; 8b3f
|
||||||
@ -276,7 +278,7 @@ endr
|
|||||||
asm_8bd7
|
asm_8bd7
|
||||||
push hl
|
push hl
|
||||||
ld hl, UnknBGPals
|
ld hl, UnknBGPals
|
||||||
ld de, $0008
|
ld de, $8
|
||||||
.asm_8bde
|
.asm_8bde
|
||||||
and a
|
and a
|
||||||
jr z, .asm_8be5
|
jr z, .asm_8be5
|
||||||
@ -304,7 +306,7 @@ Function8bec: ; 8bec
|
|||||||
ld c, a
|
ld c, a
|
||||||
ld a, [EnemyReflectCount]
|
ld a, [EnemyReflectCount]
|
||||||
hlcoord 0, 0, AttrMap
|
hlcoord 0, 0, AttrMap
|
||||||
ld de, $0014
|
ld de, $14
|
||||||
.asm_8c04
|
.asm_8c04
|
||||||
and a
|
and a
|
||||||
jr z, .asm_8c0b
|
jr z, .asm_8c0b
|
||||||
@ -357,11 +359,11 @@ Function8c43: ; 8c43
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
.asm_8c52
|
.asm_8c52
|
||||||
ld de, BGPals + $10 + 2
|
ld de, BGPals + 2 palettes + 2
|
||||||
jr .asm_8c5a
|
jr .asm_8c5a
|
||||||
|
|
||||||
.asm_8c57
|
.asm_8c57
|
||||||
ld de, BGPals + $18 + 2
|
ld de, BGPals + 3 palettes + 2
|
||||||
|
|
||||||
.asm_8c5a
|
.asm_8c5a
|
||||||
ld l, c
|
ld l, c
|
||||||
@ -371,7 +373,7 @@ rept 2
|
|||||||
endr
|
endr
|
||||||
ld bc, Palettes_a8be
|
ld bc, Palettes_a8be
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld bc, $0004
|
ld bc, $4
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
ld a, $1
|
ld a, $1
|
||||||
@ -382,7 +384,7 @@ endr
|
|||||||
ld e, c
|
ld e, c
|
||||||
inc e
|
inc e
|
||||||
hlcoord 11, 1, AttrMap
|
hlcoord 11, 1, AttrMap
|
||||||
ld bc, $0028
|
ld bc, $28
|
||||||
ld a, [CurPartyMon]
|
ld a, [CurPartyMon]
|
||||||
.asm_8c7b
|
.asm_8c7b
|
||||||
and a
|
and a
|
||||||
@ -459,7 +461,7 @@ endr
|
|||||||
|
|
||||||
.asm_8cf0
|
.asm_8cf0
|
||||||
ld de, UnknBGPals
|
ld de, UnknBGPals
|
||||||
ld bc, $0008
|
ld bc, 1 palettes
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
call Function96a4
|
call Function96a4
|
||||||
@ -518,6 +520,7 @@ Palettes_8d05: ; 8d05
|
|||||||
RGB 31, 31, 00
|
RGB 31, 31, 00
|
||||||
RGB 00, 21, 00
|
RGB 00, 21, 00
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; 8d55
|
; 8d55
|
||||||
|
|
||||||
INCLUDE "predef/cgb.asm"
|
INCLUDE "predef/cgb.asm"
|
||||||
@ -540,6 +543,7 @@ Palette_9608: ; 9608
|
|||||||
RGB 09, 31, 31
|
RGB 09, 31, 31
|
||||||
RGB 10, 12, 31
|
RGB 10, 12, 31
|
||||||
RGB 00, 03, 19
|
RGB 00, 03, 19
|
||||||
|
|
||||||
; 9610
|
; 9610
|
||||||
|
|
||||||
|
|
||||||
@ -678,7 +682,7 @@ Function9699: ; 9699
|
|||||||
Function96a4: ; 96a4
|
Function96a4: ; 96a4
|
||||||
ld hl, UnknBGPals
|
ld hl, UnknBGPals
|
||||||
ld de, BGPals
|
ld de, BGPals
|
||||||
ld bc, $0080
|
ld bc, 16 palettes
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
ret
|
ret
|
||||||
@ -740,7 +744,7 @@ Function96f3: ; 96f3 CGB layout $fc
|
|||||||
inc a
|
inc a
|
||||||
ld e, a
|
ld e, a
|
||||||
hlcoord 11, 2, AttrMap
|
hlcoord 11, 2, AttrMap
|
||||||
ld bc, $0028
|
ld bc, $28
|
||||||
ld a, [wcda9]
|
ld a, [wcda9]
|
||||||
.asm_970b
|
.asm_970b
|
||||||
and a
|
and a
|
||||||
@ -760,7 +764,7 @@ Function96f3: ; 96f3 CGB layout $fc
|
|||||||
Function971a: ; 971a
|
Function971a: ; 971a
|
||||||
ld hl, Palettes_b681
|
ld hl, Palettes_b681
|
||||||
ld de, UnknOBPals
|
ld de, UnknOBPals
|
||||||
ld bc, $0010
|
ld bc, 2 palettes
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
ret
|
ret
|
||||||
@ -844,7 +848,7 @@ Function977a: ; 977a
|
|||||||
jr nz, .asm_9787
|
jr nz, .asm_9787
|
||||||
ld hl, Palettes_979c
|
ld hl, Palettes_979c
|
||||||
ld de, UnknOBPals + 8 * 2
|
ld de, UnknOBPals + 8 * 2
|
||||||
ld bc, $0010
|
ld bc, 2 palettes
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call FarCopyWRAM
|
call FarCopyWRAM
|
||||||
ret
|
ret
|
||||||
@ -855,26 +859,32 @@ Palettes_979c: ; 979c
|
|||||||
RGB 25, 25, 25
|
RGB 25, 25, 25
|
||||||
RGB 13, 13, 13
|
RGB 13, 13, 13
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 31, 31, 07
|
RGB 31, 31, 07
|
||||||
RGB 31, 16, 01
|
RGB 31, 16, 01
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 31, 19, 24
|
RGB 31, 19, 24
|
||||||
RGB 30, 10, 06
|
RGB 30, 10, 06
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 12, 25, 01
|
RGB 12, 25, 01
|
||||||
RGB 05, 14, 00
|
RGB 05, 14, 00
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 08, 12, 31
|
RGB 08, 12, 31
|
||||||
RGB 01, 04, 31
|
RGB 01, 04, 31
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 24, 18, 07
|
RGB 24, 18, 07
|
||||||
RGB 20, 15, 03
|
RGB 20, 15, 03
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; 97cc
|
; 97cc
|
||||||
|
|
||||||
Function97cc: ; 97cc
|
Function97cc: ; 97cc
|
||||||
@ -1217,20 +1227,20 @@ Function99d8: ; 99d8
|
|||||||
ld b, $12
|
ld b, $12
|
||||||
.asm_99ea
|
.asm_99ea
|
||||||
push bc
|
push bc
|
||||||
ld bc, $000c
|
ld bc, $c
|
||||||
call CopyData
|
call CopyData
|
||||||
ld bc, $0028
|
ld bc, $28
|
||||||
call ClearBytes
|
call ClearBytes
|
||||||
ld bc, $000c
|
ld bc, $c
|
||||||
call CopyData
|
call CopyData
|
||||||
pop bc
|
pop bc
|
||||||
dec b
|
dec b
|
||||||
jr nz, .asm_99ea
|
jr nz, .asm_99ea
|
||||||
ld bc, $0140
|
ld bc, $140
|
||||||
call CopyData
|
call CopyData
|
||||||
ld bc, Start
|
ld bc, Start
|
||||||
call ClearBytes
|
call ClearBytes
|
||||||
ld bc, $0080
|
ld bc, 16 palettes
|
||||||
call CopyData
|
call CopyData
|
||||||
call DrawDefaultTiles
|
call DrawDefaultTiles
|
||||||
ld a, $e3
|
ld a, $e3
|
||||||
@ -1250,9 +1260,9 @@ Function9a24: ; 9a24
|
|||||||
ld b, $80
|
ld b, $80
|
||||||
.asm_9a30
|
.asm_9a30
|
||||||
push bc
|
push bc
|
||||||
ld bc, $0010
|
ld bc, 2 palettes
|
||||||
call CopyData
|
call CopyData
|
||||||
ld bc, $0010
|
ld bc, 2 palettes
|
||||||
call ClearBytes
|
call ClearBytes
|
||||||
pop bc
|
pop bc
|
||||||
dec b
|
dec b
|
||||||
@ -1803,6 +1813,7 @@ Palettes_9df6: ; 9df6
|
|||||||
RGB 08, 11, 11
|
RGB 08, 11, 11
|
||||||
RGB 21, 21, 21
|
RGB 21, 21, 21
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
|
|
||||||
; a06e
|
; a06e
|
||||||
|
|
||||||
SGBBorderMap: ; a06e
|
SGBBorderMap: ; a06e
|
||||||
@ -1916,6 +1927,7 @@ SGBBorderPalettes: ; a49e
|
|||||||
RGB 31, 31, 25
|
RGB 31, 31, 25
|
||||||
RGB 31, 31, 25
|
RGB 31, 31, 25
|
||||||
RGB 31, 31, 25
|
RGB 31, 31, 25
|
||||||
|
|
||||||
; a51e
|
; a51e
|
||||||
|
|
||||||
SGBBorder: ; a51e
|
SGBBorder: ; a51e
|
||||||
@ -2085,6 +2097,7 @@ Palette_b309: ; b309
|
|||||||
RGB 31, 19, 24
|
RGB 31, 19, 24
|
||||||
RGB 30, 10, 06
|
RGB 30, 10, 06
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; b311
|
; b311
|
||||||
|
|
||||||
Palette_b311: ; b311
|
Palette_b311: ; b311
|
||||||
@ -2092,6 +2105,7 @@ Palette_b311: ; b311
|
|||||||
RGB 17, 19, 31
|
RGB 17, 19, 31
|
||||||
RGB 14, 16, 31
|
RGB 14, 16, 31
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; b319
|
; b319
|
||||||
|
|
||||||
TilesetBGPalette: ; b319
|
TilesetBGPalette: ; b319
|
||||||
@ -2143,6 +2157,7 @@ Palettes_b641: ; b641
|
|||||||
RGB 11, 11, 19
|
RGB 11, 11, 19
|
||||||
RGB 07, 07, 12
|
RGB 07, 07, 12
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; b681
|
; b681
|
||||||
|
|
||||||
Palettes_b681: ; b681
|
Palettes_b681: ; b681
|
||||||
@ -2216,6 +2231,7 @@ Palettes_b681: ; b681
|
|||||||
RGB 20, 15, 03
|
RGB 20, 15, 03
|
||||||
RGB 07, 07, 07
|
RGB 07, 07, 07
|
||||||
|
|
||||||
|
|
||||||
Palettes_b6f1: ; b6f1
|
Palettes_b6f1: ; b6f1
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 18, 23, 31
|
RGB 18, 23, 31
|
||||||
@ -2242,6 +2258,7 @@ Palettes_b6f1: ; b6f1
|
|||||||
RGB 18, 23, 31
|
RGB 18, 23, 31
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
|
|
||||||
Palettes_b719: ; b719
|
Palettes_b719: ; b719
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 07, 06, 03
|
RGB 07, 06, 03
|
||||||
@ -2252,6 +2269,7 @@ Palettes_b719: ; b719
|
|||||||
RGB 31, 31, 00
|
RGB 31, 31, 00
|
||||||
RGB 26, 22, 00
|
RGB 26, 22, 00
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; b729
|
; b729
|
||||||
|
|
||||||
Palettes_b729: ; b729
|
Palettes_b729: ; b729
|
||||||
@ -2284,6 +2302,7 @@ Palettes_b729: ; b729
|
|||||||
RGB 00, 31, 00
|
RGB 00, 31, 00
|
||||||
RGB 15, 07, 00
|
RGB 15, 07, 00
|
||||||
RGB 31, 00, 00
|
RGB 31, 00, 00
|
||||||
|
|
||||||
; b759
|
; b759
|
||||||
|
|
||||||
Palettes_b759: ; b759
|
Palettes_b759: ; b759
|
||||||
@ -2316,6 +2335,7 @@ Palettes_b759: ; b759
|
|||||||
RGB 00, 31, 00
|
RGB 00, 31, 00
|
||||||
RGB 15, 07, 00
|
RGB 15, 07, 00
|
||||||
RGB 31, 00, 00
|
RGB 31, 00, 00
|
||||||
|
|
||||||
; b789
|
; b789
|
||||||
|
|
||||||
Palettes_b789: ; b789
|
Palettes_b789: ; b789
|
||||||
@ -2338,6 +2358,7 @@ Palettes_b789: ; b789
|
|||||||
RGB 29, 26, 05
|
RGB 29, 26, 05
|
||||||
RGB 18, 18, 18
|
RGB 18, 18, 18
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; b7a9
|
; b7a9
|
||||||
|
|
||||||
Palettes_b7a9: ; b7a9
|
Palettes_b7a9: ; b7a9
|
||||||
@ -2420,4 +2441,5 @@ Palettes_b7a9: ; b7a9
|
|||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
; b829
|
; b829
|
||||||
|
@ -1244,7 +1244,7 @@ DecorationDesc_PosterPointers: ; 26f84
|
|||||||
; 26f91
|
; 26f91
|
||||||
|
|
||||||
DecorationDesc_TownMapPoster: ; 0x26f91
|
DecorationDesc_TownMapPoster: ; 0x26f91
|
||||||
loadfont
|
opentext
|
||||||
writetext .TownMapText
|
writetext .TownMapText
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_TownMap
|
special Special_TownMap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FruitTreeScript:: ; 44000
|
FruitTreeScript:: ; 44000
|
||||||
callasm GetCurTreeFruit
|
callasm GetCurTreeFruit
|
||||||
loadfont
|
opentext
|
||||||
copybytetovar CurFruit
|
copybytetovar CurFruit
|
||||||
itemtotext $0, $0
|
itemtotext $0, $0
|
||||||
writetext FruitBearingTreeText
|
writetext FruitBearingTreeText
|
||||||
|
572
engine/npc_movement.asm
Executable file
572
engine/npc_movement.asm
Executable file
@ -0,0 +1,572 @@
|
|||||||
|
Function6ec1: ; 6ec1
|
||||||
|
|
||||||
|
ld hl, OBJECT_PALETTE
|
||||||
|
add hl, bc
|
||||||
|
bit 5, [hl]
|
||||||
|
jr z, .not_bit_5
|
||||||
|
|
||||||
|
ld hl, OBJECT_FLAGS1
|
||||||
|
add hl, bc
|
||||||
|
bit 4, [hl] ; lost
|
||||||
|
push hl
|
||||||
|
push bc
|
||||||
|
call Function6f2c
|
||||||
|
pop bc
|
||||||
|
pop hl
|
||||||
|
ret c
|
||||||
|
jr .resume
|
||||||
|
|
||||||
|
.not_bit_5
|
||||||
|
ld hl, OBJECT_FLAGS1
|
||||||
|
add hl, bc
|
||||||
|
bit 4, [hl]
|
||||||
|
jr nz, .resume
|
||||||
|
push hl
|
||||||
|
push bc
|
||||||
|
call Function6f07
|
||||||
|
pop bc
|
||||||
|
pop hl
|
||||||
|
ret c
|
||||||
|
|
||||||
|
.resume
|
||||||
|
bit 6, [hl]
|
||||||
|
jr nz, .bit_6
|
||||||
|
|
||||||
|
push hl
|
||||||
|
push bc
|
||||||
|
call WillPersonBumpIntoSomeoneElse
|
||||||
|
pop bc
|
||||||
|
pop hl
|
||||||
|
ret c
|
||||||
|
|
||||||
|
.bit_6
|
||||||
|
bit 5, [hl]
|
||||||
|
jr nz, .bit_5
|
||||||
|
push hl
|
||||||
|
call HasPersonReachedMovementLimit
|
||||||
|
pop hl
|
||||||
|
ret c
|
||||||
|
|
||||||
|
push hl
|
||||||
|
call IsPersonMovingOffEdgeOfScreen
|
||||||
|
pop hl
|
||||||
|
ret c
|
||||||
|
|
||||||
|
.bit_5
|
||||||
|
and a
|
||||||
|
ret
|
||||||
|
; 6f07
|
||||||
|
|
||||||
|
|
||||||
|
Function6f07: ; 6f07
|
||||||
|
call Function6f5f
|
||||||
|
ret c
|
||||||
|
ld hl, OBJECT_NEXT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld d, [hl]
|
||||||
|
ld hl, OBJECT_NEXT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld e, [hl]
|
||||||
|
ld hl, OBJECT_PALETTE
|
||||||
|
add hl, bc
|
||||||
|
bit 7, [hl]
|
||||||
|
jp nz, Function6fa1
|
||||||
|
ld hl, OBJECT_NEXT_TILE
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
ld d, a
|
||||||
|
call GetTileCollision
|
||||||
|
and a
|
||||||
|
jr z, Function6f3e
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 6f2c
|
||||||
|
|
||||||
|
Function6f2c: ; 6f2c
|
||||||
|
call Function6f5f
|
||||||
|
ret c
|
||||||
|
ld hl, OBJECT_NEXT_TILE
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
call GetTileCollision
|
||||||
|
cp $1
|
||||||
|
jr z, Function6f3e
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 6f3e
|
||||||
|
|
||||||
|
Function6f3e: ; 6f3e
|
||||||
|
ld hl, OBJECT_NEXT_TILE
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
call Function6f7f
|
||||||
|
ret nc
|
||||||
|
push af
|
||||||
|
ld hl, OBJECT_DIRECTION_WALKING
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
and 3
|
||||||
|
ld e, a
|
||||||
|
ld d, 0
|
||||||
|
ld hl, .data_6f5b
|
||||||
|
add hl, de
|
||||||
|
pop af
|
||||||
|
and [hl]
|
||||||
|
ret z
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 6f5b
|
||||||
|
|
||||||
|
.data_6f5b
|
||||||
|
db 1 << DOWN, 1 << UP, 1 << RIGHT, 1 << LEFT
|
||||||
|
; 6f5f
|
||||||
|
|
||||||
|
Function6f5f: ; 6f5f
|
||||||
|
ld hl, OBJECT_STANDING_TILE
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
call Function6f7f
|
||||||
|
ret nc
|
||||||
|
push af
|
||||||
|
ld hl, OBJECT_DIRECTION_WALKING
|
||||||
|
add hl, bc
|
||||||
|
and 3
|
||||||
|
ld e, a
|
||||||
|
ld d, 0
|
||||||
|
ld hl, .data_6f7b
|
||||||
|
add hl, de
|
||||||
|
pop af
|
||||||
|
and [hl]
|
||||||
|
ret z
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 6f7b
|
||||||
|
|
||||||
|
.data_6f7b
|
||||||
|
db 1 << UP, 1 << DOWN, 1 << LEFT, 1 << RIGHT
|
||||||
|
; 6f7f
|
||||||
|
|
||||||
|
Function6f7f: ; 6f7f
|
||||||
|
ld d, a
|
||||||
|
and $f0
|
||||||
|
cp $b0
|
||||||
|
jr z, .done
|
||||||
|
cp $c0
|
||||||
|
jr z, .done
|
||||||
|
xor a
|
||||||
|
ret
|
||||||
|
|
||||||
|
.done
|
||||||
|
ld a, d
|
||||||
|
and 7
|
||||||
|
ld e, a
|
||||||
|
ld d, 0
|
||||||
|
ld hl, .data_6f99
|
||||||
|
add hl, de
|
||||||
|
ld a, [hl]
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 6f99
|
||||||
|
|
||||||
|
.data_6f99
|
||||||
|
db 8, 4, 1, 2
|
||||||
|
db 10, 6, 9, 5
|
||||||
|
; 6fa1
|
||||||
|
|
||||||
|
Function6fa1: ; 6fa1
|
||||||
|
ld hl, OBJECT_DIRECTION_WALKING
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
and 3
|
||||||
|
jr z, .asm_6fb2
|
||||||
|
dec a
|
||||||
|
jr z, .asm_6fb7
|
||||||
|
dec a
|
||||||
|
jr z, .asm_6fbb
|
||||||
|
jr .asm_6fbf
|
||||||
|
|
||||||
|
.asm_6fb2
|
||||||
|
inc e
|
||||||
|
push de
|
||||||
|
inc d
|
||||||
|
jr .asm_6fc2
|
||||||
|
|
||||||
|
.asm_6fb7
|
||||||
|
push de
|
||||||
|
inc d
|
||||||
|
jr .asm_6fc2
|
||||||
|
|
||||||
|
.asm_6fbb
|
||||||
|
push de
|
||||||
|
inc e
|
||||||
|
jr .asm_6fc2
|
||||||
|
|
||||||
|
.asm_6fbf
|
||||||
|
inc d
|
||||||
|
push de
|
||||||
|
inc e
|
||||||
|
|
||||||
|
.asm_6fc2
|
||||||
|
call GetCoordTile
|
||||||
|
call GetTileCollision
|
||||||
|
pop de
|
||||||
|
and a
|
||||||
|
jr nz, .asm_6fd7
|
||||||
|
call GetCoordTile
|
||||||
|
call GetTileCollision
|
||||||
|
and a
|
||||||
|
jr nz, .asm_6fd7
|
||||||
|
xor a
|
||||||
|
ret
|
||||||
|
|
||||||
|
.asm_6fd7
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 6fd9
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CheckFacingObject:: ; 6fd9
|
||||||
|
|
||||||
|
call GetFacingTileCoord
|
||||||
|
|
||||||
|
; Double the distance for counter tiles.
|
||||||
|
call CheckCounterTile
|
||||||
|
jr nz, .asm_6ff1
|
||||||
|
|
||||||
|
ld a, [PlayerNextMapX]
|
||||||
|
sub d
|
||||||
|
cpl
|
||||||
|
inc a
|
||||||
|
add d
|
||||||
|
ld d, a
|
||||||
|
|
||||||
|
ld a, [PlayerNextMapY]
|
||||||
|
sub e
|
||||||
|
cpl
|
||||||
|
inc a
|
||||||
|
add e
|
||||||
|
ld e, a
|
||||||
|
|
||||||
|
.asm_6ff1
|
||||||
|
ld bc, ObjectStructs ; redundant
|
||||||
|
ld a, 0
|
||||||
|
ld [hMapObjectIndexBuffer], a
|
||||||
|
call IsNPCAtCoord
|
||||||
|
ret nc
|
||||||
|
ld hl, OBJECT_DIRECTION_WALKING
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp STANDING
|
||||||
|
jr z, .standing
|
||||||
|
xor a
|
||||||
|
ret
|
||||||
|
|
||||||
|
.standing
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 7009
|
||||||
|
|
||||||
|
|
||||||
|
WillPersonBumpIntoSomeoneElse: ; 7009
|
||||||
|
ld hl, OBJECT_NEXT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld d, [hl]
|
||||||
|
ld hl, OBJECT_NEXT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld e, [hl]
|
||||||
|
jr IsNPCAtCoord
|
||||||
|
; 7015
|
||||||
|
|
||||||
|
Function7015: ; unreferenced
|
||||||
|
ld a, [hMapObjectIndexBuffer]
|
||||||
|
call GetObjectStruct
|
||||||
|
call .CheckWillBeFacingNPC
|
||||||
|
call IsNPCAtCoord
|
||||||
|
ret
|
||||||
|
|
||||||
|
.CheckWillBeFacingNPC: ; 7021
|
||||||
|
ld hl, OBJECT_NEXT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld d, [hl]
|
||||||
|
ld hl, OBJECT_NEXT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld e, [hl]
|
||||||
|
call GetSpriteDirection
|
||||||
|
and a
|
||||||
|
jr z, .down
|
||||||
|
cp OW_UP
|
||||||
|
jr z, .up
|
||||||
|
cp OW_LEFT
|
||||||
|
jr z, .left
|
||||||
|
inc d
|
||||||
|
ret
|
||||||
|
|
||||||
|
.down
|
||||||
|
inc e
|
||||||
|
ret
|
||||||
|
|
||||||
|
.up
|
||||||
|
dec e
|
||||||
|
ret
|
||||||
|
|
||||||
|
.left
|
||||||
|
dec d
|
||||||
|
ret
|
||||||
|
; 7041
|
||||||
|
|
||||||
|
IsNPCAtCoord: ; 7041
|
||||||
|
ld bc, ObjectStructs
|
||||||
|
xor a
|
||||||
|
.loop
|
||||||
|
ld [hObjectStructIndexBuffer], a
|
||||||
|
call GetObjectSprite
|
||||||
|
jr z, .next
|
||||||
|
|
||||||
|
ld hl, OBJECT_FLAGS1
|
||||||
|
add hl, bc
|
||||||
|
bit 7, [hl]
|
||||||
|
jr nz, .next
|
||||||
|
|
||||||
|
ld hl, OBJECT_PALETTE
|
||||||
|
add hl, bc
|
||||||
|
bit 7, [hl]
|
||||||
|
jr z, .got
|
||||||
|
|
||||||
|
call Function7171
|
||||||
|
jr nc, .ok
|
||||||
|
jr .ok2
|
||||||
|
|
||||||
|
.got
|
||||||
|
ld hl, OBJECT_NEXT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp d
|
||||||
|
jr nz, .ok
|
||||||
|
ld hl, OBJECT_NEXT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp e
|
||||||
|
jr nz, .ok
|
||||||
|
|
||||||
|
.ok2
|
||||||
|
ld a, [hMapObjectIndexBuffer]
|
||||||
|
ld l, a
|
||||||
|
ld a, [hObjectStructIndexBuffer]
|
||||||
|
cp l
|
||||||
|
jr nz, .setcarry
|
||||||
|
|
||||||
|
.ok
|
||||||
|
ld hl, OBJECT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp d
|
||||||
|
jr nz, .next
|
||||||
|
ld hl, OBJECT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp e
|
||||||
|
jr nz, .next
|
||||||
|
ld a, [hMapObjectIndexBuffer]
|
||||||
|
ld l, a
|
||||||
|
ld a, [hObjectStructIndexBuffer]
|
||||||
|
cp l
|
||||||
|
jr nz, .setcarry
|
||||||
|
|
||||||
|
.next
|
||||||
|
ld hl, OBJECT_STRUCT_LENGTH
|
||||||
|
add hl, bc
|
||||||
|
ld b, h
|
||||||
|
ld c, l
|
||||||
|
ld a, [hObjectStructIndexBuffer]
|
||||||
|
inc a
|
||||||
|
cp NUM_OBJECT_STRUCTS
|
||||||
|
jr nz, .loop
|
||||||
|
and a
|
||||||
|
ret
|
||||||
|
|
||||||
|
.setcarry
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 70a4
|
||||||
|
|
||||||
|
HasPersonReachedMovementLimit: ; 70a4
|
||||||
|
ld hl, OBJECT_RADIUS
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
and a
|
||||||
|
jr z, .nope
|
||||||
|
and $f
|
||||||
|
jr z, .check_y
|
||||||
|
ld e, a
|
||||||
|
ld d, a
|
||||||
|
ld hl, OBJECT_INIT_X
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
sub d
|
||||||
|
ld d, a
|
||||||
|
ld a, [hl]
|
||||||
|
add e
|
||||||
|
ld e, a
|
||||||
|
ld hl, OBJECT_NEXT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp d
|
||||||
|
jr z, .yes
|
||||||
|
cp e
|
||||||
|
jr z, .yes
|
||||||
|
|
||||||
|
.check_y
|
||||||
|
ld hl, OBJECT_RADIUS
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
swap a
|
||||||
|
and $f
|
||||||
|
jr z, .nope
|
||||||
|
ld e, a
|
||||||
|
ld d, a
|
||||||
|
ld hl, OBJECT_INIT_Y
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
sub d
|
||||||
|
ld d, a
|
||||||
|
ld a, [hl]
|
||||||
|
add e
|
||||||
|
ld e, a
|
||||||
|
ld hl, OBJECT_NEXT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp d
|
||||||
|
jr z, .yes
|
||||||
|
cp e
|
||||||
|
jr z, .yes
|
||||||
|
|
||||||
|
.nope
|
||||||
|
xor a
|
||||||
|
ret
|
||||||
|
|
||||||
|
.yes
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 70ed
|
||||||
|
|
||||||
|
IsPersonMovingOffEdgeOfScreen: ; 70ed
|
||||||
|
ld hl, OBJECT_NEXT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld a, [XCoord]
|
||||||
|
cp [hl]
|
||||||
|
jr z, .check_y
|
||||||
|
jr nc, .yes
|
||||||
|
add $9
|
||||||
|
cp [hl]
|
||||||
|
jr c, .yes
|
||||||
|
|
||||||
|
.check_y
|
||||||
|
ld hl, OBJECT_NEXT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld a, [YCoord]
|
||||||
|
cp [hl]
|
||||||
|
jr z, .nope
|
||||||
|
jr nc, .yes
|
||||||
|
add $8
|
||||||
|
cp [hl]
|
||||||
|
jr c, .yes
|
||||||
|
|
||||||
|
.nope
|
||||||
|
and a
|
||||||
|
ret
|
||||||
|
|
||||||
|
.yes
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 7113
|
||||||
|
|
||||||
|
Function7113: ; unreferenced
|
||||||
|
ld a, [PlayerNextMapX]
|
||||||
|
ld d, a
|
||||||
|
ld a, [PlayerNextMapY]
|
||||||
|
ld e, a
|
||||||
|
ld bc, ObjectStructs
|
||||||
|
xor a
|
||||||
|
.loop
|
||||||
|
ld [hObjectStructIndexBuffer], a
|
||||||
|
call GetObjectSprite
|
||||||
|
jr z, .next
|
||||||
|
ld hl, OBJECT_MOVEMENTTYPE
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp SPRITEMOVEDATA_SNORLAX
|
||||||
|
jr nz, .not_snorlax
|
||||||
|
call Function7171
|
||||||
|
jr c, .yes
|
||||||
|
jr .next
|
||||||
|
|
||||||
|
.not_snorlax
|
||||||
|
ld hl, OBJECT_NEXT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp e
|
||||||
|
jr nz, .check_current_coords
|
||||||
|
ld hl, OBJECT_NEXT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp d
|
||||||
|
jr nz, .check_current_coords
|
||||||
|
ld a, [hObjectStructIndexBuffer]
|
||||||
|
cp $0
|
||||||
|
jr z, .next
|
||||||
|
jr .yes
|
||||||
|
|
||||||
|
.check_current_coords
|
||||||
|
ld hl, OBJECT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp e
|
||||||
|
jr nz, .next
|
||||||
|
ld hl, OBJECT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld a, [hl]
|
||||||
|
cp d
|
||||||
|
jr nz, .next
|
||||||
|
jr .yes
|
||||||
|
|
||||||
|
.next
|
||||||
|
ld hl, OBJECT_STRUCT_LENGTH
|
||||||
|
add hl, bc
|
||||||
|
ld b, h
|
||||||
|
ld c, l
|
||||||
|
ld a, [hObjectStructIndexBuffer]
|
||||||
|
inc a
|
||||||
|
cp NUM_OBJECT_STRUCTS
|
||||||
|
jr nz, .loop
|
||||||
|
xor a
|
||||||
|
ret
|
||||||
|
|
||||||
|
.yes
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
; 7171
|
||||||
|
|
||||||
|
|
||||||
|
Function7171: ; 7171
|
||||||
|
ld hl, OBJECT_NEXT_MAP_X
|
||||||
|
add hl, bc
|
||||||
|
ld a, d
|
||||||
|
sub [hl]
|
||||||
|
jr c, .nope
|
||||||
|
cp $2
|
||||||
|
jr nc, .nope
|
||||||
|
ld hl, OBJECT_NEXT_MAP_Y
|
||||||
|
add hl, bc
|
||||||
|
ld a, e
|
||||||
|
sub [hl]
|
||||||
|
jr c, .nope
|
||||||
|
cp $2
|
||||||
|
jr nc, .nope
|
||||||
|
scf
|
||||||
|
ret
|
||||||
|
|
||||||
|
.nope
|
||||||
|
and a
|
||||||
|
ret
|
||||||
|
; 718d
|
@ -141,7 +141,7 @@ ScriptCommandTable: ; 96cb1
|
|||||||
dw Script_stringtotext ; 44
|
dw Script_stringtotext ; 44
|
||||||
dw Script_itemnotify ; 45
|
dw Script_itemnotify ; 45
|
||||||
dw Script_pocketisfull ; 46
|
dw Script_pocketisfull ; 46
|
||||||
dw Script_loadfont ; 47
|
dw Script_textbox ; 47
|
||||||
dw Script_refreshscreen ; 48
|
dw Script_refreshscreen ; 48
|
||||||
dw Script_closetext ; 49
|
dw Script_closetext ; 49
|
||||||
dw Script_loadbytec2cf ; 4a
|
dw Script_loadbytec2cf ; 4a
|
||||||
@ -345,7 +345,7 @@ Script_jumptext: ; 96e5f
|
|||||||
JumpTextFacePlayerScript: ; 96e79
|
JumpTextFacePlayerScript: ; 96e79
|
||||||
faceplayer
|
faceplayer
|
||||||
JumpTextScript: ; 96e7a
|
JumpTextScript: ; 96e7a
|
||||||
loadfont
|
opentext
|
||||||
repeattext -1, -1
|
repeattext -1, -1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -3026,10 +3026,10 @@ Script_reloadandreturn: ; 97b16
|
|||||||
jp Script_end
|
jp Script_end
|
||||||
; 97b1c
|
; 97b1c
|
||||||
|
|
||||||
Script_loadfont: ; 97b1c
|
Script_textbox: ; 97b1c
|
||||||
; script command 0x47
|
; script command 0x47
|
||||||
|
|
||||||
call LoadFont
|
call OpenText
|
||||||
ret
|
ret
|
||||||
; 97b20
|
; 97b20
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ SelectMenu:: ; 13327
|
|||||||
jp UseRegisteredItem
|
jp UseRegisteredItem
|
||||||
|
|
||||||
.NotRegistered
|
.NotRegistered
|
||||||
call LoadFont
|
call OpenText
|
||||||
ld b, BANK(ItemMayBeRegisteredText)
|
ld b, BANK(ItemMayBeRegisteredText)
|
||||||
ld hl, ItemMayBeRegisteredText
|
ld hl, ItemMayBeRegisteredText
|
||||||
call MapTextbox
|
call MapTextbox
|
||||||
@ -139,7 +139,7 @@ UseRegisteredItem: ; 133c3
|
|||||||
; 133df
|
; 133df
|
||||||
|
|
||||||
.NoFunction ; 133df
|
.NoFunction ; 133df
|
||||||
call LoadFont
|
call OpenText
|
||||||
call CantUseItem
|
call CantUseItem
|
||||||
call CloseText
|
call CloseText
|
||||||
and a
|
and a
|
||||||
@ -147,7 +147,7 @@ UseRegisteredItem: ; 133c3
|
|||||||
; 133ea
|
; 133ea
|
||||||
|
|
||||||
.Current ; 133ea
|
.Current ; 133ea
|
||||||
call LoadFont
|
call OpenText
|
||||||
call DoItemEffect
|
call DoItemEffect
|
||||||
call CloseText
|
call CloseText
|
||||||
and a
|
and a
|
||||||
|
@ -55,7 +55,7 @@ StdScripts::
|
|||||||
PokeCenterNurseScript:
|
PokeCenterNurseScript:
|
||||||
; EVENT_WELCOMED_TO_POKECOM_CENTER is never set
|
; EVENT_WELCOMED_TO_POKECOM_CENTER is never set
|
||||||
|
|
||||||
loadfont
|
opentext
|
||||||
checkmorn
|
checkmorn
|
||||||
iftrue .morn
|
iftrue .morn
|
||||||
checkday
|
checkday
|
||||||
@ -181,7 +181,7 @@ MerchandiseShelfScript:
|
|||||||
farjumptext MerchandiseShelfText
|
farjumptext MerchandiseShelfText
|
||||||
|
|
||||||
TownMapScript:
|
TownMapScript:
|
||||||
loadfont
|
opentext
|
||||||
farwritetext TownMapText
|
farwritetext TownMapText
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_TownMap
|
special Special_TownMap
|
||||||
@ -192,7 +192,7 @@ WindowScript:
|
|||||||
farjumptext WindowText
|
farjumptext WindowText
|
||||||
|
|
||||||
TVScript:
|
TVScript:
|
||||||
loadfont
|
opentext
|
||||||
farwritetext TVText
|
farwritetext TVText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -202,7 +202,7 @@ HomepageScript:
|
|||||||
farjumptext HomepageText
|
farjumptext HomepageText
|
||||||
|
|
||||||
Radio1Script:
|
Radio1Script:
|
||||||
loadfont
|
opentext
|
||||||
writebyte $0
|
writebyte $0
|
||||||
special MapRadio
|
special MapRadio
|
||||||
closetext
|
closetext
|
||||||
@ -210,7 +210,7 @@ Radio1Script:
|
|||||||
|
|
||||||
Radio2Script:
|
Radio2Script:
|
||||||
; Lucky Channel
|
; Lucky Channel
|
||||||
loadfont
|
opentext
|
||||||
writebyte $4
|
writebyte $4
|
||||||
special MapRadio
|
special MapRadio
|
||||||
closetext
|
closetext
|
||||||
@ -220,7 +220,7 @@ TrashCanScript: ; 0xbc1a5
|
|||||||
farjumptext TrashCanText
|
farjumptext TrashCanText
|
||||||
|
|
||||||
PCScript:
|
PCScript:
|
||||||
loadfont
|
opentext
|
||||||
special PokemonCenterPC
|
special PokemonCenterPC
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -317,7 +317,7 @@ BugContestResultsScript:
|
|||||||
clearevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
|
clearevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
|
||||||
clearevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
|
clearevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
|
||||||
clearevent EVENT_CONTEST_OFFICER_HAS_BERRY
|
clearevent EVENT_CONTEST_OFFICER_HAS_BERRY
|
||||||
loadfont
|
opentext
|
||||||
farwritetext ContestResults_ReadyToJudgeText
|
farwritetext ContestResults_ReadyToJudgeText
|
||||||
waitbutton
|
waitbutton
|
||||||
special BugContestJudging
|
special BugContestJudging
|
||||||
@ -1385,7 +1385,7 @@ PackFullMScript:
|
|||||||
end
|
end
|
||||||
|
|
||||||
RematchGiftMScript:
|
RematchGiftMScript:
|
||||||
loadfont
|
opentext
|
||||||
checkcode VAR_CALLERID
|
checkcode VAR_CALLERID
|
||||||
if_equal PHONE_SAILOR_HUEY, .Huey
|
if_equal PHONE_SAILOR_HUEY, .Huey
|
||||||
if_equal PHONE_YOUNGSTER_JOEY, .Joey
|
if_equal PHONE_YOUNGSTER_JOEY, .Joey
|
||||||
@ -1753,14 +1753,14 @@ RematchGiftFScript:
|
|||||||
if_equal PHONE_PICNICKER_ERIN, .Erin
|
if_equal PHONE_PICNICKER_ERIN, .Erin
|
||||||
|
|
||||||
.Erin
|
.Erin
|
||||||
loadfont
|
opentext
|
||||||
farwritetext ErinRematchGiftText
|
farwritetext ErinRematchGiftText
|
||||||
buttonsound
|
buttonsound
|
||||||
end
|
end
|
||||||
|
|
||||||
GymStatue1Script:
|
GymStatue1Script:
|
||||||
mapnametotext $0
|
mapnametotext $0
|
||||||
loadfont
|
opentext
|
||||||
farwritetext GymStatue_CityGymText
|
farwritetext GymStatue_CityGymText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -1768,7 +1768,7 @@ GymStatue1Script:
|
|||||||
|
|
||||||
GymStatue2Script:
|
GymStatue2Script:
|
||||||
mapnametotext $0
|
mapnametotext $0
|
||||||
loadfont
|
opentext
|
||||||
farwritetext GymStatue_CityGymText
|
farwritetext GymStatue_CityGymText
|
||||||
buttonsound
|
buttonsound
|
||||||
farwritetext GymStatue_WinningTrainersText
|
farwritetext GymStatue_WinningTrainersText
|
||||||
@ -1794,7 +1794,7 @@ ReceiveTogepiEggScript: ; 0xbcdc3
|
|||||||
|
|
||||||
GameCornerCoinVendorScript: ; 0xbcdcd
|
GameCornerCoinVendorScript: ; 0xbcdcd
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
farwritetext CoinVendor_WelcomeText
|
farwritetext CoinVendor_WelcomeText
|
||||||
buttonsound
|
buttonsound
|
||||||
checkitem COIN_CASE
|
checkitem COIN_CASE
|
||||||
@ -1887,7 +1887,7 @@ CoinVendor_MenuData2: ; 0xbce5c
|
|||||||
|
|
||||||
HappinessCheckScript:
|
HappinessCheckScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
special GetFirstPokemonHappiness
|
special GetFirstPokemonHappiness
|
||||||
if_less_than 50, .Unhappy
|
if_less_than 50, .Unhappy
|
||||||
if_less_than 150, .KindaHappy
|
if_less_than 150, .KindaHappy
|
||||||
|
@ -571,7 +571,7 @@ Function16a3b: ; 16a3b
|
|||||||
ld a, [wDaycareMan]
|
ld a, [wDaycareMan]
|
||||||
bit 0, a
|
bit 0, a
|
||||||
ret z
|
ret z
|
||||||
callab Function16e1d
|
callab CheckBreedmonCompatibility
|
||||||
ld a, [wd265]
|
ld a, [wd265]
|
||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
|
@ -2,7 +2,7 @@ FindItemInBallScript:: ; 0x122ce
|
|||||||
callasm .TryReceiveItem
|
callasm .TryReceiveItem
|
||||||
iffalse .no_room
|
iffalse .no_room
|
||||||
disappear LAST_TALKED
|
disappear LAST_TALKED
|
||||||
loadfont
|
opentext
|
||||||
writetext .text_found
|
writetext .text_found
|
||||||
playsound SFX_ITEM
|
playsound SFX_ITEM
|
||||||
pause 60
|
pause 60
|
||||||
@ -12,7 +12,7 @@ FindItemInBallScript:: ; 0x122ce
|
|||||||
; 0x122e3
|
; 0x122e3
|
||||||
|
|
||||||
.no_room: ; 0x122e3
|
.no_room: ; 0x122e3
|
||||||
loadfont
|
opentext
|
||||||
writetext .text_found
|
writetext .text_found
|
||||||
waitbutton
|
waitbutton
|
||||||
writetext .text_bag_full
|
writetext .text_bag_full
|
||||||
|
@ -111,7 +111,7 @@ DoPoisonStep:: ; 505da
|
|||||||
|
|
||||||
.Script_MonFaintedToPoison: ; 50669
|
.Script_MonFaintedToPoison: ; 50669
|
||||||
callasm .PlayPoisonSFX
|
callasm .PlayPoisonSFX
|
||||||
loadfont
|
opentext
|
||||||
callasm .CheckWhitedOut
|
callasm .CheckWhitedOut
|
||||||
iffalse .whiteout
|
iffalse .whiteout
|
||||||
closetext
|
closetext
|
||||||
|
@ -22,7 +22,7 @@ CloseText:: ; 2dcf
|
|||||||
ld a, $1
|
ld a, $1
|
||||||
ld [hOAMUpdate], a
|
ld [hOAMUpdate], a
|
||||||
|
|
||||||
call Function2de2
|
call .CloseText
|
||||||
|
|
||||||
pop af
|
pop af
|
||||||
ld [hOAMUpdate], a
|
ld [hOAMUpdate], a
|
||||||
@ -31,7 +31,7 @@ CloseText:: ; 2dcf
|
|||||||
ret
|
ret
|
||||||
; 2de2
|
; 2de2
|
||||||
|
|
||||||
Function2de2:: ; 2de2
|
.CloseText ; 2de2
|
||||||
call ResetTextRelatedRAM
|
call ResetTextRelatedRAM
|
||||||
xor a
|
xor a
|
||||||
ld [hBGMapMode], a
|
ld [hBGMapMode], a
|
||||||
@ -48,17 +48,17 @@ Function2de2:: ; 2de2
|
|||||||
ret
|
ret
|
||||||
; 2e08
|
; 2e08
|
||||||
|
|
||||||
LoadFont:: ; 2e08
|
OpenText:: ; 2e08
|
||||||
call ResetTextRelatedRAM
|
call ResetTextRelatedRAM
|
||||||
ld a, [hROMBank]
|
ld a, [hROMBank]
|
||||||
push af
|
push af
|
||||||
ld a, BANK(Function6454) ; and BANK(Function64bf)
|
ld a, BANK(Function6454) ; and BANK(Function64bf)
|
||||||
rst Bankswitch
|
rst Bankswitch
|
||||||
|
|
||||||
call Function6454
|
call Function6454 ; clear bgmap
|
||||||
call SpeechTextBox
|
call SpeechTextBox
|
||||||
call Function2e20
|
call Function2e20 ; anchor bgmap
|
||||||
call Function64bf
|
call Function64bf ; load font
|
||||||
pop af
|
pop af
|
||||||
rst Bankswitch
|
rst Bankswitch
|
||||||
|
|
||||||
|
@ -476,9 +476,9 @@ pocketisfull: macro
|
|||||||
db pocketisfull_command
|
db pocketisfull_command
|
||||||
endm
|
endm
|
||||||
|
|
||||||
enum loadfont_command
|
enum opentext_command
|
||||||
loadfont: macro
|
opentext: macro
|
||||||
db loadfont_command
|
db opentext_command
|
||||||
endm
|
endm
|
||||||
|
|
||||||
enum refreshscreen_command
|
enum refreshscreen_command
|
||||||
|
650
main.asm
650
main.asm
@ -254,581 +254,9 @@ INCLUDE "engine/math.asm"
|
|||||||
ItemAttributes: ; 67c1
|
ItemAttributes: ; 67c1
|
||||||
INCLUDE "items/item_attributes.asm"
|
INCLUDE "items/item_attributes.asm"
|
||||||
; 6ec1
|
; 6ec1
|
||||||
|
INCLUDE "engine/npc_movement.asm"
|
||||||
|
|
||||||
|
|
||||||
Function6ec1: ; 6ec1
|
|
||||||
|
|
||||||
ld hl, OBJECT_PALETTE
|
|
||||||
add hl, bc
|
|
||||||
bit 5, [hl]
|
|
||||||
jr z, .not_bit_5
|
|
||||||
|
|
||||||
ld hl, OBJECT_FLAGS1
|
|
||||||
add hl, bc
|
|
||||||
bit 4, [hl] ; lost
|
|
||||||
push hl
|
|
||||||
push bc
|
|
||||||
call Function6f2c
|
|
||||||
pop bc
|
|
||||||
pop hl
|
|
||||||
ret c
|
|
||||||
jr .resume
|
|
||||||
|
|
||||||
.not_bit_5
|
|
||||||
ld hl, OBJECT_FLAGS1
|
|
||||||
add hl, bc
|
|
||||||
bit 4, [hl]
|
|
||||||
jr nz, .resume
|
|
||||||
push hl
|
|
||||||
push bc
|
|
||||||
call Function6f07
|
|
||||||
pop bc
|
|
||||||
pop hl
|
|
||||||
ret c
|
|
||||||
|
|
||||||
.resume
|
|
||||||
bit 6, [hl]
|
|
||||||
jr nz, .bit_6
|
|
||||||
|
|
||||||
push hl
|
|
||||||
push bc
|
|
||||||
call WillPersonBumpIntoSomeoneElse
|
|
||||||
pop bc
|
|
||||||
pop hl
|
|
||||||
ret c
|
|
||||||
|
|
||||||
.bit_6
|
|
||||||
bit 5, [hl]
|
|
||||||
jr nz, .bit_5
|
|
||||||
push hl
|
|
||||||
call HasPersonReachedMovementLimit
|
|
||||||
pop hl
|
|
||||||
ret c
|
|
||||||
|
|
||||||
push hl
|
|
||||||
call IsPersonMovingOffEdgeOfScreen
|
|
||||||
pop hl
|
|
||||||
ret c
|
|
||||||
|
|
||||||
.bit_5
|
|
||||||
and a
|
|
||||||
ret
|
|
||||||
; 6f07
|
|
||||||
|
|
||||||
|
|
||||||
Function6f07: ; 6f07
|
|
||||||
call Function6f5f
|
|
||||||
ret c
|
|
||||||
ld hl, OBJECT_NEXT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld d, [hl]
|
|
||||||
ld hl, OBJECT_NEXT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld e, [hl]
|
|
||||||
ld hl, OBJECT_PALETTE
|
|
||||||
add hl, bc
|
|
||||||
bit 7, [hl]
|
|
||||||
jp nz, Function6fa1
|
|
||||||
ld hl, OBJECT_NEXT_TILE
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
ld d, a
|
|
||||||
call GetTileCollision
|
|
||||||
and a
|
|
||||||
jr z, Function6f3e
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 6f2c
|
|
||||||
|
|
||||||
Function6f2c: ; 6f2c
|
|
||||||
call Function6f5f
|
|
||||||
ret c
|
|
||||||
ld hl, OBJECT_NEXT_TILE
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
call GetTileCollision
|
|
||||||
cp $1
|
|
||||||
jr z, Function6f3e
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 6f3e
|
|
||||||
|
|
||||||
Function6f3e: ; 6f3e
|
|
||||||
ld hl, OBJECT_NEXT_TILE
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
call Function6f7f
|
|
||||||
ret nc
|
|
||||||
push af
|
|
||||||
ld hl, OBJECT_DIRECTION_WALKING
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
and 3
|
|
||||||
ld e, a
|
|
||||||
ld d, 0
|
|
||||||
ld hl, .data_6f5b
|
|
||||||
add hl, de
|
|
||||||
pop af
|
|
||||||
and [hl]
|
|
||||||
ret z
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 6f5b
|
|
||||||
|
|
||||||
.data_6f5b
|
|
||||||
db 1 << DOWN, 1 << UP, 1 << RIGHT, 1 << LEFT
|
|
||||||
; 6f5f
|
|
||||||
|
|
||||||
Function6f5f: ; 6f5f
|
|
||||||
ld hl, OBJECT_STANDING_TILE
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
call Function6f7f
|
|
||||||
ret nc
|
|
||||||
push af
|
|
||||||
ld hl, OBJECT_DIRECTION_WALKING
|
|
||||||
add hl, bc
|
|
||||||
and 3
|
|
||||||
ld e, a
|
|
||||||
ld d, 0
|
|
||||||
ld hl, .data_6f7b
|
|
||||||
add hl, de
|
|
||||||
pop af
|
|
||||||
and [hl]
|
|
||||||
ret z
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 6f7b
|
|
||||||
|
|
||||||
.data_6f7b
|
|
||||||
db 1 << UP, 1 << DOWN, 1 << LEFT, 1 << RIGHT
|
|
||||||
; 6f7f
|
|
||||||
|
|
||||||
Function6f7f: ; 6f7f
|
|
||||||
ld d, a
|
|
||||||
and $f0
|
|
||||||
cp $b0
|
|
||||||
jr z, .done
|
|
||||||
cp $c0
|
|
||||||
jr z, .done
|
|
||||||
xor a
|
|
||||||
ret
|
|
||||||
|
|
||||||
.done
|
|
||||||
ld a, d
|
|
||||||
and 7
|
|
||||||
ld e, a
|
|
||||||
ld d, 0
|
|
||||||
ld hl, .data_6f99
|
|
||||||
add hl, de
|
|
||||||
ld a, [hl]
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 6f99
|
|
||||||
|
|
||||||
.data_6f99
|
|
||||||
db 8, 4, 1, 2
|
|
||||||
db 10, 6, 9, 5
|
|
||||||
; 6fa1
|
|
||||||
|
|
||||||
Function6fa1: ; 6fa1
|
|
||||||
ld hl, OBJECT_DIRECTION_WALKING
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
and 3
|
|
||||||
jr z, .asm_6fb2
|
|
||||||
dec a
|
|
||||||
jr z, .asm_6fb7
|
|
||||||
dec a
|
|
||||||
jr z, .asm_6fbb
|
|
||||||
jr .asm_6fbf
|
|
||||||
|
|
||||||
.asm_6fb2
|
|
||||||
inc e
|
|
||||||
push de
|
|
||||||
inc d
|
|
||||||
jr .asm_6fc2
|
|
||||||
|
|
||||||
.asm_6fb7
|
|
||||||
push de
|
|
||||||
inc d
|
|
||||||
jr .asm_6fc2
|
|
||||||
|
|
||||||
.asm_6fbb
|
|
||||||
push de
|
|
||||||
inc e
|
|
||||||
jr .asm_6fc2
|
|
||||||
|
|
||||||
.asm_6fbf
|
|
||||||
inc d
|
|
||||||
push de
|
|
||||||
inc e
|
|
||||||
|
|
||||||
.asm_6fc2
|
|
||||||
call GetCoordTile
|
|
||||||
call GetTileCollision
|
|
||||||
pop de
|
|
||||||
and a
|
|
||||||
jr nz, .asm_6fd7
|
|
||||||
call GetCoordTile
|
|
||||||
call GetTileCollision
|
|
||||||
and a
|
|
||||||
jr nz, .asm_6fd7
|
|
||||||
xor a
|
|
||||||
ret
|
|
||||||
|
|
||||||
.asm_6fd7
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 6fd9
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CheckFacingObject:: ; 6fd9
|
|
||||||
|
|
||||||
call GetFacingTileCoord
|
|
||||||
|
|
||||||
; Double the distance for counter tiles.
|
|
||||||
call CheckCounterTile
|
|
||||||
jr nz, .asm_6ff1
|
|
||||||
|
|
||||||
ld a, [PlayerNextMapX]
|
|
||||||
sub d
|
|
||||||
cpl
|
|
||||||
inc a
|
|
||||||
add d
|
|
||||||
ld d, a
|
|
||||||
|
|
||||||
ld a, [PlayerNextMapY]
|
|
||||||
sub e
|
|
||||||
cpl
|
|
||||||
inc a
|
|
||||||
add e
|
|
||||||
ld e, a
|
|
||||||
|
|
||||||
.asm_6ff1
|
|
||||||
ld bc, ObjectStructs ; redundant
|
|
||||||
ld a, 0
|
|
||||||
ld [hMapObjectIndexBuffer], a
|
|
||||||
call IsNPCAtCoord
|
|
||||||
ret nc
|
|
||||||
ld hl, OBJECT_DIRECTION_WALKING
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp STANDING
|
|
||||||
jr z, .standing
|
|
||||||
xor a
|
|
||||||
ret
|
|
||||||
|
|
||||||
.standing
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 7009
|
|
||||||
|
|
||||||
|
|
||||||
WillPersonBumpIntoSomeoneElse: ; 7009
|
|
||||||
ld hl, OBJECT_NEXT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld d, [hl]
|
|
||||||
ld hl, OBJECT_NEXT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld e, [hl]
|
|
||||||
jr IsNPCAtCoord
|
|
||||||
; 7015
|
|
||||||
|
|
||||||
Function7015: ; unreferenced
|
|
||||||
ld a, [hMapObjectIndexBuffer]
|
|
||||||
call GetObjectStruct
|
|
||||||
call .CheckWillBeFacingNPC
|
|
||||||
call IsNPCAtCoord
|
|
||||||
ret
|
|
||||||
|
|
||||||
.CheckWillBeFacingNPC: ; 7021
|
|
||||||
ld hl, OBJECT_NEXT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld d, [hl]
|
|
||||||
ld hl, OBJECT_NEXT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld e, [hl]
|
|
||||||
call GetSpriteDirection
|
|
||||||
and a
|
|
||||||
jr z, .down
|
|
||||||
cp OW_UP
|
|
||||||
jr z, .up
|
|
||||||
cp OW_LEFT
|
|
||||||
jr z, .left
|
|
||||||
inc d
|
|
||||||
ret
|
|
||||||
|
|
||||||
.down
|
|
||||||
inc e
|
|
||||||
ret
|
|
||||||
|
|
||||||
.up
|
|
||||||
dec e
|
|
||||||
ret
|
|
||||||
|
|
||||||
.left
|
|
||||||
dec d
|
|
||||||
ret
|
|
||||||
; 7041
|
|
||||||
|
|
||||||
IsNPCAtCoord: ; 7041
|
|
||||||
ld bc, ObjectStructs
|
|
||||||
xor a
|
|
||||||
.loop
|
|
||||||
ld [hObjectStructIndexBuffer], a
|
|
||||||
call GetObjectSprite
|
|
||||||
jr z, .next
|
|
||||||
|
|
||||||
ld hl, OBJECT_FLAGS1
|
|
||||||
add hl, bc
|
|
||||||
bit 7, [hl]
|
|
||||||
jr nz, .next
|
|
||||||
|
|
||||||
ld hl, OBJECT_PALETTE
|
|
||||||
add hl, bc
|
|
||||||
bit 7, [hl]
|
|
||||||
jr z, .got
|
|
||||||
|
|
||||||
call Function7171
|
|
||||||
jr nc, .ok
|
|
||||||
jr .ok2
|
|
||||||
|
|
||||||
.got
|
|
||||||
ld hl, OBJECT_NEXT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp d
|
|
||||||
jr nz, .ok
|
|
||||||
ld hl, OBJECT_NEXT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp e
|
|
||||||
jr nz, .ok
|
|
||||||
|
|
||||||
.ok2
|
|
||||||
ld a, [hMapObjectIndexBuffer]
|
|
||||||
ld l, a
|
|
||||||
ld a, [hObjectStructIndexBuffer]
|
|
||||||
cp l
|
|
||||||
jr nz, .setcarry
|
|
||||||
|
|
||||||
.ok
|
|
||||||
ld hl, OBJECT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp d
|
|
||||||
jr nz, .next
|
|
||||||
ld hl, OBJECT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp e
|
|
||||||
jr nz, .next
|
|
||||||
ld a, [hMapObjectIndexBuffer]
|
|
||||||
ld l, a
|
|
||||||
ld a, [hObjectStructIndexBuffer]
|
|
||||||
cp l
|
|
||||||
jr nz, .setcarry
|
|
||||||
|
|
||||||
.next
|
|
||||||
ld hl, OBJECT_STRUCT_LENGTH
|
|
||||||
add hl, bc
|
|
||||||
ld b, h
|
|
||||||
ld c, l
|
|
||||||
ld a, [hObjectStructIndexBuffer]
|
|
||||||
inc a
|
|
||||||
cp NUM_OBJECT_STRUCTS
|
|
||||||
jr nz, .loop
|
|
||||||
and a
|
|
||||||
ret
|
|
||||||
|
|
||||||
.setcarry
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 70a4
|
|
||||||
|
|
||||||
HasPersonReachedMovementLimit: ; 70a4
|
|
||||||
ld hl, OBJECT_RADIUS
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
and a
|
|
||||||
jr z, .nope
|
|
||||||
and $f
|
|
||||||
jr z, .check_y
|
|
||||||
ld e, a
|
|
||||||
ld d, a
|
|
||||||
ld hl, OBJECT_INIT_X
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
sub d
|
|
||||||
ld d, a
|
|
||||||
ld a, [hl]
|
|
||||||
add e
|
|
||||||
ld e, a
|
|
||||||
ld hl, OBJECT_NEXT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp d
|
|
||||||
jr z, .yes
|
|
||||||
cp e
|
|
||||||
jr z, .yes
|
|
||||||
|
|
||||||
.check_y
|
|
||||||
ld hl, OBJECT_RADIUS
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
swap a
|
|
||||||
and $f
|
|
||||||
jr z, .nope
|
|
||||||
ld e, a
|
|
||||||
ld d, a
|
|
||||||
ld hl, OBJECT_INIT_Y
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
sub d
|
|
||||||
ld d, a
|
|
||||||
ld a, [hl]
|
|
||||||
add e
|
|
||||||
ld e, a
|
|
||||||
ld hl, OBJECT_NEXT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp d
|
|
||||||
jr z, .yes
|
|
||||||
cp e
|
|
||||||
jr z, .yes
|
|
||||||
|
|
||||||
.nope
|
|
||||||
xor a
|
|
||||||
ret
|
|
||||||
|
|
||||||
.yes
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 70ed
|
|
||||||
|
|
||||||
IsPersonMovingOffEdgeOfScreen: ; 70ed
|
|
||||||
ld hl, OBJECT_NEXT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld a, [XCoord]
|
|
||||||
cp [hl]
|
|
||||||
jr z, .check_y
|
|
||||||
jr nc, .yes
|
|
||||||
add $9
|
|
||||||
cp [hl]
|
|
||||||
jr c, .yes
|
|
||||||
|
|
||||||
.check_y
|
|
||||||
ld hl, OBJECT_NEXT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld a, [YCoord]
|
|
||||||
cp [hl]
|
|
||||||
jr z, .nope
|
|
||||||
jr nc, .yes
|
|
||||||
add $8
|
|
||||||
cp [hl]
|
|
||||||
jr c, .yes
|
|
||||||
|
|
||||||
.nope
|
|
||||||
and a
|
|
||||||
ret
|
|
||||||
|
|
||||||
.yes
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 7113
|
|
||||||
|
|
||||||
Function7113: ; unreferenced
|
|
||||||
ld a, [PlayerNextMapX]
|
|
||||||
ld d, a
|
|
||||||
ld a, [PlayerNextMapY]
|
|
||||||
ld e, a
|
|
||||||
ld bc, ObjectStructs
|
|
||||||
xor a
|
|
||||||
.loop
|
|
||||||
ld [hObjectStructIndexBuffer], a
|
|
||||||
call GetObjectSprite
|
|
||||||
jr z, .next
|
|
||||||
ld hl, OBJECT_MOVEMENTTYPE
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp SPRITEMOVEDATA_SNORLAX
|
|
||||||
jr nz, .not_snorlax
|
|
||||||
call Function7171
|
|
||||||
jr c, .yes
|
|
||||||
jr .next
|
|
||||||
|
|
||||||
.not_snorlax
|
|
||||||
ld hl, OBJECT_NEXT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp e
|
|
||||||
jr nz, .check_current_coords
|
|
||||||
ld hl, OBJECT_NEXT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp d
|
|
||||||
jr nz, .check_current_coords
|
|
||||||
ld a, [hObjectStructIndexBuffer]
|
|
||||||
cp $0
|
|
||||||
jr z, .next
|
|
||||||
jr .yes
|
|
||||||
|
|
||||||
.check_current_coords
|
|
||||||
ld hl, OBJECT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp e
|
|
||||||
jr nz, .next
|
|
||||||
ld hl, OBJECT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld a, [hl]
|
|
||||||
cp d
|
|
||||||
jr nz, .next
|
|
||||||
jr .yes
|
|
||||||
|
|
||||||
.next
|
|
||||||
ld hl, OBJECT_STRUCT_LENGTH
|
|
||||||
add hl, bc
|
|
||||||
ld b, h
|
|
||||||
ld c, l
|
|
||||||
ld a, [hObjectStructIndexBuffer]
|
|
||||||
inc a
|
|
||||||
cp NUM_OBJECT_STRUCTS
|
|
||||||
jr nz, .loop
|
|
||||||
xor a
|
|
||||||
ret
|
|
||||||
|
|
||||||
.yes
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
; 7171
|
|
||||||
|
|
||||||
|
|
||||||
Function7171: ; 7171
|
|
||||||
ld hl, OBJECT_NEXT_MAP_X
|
|
||||||
add hl, bc
|
|
||||||
ld a, d
|
|
||||||
sub [hl]
|
|
||||||
jr c, .nope
|
|
||||||
cp $2
|
|
||||||
jr nc, .nope
|
|
||||||
ld hl, OBJECT_NEXT_MAP_Y
|
|
||||||
add hl, bc
|
|
||||||
ld a, e
|
|
||||||
sub [hl]
|
|
||||||
jr c, .nope
|
|
||||||
cp $2
|
|
||||||
jr nc, .nope
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
|
|
||||||
.nope
|
|
||||||
and a
|
|
||||||
ret
|
|
||||||
; 718d
|
|
||||||
|
|
||||||
GetFirstPokemonHappiness: ; 718d
|
GetFirstPokemonHappiness: ; 718d
|
||||||
ld hl, PartyMon1Happiness
|
ld hl, PartyMon1Happiness
|
||||||
ld bc, PARTYMON_STRUCT_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH
|
||||||
@ -1001,48 +429,48 @@ DaycareStep:: ; 7282
|
|||||||
|
|
||||||
ld a, [wDaycareMan]
|
ld a, [wDaycareMan]
|
||||||
bit 0, a
|
bit 0, a
|
||||||
jr z, .asm_72a4
|
jr z, .daycare_lady
|
||||||
|
|
||||||
ld a, [wBreedMon1Level] ; level
|
ld a, [wBreedMon1Level] ; level
|
||||||
cp 100
|
cp 100
|
||||||
jr nc, .asm_72a4
|
jr nc, .daycare_lady
|
||||||
ld hl, wBreedMon1Exp + 2 ; exp
|
ld hl, wBreedMon1Exp + 2 ; exp
|
||||||
inc [hl]
|
inc [hl]
|
||||||
jr nz, .asm_72a4
|
jr nz, .daycare_lady
|
||||||
dec hl
|
dec hl
|
||||||
inc [hl]
|
inc [hl]
|
||||||
jr nz, .asm_72a4
|
jr nz, .daycare_lady
|
||||||
dec hl
|
dec hl
|
||||||
inc [hl]
|
inc [hl]
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp $50
|
cp $50
|
||||||
jr c, .asm_72a4
|
jr c, .daycare_lady
|
||||||
ld a, $50
|
ld a, $50
|
||||||
ld [hl], a
|
ld [hl], a
|
||||||
|
|
||||||
.asm_72a4
|
.daycare_lady
|
||||||
ld a, [wDaycareLady]
|
ld a, [wDaycareLady]
|
||||||
bit 0, a
|
bit 0, a
|
||||||
jr z, .asm_72c6
|
jr z, .check_egg
|
||||||
|
|
||||||
ld a, [wBreedMon2Level] ; level
|
ld a, [wBreedMon2Level] ; level
|
||||||
cp 100
|
cp 100
|
||||||
jr nc, .asm_72c6
|
jr nc, .check_egg
|
||||||
ld hl, wBreedMon2Exp + 2 ; exp
|
ld hl, wBreedMon2Exp + 2 ; exp
|
||||||
inc [hl]
|
inc [hl]
|
||||||
jr nz, .asm_72c6
|
jr nz, .check_egg
|
||||||
dec hl
|
dec hl
|
||||||
inc [hl]
|
inc [hl]
|
||||||
jr nz, .asm_72c6
|
jr nz, .check_egg
|
||||||
dec hl
|
dec hl
|
||||||
inc [hl]
|
inc [hl]
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp $50
|
cp 5242880 / $10000
|
||||||
jr c, .asm_72c6
|
jr c, .check_egg
|
||||||
ld a, $50
|
ld a, 5242880 / $10000
|
||||||
ld [hl], a
|
ld [hl], a
|
||||||
|
|
||||||
.asm_72c6
|
.check_egg
|
||||||
ld hl, wDaycareMan
|
ld hl, wDaycareMan
|
||||||
bit 5, [hl] ; egg
|
bit 5, [hl] ; egg
|
||||||
ret z
|
ret z
|
||||||
@ -1052,22 +480,22 @@ DaycareStep:: ; 7282
|
|||||||
|
|
||||||
call Random
|
call Random
|
||||||
ld [hl], a
|
ld [hl], a
|
||||||
callab Function16e1d
|
callab CheckBreedmonCompatibility
|
||||||
ld a, [wd265]
|
ld a, [wd265]
|
||||||
cp $e6
|
cp 230
|
||||||
ld b, $50
|
ld b, -1 + 32 percent
|
||||||
jr nc, .asm_72f8
|
jr nc, .okay
|
||||||
ld a, [wd265]
|
ld a, [wd265]
|
||||||
cp $aa
|
cp 170
|
||||||
ld b, $28
|
ld b, 16 percent
|
||||||
jr nc, .asm_72f8
|
jr nc, .okay
|
||||||
ld a, [wd265]
|
ld a, [wd265]
|
||||||
cp $6e
|
cp 110
|
||||||
ld b, $1e
|
ld b, 12 percent
|
||||||
jr nc, .asm_72f8
|
jr nc, .okay
|
||||||
ld b, $a
|
ld b, 4 percent
|
||||||
|
|
||||||
.asm_72f8
|
.okay
|
||||||
call Random
|
call Random
|
||||||
cp b
|
cp b
|
||||||
ret nc
|
ret nc
|
||||||
@ -3349,7 +2777,7 @@ TrySurfOW:: ; c9e7
|
|||||||
|
|
||||||
|
|
||||||
AskSurfScript: ; ca2c
|
AskSurfScript: ; ca2c
|
||||||
loadfont
|
opentext
|
||||||
writetext AskSurfText
|
writetext AskSurfText
|
||||||
yesorno
|
yesorno
|
||||||
iftrue UsedSurfScript
|
iftrue UsedSurfScript
|
||||||
@ -3574,7 +3002,7 @@ UnknownText_0xcb81: ; 0xcb81
|
|||||||
; 0xcb86
|
; 0xcb86
|
||||||
|
|
||||||
Script_AskWaterfall: ; 0xcb86
|
Script_AskWaterfall: ; 0xcb86
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0xcb90
|
writetext UnknownText_0xcb90
|
||||||
yesorno
|
yesorno
|
||||||
iftrue Script_UsedWaterfall
|
iftrue Script_UsedWaterfall
|
||||||
@ -3924,7 +3352,7 @@ AskStrengthScript:
|
|||||||
; 0xcd5f
|
; 0xcd5f
|
||||||
|
|
||||||
.AskStrength: ; 0xcd5f
|
.AskStrength: ; 0xcd5f
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0xcd69
|
writetext UnknownText_0xcd69
|
||||||
yesorno
|
yesorno
|
||||||
iftrue Script_UsedStrength
|
iftrue Script_UsedStrength
|
||||||
@ -4127,7 +3555,7 @@ UnknownText_0xce69: ; 0xce69
|
|||||||
; 0xce6e
|
; 0xce6e
|
||||||
|
|
||||||
Script_AskWhirlpoolOW: ; 0xce6e
|
Script_AskWhirlpoolOW: ; 0xce6e
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0xce78
|
writetext UnknownText_0xce78
|
||||||
yesorno
|
yesorno
|
||||||
iftrue Script_UsedWhirlpool
|
iftrue Script_UsedWhirlpool
|
||||||
@ -4219,7 +3647,7 @@ TryHeadbuttOW:: ; cec9
|
|||||||
; cedc
|
; cedc
|
||||||
|
|
||||||
AskHeadbuttScript: ; 0xcedc
|
AskHeadbuttScript: ; 0xcedc
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0xcee6
|
writetext UnknownText_0xcee6
|
||||||
yesorno
|
yesorno
|
||||||
iftrue HeadbuttScript
|
iftrue HeadbuttScript
|
||||||
@ -4319,7 +3747,7 @@ AskRockSmashScript: ; 0xcf5d
|
|||||||
callasm HasRockSmash
|
callasm HasRockSmash
|
||||||
if_equal 1, .no
|
if_equal 1, .no
|
||||||
|
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0xcf77
|
writetext UnknownText_0xcf77
|
||||||
yesorno
|
yesorno
|
||||||
iftrue RockSmashScript
|
iftrue RockSmashScript
|
||||||
@ -4758,7 +4186,7 @@ TryCutOW:: ; d186
|
|||||||
; d1a9
|
; d1a9
|
||||||
|
|
||||||
AskCutScript: ; 0xd1a9
|
AskCutScript: ; 0xd1a9
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0xd1c8
|
writetext UnknownText_0xd1c8
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .script_d1b8
|
iffalse .script_d1b8
|
||||||
@ -8601,7 +8029,7 @@ BugCatchingContestBattleScript:: ; 0x135eb
|
|||||||
|
|
||||||
BugCatchingContestOverScript:: ; 0x135f8
|
BugCatchingContestOverScript:: ; 0x135f8
|
||||||
playsound SFX_ELEVATOR_END
|
playsound SFX_ELEVATOR_END
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1360f
|
writetext UnknownText_0x1360f
|
||||||
waitbutton
|
waitbutton
|
||||||
jump BugCatchingContestReturnToGateScript
|
jump BugCatchingContestReturnToGateScript
|
||||||
@ -8609,7 +8037,7 @@ BugCatchingContestOverScript:: ; 0x135f8
|
|||||||
|
|
||||||
BugCatchingContestOutOfBallsScript: ; 0x13603
|
BugCatchingContestOutOfBallsScript: ; 0x13603
|
||||||
playsound SFX_ELEVATOR_END
|
playsound SFX_ELEVATOR_END
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x13614
|
writetext UnknownText_0x13614
|
||||||
waitbutton
|
waitbutton
|
||||||
|
|
||||||
@ -8631,7 +8059,7 @@ UnknownText_0x13614: ; 0x13614
|
|||||||
; 0x13619
|
; 0x13619
|
||||||
|
|
||||||
RepelWoreOffScript:: ; 0x13619
|
RepelWoreOffScript:: ; 0x13619
|
||||||
loadfont
|
opentext
|
||||||
writetext .text
|
writetext .text
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -8645,7 +8073,7 @@ RepelWoreOffScript:: ; 0x13619
|
|||||||
; 0x13625
|
; 0x13625
|
||||||
|
|
||||||
SignpostItemScript:: ; 0x13625
|
SignpostItemScript:: ; 0x13625
|
||||||
loadfont
|
opentext
|
||||||
copybytetovar EngineBuffer3
|
copybytetovar EngineBuffer3
|
||||||
itemtotext 0, 0
|
itemtotext 0, 0
|
||||||
writetext .found_text
|
writetext .found_text
|
||||||
@ -20071,7 +19499,7 @@ SeenByTrainerScript:: ; 0xbe675
|
|||||||
; 0xbe68a
|
; 0xbe68a
|
||||||
|
|
||||||
StartBattleWithMapTrainerScript: ; 0xbe68a
|
StartBattleWithMapTrainerScript: ; 0xbe68a
|
||||||
loadfont
|
opentext
|
||||||
trainertext $0
|
trainertext $0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -16,7 +16,7 @@ AzaleaGym_MapScriptHeader:
|
|||||||
|
|
||||||
BugsyScript:
|
BugsyScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_BUGSY
|
checkevent EVENT_BEAT_BUGSY
|
||||||
iftrue .FightDone
|
iftrue .FightDone
|
||||||
writetext BugsyText_INeverLose
|
writetext BugsyText_INeverLose
|
||||||
@ -27,7 +27,7 @@ BugsyScript:
|
|||||||
startbattle
|
startbattle
|
||||||
returnafterbattle
|
returnafterbattle
|
||||||
setevent EVENT_BEAT_BUGSY
|
setevent EVENT_BEAT_BUGSY
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_ReceivedHiveBadge
|
writetext Text_ReceivedHiveBadge
|
||||||
playsound SFX_GET_BADGE
|
playsound SFX_GET_BADGE
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -74,7 +74,7 @@ TrainerTwinsAmyandmay1:
|
|||||||
|
|
||||||
.AfterScript:
|
.AfterScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext TwinsAmyandmay1AfterBattleText
|
writetext TwinsAmyandmay1AfterBattleText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -85,7 +85,7 @@ TrainerTwinsAmyandmay2:
|
|||||||
|
|
||||||
.AfterScript:
|
.AfterScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext TwinsAmyandmay2AfterBattleText
|
writetext TwinsAmyandmay2AfterBattleText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -96,7 +96,7 @@ TrainerBug_catcherbenny:
|
|||||||
|
|
||||||
.AfterScript:
|
.AfterScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext Bug_catcherbennyAfterBattleText
|
writetext Bug_catcherbennyAfterBattleText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -107,7 +107,7 @@ TrainerBug_catcherAl:
|
|||||||
|
|
||||||
.AfterScript:
|
.AfterScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext Bug_catcherAlAfterBattleText
|
writetext Bug_catcherAlAfterBattleText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -118,7 +118,7 @@ TrainerBug_catcherJosh:
|
|||||||
|
|
||||||
.AfterScript:
|
.AfterScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext Bug_catcherJoshAfterBattleText
|
writetext Bug_catcherJoshAfterBattleText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -128,14 +128,14 @@ AzaleaGymGuyScript:
|
|||||||
faceplayer
|
faceplayer
|
||||||
checkevent EVENT_BEAT_BUGSY
|
checkevent EVENT_BEAT_BUGSY
|
||||||
iftrue .AzaleaGymGuyWinScript
|
iftrue .AzaleaGymGuyWinScript
|
||||||
loadfont
|
opentext
|
||||||
writetext AzaleaGymGuyText
|
writetext AzaleaGymGuyText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
.AzaleaGymGuyWinScript
|
.AzaleaGymGuyWinScript
|
||||||
loadfont
|
opentext
|
||||||
writetext AzaleaGymGuyWinText
|
writetext AzaleaGymGuyWinText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -11,7 +11,7 @@ AzaleaMart_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
ClerkScript_0x18e040:
|
ClerkScript_0x18e040:
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_AZALEA
|
pokemart MARTTYPE_STANDARD, MART_AZALEA
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -61,7 +61,7 @@ UnknownScript_0x198034:
|
|||||||
spriteface PLAYER, UP
|
spriteface PLAYER, UP
|
||||||
UnknownScript_0x198049:
|
UnknownScript_0x198049:
|
||||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x19814d
|
writetext UnknownText_0x19814d
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -98,7 +98,7 @@ UnknownScript_0x198081:
|
|||||||
|
|
||||||
UnknownScript_0x198091:
|
UnknownScript_0x198091:
|
||||||
playmusic MUSIC_RIVAL_AFTER
|
playmusic MUSIC_RIVAL_AFTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x198233
|
writetext UnknownText_0x198233
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -119,7 +119,7 @@ AzaleaRocketScript_0x1980ae:
|
|||||||
|
|
||||||
GrampsScript_0x1980b1:
|
GrampsScript_0x1980b1:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
||||||
iftrue UnknownScript_0x1980bf
|
iftrue UnknownScript_0x1980bf
|
||||||
writetext UnknownText_0x19841b
|
writetext UnknownText_0x19841b
|
||||||
@ -140,7 +140,7 @@ YoungsterScript_0x1980c8:
|
|||||||
jumptextfaceplayer UnknownText_0x19851a
|
jumptextfaceplayer UnknownText_0x19851a
|
||||||
|
|
||||||
SlowpokeScript_0x1980cb:
|
SlowpokeScript_0x1980cb:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1985b0
|
writetext UnknownText_0x1985b0
|
||||||
pause 60
|
pause 60
|
||||||
writetext UnknownText_0x1985c3
|
writetext UnknownText_0x1985c3
|
||||||
@ -152,7 +152,7 @@ SlowpokeScript_0x1980cb:
|
|||||||
WoosterScript:
|
WoosterScript:
|
||||||
; unused
|
; unused
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext WoosterText
|
writetext WoosterText
|
||||||
cry QUAGSIRE
|
cry QUAGSIRE
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -161,7 +161,7 @@ WoosterScript:
|
|||||||
|
|
||||||
UnknownScript_0x1980e5:
|
UnknownScript_0x1980e5:
|
||||||
applymovement PLAYER, MovementData_0x198148
|
applymovement PLAYER, MovementData_0x198148
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1985df
|
writetext UnknownText_0x1985df
|
||||||
buttonsound
|
buttonsound
|
||||||
spriteface AZALEATOWN_KURT_OUTSIDE, RIGHT
|
spriteface AZALEATOWN_KURT_OUTSIDE, RIGHT
|
||||||
@ -180,7 +180,7 @@ UnknownScript_0x1980e5:
|
|||||||
|
|
||||||
KurtOutsideScript_0x19810c:
|
KurtOutsideScript_0x19810c:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x198628
|
writetext UnknownText_0x198628
|
||||||
waitbutton
|
waitbutton
|
||||||
spriteface AZALEATOWN_KURT_OUTSIDE, LEFT
|
spriteface AZALEATOWN_KURT_OUTSIDE, LEFT
|
||||||
|
@ -26,7 +26,7 @@ BattleTower1F_MapScriptHeader:
|
|||||||
if_equal $2, .priorityjump1
|
if_equal $2, .priorityjump1
|
||||||
if_equal $3, .SkipEverything
|
if_equal $3, .SkipEverything
|
||||||
if_equal $4, .SkipEverything
|
if_equal $4, .SkipEverything
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_WeveBeenWaitingForYou
|
writetext Text_WeveBeenWaitingForYou
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -45,7 +45,7 @@ BattleTower1F_MapScriptHeader:
|
|||||||
end
|
end
|
||||||
|
|
||||||
MapBattleTower1FSignpost0Script:
|
MapBattleTower1FSignpost0Script:
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_ReadBattleTowerRules
|
writetext Text_ReadBattleTowerRules
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x9e3e0
|
iffalse UnknownScript_0x9e3e0
|
||||||
@ -59,7 +59,7 @@ ReceptionistScript_0x9e3e2:
|
|||||||
writebyte BATTLETOWERACTION_02 ; copybytetovar sBattleTowerChallengeState
|
writebyte BATTLETOWERACTION_02 ; copybytetovar sBattleTowerChallengeState
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
if_equal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm
|
if_equal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_BattleTowerWelcomesYou
|
writetext Text_BattleTowerWelcomesYou
|
||||||
buttonsound
|
buttonsound
|
||||||
writebyte BATTLETOWERACTION_00 ; if new save file: bit 1, [sbe4f]
|
writebyte BATTLETOWERACTION_00 ; if new save file: bit 1, [sbe4f]
|
||||||
@ -244,14 +244,14 @@ UnknownScript_0x9e550:
|
|||||||
end
|
end
|
||||||
|
|
||||||
BattleTower_LeftWithoutSaving:
|
BattleTower_LeftWithoutSaving:
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_BattleTower_LeftWithoutSaving
|
writetext Text_BattleTower_LeftWithoutSaving
|
||||||
waitbutton
|
waitbutton
|
||||||
jump Script_BattleTowerHopeToServeYouAgain
|
jump Script_BattleTowerHopeToServeYouAgain
|
||||||
|
|
||||||
YoungsterScript_0x9e55d:
|
YoungsterScript_0x9e55d:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_BattleTowerYoungster
|
writetext Text_BattleTowerYoungster
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -30,7 +30,7 @@ Script_BattleRoomLoop: ; 0x9f425
|
|||||||
warpsound
|
warpsound
|
||||||
waitsfx
|
waitsfx
|
||||||
applymovement BATTLETOWERBATTLEROOM_YOUNGSTER, MovementData_BattleTowerBattleRoomOpponentWalksIn
|
applymovement BATTLETOWERBATTLEROOM_YOUNGSTER, MovementData_BattleTowerBattleRoomOpponentWalksIn
|
||||||
loadfont
|
opentext
|
||||||
battletowertext 1
|
battletowertext 1
|
||||||
buttonsound
|
buttonsound
|
||||||
closetext
|
closetext
|
||||||
@ -45,7 +45,7 @@ Script_BattleRoomLoop: ; 0x9f425
|
|||||||
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
|
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
|
||||||
applymovement BATTLETOWERBATTLEROOM_RECEPTIONIST, MovementData_BattleTowerBattleRoomReceptionistWalksToPlayer
|
applymovement BATTLETOWERBATTLEROOM_RECEPTIONIST, MovementData_BattleTowerBattleRoomReceptionistWalksToPlayer
|
||||||
applymovement PLAYER, MovementData_BattleTowerBattleRoomPlayerTurnsToFaceReceptionist
|
applymovement PLAYER, MovementData_BattleTowerBattleRoomPlayerTurnsToFaceReceptionist
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_YourPkmnWillBeHealedToFullHealth
|
writetext Text_YourPkmnWillBeHealedToFullHealth
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -55,7 +55,7 @@ Script_BattleRoomLoop: ; 0x9f425
|
|||||||
pause 60
|
pause 60
|
||||||
special FadeInPalettes
|
special FadeInPalettes
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_NextUpOpponentNo
|
writetext Text_NextUpOpponentNo
|
||||||
yesorno
|
yesorno
|
||||||
iffalse Script_DontBattleNextOpponent
|
iffalse Script_DontBattleNextOpponent
|
||||||
@ -90,7 +90,7 @@ Script_DontSaveAndEndTheSession: ; 0x9f4a3
|
|||||||
closetext
|
closetext
|
||||||
special FadeOutPalettes
|
special FadeOutPalettes
|
||||||
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
||||||
loadfont
|
opentext
|
||||||
jump Script_BattleTowerHopeToServeYouAgain
|
jump Script_BattleTowerHopeToServeYouAgain
|
||||||
|
|
||||||
Script_FailedBattleTowerChallenge:
|
Script_FailedBattleTowerChallenge:
|
||||||
@ -99,7 +99,7 @@ Script_FailedBattleTowerChallenge:
|
|||||||
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
||||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_ThanksForVisiting
|
writetext Text_ThanksForVisiting
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -110,14 +110,14 @@ Script_BeatenAllTrainers: ; 0x9f4d9
|
|||||||
special Special_BattleTowerFade
|
special Special_BattleTowerFade
|
||||||
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
||||||
Script_BeatenAllTrainers2:
|
Script_BeatenAllTrainers2:
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_CongratulationsYouveBeatenAllTheTrainers
|
writetext Text_CongratulationsYouveBeatenAllTheTrainers
|
||||||
jump Script_GivePlayerHisPrize
|
jump Script_GivePlayerHisPrize
|
||||||
|
|
||||||
UnreferencedScript_0x9f4eb:
|
UnreferencedScript_0x9f4eb:
|
||||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_TooMuchTimeElapsedNoRegister
|
writetext Text_TooMuchTimeElapsedNoRegister
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -128,7 +128,7 @@ UnreferencedScript_0x9f4f7:
|
|||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_06
|
writebyte BATTLETOWERACTION_06
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_ThanksForVisiting
|
writetext Text_ThanksForVisiting
|
||||||
writetext Text_WeHopeToServeYouAgain
|
writetext Text_WeHopeToServeYouAgain
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -71,7 +71,7 @@ BattleTowerHallway_MapScriptHeader:
|
|||||||
|
|
||||||
.EnterBattleRoom: ; 0x9f61f
|
.EnterBattleRoom: ; 0x9f61f
|
||||||
faceperson PLAYER, BATTLETOWERHALLWAY_RECEPTIONIST
|
faceperson PLAYER, BATTLETOWERHALLWAY_RECEPTIONIST
|
||||||
loadfont
|
opentext
|
||||||
writetext Text_PleaseStepThisWay
|
writetext Text_PleaseStepThisWay
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -10,7 +10,7 @@ BillsHouse_MapScriptHeader:
|
|||||||
|
|
||||||
GrampsScript_0x189538:
|
GrampsScript_0x189538:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GAVE_KURT_APRICORNS
|
checkevent EVENT_GAVE_KURT_APRICORNS
|
||||||
iftrue UnknownScript_0x1896ba
|
iftrue UnknownScript_0x1896ba
|
||||||
checkevent EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
|
checkevent EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
|
||||||
|
@ -36,7 +36,7 @@ BlackthornCity_MapScriptHeader:
|
|||||||
|
|
||||||
SuperNerdScript_0x1a46e8:
|
SuperNerdScript_0x1a46e8:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_CLAIR
|
checkevent EVENT_BEAT_CLAIR
|
||||||
iftrue UnknownScript_0x1a4702
|
iftrue UnknownScript_0x1a4702
|
||||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||||
@ -66,7 +66,7 @@ GrampsScript_0x1a470b:
|
|||||||
|
|
||||||
BlackBeltScript_0x1a470e:
|
BlackBeltScript_0x1a470e:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||||
iftrue UnknownScript_0x1a471c
|
iftrue UnknownScript_0x1a471c
|
||||||
writetext UnknownText_0x1a494a
|
writetext UnknownText_0x1a494a
|
||||||
@ -91,7 +91,7 @@ CooltrainerFScript_0x1a4728:
|
|||||||
|
|
||||||
SantosScript:
|
SantosScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
|
checkevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
|
||||||
iftrue SantosSaturdayScript
|
iftrue SantosSaturdayScript
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
|
@ -10,7 +10,7 @@ BlackthornDodrioTradeHouse_MapScriptHeader:
|
|||||||
|
|
||||||
Emy:
|
Emy:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
trade $3
|
trade $3
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -13,7 +13,7 @@ GrannyScript_0x195949:
|
|||||||
jumptextfaceplayer UnknownText_0x19595c
|
jumptextfaceplayer UnknownText_0x19595c
|
||||||
|
|
||||||
EkansScript_0x19594c:
|
EkansScript_0x19594c:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1959ee
|
writetext UnknownText_0x1959ee
|
||||||
cry DRATINI
|
cry DRATINI
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -32,7 +32,7 @@ BlackthornGym1F_MapScriptHeader:
|
|||||||
|
|
||||||
ClairScript_0x194e24:
|
ClairScript_0x194e24:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_RISINGBADGE
|
checkflag ENGINE_RISINGBADGE
|
||||||
iftrue UnknownScript_0x194e69
|
iftrue UnknownScript_0x194e69
|
||||||
checkevent EVENT_BEAT_CLAIR
|
checkevent EVENT_BEAT_CLAIR
|
||||||
@ -45,7 +45,7 @@ ClairScript_0x194e24:
|
|||||||
startbattle
|
startbattle
|
||||||
returnafterbattle
|
returnafterbattle
|
||||||
setevent EVENT_BEAT_CLAIR
|
setevent EVENT_BEAT_CLAIR
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x19500e
|
writetext UnknownText_0x19500e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -98,7 +98,7 @@ TrainerCooltrainermPaul:
|
|||||||
|
|
||||||
CooltrainermPaulScript:
|
CooltrainermPaulScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1953f1
|
writetext UnknownText_0x1953f1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -109,7 +109,7 @@ TrainerCooltrainermMike:
|
|||||||
|
|
||||||
CooltrainermMikeScript:
|
CooltrainermMikeScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x195467
|
writetext UnknownText_0x195467
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -120,7 +120,7 @@ TrainerCooltrainerfLola:
|
|||||||
|
|
||||||
CooltrainerfLolaScript:
|
CooltrainerfLolaScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x195516
|
writetext UnknownText_0x195516
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -128,7 +128,7 @@ CooltrainerfLolaScript:
|
|||||||
|
|
||||||
BlackthornGymGuyScript:
|
BlackthornGymGuyScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_CLAIR
|
checkevent EVENT_BEAT_CLAIR
|
||||||
iftrue .BlackthornGymGuyWinScript
|
iftrue .BlackthornGymGuyWinScript
|
||||||
writetext BlackthornGymGuyText
|
writetext BlackthornGymGuyText
|
||||||
|
@ -53,7 +53,7 @@ BlackthornGym2F_MapScriptHeader:
|
|||||||
.Fall
|
.Fall
|
||||||
pause 30
|
pause 30
|
||||||
scall .FX
|
scall .FX
|
||||||
loadfont
|
opentext
|
||||||
writetext BlackthornGym2FBoulderFellText
|
writetext BlackthornGym2FBoulderFellText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -73,7 +73,7 @@ TrainerCooltrainermCody:
|
|||||||
|
|
||||||
CooltrainermCodyScript:
|
CooltrainermCodyScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1957d5
|
writetext UnknownText_0x1957d5
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -84,7 +84,7 @@ TrainerCooltrainerfFran:
|
|||||||
|
|
||||||
CooltrainerfFranScript:
|
CooltrainerfFranScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x195883
|
writetext UnknownText_0x195883
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -11,7 +11,7 @@ BlackthornMart_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
ClerkScript_0x195a5d:
|
ClerkScript_0x195a5d:
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_BLACKTHORN
|
pokemart MARTTYPE_STANDARD, MART_BLACKTHORN
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -10,7 +10,7 @@ BluesHouse_MapScriptHeader:
|
|||||||
|
|
||||||
DaisyScript_0x19b0d0:
|
DaisyScript_0x19b0d0:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkcode VAR_HOUR
|
checkcode VAR_HOUR
|
||||||
if_equal $f, UnknownScript_0x19b0de
|
if_equal $f, UnknownScript_0x19b0de
|
||||||
writetext UnknownText_0x19b130
|
writetext UnknownText_0x19b130
|
||||||
@ -38,7 +38,7 @@ UnknownScript_0x19b0de:
|
|||||||
pause 60
|
pause 60
|
||||||
special FadeInPalettes
|
special FadeInPalettes
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x19b296
|
writetext UnknownText_0x19b296
|
||||||
special PlayCurMonCry
|
special PlayCurMonCry
|
||||||
buttonsound
|
buttonsound
|
||||||
|
@ -49,7 +49,7 @@ UnknownScript_0x1809ad:
|
|||||||
|
|
||||||
BrunoScript_0x1809c5:
|
BrunoScript_0x1809c5:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_ELITE_4_BRUNO
|
checkevent EVENT_BEAT_ELITE_4_BRUNO
|
||||||
iftrue UnknownScript_0x1809f3
|
iftrue UnknownScript_0x1809f3
|
||||||
writetext UnknownText_0x1809fe
|
writetext UnknownText_0x1809fe
|
||||||
@ -60,7 +60,7 @@ BrunoScript_0x1809c5:
|
|||||||
startbattle
|
startbattle
|
||||||
returnafterbattle
|
returnafterbattle
|
||||||
setevent EVENT_BEAT_ELITE_4_BRUNO
|
setevent EVENT_BEAT_ELITE_4_BRUNO
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x180b3c
|
writetext UnknownText_0x180b3c
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -46,7 +46,7 @@ UnknownScript_0x185c0d:
|
|||||||
spriteface BURNEDTOWER1F_SUPER_NERD, DOWN
|
spriteface BURNEDTOWER1F_SUPER_NERD, DOWN
|
||||||
showemote EMOTE_SHOCK, BURNEDTOWER1F_SUPER_NERD, 15
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_SUPER_NERD, 15
|
||||||
applymovement BURNEDTOWER1F_SUPER_NERD, MovementData_0x185cd3
|
applymovement BURNEDTOWER1F_SUPER_NERD, MovementData_0x185cd3
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x185ecc
|
writetext UnknownText_0x185ecc
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -63,7 +63,7 @@ UnknownScript_0x185c25:
|
|||||||
applymovement PLAYER, MovementData_0x185ccd
|
applymovement PLAYER, MovementData_0x185ccd
|
||||||
applymovement BURNEDTOWER1F_SILVER, MovementData_0x185ccf
|
applymovement BURNEDTOWER1F_SILVER, MovementData_0x185ccf
|
||||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x185cd9
|
writetext UnknownText_0x185cd9
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -99,7 +99,7 @@ UnknownScript_0x185c70:
|
|||||||
|
|
||||||
UnknownScript_0x185c80:
|
UnknownScript_0x185c80:
|
||||||
playmusic MUSIC_RIVAL_AFTER
|
playmusic MUSIC_RIVAL_AFTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x185de2
|
writetext UnknownText_0x185de2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -117,7 +117,7 @@ UnknownScript_0x185c80:
|
|||||||
applymovement PLAYER, MovementData_0x185cd1
|
applymovement PLAYER, MovementData_0x185cd1
|
||||||
playsound SFX_KINESIS
|
playsound SFX_KINESIS
|
||||||
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 20
|
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 20
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x185e75
|
writetext UnknownText_0x185e75
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -106,7 +106,7 @@ UnknownScript_0x18616b:
|
|||||||
|
|
||||||
SuperNerdScript_0x186212:
|
SuperNerdScript_0x186212:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18626a
|
writetext UnknownText_0x18626a
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -14,19 +14,19 @@ CeladonCafe_MapScriptHeader:
|
|||||||
|
|
||||||
SuperNerdScript_0x73049:
|
SuperNerdScript_0x73049:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x730de
|
writetext UnknownText_0x730de
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
FisherScript_0x73051:
|
FisherScript_0x73051:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x73129
|
writetext UnknownText_0x73129
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7313a
|
writetext UnknownText_0x7313a
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -34,12 +34,12 @@ FisherScript_0x73051:
|
|||||||
end
|
end
|
||||||
|
|
||||||
FisherScript_0x73062:
|
FisherScript_0x73062:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7316a
|
writetext UnknownText_0x7316a
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x73178
|
writetext UnknownText_0x73178
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -47,12 +47,12 @@ FisherScript_0x73062:
|
|||||||
end
|
end
|
||||||
|
|
||||||
FisherScript_0x73073:
|
FisherScript_0x73073:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x731ae
|
writetext UnknownText_0x731ae
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x731bd
|
writetext UnknownText_0x731bd
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -62,12 +62,12 @@ FisherScript_0x73073:
|
|||||||
TeacherScript_0x73084:
|
TeacherScript_0x73084:
|
||||||
checkitem COIN_CASE
|
checkitem COIN_CASE
|
||||||
iftrue UnknownScript_0x7309a
|
iftrue UnknownScript_0x7309a
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x73201
|
writetext UnknownText_0x73201
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x73212
|
writetext UnknownText_0x73212
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -75,12 +75,12 @@ TeacherScript_0x73084:
|
|||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x7309a:
|
UnknownScript_0x7309a:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x73254
|
writetext UnknownText_0x73254
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
spriteface CELADONCAFE_TEACHER, RIGHT
|
spriteface CELADONCAFE_TEACHER, RIGHT
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x73278
|
writetext UnknownText_0x73278
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -95,7 +95,7 @@ CeladonCafeTrashcan:
|
|||||||
iftrue .TrashEmpty
|
iftrue .TrashEmpty
|
||||||
giveitem LEFTOVERS
|
giveitem LEFTOVERS
|
||||||
iffalse .PackFull
|
iffalse .PackFull
|
||||||
loadfont
|
opentext
|
||||||
itemtotext LEFTOVERS, $0
|
itemtotext LEFTOVERS, $0
|
||||||
writetext FoundLeftoversText
|
writetext FoundLeftoversText
|
||||||
playsound SFX_ITEM
|
playsound SFX_ITEM
|
||||||
@ -106,7 +106,7 @@ CeladonCafeTrashcan:
|
|||||||
end
|
end
|
||||||
|
|
||||||
.PackFull
|
.PackFull
|
||||||
loadfont
|
opentext
|
||||||
itemtotext LEFTOVERS, $0
|
itemtotext LEFTOVERS, $0
|
||||||
writetext FoundLeftoversText
|
writetext FoundLeftoversText
|
||||||
buttonsound
|
buttonsound
|
||||||
|
@ -27,7 +27,7 @@ FisherScript_0x1a9f43:
|
|||||||
jumptextfaceplayer UnknownText_0x1a9f7d
|
jumptextfaceplayer UnknownText_0x1a9f7d
|
||||||
|
|
||||||
CeladonCityPoliwrath:
|
CeladonCityPoliwrath:
|
||||||
loadfont
|
opentext
|
||||||
writetext CeladonCityPoliwrathText
|
writetext CeladonCityPoliwrathText
|
||||||
cry POLIWRATH
|
cry POLIWRATH
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -13,14 +13,14 @@ CeladonDeptStore2F_MapScriptHeader:
|
|||||||
|
|
||||||
ClerkScript_0x70bad:
|
ClerkScript_0x70bad:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_1
|
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_1
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
ClerkScript_0x70bb5:
|
ClerkScript_0x70bb5:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_2
|
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_2
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -14,7 +14,7 @@ CeladonDeptStore3F_MapScriptHeader:
|
|||||||
|
|
||||||
ClerkScript_0x70d29:
|
ClerkScript_0x70d29:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_CELADON_3F
|
pokemart MARTTYPE_STANDARD, MART_CELADON_3F
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -24,7 +24,7 @@ YoungsterScript_0x70d31:
|
|||||||
|
|
||||||
GameboyKidScript_0x70d34:
|
GameboyKidScript_0x70d34:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x70d86
|
writetext UnknownText_0x70d86
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -33,7 +33,7 @@ GameboyKidScript_0x70d34:
|
|||||||
|
|
||||||
GameboyKidScript_0x70d3f:
|
GameboyKidScript_0x70d3f:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x70dc7
|
writetext UnknownText_0x70dc7
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -12,7 +12,7 @@ CeladonDeptStore4F_MapScriptHeader:
|
|||||||
|
|
||||||
ClerkScript_0x70f0d:
|
ClerkScript_0x70f0d:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_CELADON_4F
|
pokemart MARTTYPE_STANDARD, MART_CELADON_4F
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -14,14 +14,14 @@ CeladonDeptStore5F_MapScriptHeader:
|
|||||||
|
|
||||||
ClerkScript_0x71004:
|
ClerkScript_0x71004:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_1
|
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_1
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
ClerkScript_0x7100c:
|
ClerkScript_0x7100c:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_2
|
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_2
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -24,7 +24,7 @@ YoungsterScript_0x7117d:
|
|||||||
jumptextfaceplayer UnknownText_0x71310
|
jumptextfaceplayer UnknownText_0x71310
|
||||||
|
|
||||||
CeladonVendingMachine:
|
CeladonVendingMachine:
|
||||||
loadfont
|
opentext
|
||||||
writetext CeladonVendingText
|
writetext CeladonVendingText
|
||||||
.Start
|
.Start
|
||||||
special PlaceMoneyTopRightOW
|
special PlaceMoneyTopRightOW
|
||||||
|
@ -8,7 +8,7 @@ CeladonDeptStoreElevator_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
MapCeladonDeptStoreElevatorSignpost0Script:
|
MapCeladonDeptStoreElevatorSignpost0Script:
|
||||||
loadfont
|
opentext
|
||||||
elevator Elevator_0x713be
|
elevator Elevator_0x713be
|
||||||
closetext
|
closetext
|
||||||
iffalse UnknownScript_0x713bd
|
iffalse UnknownScript_0x713bd
|
||||||
|
@ -24,7 +24,7 @@ ReceptionistScript_0x72120:
|
|||||||
|
|
||||||
PokefanMScript_0x72123:
|
PokefanMScript_0x72123:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72215
|
writetext UnknownText_0x72215
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -33,7 +33,7 @@ PokefanMScript_0x72123:
|
|||||||
|
|
||||||
TeacherScript_0x7212e:
|
TeacherScript_0x7212e:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72242
|
writetext UnknownText_0x72242
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -42,7 +42,7 @@ TeacherScript_0x7212e:
|
|||||||
|
|
||||||
FishingGuruScript_0x72139:
|
FishingGuruScript_0x72139:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72295
|
writetext UnknownText_0x72295
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -51,7 +51,7 @@ FishingGuruScript_0x72139:
|
|||||||
|
|
||||||
FisherScript_0x72144:
|
FisherScript_0x72144:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
|
checkevent EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
|
||||||
iftrue .UnknownScript_0x72169
|
iftrue .UnknownScript_0x72169
|
||||||
writetext UnknownText_0x722dc
|
writetext UnknownText_0x722dc
|
||||||
@ -97,7 +97,7 @@ CeladonGymGuyScript:
|
|||||||
|
|
||||||
GrampsScript_0x72190:
|
GrampsScript_0x72190:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x724ad
|
writetext UnknownText_0x724ad
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -136,7 +136,7 @@ MapCeladonGameCornerSignpost32Script:
|
|||||||
jumptext UnknownText_0x7254f
|
jumptext UnknownText_0x7254f
|
||||||
|
|
||||||
MapCeladonGameCornerSignpost9Script:
|
MapCeladonGameCornerSignpost9Script:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72567
|
writetext UnknownText_0x72567
|
||||||
waitbutton
|
waitbutton
|
||||||
special Special_CardFlip
|
special Special_CardFlip
|
||||||
|
@ -17,7 +17,7 @@ PharmacistScript_0x726ec:
|
|||||||
|
|
||||||
MapCeladonGameCornerPrizeRoomSignpost0Script:
|
MapCeladonGameCornerPrizeRoomSignpost0Script:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7293e
|
writetext UnknownText_0x7293e
|
||||||
waitbutton
|
waitbutton
|
||||||
checkitem COIN_CASE
|
checkitem COIN_CASE
|
||||||
@ -121,7 +121,7 @@ MenuData2_0x72798:
|
|||||||
|
|
||||||
MapCeladonGameCornerPrizeRoomSignpost1Script:
|
MapCeladonGameCornerPrizeRoomSignpost1Script:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7293e
|
writetext UnknownText_0x7293e
|
||||||
waitbutton
|
waitbutton
|
||||||
checkitem COIN_CASE
|
checkitem COIN_CASE
|
||||||
|
@ -15,7 +15,7 @@ CeladonGym_MapScriptHeader:
|
|||||||
|
|
||||||
ErikaScript_0x72a6a:
|
ErikaScript_0x72a6a:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_RAINBOWBADGE
|
checkflag ENGINE_RAINBOWBADGE
|
||||||
iftrue .FightDone
|
iftrue .FightDone
|
||||||
writetext UnknownText_0x72b28
|
writetext UnknownText_0x72b28
|
||||||
@ -30,7 +30,7 @@ ErikaScript_0x72a6a:
|
|||||||
setevent EVENT_BEAT_PICNICKER_TANYA
|
setevent EVENT_BEAT_PICNICKER_TANYA
|
||||||
setevent EVENT_BEAT_BEAUTY_JULIA
|
setevent EVENT_BEAT_BEAUTY_JULIA
|
||||||
setevent EVENT_BEAT_TWINS_JO_AND_ZOE
|
setevent EVENT_BEAT_TWINS_JO_AND_ZOE
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72c96
|
writetext UnknownText_0x72c96
|
||||||
playsound SFX_GET_BADGE
|
playsound SFX_GET_BADGE
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -54,7 +54,7 @@ TrainerLassMichelle:
|
|||||||
|
|
||||||
LassMichelleScript:
|
LassMichelleScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72e30
|
writetext UnknownText_0x72e30
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -65,7 +65,7 @@ TrainerPicnickerTanya:
|
|||||||
|
|
||||||
PicnickerTanyaScript:
|
PicnickerTanyaScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72e8e
|
writetext UnknownText_0x72e8e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -76,7 +76,7 @@ TrainerBeautyJulia:
|
|||||||
|
|
||||||
BeautyJuliaScript:
|
BeautyJuliaScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72f01
|
writetext UnknownText_0x72f01
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -87,7 +87,7 @@ TrainerTwinsJoandzoe1:
|
|||||||
|
|
||||||
TwinsJoandzoe1Script:
|
TwinsJoandzoe1Script:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72f70
|
writetext UnknownText_0x72f70
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -98,7 +98,7 @@ TrainerTwinsJoandzoe2:
|
|||||||
|
|
||||||
TwinsJoandzoe2Script:
|
TwinsJoandzoe2Script:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x72fc0
|
writetext UnknownText_0x72fc0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -15,7 +15,7 @@ CeladonMansionManager:
|
|||||||
jumptextfaceplayer CeladonMansionManagerText
|
jumptextfaceplayer CeladonMansionManagerText
|
||||||
|
|
||||||
CeladonMansion1FMeowth:
|
CeladonMansion1FMeowth:
|
||||||
loadfont
|
opentext
|
||||||
writetext CeladonMansion1FMeowthText
|
writetext CeladonMansion1FMeowthText
|
||||||
cry MEOWTH
|
cry MEOWTH
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -23,7 +23,7 @@ CeladonMansion1FMeowth:
|
|||||||
end
|
end
|
||||||
|
|
||||||
CeladonMansion1FClefairy:
|
CeladonMansion1FClefairy:
|
||||||
loadfont
|
opentext
|
||||||
writetext CeladonMansion1FClefairyText
|
writetext CeladonMansion1FClefairyText
|
||||||
cry CLEFAIRY
|
cry CLEFAIRY
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -31,7 +31,7 @@ CeladonMansion1FClefairy:
|
|||||||
end
|
end
|
||||||
|
|
||||||
CeladonMansion1FNidoranF:
|
CeladonMansion1FNidoranF:
|
||||||
loadfont
|
opentext
|
||||||
writetext CeladonMansion1FNidoranFText
|
writetext CeladonMansion1FNidoranFText
|
||||||
cry NIDORAN_F
|
cry NIDORAN_F
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -13,7 +13,7 @@ CeladonMansion3F_MapScriptHeader:
|
|||||||
|
|
||||||
CooltrainerMScript_0x71670:
|
CooltrainerMScript_0x71670:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x716ce
|
writetext UnknownText_0x716ce
|
||||||
checkcode VAR_DEXCAUGHT
|
checkcode VAR_DEXCAUGHT
|
||||||
if_greater_than 248, UnknownScript_0x7167e
|
if_greater_than 248, UnknownScript_0x7167e
|
||||||
@ -37,7 +37,7 @@ UnknownScript_0x7167e:
|
|||||||
|
|
||||||
GymGuyScript_0x71696:
|
GymGuyScript_0x71696:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_ENABLE_DIPLOMA_PRINTING
|
checkevent EVENT_ENABLE_DIPLOMA_PRINTING
|
||||||
iftrue UnknownScript_0x716a4
|
iftrue UnknownScript_0x716a4
|
||||||
writetext UnknownText_0x717b4
|
writetext UnknownText_0x717b4
|
||||||
|
@ -10,7 +10,7 @@ CeladonMansionRoofHouse_MapScriptHeader:
|
|||||||
|
|
||||||
PharmacistScript_0x71afd:
|
PharmacistScript_0x71afd:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_TM03_CURSE
|
checkevent EVENT_GOT_TM03_CURSE
|
||||||
iftrue UnknownScript_0x71b21
|
iftrue UnknownScript_0x71b21
|
||||||
writetext UnknownText_0x71b27
|
writetext UnknownText_0x71b27
|
||||||
|
@ -26,7 +26,7 @@ PharmacistScript_0x71e2b:
|
|||||||
|
|
||||||
SuperNerdScript_0x71e2e:
|
SuperNerdScript_0x71e2e:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x71f22
|
writetext UnknownText_0x71f22
|
||||||
buttonsound
|
buttonsound
|
||||||
writebyte SUICUNE
|
writebyte SUICUNE
|
||||||
|
@ -22,7 +22,7 @@ CeruleanCity_MapScriptHeader:
|
|||||||
|
|
||||||
CooltrainerMScript_0x184009:
|
CooltrainerMScript_0x184009:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue UnknownScript_0x184017
|
iftrue UnknownScript_0x184017
|
||||||
writetext UnknownText_0x1840bc
|
writetext UnknownText_0x1840bc
|
||||||
@ -40,7 +40,7 @@ SuperNerdScript_0x18401d:
|
|||||||
jumptextfaceplayer UnknownText_0x1841a8
|
jumptextfaceplayer UnknownText_0x1841a8
|
||||||
|
|
||||||
CeruleanCitySlowbro:
|
CeruleanCitySlowbro:
|
||||||
loadfont
|
opentext
|
||||||
writetext CeruleanCitySlowbroText
|
writetext CeruleanCitySlowbroText
|
||||||
cry SLOWBRO
|
cry SLOWBRO
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -49,21 +49,21 @@ CeruleanCitySlowbro:
|
|||||||
|
|
||||||
CooltrainerFScript_0x18402a:
|
CooltrainerFScript_0x18402a:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1841fa
|
writetext UnknownText_0x1841fa
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
spriteface CERULEANCITY_COOLTRAINER_F, LEFT
|
spriteface CERULEANCITY_COOLTRAINER_F, LEFT
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x184229
|
writetext UnknownText_0x184229
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
loadfont
|
opentext
|
||||||
writetext CeruleanCitySlowbroText
|
writetext CeruleanCitySlowbroText
|
||||||
cry SLOWBRO
|
cry SLOWBRO
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18424b
|
writetext UnknownText_0x18424b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -71,7 +71,7 @@ CooltrainerFScript_0x18402a:
|
|||||||
|
|
||||||
FisherScript_0x18404a:
|
FisherScript_0x18404a:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue UnknownScript_0x184058
|
iftrue UnknownScript_0x184058
|
||||||
checkevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
|
checkevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
|
||||||
@ -90,7 +90,7 @@ UnknownScript_0x18405e:
|
|||||||
|
|
||||||
YoungsterScript_0x184064:
|
YoungsterScript_0x184064:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1842a9
|
writetext UnknownText_0x1842a9
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -118,7 +118,7 @@ UnknownScript_0x184072:
|
|||||||
waitsfx
|
waitsfx
|
||||||
showemote EMOTE_SHOCK, CERULEANCITY_YOUNGSTER, 15
|
showemote EMOTE_SHOCK, CERULEANCITY_YOUNGSTER, 15
|
||||||
spriteface CERULEANCITY_YOUNGSTER, LEFT
|
spriteface CERULEANCITY_YOUNGSTER, LEFT
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1842ee
|
writetext UnknownText_0x1842ee
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -29,18 +29,18 @@ UnknownScript_0x1883de:
|
|||||||
playsound SFX_TACKLE
|
playsound SFX_TACKLE
|
||||||
applymovement CERULEANGYM_ROCKET, MovementData_0x1884eb
|
applymovement CERULEANGYM_ROCKET, MovementData_0x1884eb
|
||||||
playmusic MUSIC_ROCKET_ENCOUNTER
|
playmusic MUSIC_ROCKET_ENCOUNTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1884fb
|
writetext UnknownText_0x1884fb
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
showemote EMOTE_SHOCK, CERULEANGYM_ROCKET, 15
|
showemote EMOTE_SHOCK, CERULEANGYM_ROCKET, 15
|
||||||
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f7
|
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f7
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x188574
|
writetext UnknownText_0x188574
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f5
|
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f5
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1885a5
|
writetext UnknownText_0x1885a5
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -62,7 +62,7 @@ UnknownScript_0x1883de:
|
|||||||
|
|
||||||
MistyScript_0x188432:
|
MistyScript_0x188432:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_CASCADEBADGE
|
checkflag ENGINE_CASCADEBADGE
|
||||||
iftrue .FightDone
|
iftrue .FightDone
|
||||||
writetext UnknownText_0x188674
|
writetext UnknownText_0x188674
|
||||||
@ -76,7 +76,7 @@ MistyScript_0x188432:
|
|||||||
setevent EVENT_BEAT_SWIMMERF_DIANA
|
setevent EVENT_BEAT_SWIMMERF_DIANA
|
||||||
setevent EVENT_BEAT_SWIMMERF_BRIANA
|
setevent EVENT_BEAT_SWIMMERF_BRIANA
|
||||||
setevent EVENT_BEAT_SWIMMERM_PARKER
|
setevent EVENT_BEAT_SWIMMERM_PARKER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x188768
|
writetext UnknownText_0x188768
|
||||||
playsound SFX_GET_BADGE
|
playsound SFX_GET_BADGE
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -92,7 +92,7 @@ TrainerSwimmerfDiana:
|
|||||||
|
|
||||||
SwimmerfDianaScript:
|
SwimmerfDianaScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x188856
|
writetext UnknownText_0x188856
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -103,7 +103,7 @@ TrainerSwimmerfBriana:
|
|||||||
|
|
||||||
SwimmerfBrianaScript:
|
SwimmerfBrianaScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1888c0
|
writetext UnknownText_0x1888c0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -114,7 +114,7 @@ TrainerSwimmermParker:
|
|||||||
|
|
||||||
SwimmermParkerScript:
|
SwimmermParkerScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x188943
|
writetext UnknownText_0x188943
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -122,7 +122,7 @@ SwimmermParkerScript:
|
|||||||
|
|
||||||
CeruleanGymGuyScript:
|
CeruleanGymGuyScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_MISTY
|
checkevent EVENT_BEAT_MISTY
|
||||||
iftrue .CeruleanGymGuyWinScript
|
iftrue .CeruleanGymGuyWinScript
|
||||||
writetext CeruleanGymGuyText
|
writetext CeruleanGymGuyText
|
||||||
@ -143,7 +143,7 @@ MapCeruleanGymSignpostItem0:
|
|||||||
CeruleanGymStatue1:
|
CeruleanGymStatue1:
|
||||||
checkevent EVENT_TRAINERS_IN_CERULEAN_GYM
|
checkevent EVENT_TRAINERS_IN_CERULEAN_GYM
|
||||||
iffalse CeruleanGymStatue
|
iffalse CeruleanGymStatue
|
||||||
loadfont
|
opentext
|
||||||
writetext CeruleanGymNote1
|
writetext CeruleanGymNote1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -152,7 +152,7 @@ CeruleanGymStatue1:
|
|||||||
CeruleanGymStatue2:
|
CeruleanGymStatue2:
|
||||||
checkevent EVENT_TRAINERS_IN_CERULEAN_GYM
|
checkevent EVENT_TRAINERS_IN_CERULEAN_GYM
|
||||||
iffalse CeruleanGymStatue
|
iffalse CeruleanGymStatue
|
||||||
loadfont
|
opentext
|
||||||
writetext CeruleanGymNote2
|
writetext CeruleanGymNote2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -11,7 +11,7 @@ CeruleanMart_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
ClerkScript_0x188ac0:
|
ClerkScript_0x188ac0:
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_CERULEAN
|
pokemart MARTTYPE_STANDARD, MART_CERULEAN
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -17,7 +17,7 @@ PokefanFScript_0x18804d:
|
|||||||
jumptextfaceplayer UnknownText_0x1880c3
|
jumptextfaceplayer UnknownText_0x1880c3
|
||||||
|
|
||||||
DiglettScript_0x188050:
|
DiglettScript_0x188050:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1880e7
|
writetext UnknownText_0x1880e7
|
||||||
cry DIGLETT
|
cry DIGLETT
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -18,7 +18,7 @@ GrampsScript_0x188136:
|
|||||||
jumptextfaceplayer UnknownText_0x18818a
|
jumptextfaceplayer UnknownText_0x18818a
|
||||||
|
|
||||||
RhydonScript_0x188139:
|
RhydonScript_0x188139:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18819c
|
writetext UnknownText_0x18819c
|
||||||
cry KANGASKHAN
|
cry KANGASKHAN
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -26,7 +26,7 @@ RhydonScript_0x188139:
|
|||||||
end
|
end
|
||||||
|
|
||||||
ZubatScript_0x188143:
|
ZubatScript_0x188143:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1881b5
|
writetext UnknownText_0x1881b5
|
||||||
cry ZUBAT
|
cry ZUBAT
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -12,7 +12,7 @@ CharcoalKiln_MapScriptHeader:
|
|||||||
|
|
||||||
CharcoalKilnBoss:
|
CharcoalKilnBoss:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_HM01_CUT
|
checkevent EVENT_GOT_HM01_CUT
|
||||||
iftrue .GotCut
|
iftrue .GotCut
|
||||||
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
||||||
@ -36,7 +36,7 @@ CharcoalKilnBoss:
|
|||||||
|
|
||||||
CharcoalKilnApprentice:
|
CharcoalKilnApprentice:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
|
checkevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
|
||||||
iftrue .YoureTheCoolest
|
iftrue .YoureTheCoolest
|
||||||
checkevent EVENT_GOT_HM01_CUT
|
checkevent EVENT_GOT_HM01_CUT
|
||||||
@ -64,7 +64,7 @@ CharcoalKilnApprentice:
|
|||||||
|
|
||||||
CharcoalKilnFarfetchd:
|
CharcoalKilnFarfetchd:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext FarfetchdText
|
writetext FarfetchdText
|
||||||
cry FARFETCH_D
|
cry FARFETCH_D
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -31,7 +31,7 @@ CherrygroveCity_MapScriptHeader:
|
|||||||
|
|
||||||
CherrygroveCityGuideGent:
|
CherrygroveCityGuideGent:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext GuideGentIntroText
|
writetext GuideGentIntroText
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .No
|
iffalse .No
|
||||||
@ -43,25 +43,25 @@ CherrygroveCityGuideGent:
|
|||||||
playmusic MUSIC_SHOW_ME_AROUND
|
playmusic MUSIC_SHOW_ME_AROUND
|
||||||
follow CHERRYGROVECITY_GRAMPS, PLAYER
|
follow CHERRYGROVECITY_GRAMPS, PLAYER
|
||||||
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c195
|
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c195
|
||||||
loadfont
|
opentext
|
||||||
writetext GuideGentPokeCenterText
|
writetext GuideGentPokeCenterText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c19b
|
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c19b
|
||||||
spriteface PLAYER, UP
|
spriteface PLAYER, UP
|
||||||
loadfont
|
opentext
|
||||||
writetext GuideGentMartText
|
writetext GuideGentMartText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c1a3
|
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c1a3
|
||||||
spriteface PLAYER, UP
|
spriteface PLAYER, UP
|
||||||
loadfont
|
opentext
|
||||||
writetext GuideGentRoute30Text
|
writetext GuideGentRoute30Text
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c1ac
|
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c1ac
|
||||||
spriteface PLAYER, LEFT
|
spriteface PLAYER, LEFT
|
||||||
loadfont
|
opentext
|
||||||
writetext GuideGentSeaText
|
writetext GuideGentSeaText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -70,7 +70,7 @@ CherrygroveCityGuideGent:
|
|||||||
pause 60
|
pause 60
|
||||||
spriteface CHERRYGROVECITY_GRAMPS, LEFT
|
spriteface CHERRYGROVECITY_GRAMPS, LEFT
|
||||||
spriteface PLAYER, RIGHT
|
spriteface PLAYER, RIGHT
|
||||||
loadfont
|
opentext
|
||||||
writetext GuideGentGiftText
|
writetext GuideGentGiftText
|
||||||
buttonsound
|
buttonsound
|
||||||
stringtotext .mapcardname, $1
|
stringtotext .mapcardname, $1
|
||||||
@ -116,7 +116,7 @@ UnknownScript_0x19c0ae:
|
|||||||
applymovement CHERRYGROVECITY_SILVER, MovementData_0x19c1ce
|
applymovement CHERRYGROVECITY_SILVER, MovementData_0x19c1ce
|
||||||
spriteface PLAYER, RIGHT
|
spriteface PLAYER, RIGHT
|
||||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x19c4e2
|
writetext UnknownText_0x19c4e2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -158,7 +158,7 @@ UnknownScript_0x19c104:
|
|||||||
|
|
||||||
UnknownScript_0x19c11a:
|
UnknownScript_0x19c11a:
|
||||||
playmusic MUSIC_RIVAL_AFTER
|
playmusic MUSIC_RIVAL_AFTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x19c608
|
writetext UnknownText_0x19c608
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -166,7 +166,7 @@ UnknownScript_0x19c11a:
|
|||||||
|
|
||||||
UnknownScript_0x19c126:
|
UnknownScript_0x19c126:
|
||||||
playmusic MUSIC_RIVAL_AFTER
|
playmusic MUSIC_RIVAL_AFTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x19c59e
|
writetext UnknownText_0x19c59e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -183,7 +183,7 @@ UnknownScript_0x19c12f:
|
|||||||
|
|
||||||
TeacherScript_0x19c146:
|
TeacherScript_0x19c146:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_MAP_CARD
|
checkflag ENGINE_MAP_CARD
|
||||||
iftrue UnknownScript_0x19c154
|
iftrue UnknownScript_0x19c154
|
||||||
writetext UnknownText_0x19c650
|
writetext UnknownText_0x19c650
|
||||||
@ -199,7 +199,7 @@ UnknownScript_0x19c154:
|
|||||||
|
|
||||||
YoungsterScript_0x19c15a:
|
YoungsterScript_0x19c15a:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_POKEDEX
|
checkflag ENGINE_POKEDEX
|
||||||
iftrue UnknownScript_0x19c168
|
iftrue UnknownScript_0x19c168
|
||||||
writetext UnknownText_0x19c6d6
|
writetext UnknownText_0x19c6d6
|
||||||
@ -215,7 +215,7 @@ UnknownScript_0x19c168:
|
|||||||
|
|
||||||
MysticWaterGuy:
|
MysticWaterGuy:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE
|
checkevent EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE
|
||||||
iftrue UnknownScript_0x19c183
|
iftrue UnknownScript_0x19c183
|
||||||
writetext UnknownText_0x19c766
|
writetext UnknownText_0x19c766
|
||||||
|
@ -10,14 +10,14 @@ CherrygroveEvolutionSpeechHouse_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
YoungsterScript_0x196cb2:
|
YoungsterScript_0x196cb2:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x196cc3
|
writetext UnknownText_0x196cc3
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
LassScript_0x196cb9:
|
LassScript_0x196cb9:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x196cfc
|
writetext UnknownText_0x196cfc
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -11,7 +11,7 @@ CherrygroveMart_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
ClerkScript_0x19680a:
|
ClerkScript_0x19680a:
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||||
iftrue UnknownScript_0x196817
|
iftrue UnknownScript_0x196817
|
||||||
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE
|
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE
|
||||||
@ -25,7 +25,7 @@ UnknownScript_0x196817:
|
|||||||
|
|
||||||
CooltrainerMScript_0x19681d:
|
CooltrainerMScript_0x19681d:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||||
iftrue UnknownScript_0x19682b
|
iftrue UnknownScript_0x19682b
|
||||||
writetext UnknownText_0x196834
|
writetext UnknownText_0x196834
|
||||||
|
@ -22,7 +22,7 @@ GentlemanScript_0x196973:
|
|||||||
|
|
||||||
TeacherScript_0x196976:
|
TeacherScript_0x196976:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||||
iftrue UnknownScript_0x196984
|
iftrue UnknownScript_0x196984
|
||||||
writetext UnknownText_0x1969f1
|
writetext UnknownText_0x1969f1
|
||||||
|
@ -62,7 +62,7 @@ UnknownScript_0x1a001e:
|
|||||||
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
|
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
|
||||||
appear CIANWOODCITY_EUSINE
|
appear CIANWOODCITY_EUSINE
|
||||||
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00e7
|
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00e7
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1a0433
|
writetext UnknownText_0x1a0433
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -73,7 +73,7 @@ UnknownScript_0x1a001e:
|
|||||||
reloadmapmusic
|
reloadmapmusic
|
||||||
returnafterbattle
|
returnafterbattle
|
||||||
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
|
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x1a05c3
|
writetext UnknownText_0x1a05c3
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -88,7 +88,7 @@ UnknownScript_0x1a001e:
|
|||||||
|
|
||||||
PokefanFScript_0x1a0084:
|
PokefanFScript_0x1a0084:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_HM02_FLY
|
checkevent EVENT_GOT_HM02_FLY
|
||||||
iftrue UnknownScript_0x1a00ad
|
iftrue UnknownScript_0x1a00ad
|
||||||
writetext UnknownText_0x1a00f1
|
writetext UnknownText_0x1a00f1
|
||||||
|
@ -10,7 +10,7 @@ CianwoodCityPhotoStudio_MapScriptHeader:
|
|||||||
|
|
||||||
FishingGuruScript_0x9e0e0:
|
FishingGuruScript_0x9e0e0:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9e0f9
|
writetext UnknownText_0x9e0f9
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x9e0f3
|
iffalse UnknownScript_0x9e0f3
|
||||||
|
@ -18,14 +18,14 @@ CianwoodGym_MapScriptHeader:
|
|||||||
|
|
||||||
ChuckScript_0x9d60f:
|
ChuckScript_0x9d60f:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_CHUCK
|
checkevent EVENT_BEAT_CHUCK
|
||||||
iftrue .FightDone
|
iftrue .FightDone
|
||||||
writetext UnknownText_0x9d6f9
|
writetext UnknownText_0x9d6f9
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
spriteface CIANWOODGYM_CHUCK, RIGHT
|
spriteface CIANWOODGYM_CHUCK, RIGHT
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9d76f
|
writetext UnknownText_0x9d76f
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -35,7 +35,7 @@ ChuckScript_0x9d60f:
|
|||||||
disappear CIANWOODGYM_BOULDER1
|
disappear CIANWOODGYM_BOULDER1
|
||||||
pause 30
|
pause 30
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9d78a
|
writetext UnknownText_0x9d78a
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -44,7 +44,7 @@ ChuckScript_0x9d60f:
|
|||||||
startbattle
|
startbattle
|
||||||
returnafterbattle
|
returnafterbattle
|
||||||
setevent EVENT_BEAT_CHUCK
|
setevent EVENT_BEAT_CHUCK
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9d835
|
writetext UnknownText_0x9d835
|
||||||
playsound SFX_GET_BADGE
|
playsound SFX_GET_BADGE
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -91,7 +91,7 @@ TrainerBlackbeltYoshi:
|
|||||||
|
|
||||||
BlackbeltYoshiScript:
|
BlackbeltYoshiScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9d9fa
|
writetext UnknownText_0x9d9fa
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -102,7 +102,7 @@ TrainerBlackbeltLao:
|
|||||||
|
|
||||||
BlackbeltLaoScript:
|
BlackbeltLaoScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9da61
|
writetext UnknownText_0x9da61
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -113,7 +113,7 @@ TrainerBlackbeltNob:
|
|||||||
|
|
||||||
BlackbeltNobScript:
|
BlackbeltNobScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9dac0
|
writetext UnknownText_0x9dac0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -124,7 +124,7 @@ TrainerBlackbeltLung:
|
|||||||
|
|
||||||
BlackbeltLungScript:
|
BlackbeltLungScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9db14
|
writetext UnknownText_0x9db14
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -16,7 +16,7 @@ CianwoodPharmacyTrigger:
|
|||||||
|
|
||||||
CianwoodPharmacist:
|
CianwoodPharmacist:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
|
checkevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
|
||||||
iftrue .Mart
|
iftrue .Mart
|
||||||
checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
|
checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
|
||||||
|
@ -21,14 +21,14 @@ CianwoodGymGuyScript:
|
|||||||
faceplayer
|
faceplayer
|
||||||
checkevent EVENT_BEAT_CHUCK
|
checkevent EVENT_BEAT_CHUCK
|
||||||
iftrue .CianwoodGymGuyWinScript
|
iftrue .CianwoodGymGuyWinScript
|
||||||
loadfont
|
opentext
|
||||||
writetext CianwoodGymGuyText
|
writetext CianwoodGymGuyText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
.CianwoodGymGuyWinScript
|
.CianwoodGymGuyWinScript
|
||||||
loadfont
|
opentext
|
||||||
writetext CianwoodGymGuyWinText
|
writetext CianwoodGymGuyWinText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -17,7 +17,7 @@ CinnabarIsland_MapScriptHeader:
|
|||||||
|
|
||||||
CinnabarIslandBlue:
|
CinnabarIslandBlue:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext CinnabarIslandBlueText
|
writetext CinnabarIslandBlueText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -57,7 +57,7 @@ MapColosseumSignpost1Script:
|
|||||||
end
|
end
|
||||||
|
|
||||||
ChrisScript_0x193499:
|
ChrisScript_0x193499:
|
||||||
loadfont
|
opentext
|
||||||
writetext .FriendReadyText
|
writetext .FriendReadyText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -15,7 +15,7 @@ PokefanMScript_0x18ad13:
|
|||||||
|
|
||||||
PokefanFScript_0x18ad16:
|
PokefanFScript_0x18ad16:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue UnknownScript_0x18ad24
|
iftrue UnknownScript_0x18ad24
|
||||||
writetext UnknownText_0x18ad95
|
writetext UnknownText_0x18ad95
|
||||||
@ -30,7 +30,7 @@ UnknownScript_0x18ad24:
|
|||||||
end
|
end
|
||||||
|
|
||||||
ClefairyScript_0x18ad2a:
|
ClefairyScript_0x18ad2a:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18ae4b
|
writetext UnknownText_0x18ae4b
|
||||||
cry BLISSEY
|
cry BLISSEY
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -52,7 +52,7 @@ Copycat:
|
|||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue .Part7
|
iftrue .Part7
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||||
iftrue .Part3
|
iftrue .Part3
|
||||||
writetext UnknownText_0x18afda
|
writetext UnknownText_0x18afda
|
||||||
@ -74,14 +74,14 @@ Copycat:
|
|||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18b028
|
writetext UnknownText_0x18b028
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
.Part7
|
.Part7
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||||
iftrue .Part8
|
iftrue .Part8
|
||||||
writetext UnknownText_0x18b064
|
writetext UnknownText_0x18b064
|
||||||
@ -103,7 +103,7 @@ Copycat:
|
|||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18b116
|
writetext UnknownText_0x18b116
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -111,7 +111,7 @@ Copycat:
|
|||||||
end
|
end
|
||||||
|
|
||||||
.Part12
|
.Part12
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18b17f
|
writetext UnknownText_0x18b17f
|
||||||
buttonsound
|
buttonsound
|
||||||
takeitem LOST_ITEM
|
takeitem LOST_ITEM
|
||||||
@ -120,7 +120,7 @@ Copycat:
|
|||||||
jump .Part14
|
jump .Part14
|
||||||
|
|
||||||
.Part13
|
.Part13
|
||||||
loadfont
|
opentext
|
||||||
.Part14
|
.Part14
|
||||||
writetext UnknownText_0x18b1e2
|
writetext UnknownText_0x18b1e2
|
||||||
buttonsound
|
buttonsound
|
||||||
@ -146,7 +146,7 @@ Copycat:
|
|||||||
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
|
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
|
||||||
.Part17
|
.Part17
|
||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||||
iftrue .Part18
|
iftrue .Part18
|
||||||
writetext UnknownText_0x18b298
|
writetext UnknownText_0x18b298
|
||||||
@ -168,7 +168,7 @@ Copycat:
|
|||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18b2f5
|
writetext UnknownText_0x18b2f5
|
||||||
waitbutton
|
waitbutton
|
||||||
.Part22
|
.Part22
|
||||||
@ -176,7 +176,7 @@ Copycat:
|
|||||||
end
|
end
|
||||||
|
|
||||||
CopycatsDodrio:
|
CopycatsDodrio:
|
||||||
loadfont
|
opentext
|
||||||
writetext CopycatsDodrioText1
|
writetext CopycatsDodrioText1
|
||||||
cry DODRIO
|
cry DODRIO
|
||||||
buttonsound
|
buttonsound
|
||||||
|
@ -21,7 +21,7 @@ TrainerKimono_girlNaoko2:
|
|||||||
|
|
||||||
Kimono_girlNaoko2Script:
|
Kimono_girlNaoko2Script:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x99579
|
writetext UnknownText_0x99579
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -32,7 +32,7 @@ TrainerKimono_girlSayo:
|
|||||||
|
|
||||||
Kimono_girlSayoScript:
|
Kimono_girlSayoScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9960b
|
writetext UnknownText_0x9960b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -43,7 +43,7 @@ TrainerKimono_girlZuki:
|
|||||||
|
|
||||||
Kimono_girlZukiScript:
|
Kimono_girlZukiScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x99688
|
writetext UnknownText_0x99688
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -54,7 +54,7 @@ TrainerKimono_girlKuni:
|
|||||||
|
|
||||||
Kimono_girlKuniScript:
|
Kimono_girlKuniScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x99714
|
writetext UnknownText_0x99714
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -65,7 +65,7 @@ TrainerKimono_girlMiki:
|
|||||||
|
|
||||||
Kimono_girlMikiScript:
|
Kimono_girlMikiScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x997a8
|
writetext UnknownText_0x997a8
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -73,7 +73,7 @@ Kimono_girlMikiScript:
|
|||||||
|
|
||||||
GentlemanScript_0x994c6:
|
GentlemanScript_0x994c6:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9980a
|
writetext UnknownText_0x9980a
|
||||||
buttonsound
|
buttonsound
|
||||||
checkevent EVENT_GOT_HM03_SURF
|
checkevent EVENT_GOT_HM03_SURF
|
||||||
@ -121,7 +121,7 @@ UnknownScript_0x99515:
|
|||||||
end
|
end
|
||||||
|
|
||||||
RhydonScript_0x9951b:
|
RhydonScript_0x9951b:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x99a0a
|
writetext UnknownText_0x99a0a
|
||||||
cry RHYDON
|
cry RHYDON
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -12,7 +12,7 @@ DarkCaveBlackthornEntrance_MapScriptHeader:
|
|||||||
|
|
||||||
PharmacistScript_0x18c720:
|
PharmacistScript_0x18c720:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
|
checkevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
|
||||||
iftrue UnknownScript_0x18c735
|
iftrue UnknownScript_0x18c735
|
||||||
writetext UnknownText_0x18c73f
|
writetext UnknownText_0x18c73f
|
||||||
|
@ -27,7 +27,7 @@ UnknownScript_0x62f88:
|
|||||||
|
|
||||||
GrampsScript_0x62f8f:
|
GrampsScript_0x62f8f:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_ODD_EGG
|
checkevent EVENT_GOT_ODD_EGG
|
||||||
iftrue UnknownScript_0x62fbd
|
iftrue UnknownScript_0x62fbd
|
||||||
writetext UnknownText_0x630ce
|
writetext UnknownText_0x630ce
|
||||||
@ -36,7 +36,7 @@ GrampsScript_0x62f8f:
|
|||||||
checkcode VAR_PARTYCOUNT
|
checkcode VAR_PARTYCOUNT
|
||||||
if_equal $6, UnknownScript_0x62fb6
|
if_equal $6, UnknownScript_0x62fb6
|
||||||
special Function117656
|
special Function117656
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x631ae
|
writetext UnknownText_0x631ae
|
||||||
playsound SFX_KEY_ITEM
|
playsound SFX_KEY_ITEM
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -47,7 +47,7 @@ GrampsScript_0x62f8f:
|
|||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x62fb6:
|
UnknownScript_0x62fb6:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x63237
|
writetext UnknownText_0x63237
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -61,7 +61,7 @@ UnknownScript_0x62fbd:
|
|||||||
|
|
||||||
GrannyScript_0x62fc3:
|
GrannyScript_0x62fc3:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
|
checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
|
||||||
iftrue UnknownScript_0x62fd1
|
iftrue UnknownScript_0x62fd1
|
||||||
special Special_DayCareLady
|
special Special_DayCareLady
|
||||||
|
@ -25,7 +25,7 @@ DragonShrine_MapScriptHeader:
|
|||||||
DragonShrineTestScript:
|
DragonShrineTestScript:
|
||||||
applymovement PLAYER, MovementData_0x18d2bf
|
applymovement PLAYER, MovementData_0x18d2bf
|
||||||
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2c7
|
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2c7
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d2ea
|
writetext UnknownText_0x18d2ea
|
||||||
buttonsound
|
buttonsound
|
||||||
.Question1:
|
.Question1:
|
||||||
@ -96,17 +96,17 @@ DragonShrineTestScript:
|
|||||||
.WrongAnswer:
|
.WrongAnswer:
|
||||||
closetext
|
closetext
|
||||||
spriteface DRAGONSHRINE_ELDER1, LEFT
|
spriteface DRAGONSHRINE_ELDER1, LEFT
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d7f6
|
writetext UnknownText_0x18d7f6
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
spriteface DRAGONSHRINE_ELDER1, DOWN
|
spriteface DRAGONSHRINE_ELDER1, DOWN
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d816
|
writetext UnknownText_0x18d816
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
|
setevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_DRAGON_SHRINE_QUESTION_5
|
checkevent EVENT_DRAGON_SHRINE_QUESTION_5
|
||||||
iftrue .Question5
|
iftrue .Question5
|
||||||
checkevent EVENT_DRAGON_SHRINE_QUESTION_4
|
checkevent EVENT_DRAGON_SHRINE_QUESTION_4
|
||||||
@ -132,34 +132,34 @@ DragonShrineTestScript:
|
|||||||
spriteface DRAGONSHRINE_CLAIR, RIGHT
|
spriteface DRAGONSHRINE_CLAIR, RIGHT
|
||||||
spriteface PLAYER, LEFT
|
spriteface PLAYER, LEFT
|
||||||
spriteface DRAGONSHRINE_ELDER1, LEFT
|
spriteface DRAGONSHRINE_ELDER1, LEFT
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d916
|
writetext UnknownText_0x18d916
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special Special_FadeOutMusic
|
special Special_FadeOutMusic
|
||||||
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2da
|
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2da
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d974
|
writetext UnknownText_0x18d974
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2dd
|
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2dd
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d983
|
writetext UnknownText_0x18d983
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2c9
|
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2c9
|
||||||
spriteface DRAGONSHRINE_CLAIR, UP
|
spriteface DRAGONSHRINE_CLAIR, UP
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d520
|
writetext UnknownText_0x18d520
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
showemote EMOTE_SHOCK, DRAGONSHRINE_CLAIR, 15
|
showemote EMOTE_SHOCK, DRAGONSHRINE_CLAIR, 15
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d9ae
|
writetext UnknownText_0x18d9ae
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2e0
|
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2e0
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d9bf
|
writetext UnknownText_0x18d9bf
|
||||||
waitbutton
|
waitbutton
|
||||||
setflag ENGINE_RISINGBADGE
|
setflag ENGINE_RISINGBADGE
|
||||||
@ -178,11 +178,11 @@ DragonShrineTestScript:
|
|||||||
spriteface DRAGONSHRINE_CLAIR, UP
|
spriteface DRAGONSHRINE_CLAIR, UP
|
||||||
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2d1
|
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2d1
|
||||||
spriteface PLAYER, UP
|
spriteface PLAYER, UP
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d5a3
|
writetext UnknownText_0x18d5a3
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18dab4
|
writetext UnknownText_0x18dab4
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -195,7 +195,7 @@ DragonShrineTestScript:
|
|||||||
|
|
||||||
ElderScript_0x18d1a5:
|
ElderScript_0x18d1a5:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GAVE_KURT_APRICORNS
|
checkevent EVENT_GAVE_KURT_APRICORNS
|
||||||
iftrue .DontGiveDratiniYet
|
iftrue .DontGiveDratiniYet
|
||||||
checkevent EVENT_JUST_RECEIVED_DRATINI
|
checkevent EVENT_JUST_RECEIVED_DRATINI
|
||||||
@ -253,7 +253,7 @@ ElderScript_0x18d1a5:
|
|||||||
|
|
||||||
ElderScript_0x18d205:
|
ElderScript_0x18d205:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d840
|
writetext UnknownText_0x18d840
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -261,7 +261,7 @@ ElderScript_0x18d205:
|
|||||||
|
|
||||||
ElderScript_0x18d20d:
|
ElderScript_0x18d20d:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18d8b1
|
writetext UnknownText_0x18d8b1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -14,73 +14,73 @@ DragonsDenB1F_MapScriptHeader:
|
|||||||
db 2
|
db 2
|
||||||
|
|
||||||
; triggers
|
; triggers
|
||||||
dw UnknownScript_0x18c89d, 0
|
dw .Trigger1, 0
|
||||||
dw UnknownScript_0x18c89e, 0
|
dw .Trigger2, 0
|
||||||
|
|
||||||
.MapCallbacks:
|
.MapCallbacks:
|
||||||
db 1
|
db 1
|
||||||
|
|
||||||
; callbacks
|
; callbacks
|
||||||
|
|
||||||
dbw 5, UnknownScript_0x18c89f
|
dbw 5, .CheckSilver
|
||||||
|
|
||||||
UnknownScript_0x18c89d:
|
.Trigger1:
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x18c89e:
|
.Trigger2:
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x18c89f:
|
.CheckSilver:
|
||||||
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
|
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
|
||||||
iftrue UnknownScript_0x18c8a8
|
iftrue .CheckDay
|
||||||
disappear DRAGONSDENB1F_SILVER
|
disappear DRAGONSDENB1F_SILVER
|
||||||
return
|
return
|
||||||
|
|
||||||
UnknownScript_0x18c8a8:
|
.CheckDay:
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
if_equal TUESDAY, UnknownScript_0x18c8b5
|
if_equal TUESDAY, .AppearSilver
|
||||||
if_equal THURSDAY, UnknownScript_0x18c8b5
|
if_equal THURSDAY, .AppearSilver
|
||||||
disappear DRAGONSDENB1F_SILVER
|
disappear DRAGONSDENB1F_SILVER
|
||||||
return
|
return
|
||||||
|
|
||||||
UnknownScript_0x18c8b5:
|
.AppearSilver:
|
||||||
appear DRAGONSDENB1F_SILVER
|
appear DRAGONSDENB1F_SILVER
|
||||||
return
|
return
|
||||||
|
|
||||||
UnknownScript_0x18c8b8:
|
DragonsDenB1F_ClairTrigger:
|
||||||
appear DRAGONSDENB1F_CLAIR
|
appear DRAGONSDENB1F_CLAIR
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18c9b8
|
writetext ClairText_Wait
|
||||||
pause 30
|
pause 30
|
||||||
closetext
|
closetext
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
spriteface PLAYER, LEFT
|
spriteface PLAYER, LEFT
|
||||||
playmusic MUSIC_CLAIR
|
playmusic MUSIC_CLAIR
|
||||||
applymovement DRAGONSDENB1F_CLAIR, MovementData_0x18c9ae
|
applymovement DRAGONSDENB1F_CLAIR, MovementDragonsDen_ClairWalksToYou
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18c9bf
|
writetext ClairText_GiveDragonbreathDragonDen
|
||||||
buttonsound
|
buttonsound
|
||||||
giveitem TM_DRAGONBREATH
|
giveitem TM_DRAGONBREATH
|
||||||
iffalse UnknownScript_0x18c8f4
|
iffalse .BagFull
|
||||||
itemtotext TM_DRAGONBREATH, $0
|
itemtotext TM_DRAGONBREATH, $0
|
||||||
writetext UnknownText_0x18c9fb
|
writetext NotifyReceiveDragonbreath
|
||||||
playsound SFX_ITEM
|
playsound SFX_ITEM
|
||||||
waitsfx
|
waitsfx
|
||||||
itemnotify
|
itemnotify
|
||||||
setevent EVENT_GOT_TM24_DRAGONBREATH
|
setevent EVENT_GOT_TM24_DRAGONBREATH
|
||||||
writetext UnknownText_0x18ca0d
|
writetext ClairText_DescribeDragonbreathDragonDen
|
||||||
buttonsound
|
buttonsound
|
||||||
writetext UnknownText_0x18caf1
|
writetext ClairText_WhatsTheMatterDragonDen
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
jump UnknownScript_0x18c8f9
|
jump .FinishClair
|
||||||
|
|
||||||
UnknownScript_0x18c8f4:
|
.BagFull:
|
||||||
writetext UnknownText_0x18ca8b
|
writetext ClairText_NoRoom
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
UnknownScript_0x18c8f9:
|
.FinishClair:
|
||||||
applymovement DRAGONSDENB1F_CLAIR, MovementData_0x18c9b3
|
applymovement DRAGONSDENB1F_CLAIR, MovementDragonsDen_ClairWalksAway
|
||||||
special Special_FadeOutMusic
|
special Special_FadeOutMusic
|
||||||
pause 30
|
pause 30
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
@ -93,8 +93,8 @@ TrainerCooltrainermDarin:
|
|||||||
|
|
||||||
CooltrainermDarinScript:
|
CooltrainermDarinScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18cd82
|
writetext CooltrainermDarinAfterText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -104,8 +104,8 @@ TrainerCooltrainerfCara:
|
|||||||
|
|
||||||
CooltrainerfCaraScript:
|
CooltrainerfCaraScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18ce11
|
writetext CooltrainerfCaraAfterText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -115,8 +115,8 @@ TrainerTwinsLeaandpia1:
|
|||||||
|
|
||||||
TwinsLeaandpia1Script:
|
TwinsLeaandpia1Script:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18ced3
|
writetext TrinsLeaandpia1AfterText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -126,31 +126,34 @@ TrainerTwinsLeaandpia2:
|
|||||||
|
|
||||||
TwinsLeaandpia2Script:
|
TwinsLeaandpia2Script:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x18cf0f
|
writetext TrinsLeaandpia2AfterText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
PokeBallScript_0x18c95a:
|
PokeBallScript_0x18c95a:
|
||||||
|
; This whole script is written out rather than as an
|
||||||
|
; item fragment because it's left over from the GS
|
||||||
|
; event.
|
||||||
giveitem DRAGON_FANG
|
giveitem DRAGON_FANG
|
||||||
iffalse UnknownScript_0x18c970
|
iffalse .BagFull
|
||||||
disappear DRAGONSDENB1F_POKE_BALL1
|
disappear DRAGONSDENB1F_POKE_BALL1
|
||||||
loadfont
|
opentext
|
||||||
itemtotext DRAGON_FANG, $0
|
itemtotext DRAGON_FANG, $0
|
||||||
writetext UnknownText_0x18cf41
|
writetext Text_FoundDragonFang
|
||||||
playsound SFX_ITEM
|
playsound SFX_ITEM
|
||||||
waitsfx
|
waitsfx
|
||||||
itemnotify
|
itemnotify
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x18c970:
|
.BagFull:
|
||||||
loadfont
|
opentext
|
||||||
itemtotext DRAGON_FANG, $0
|
itemtotext DRAGON_FANG, $0
|
||||||
writetext UnknownText_0x18cf41
|
writetext Text_FoundDragonFang
|
||||||
buttonsound
|
buttonsound
|
||||||
writetext UnknownText_0x18cf51
|
writetext Text_NoRoomForDragonFang
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -158,25 +161,25 @@ UnknownScript_0x18c970:
|
|||||||
SilverScript_0x18c97e:
|
SilverScript_0x18c97e:
|
||||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GAVE_KURT_APRICORNS
|
checkevent EVENT_GAVE_KURT_APRICORNS
|
||||||
iftrue UnknownScript_0x18c995
|
iftrue .SilverTalkAgain
|
||||||
writetext UnknownText_0x18cc83
|
writetext SilverText_Training1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setevent EVENT_GAVE_KURT_APRICORNS
|
setevent EVENT_GAVE_KURT_APRICORNS
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x18c995:
|
.SilverTalkAgain:
|
||||||
writetext UnknownText_0x18cd2d
|
writetext SilverText_Training2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
end
|
end
|
||||||
|
|
||||||
MapDragonsDenB1FSignpost0Script:
|
MapDragonsDenB1FSignpost0Script:
|
||||||
jumptext UnknownText_0x18cc2e
|
jumptext DragonShrineSignpostText
|
||||||
|
|
||||||
ItemFragment_0x18c9a1:
|
ItemFragment_0x18c9a1:
|
||||||
itemfragment CALCIUM
|
itemfragment CALCIUM
|
||||||
@ -193,25 +196,25 @@ MapDragonsDenB1FSignpostItem2:
|
|||||||
MapDragonsDenB1FSignpostItem3:
|
MapDragonsDenB1FSignpostItem3:
|
||||||
dwb EVENT_DRAGONS_DEN_B1F_HIDDEN_MAX_ELIXER, MAX_ELIXER
|
dwb EVENT_DRAGONS_DEN_B1F_HIDDEN_MAX_ELIXER, MAX_ELIXER
|
||||||
|
|
||||||
MovementData_0x18c9ae:
|
MovementDragonsDen_ClairWalksToYou:
|
||||||
slow_step_right
|
slow_step_right
|
||||||
slow_step_right
|
slow_step_right
|
||||||
slow_step_right
|
slow_step_right
|
||||||
slow_step_right
|
slow_step_right
|
||||||
step_end
|
step_end
|
||||||
|
|
||||||
MovementData_0x18c9b3:
|
MovementDragonsDen_ClairWalksAway:
|
||||||
slow_step_left
|
slow_step_left
|
||||||
slow_step_left
|
slow_step_left
|
||||||
slow_step_left
|
slow_step_left
|
||||||
slow_step_left
|
slow_step_left
|
||||||
step_end
|
step_end
|
||||||
|
|
||||||
UnknownText_0x18c9b8:
|
ClairText_Wait:
|
||||||
text "Wait!"
|
text "Wait!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18c9bf:
|
ClairText_GiveDragonbreathDragonDen:
|
||||||
text "CLAIR: I'm sorry"
|
text "CLAIR: I'm sorry"
|
||||||
line "about this."
|
line "about this."
|
||||||
|
|
||||||
@ -219,12 +222,12 @@ UnknownText_0x18c9bf:
|
|||||||
line "my apology."
|
line "my apology."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18c9fb:
|
NotifyReceiveDragonbreath:
|
||||||
text "<PLAYER> received"
|
text "<PLAYER> received"
|
||||||
line "TM24."
|
line "TM24."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18ca0d:
|
ClairText_DescribeDragonbreathDragonDen:
|
||||||
text "That contains"
|
text "That contains"
|
||||||
line "DRAGONBREATH."
|
line "DRAGONBREATH."
|
||||||
|
|
||||||
@ -237,7 +240,7 @@ UnknownText_0x18ca0d:
|
|||||||
cont "to take it."
|
cont "to take it."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18ca8b:
|
ClairText_NoRoom:
|
||||||
text "Oh? You don't have"
|
text "Oh? You don't have"
|
||||||
line "any room for this."
|
line "any room for this."
|
||||||
|
|
||||||
@ -248,7 +251,7 @@ UnknownText_0x18ca8b:
|
|||||||
line "see me there."
|
line "see me there."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18caf1:
|
ClairText_WhatsTheMatterDragonDen:
|
||||||
text "CLAIR: What's the"
|
text "CLAIR: What's the"
|
||||||
line "matter? Aren't you"
|
line "matter? Aren't you"
|
||||||
|
|
||||||
@ -281,7 +284,7 @@ UnknownText_0x18caf1:
|
|||||||
line "you've got."
|
line "you've got."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18cc2e:
|
DragonShrineSignpostText:
|
||||||
text "DRAGON SHRINE"
|
text "DRAGON SHRINE"
|
||||||
|
|
||||||
para "A shrine honoring"
|
para "A shrine honoring"
|
||||||
@ -291,7 +294,7 @@ UnknownText_0x18cc2e:
|
|||||||
line "in DRAGON'S DEN."
|
line "in DRAGON'S DEN."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18cc83:
|
SilverText_Training1:
|
||||||
text "…"
|
text "…"
|
||||||
line "What? <PLAYER>?"
|
line "What? <PLAYER>?"
|
||||||
|
|
||||||
@ -311,7 +314,7 @@ UnknownText_0x18cc83:
|
|||||||
line "MON trainer…"
|
line "MON trainer…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18cd2d:
|
SilverText_Training2:
|
||||||
text "…"
|
text "…"
|
||||||
|
|
||||||
para "Whew…"
|
para "Whew…"
|
||||||
@ -329,7 +332,7 @@ CooltrainermDarinBeatenText:
|
|||||||
text "S-strong!"
|
text "S-strong!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18cd82:
|
CooltrainermDarinAfterText:
|
||||||
text "The SHRINE ahead"
|
text "The SHRINE ahead"
|
||||||
line "is home to the"
|
line "is home to the"
|
||||||
|
|
||||||
@ -349,7 +352,7 @@ CooltrainerfCaraBeatenText:
|
|||||||
text "Oh yikes, I lost!"
|
text "Oh yikes, I lost!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18ce11:
|
CooltrainerfCaraAfterText:
|
||||||
text "Soon I'm going to"
|
text "Soon I'm going to"
|
||||||
line "get permission"
|
line "get permission"
|
||||||
|
|
||||||
@ -375,7 +378,7 @@ TwinsLeaandpia1BeatenText:
|
|||||||
text "Ouchies."
|
text "Ouchies."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18ced3:
|
TrinsLeaandpia1AfterText:
|
||||||
text "It was like having"
|
text "It was like having"
|
||||||
line "to battle LANCE."
|
line "to battle LANCE."
|
||||||
done
|
done
|
||||||
@ -388,21 +391,21 @@ TwinsLeaandpia2BeatenText:
|
|||||||
text "Meanie."
|
text "Meanie."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18cf0f:
|
TrinsLeaandpia2AfterText:
|
||||||
text "We'll tell on you."
|
text "We'll tell on you."
|
||||||
|
|
||||||
para "MASTER will be"
|
para "MASTER will be"
|
||||||
line "angry with you."
|
line "angry with you."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18cf41:
|
Text_FoundDragonFang:
|
||||||
text "<PLAYER> found"
|
text "<PLAYER> found"
|
||||||
line "@"
|
line "@"
|
||||||
text_from_ram StringBuffer3
|
text_from_ram StringBuffer3
|
||||||
text "!"
|
text "!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x18cf51:
|
Text_NoRoomForDragonFang:
|
||||||
text "But <PLAYER> can't"
|
text "But <PLAYER> can't"
|
||||||
line "carry any more"
|
line "carry any more"
|
||||||
cont "items."
|
cont "items."
|
||||||
@ -419,7 +422,7 @@ DragonsDenB1F_MapEventHeader:
|
|||||||
|
|
||||||
.XYTriggers:
|
.XYTriggers:
|
||||||
db 1
|
db 1
|
||||||
xy_trigger 1, $1e, $13, $0, UnknownScript_0x18c8b8, $0, $0
|
xy_trigger 1, $1e, $13, $0, DragonsDenB1F_ClairTrigger, $0, $0
|
||||||
|
|
||||||
.Signposts:
|
.Signposts:
|
||||||
db 4
|
db 4
|
||||||
|
@ -16,7 +16,7 @@ EarlsPokemonAcademy_MapScriptHeader:
|
|||||||
AcademyEarl:
|
AcademyEarl:
|
||||||
applymovement EARLSPOKEMONACADEMY_FISHER, MovementData_0x68b2d
|
applymovement EARLSPOKEMONACADEMY_FISHER, MovementData_0x68b2d
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x68b3b
|
writetext UnknownText_0x68b3b
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Part1
|
iffalse .Part1
|
||||||
@ -43,7 +43,7 @@ YoungsterScript_0x68a83:
|
|||||||
|
|
||||||
GameboyKidScript_0x68a86:
|
GameboyKidScript_0x68a86:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x68dda
|
writetext UnknownText_0x68dda
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -52,7 +52,7 @@ GameboyKidScript_0x68a86:
|
|||||||
|
|
||||||
GameboyKidScript_0x68a91:
|
GameboyKidScript_0x68a91:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x68e07
|
writetext UnknownText_0x68e07
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -63,7 +63,7 @@ YoungsterScript_0x68a9c:
|
|||||||
jumptextfaceplayer UnknownText_0x68e39
|
jumptextfaceplayer UnknownText_0x68e39
|
||||||
|
|
||||||
AcademyBlackboard:
|
AcademyBlackboard:
|
||||||
loadfont
|
opentext
|
||||||
writetext AcademyBlackboardText
|
writetext AcademyBlackboardText
|
||||||
.Loop
|
.Loop
|
||||||
loadmenudata .MenuHeader
|
loadmenudata .MenuHeader
|
||||||
@ -125,7 +125,7 @@ AcademyBlackboard:
|
|||||||
db "QUIT@"
|
db "QUIT@"
|
||||||
|
|
||||||
AcademyNotebook:
|
AcademyNotebook:
|
||||||
loadfont
|
opentext
|
||||||
writetext AcademyNotebookText
|
writetext AcademyNotebookText
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Done
|
iffalse .Done
|
||||||
|
@ -35,7 +35,7 @@ LassScript_0x1a4012:
|
|||||||
|
|
||||||
LassScript_0x1a4015:
|
LassScript_0x1a4015:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_RELEASED_THE_BEASTS
|
checkevent EVENT_RELEASED_THE_BEASTS
|
||||||
iftrue UnknownScript_0x1a4023
|
iftrue UnknownScript_0x1a4023
|
||||||
writetext UnknownText_0x1a421a
|
writetext UnknownText_0x1a421a
|
||||||
@ -51,7 +51,7 @@ UnknownScript_0x1a4023:
|
|||||||
|
|
||||||
FisherScript_0x1a4029:
|
FisherScript_0x1a4029:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_JASMINE_RETURNED_TO_GYM
|
checkevent EVENT_JASMINE_RETURNED_TO_GYM
|
||||||
iftrue UnknownScript_0x1a4037
|
iftrue UnknownScript_0x1a4037
|
||||||
writetext UnknownText_0x1a42ac
|
writetext UnknownText_0x1a42ac
|
||||||
|
@ -27,7 +27,7 @@ UnknownScript_0x99d57:
|
|||||||
|
|
||||||
MortyScript_0x99d58:
|
MortyScript_0x99d58:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_MORTY
|
checkevent EVENT_BEAT_MORTY
|
||||||
iftrue .FightDone
|
iftrue .FightDone
|
||||||
writetext UnknownText_0x99e65
|
writetext UnknownText_0x99e65
|
||||||
@ -38,7 +38,7 @@ MortyScript_0x99d58:
|
|||||||
startbattle
|
startbattle
|
||||||
returnafterbattle
|
returnafterbattle
|
||||||
setevent EVENT_BEAT_MORTY
|
setevent EVENT_BEAT_MORTY
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9a043
|
writetext UnknownText_0x9a043
|
||||||
playsound SFX_GET_BADGE
|
playsound SFX_GET_BADGE
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -86,7 +86,7 @@ EcruteakGymTriggerRockets:
|
|||||||
UnknownScript_0x99dc6:
|
UnknownScript_0x99dc6:
|
||||||
applymovement PLAYER, MovementData_0x99e5d
|
applymovement PLAYER, MovementData_0x99e5d
|
||||||
applymovement ECRUTEAKGYM_GRAMPS, MovementData_0x99e63
|
applymovement ECRUTEAKGYM_GRAMPS, MovementData_0x99e63
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9a49c
|
writetext UnknownText_0x9a49c
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -104,7 +104,7 @@ TrainerSageJeffrey:
|
|||||||
|
|
||||||
SageJeffreyScript:
|
SageJeffreyScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9a263
|
writetext UnknownText_0x9a263
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -115,7 +115,7 @@ TrainerSagePing:
|
|||||||
|
|
||||||
SagePingScript:
|
SagePingScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9a2b7
|
writetext UnknownText_0x9a2b7
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -126,7 +126,7 @@ TrainerMediumMartha:
|
|||||||
|
|
||||||
MediumMarthaScript:
|
MediumMarthaScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9a318
|
writetext UnknownText_0x9a318
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -137,7 +137,7 @@ TrainerMediumGrace:
|
|||||||
|
|
||||||
MediumGraceScript:
|
MediumGraceScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9a38a
|
writetext UnknownText_0x9a38a
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -145,7 +145,7 @@ MediumGraceScript:
|
|||||||
|
|
||||||
EcruteakGymGuyScript:
|
EcruteakGymGuyScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_MORTY
|
checkevent EVENT_BEAT_MORTY
|
||||||
iftrue .EcruteakGymGuyWinScript
|
iftrue .EcruteakGymGuyWinScript
|
||||||
writetext EcruteakGymGuyText
|
writetext EcruteakGymGuyText
|
||||||
|
@ -73,7 +73,7 @@ EcruteakHouse_XYTrigger_DontMove:
|
|||||||
|
|
||||||
SageScript_0x98062:
|
SageScript_0x98062:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||||
iftrue .CheckForClearBell
|
iftrue .CheckForClearBell
|
||||||
checkflag ENGINE_FOGBADGE
|
checkflag ENGINE_FOGBADGE
|
||||||
@ -125,7 +125,7 @@ SageScript_0x98062:
|
|||||||
|
|
||||||
SageScript_0x980b0:
|
SageScript_0x980b0:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_CLEAR_BELL
|
checkevent EVENT_GOT_CLEAR_BELL
|
||||||
iftrue .GotClearBell
|
iftrue .GotClearBell
|
||||||
writetext UnknownText_0x9840b
|
writetext UnknownText_0x9840b
|
||||||
|
@ -11,7 +11,7 @@ EcruteakItemfinderHouse_MapScriptHeader:
|
|||||||
|
|
||||||
CooltrainerMScript_0x9a5fb:
|
CooltrainerMScript_0x9a5fb:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_ITEMFINDER
|
checkevent EVENT_GOT_ITEMFINDER
|
||||||
iftrue UnknownScript_0x9a614
|
iftrue UnknownScript_0x9a614
|
||||||
writetext UnknownText_0x9a63c
|
writetext UnknownText_0x9a63c
|
||||||
@ -34,7 +34,7 @@ UnknownScript_0x9a61a:
|
|||||||
end
|
end
|
||||||
|
|
||||||
PokedexScript_0x9a620:
|
PokedexScript_0x9a620:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x9a826
|
writetext UnknownText_0x9a826
|
||||||
yesorno
|
yesorno
|
||||||
iftrue UnknownScript_0x9a62a
|
iftrue UnknownScript_0x9a62a
|
||||||
|
@ -11,7 +11,7 @@ EcruteakMart_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
ClerkScript_0x99c3b:
|
ClerkScript_0x99c3b:
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_ECRUTEAK
|
pokemart MARTTYPE_STANDARD, MART_ECRUTEAK
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -40,7 +40,7 @@ UnknownScript_0x98e64:
|
|||||||
pause 20
|
pause 20
|
||||||
spriteface ECRUTEAKPOKECENTER1F_BILL, DOWN
|
spriteface ECRUTEAKPOKECENTER1F_BILL, DOWN
|
||||||
pause 10
|
pause 10
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x98ed8
|
writetext UnknownText_0x98ed8
|
||||||
buttonsound
|
buttonsound
|
||||||
jump UnknownScript_0x98e95
|
jump UnknownScript_0x98e95
|
||||||
|
@ -55,7 +55,7 @@ ElmsLab_AutowalkUpToElm:
|
|||||||
applymovement PLAYER, ElmsLab_WalkUpToElmMovement
|
applymovement PLAYER, ElmsLab_WalkUpToElmMovement
|
||||||
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
|
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
|
||||||
spriteface ELMSLAB_ELM, RIGHT
|
spriteface ELMSLAB_ELM, RIGHT
|
||||||
loadfont
|
opentext
|
||||||
writetext ElmText_Intro
|
writetext ElmText_Intro
|
||||||
ElmsLab_RefuseLoop:
|
ElmsLab_RefuseLoop:
|
||||||
yesorno
|
yesorno
|
||||||
@ -73,11 +73,11 @@ ElmsLab_ElmGetsEmail:
|
|||||||
pause 30
|
pause 30
|
||||||
showemote EMOTE_SHOCK, ELMSLAB_ELM, 10
|
showemote EMOTE_SHOCK, ELMSLAB_ELM, 10
|
||||||
spriteface ELMSLAB_ELM, DOWN
|
spriteface ELMSLAB_ELM, DOWN
|
||||||
loadfont
|
opentext
|
||||||
writetext ElmText_GotAnEmail
|
writetext ElmText_GotAnEmail
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
loadfont
|
opentext
|
||||||
spriteface ELMSLAB_ELM, RIGHT
|
spriteface ELMSLAB_ELM, RIGHT
|
||||||
writetext ElmText_MissionFromMrPokemon
|
writetext ElmText_MissionFromMrPokemon
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -86,7 +86,7 @@ ElmsLab_ElmGetsEmail:
|
|||||||
spriteface PLAYER, UP
|
spriteface PLAYER, UP
|
||||||
applymovement ELMSLAB_ELM, ElmsLab_ElmToDefaultPositionMovement2
|
applymovement ELMSLAB_ELM, ElmsLab_ElmToDefaultPositionMovement2
|
||||||
spriteface PLAYER, RIGHT
|
spriteface PLAYER, RIGHT
|
||||||
loadfont
|
opentext
|
||||||
writetext ElmText_ChooseAPokemon
|
writetext ElmText_ChooseAPokemon
|
||||||
waitbutton
|
waitbutton
|
||||||
dotrigger $1
|
dotrigger $1
|
||||||
@ -95,7 +95,7 @@ ElmsLab_ElmGetsEmail:
|
|||||||
|
|
||||||
ProfElmScript:
|
ProfElmScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_SS_TICKET_FROM_ELM
|
checkevent EVENT_GOT_SS_TICKET_FROM_ELM
|
||||||
iftrue ElmCheckMasterBall
|
iftrue ElmCheckMasterBall
|
||||||
checkevent EVENT_BEAT_ELITE_FOUR
|
checkevent EVENT_BEAT_ELITE_FOUR
|
||||||
@ -155,7 +155,7 @@ ElmCheckGotEggAgain:
|
|||||||
|
|
||||||
LabTryToLeaveScript:
|
LabTryToLeaveScript:
|
||||||
spriteface ELMSLAB_ELM, DOWN
|
spriteface ELMSLAB_ELM, DOWN
|
||||||
loadfont
|
opentext
|
||||||
writetext LabWhereGoingText
|
writetext LabWhereGoingText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -171,7 +171,7 @@ CyndaquilPokeBallScript:
|
|||||||
cry CYNDAQUIL
|
cry CYNDAQUIL
|
||||||
waitbutton
|
waitbutton
|
||||||
closepokepic
|
closepokepic
|
||||||
loadfont
|
opentext
|
||||||
writetext TakeCyndaquilText
|
writetext TakeCyndaquilText
|
||||||
yesorno
|
yesorno
|
||||||
iffalse DidntChooseStarterScript
|
iffalse DidntChooseStarterScript
|
||||||
@ -201,7 +201,7 @@ TotodilePokeBallScript:
|
|||||||
cry TOTODILE
|
cry TOTODILE
|
||||||
waitbutton
|
waitbutton
|
||||||
closepokepic
|
closepokepic
|
||||||
loadfont
|
opentext
|
||||||
writetext TakeTotodileText
|
writetext TakeTotodileText
|
||||||
yesorno
|
yesorno
|
||||||
iffalse DidntChooseStarterScript
|
iffalse DidntChooseStarterScript
|
||||||
@ -229,7 +229,7 @@ ChikoritaPokeBallScript:
|
|||||||
cry CHIKORITA
|
cry CHIKORITA
|
||||||
waitbutton
|
waitbutton
|
||||||
closepokepic
|
closepokepic
|
||||||
loadfont
|
opentext
|
||||||
writetext TakeChikoritaText
|
writetext TakeChikoritaText
|
||||||
yesorno
|
yesorno
|
||||||
iffalse DidntChooseStarterScript
|
iffalse DidntChooseStarterScript
|
||||||
@ -256,24 +256,24 @@ DidntChooseStarterScript:
|
|||||||
|
|
||||||
ElmDirectionsScript:
|
ElmDirectionsScript:
|
||||||
spriteface PLAYER, UP
|
spriteface PLAYER, UP
|
||||||
loadfont
|
opentext
|
||||||
writetext ElmDirectionsText1
|
writetext ElmDirectionsText1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
addcellnum PHONE_ELM
|
addcellnum PHONE_ELM
|
||||||
loadfont
|
opentext
|
||||||
writetext GotElmsNumberText
|
writetext GotElmsNumberText
|
||||||
playsound SFX_REGISTER_PHONE_NUMBER
|
playsound SFX_REGISTER_PHONE_NUMBER
|
||||||
waitsfx
|
waitsfx
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
spriteface ELMSLAB_ELM, LEFT
|
spriteface ELMSLAB_ELM, LEFT
|
||||||
loadfont
|
opentext
|
||||||
writetext ElmDirectionsText2
|
writetext ElmDirectionsText2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
spriteface ELMSLAB_ELM, DOWN
|
spriteface ELMSLAB_ELM, DOWN
|
||||||
loadfont
|
opentext
|
||||||
writetext ElmDirectionsText3
|
writetext ElmDirectionsText3
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -290,14 +290,14 @@ ElmDescribesMrPokemonScript:
|
|||||||
end
|
end
|
||||||
|
|
||||||
LookAtElmPokeBallScript:
|
LookAtElmPokeBallScript:
|
||||||
loadfont
|
opentext
|
||||||
writetext ElmPokeBallText
|
writetext ElmPokeBallText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
ElmsLabHealingMachine:
|
ElmsLabHealingMachine:
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
|
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
|
||||||
iftrue .CanHeal
|
iftrue .CanHeal
|
||||||
writetext ElmsLabHealingMachineText1
|
writetext ElmsLabHealingMachineText1
|
||||||
@ -379,7 +379,7 @@ ShowElmTogepiScript:
|
|||||||
closetext
|
closetext
|
||||||
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
|
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
|
||||||
setevent EVENT_SHOWED_TOGEPI_TO_ELM
|
setevent EVENT_SHOWED_TOGEPI_TO_ELM
|
||||||
loadfont
|
opentext
|
||||||
writetext ShowElmTogepiText2
|
writetext ShowElmTogepiText2
|
||||||
buttonsound
|
buttonsound
|
||||||
writetext ShowElmTogepiText3
|
writetext ShowElmTogepiText3
|
||||||
@ -444,22 +444,22 @@ ElmJumpBackScript2:
|
|||||||
|
|
||||||
ElmJumpUpScript:
|
ElmJumpUpScript:
|
||||||
applymovement ELMSLAB_ELM, ElmJumpUpMovement
|
applymovement ELMSLAB_ELM, ElmJumpUpMovement
|
||||||
loadfont
|
opentext
|
||||||
end
|
end
|
||||||
|
|
||||||
ElmJumpDownScript:
|
ElmJumpDownScript:
|
||||||
applymovement ELMSLAB_ELM, ElmJumpDownMovement
|
applymovement ELMSLAB_ELM, ElmJumpDownMovement
|
||||||
loadfont
|
opentext
|
||||||
end
|
end
|
||||||
|
|
||||||
ElmJumpLeftScript:
|
ElmJumpLeftScript:
|
||||||
applymovement ELMSLAB_ELM, ElmJumpLeftMovement
|
applymovement ELMSLAB_ELM, ElmJumpLeftMovement
|
||||||
loadfont
|
opentext
|
||||||
end
|
end
|
||||||
|
|
||||||
ElmJumpRightScript:
|
ElmJumpRightScript:
|
||||||
applymovement ELMSLAB_ELM, ElmJumpRightMovement
|
applymovement ELMSLAB_ELM, ElmJumpRightMovement
|
||||||
loadfont
|
opentext
|
||||||
end
|
end
|
||||||
|
|
||||||
AideScript_WalkPotions1:
|
AideScript_WalkPotions1:
|
||||||
@ -477,7 +477,7 @@ AideScript_WalkPotions2:
|
|||||||
end
|
end
|
||||||
|
|
||||||
AideScript_GivePotions:
|
AideScript_GivePotions:
|
||||||
loadfont
|
opentext
|
||||||
writetext AideText_GiveYouPotions
|
writetext AideText_GiveYouPotions
|
||||||
buttonsound
|
buttonsound
|
||||||
verbosegiveitem POTION
|
verbosegiveitem POTION
|
||||||
@ -502,7 +502,7 @@ AideScript_WalkBalls2:
|
|||||||
end
|
end
|
||||||
|
|
||||||
AideScript_GiveYouBalls:
|
AideScript_GiveYouBalls:
|
||||||
loadfont
|
opentext
|
||||||
writetext AideText_GiveYouBalls
|
writetext AideText_GiveYouBalls
|
||||||
buttonsound
|
buttonsound
|
||||||
itemtotext POKE_BALL, $1
|
itemtotext POKE_BALL, $1
|
||||||
@ -521,7 +521,7 @@ AideScript_ReceiveTheBalls:
|
|||||||
|
|
||||||
ElmsAideScript:
|
ElmsAideScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
|
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
|
||||||
iftrue AideScript_AfterTheft
|
iftrue AideScript_AfterTheft
|
||||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||||
@ -558,7 +558,7 @@ MeetCopScript:
|
|||||||
applymovement PLAYER, MeetCopScript_WalkUp
|
applymovement PLAYER, MeetCopScript_WalkUp
|
||||||
CopScript:
|
CopScript:
|
||||||
spriteface ELMSLAB_OFFICER, LEFT
|
spriteface ELMSLAB_OFFICER, LEFT
|
||||||
loadfont
|
opentext
|
||||||
writetext ElmsLabOfficerText1
|
writetext ElmsLabOfficerText1
|
||||||
buttonsound
|
buttonsound
|
||||||
special SpecialNameRival
|
special SpecialNameRival
|
||||||
@ -571,7 +571,7 @@ CopScript:
|
|||||||
end
|
end
|
||||||
|
|
||||||
ElmsLabWindow:
|
ElmsLabWindow:
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_FLYPOINT_VIOLET
|
checkflag ENGINE_FLYPOINT_VIOLET
|
||||||
iftrue .Normal
|
iftrue .Normal
|
||||||
checkevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
|
checkevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
|
||||||
|
@ -46,7 +46,7 @@ FastShip1F_MapScriptHeader:
|
|||||||
|
|
||||||
SailorScript_0x75160:
|
SailorScript_0x75160:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_FAST_SHIP_HAS_ARRIVED
|
checkevent EVENT_FAST_SHIP_HAS_ARRIVED
|
||||||
iftrue .Arrived
|
iftrue .Arrived
|
||||||
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
|
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
|
||||||
@ -104,7 +104,7 @@ SailorScript_0x75160:
|
|||||||
|
|
||||||
SailorScript_0x751d0:
|
SailorScript_0x751d0:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
||||||
iftrue .Vermilion
|
iftrue .Vermilion
|
||||||
writetext UnknownText_0x752f9
|
writetext UnknownText_0x752f9
|
||||||
@ -130,7 +130,7 @@ WorriedGrandpaTriggerLeft:
|
|||||||
playsound SFX_TACKLE
|
playsound SFX_TACKLE
|
||||||
applymovement PLAYER, MovementData_0x7522e
|
applymovement PLAYER, MovementData_0x7522e
|
||||||
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75220
|
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75220
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75412
|
writetext UnknownText_0x75412
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -54,7 +54,7 @@ UnknownScript_0x76766:
|
|||||||
|
|
||||||
SailorScript_0x76767:
|
SailorScript_0x76767:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
||||||
iftrue UnknownScript_0x767a0
|
iftrue UnknownScript_0x767a0
|
||||||
checkevent EVENT_FAST_SHIP_LAZY_SAILOR
|
checkevent EVENT_FAST_SHIP_LAZY_SAILOR
|
||||||
@ -100,7 +100,7 @@ TrainerSailorJeff:
|
|||||||
|
|
||||||
SailorJeffScript:
|
SailorJeffScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76a38
|
writetext UnknownText_0x76a38
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -111,7 +111,7 @@ TrainerPicnickerDebra:
|
|||||||
|
|
||||||
PicnickerDebraScript:
|
PicnickerDebraScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76a99
|
writetext UnknownText_0x76a99
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -122,7 +122,7 @@ TrainerJugglerFritz:
|
|||||||
|
|
||||||
JugglerFritzScript:
|
JugglerFritzScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76b02
|
writetext UnknownText_0x76b02
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -133,7 +133,7 @@ TrainerSailorGarrett:
|
|||||||
|
|
||||||
SailorGarrettScript:
|
SailorGarrettScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76b7a
|
writetext UnknownText_0x76b7a
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -144,7 +144,7 @@ TrainerFisherJonah:
|
|||||||
|
|
||||||
FisherJonahScript:
|
FisherJonahScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76c22
|
writetext UnknownText_0x76c22
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -155,7 +155,7 @@ TrainerBlackbeltWai:
|
|||||||
|
|
||||||
BlackbeltWaiScript:
|
BlackbeltWaiScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76c9e
|
writetext UnknownText_0x76c9e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -166,7 +166,7 @@ TrainerSailorKenneth:
|
|||||||
|
|
||||||
SailorKennethScript:
|
SailorKennethScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76d5f
|
writetext UnknownText_0x76d5f
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -177,7 +177,7 @@ TrainerTeacherShirley:
|
|||||||
|
|
||||||
TeacherShirleyScript:
|
TeacherShirleyScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76de1
|
writetext UnknownText_0x76de1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -188,7 +188,7 @@ TrainerSchoolboyNate:
|
|||||||
|
|
||||||
SchoolboyNateScript:
|
SchoolboyNateScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76e3d
|
writetext UnknownText_0x76e3d
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -199,7 +199,7 @@ TrainerSchoolboyRicky:
|
|||||||
|
|
||||||
SchoolboyRickyScript:
|
SchoolboyRickyScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76eb6
|
writetext UnknownText_0x76eb6
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -19,7 +19,7 @@ TrainerCooltrainermSean:
|
|||||||
|
|
||||||
CooltrainermSeanScript:
|
CooltrainermSeanScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7567b
|
writetext UnknownText_0x7567b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -30,7 +30,7 @@ TrainerCooltrainerfCarol:
|
|||||||
|
|
||||||
CooltrainerfCarolScript:
|
CooltrainerfCarolScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x756f7
|
writetext UnknownText_0x756f7
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -41,7 +41,7 @@ TrainerPokemaniacEthan:
|
|||||||
|
|
||||||
PokemaniacEthanScript:
|
PokemaniacEthanScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7574b
|
writetext UnknownText_0x7574b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -52,7 +52,7 @@ TrainerHikerNoland:
|
|||||||
|
|
||||||
HikerNolandScript:
|
HikerNolandScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x757d4
|
writetext UnknownText_0x757d4
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -63,7 +63,7 @@ TrainerGentlemanEdward:
|
|||||||
|
|
||||||
GentlemanEdwardScript:
|
GentlemanEdwardScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75937
|
writetext UnknownText_0x75937
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -74,7 +74,7 @@ TrainerBurglarCorey:
|
|||||||
|
|
||||||
BurglarCoreyScript:
|
BurglarCoreyScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75996
|
writetext UnknownText_0x75996
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -83,7 +83,7 @@ BurglarCoreyScript:
|
|||||||
SailorScript_0x755f1:
|
SailorScript_0x755f1:
|
||||||
playmusic MUSIC_HIKER_ENCOUNTER
|
playmusic MUSIC_HIKER_ENCOUNTER
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75812
|
writetext UnknownText_0x75812
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -93,7 +93,7 @@ SailorScript_0x755f1:
|
|||||||
reloadmap
|
reloadmap
|
||||||
special HealParty
|
special HealParty
|
||||||
setevent EVENT_BEAT_SAILOR_STANLY
|
setevent EVENT_BEAT_SAILOR_STANLY
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x758b1
|
writetext UnknownText_0x758b1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -23,7 +23,7 @@ UnknownScript_0x75ea6:
|
|||||||
|
|
||||||
CaptainScript_0x75ea7:
|
CaptainScript_0x75ea7:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
||||||
iftrue UnknownScript_0x75eb5
|
iftrue UnknownScript_0x75eb5
|
||||||
writetext UnknownText_0x76012
|
writetext UnknownText_0x76012
|
||||||
@ -39,12 +39,12 @@ UnknownScript_0x75eb5:
|
|||||||
|
|
||||||
TwinScript_0x75ebb:
|
TwinScript_0x75ebb:
|
||||||
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, RIGHT
|
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, RIGHT
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x761e0
|
writetext UnknownText_0x761e0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7621f
|
writetext UnknownText_0x7621f
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -63,21 +63,21 @@ TwinScript_0x75ebb:
|
|||||||
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, RIGHT
|
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, RIGHT
|
||||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||||
iftrue UnknownScript_0x75f03
|
iftrue UnknownScript_0x75f03
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76284
|
writetext UnknownText_0x76284
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
jump UnknownScript_0x75f09
|
jump UnknownScript_0x75f09
|
||||||
|
|
||||||
UnknownScript_0x75f03:
|
UnknownScript_0x75f03:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x762c6
|
writetext UnknownText_0x762c6
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
UnknownScript_0x75f09:
|
UnknownScript_0x75f09:
|
||||||
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, DOWN
|
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, DOWN
|
||||||
applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, MovementData_0x76010
|
applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, MovementData_0x76010
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76143
|
writetext UnknownText_0x76143
|
||||||
buttonsound
|
buttonsound
|
||||||
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
|
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
|
||||||
@ -86,7 +86,7 @@ UnknownScript_0x75f09:
|
|||||||
|
|
||||||
GentlemanScript_0x75f1f:
|
GentlemanScript_0x75f1f:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
|
checkevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
|
||||||
iftrue UnknownScript_0x75f67
|
iftrue UnknownScript_0x75f67
|
||||||
checkevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2
|
checkevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2
|
||||||
@ -108,7 +108,7 @@ UnknownScript_0x75f44:
|
|||||||
waitsfx
|
waitsfx
|
||||||
playsound SFX_ELEVATOR_END
|
playsound SFX_ELEVATOR_END
|
||||||
pause 30
|
pause 30
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76645
|
writetext UnknownText_0x76645
|
||||||
waitbutton
|
waitbutton
|
||||||
setevent EVENT_FAST_SHIP_HAS_ARRIVED
|
setevent EVENT_FAST_SHIP_HAS_ARRIVED
|
||||||
@ -134,7 +134,7 @@ UnknownScript_0x75f67:
|
|||||||
|
|
||||||
TwinScript_0x75f6d:
|
TwinScript_0x75f6d:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7630d
|
writetext UnknownText_0x7630d
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -145,7 +145,7 @@ TrainerPokefanmColin:
|
|||||||
|
|
||||||
PokefanmColinScript:
|
PokefanmColinScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7635b
|
writetext UnknownText_0x7635b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -156,7 +156,7 @@ TrainerTwinsMegandpeg1:
|
|||||||
|
|
||||||
TwinsMegandpeg1Script:
|
TwinsMegandpeg1Script:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x763c2
|
writetext UnknownText_0x763c2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -167,7 +167,7 @@ TrainerTwinsMegandpeg2:
|
|||||||
|
|
||||||
TwinsMegandpeg2Script:
|
TwinsMegandpeg2Script:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76428
|
writetext UnknownText_0x76428
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -178,7 +178,7 @@ TrainerPsychicRodney:
|
|||||||
|
|
||||||
PsychicRodneyScript:
|
PsychicRodneyScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76497
|
writetext UnknownText_0x76497
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -189,7 +189,7 @@ TrainerPokefanmJeremy:
|
|||||||
|
|
||||||
PokefanmJeremyScript:
|
PokefanmJeremyScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7651c
|
writetext UnknownText_0x7651c
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -200,7 +200,7 @@ TrainerPokefanfGeorgia:
|
|||||||
|
|
||||||
PokefanfGeorgiaScript:
|
PokefanfGeorgiaScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x76596
|
writetext UnknownText_0x76596
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -211,7 +211,7 @@ TrainerSupernerdShawn:
|
|||||||
|
|
||||||
SupernerdShawnScript:
|
SupernerdShawnScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7660f
|
writetext UnknownText_0x7660f
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -16,7 +16,7 @@ TrainerFirebreatherLyle:
|
|||||||
|
|
||||||
FirebreatherLyleScript:
|
FirebreatherLyleScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75b52
|
writetext UnknownText_0x75b52
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -27,7 +27,7 @@ TrainerBug_catcherKen:
|
|||||||
|
|
||||||
Bug_catcherKenScript:
|
Bug_catcherKenScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75bd5
|
writetext UnknownText_0x75bd5
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -38,7 +38,7 @@ TrainerBeautyCassie:
|
|||||||
|
|
||||||
BeautyCassieScript:
|
BeautyCassieScript:
|
||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75c43
|
writetext UnknownText_0x75c43
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -51,21 +51,21 @@ GuitaristClydeScript:
|
|||||||
end_if_just_battled
|
end_if_just_battled
|
||||||
special Mobile_DummyReturnFalse
|
special Mobile_DummyReturnFalse
|
||||||
iftrue .mobile
|
iftrue .mobile
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75d65
|
writetext UnknownText_0x75d65
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
.mobile:
|
.mobile:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x75cfe
|
writetext UnknownText_0x75cfe
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
FastShipBed:
|
FastShipBed:
|
||||||
loadfont
|
opentext
|
||||||
writetext FastShipBedText1
|
writetext FastShipBedText1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -77,7 +77,7 @@ FastShipBed:
|
|||||||
pause 60
|
pause 60
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
special Special_FadeInQuickly
|
special Special_FadeInQuickly
|
||||||
loadfont
|
opentext
|
||||||
writetext FastShipBedText2
|
writetext FastShipBedText2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -95,7 +95,7 @@ UnknownScript_0x75ae2:
|
|||||||
pause 30
|
pause 30
|
||||||
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
|
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
|
||||||
iftrue UnknownScript_0x75af7
|
iftrue UnknownScript_0x75af7
|
||||||
loadfont
|
opentext
|
||||||
writetext FastShipArrivedVermilionText
|
writetext FastShipArrivedVermilionText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -103,7 +103,7 @@ UnknownScript_0x75ae2:
|
|||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x75af7:
|
UnknownScript_0x75af7:
|
||||||
loadfont
|
opentext
|
||||||
writetext FastShipArrivedOlivineText
|
writetext FastShipArrivedOlivineText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -18,7 +18,7 @@ JanineScript_0x195db9:
|
|||||||
iftrue .FightDone
|
iftrue .FightDone
|
||||||
applymovement FUCHSIAGYM_JANINE, MovementData_0x195f27
|
applymovement FUCHSIAGYM_JANINE, MovementData_0x195f27
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x195f35
|
writetext UnknownText_0x195f35
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -36,7 +36,7 @@ JanineScript_0x195db9:
|
|||||||
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS
|
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS
|
||||||
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
|
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
|
||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x195feb
|
writetext UnknownText_0x195feb
|
||||||
playsound SFX_GET_BADGE
|
playsound SFX_GET_BADGE
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -44,7 +44,7 @@ JanineScript_0x195db9:
|
|||||||
jump UnknownScript_0x195e02
|
jump UnknownScript_0x195e02
|
||||||
.FightDone
|
.FightDone
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
UnknownScript_0x195e02:
|
UnknownScript_0x195e02:
|
||||||
checkevent EVENT_GOT_TM06_TOXIC
|
checkevent EVENT_GOT_TM06_TOXIC
|
||||||
iftrue UnknownScript_0x195e15
|
iftrue UnknownScript_0x195e15
|
||||||
@ -68,7 +68,7 @@ FuschiaGym1Script_0x195e1b:
|
|||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
UnknownScript_0x195e2c:
|
UnknownScript_0x195e2c:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_LASS_ALICE
|
checkevent EVENT_BEAT_LASS_ALICE
|
||||||
iftrue UnknownScript_0x195e4f
|
iftrue UnknownScript_0x195e4f
|
||||||
writetext UnknownText_0x1960e6
|
writetext UnknownText_0x1960e6
|
||||||
@ -102,7 +102,7 @@ FuschiaGym2Script_0x195e55:
|
|||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
UnknownScript_0x195e66:
|
UnknownScript_0x195e66:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_LASS_LINDA
|
checkevent EVENT_BEAT_LASS_LINDA
|
||||||
iftrue UnknownScript_0x195e89
|
iftrue UnknownScript_0x195e89
|
||||||
writetext UnknownText_0x196166
|
writetext UnknownText_0x196166
|
||||||
@ -136,7 +136,7 @@ FuschiaGym3Script_0x195e8f:
|
|||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
UnknownScript_0x195ea0:
|
UnknownScript_0x195ea0:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_PICNICKER_CINDY
|
checkevent EVENT_BEAT_PICNICKER_CINDY
|
||||||
iftrue UnknownScript_0x195ec3
|
iftrue UnknownScript_0x195ec3
|
||||||
writetext UnknownText_0x1961bb
|
writetext UnknownText_0x1961bb
|
||||||
@ -170,7 +170,7 @@ FuschiaGym4Script_0x195ec9:
|
|||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
UnknownScript_0x195eda:
|
UnknownScript_0x195eda:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_CAMPER_BARRY
|
checkevent EVENT_BEAT_CAMPER_BARRY
|
||||||
iftrue UnknownScript_0x195efd
|
iftrue UnknownScript_0x195efd
|
||||||
writetext UnknownText_0x196228
|
writetext UnknownText_0x196228
|
||||||
@ -197,7 +197,7 @@ UnknownScript_0x195efd:
|
|||||||
|
|
||||||
FuchsiaGymGuyScript:
|
FuchsiaGymGuyScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_BEAT_JANINE
|
checkevent EVENT_BEAT_JANINE
|
||||||
iftrue .FuchsiaGymGuyWinScript
|
iftrue .FuchsiaGymGuyWinScript
|
||||||
writetext FuchsiaGymGuyText
|
writetext FuchsiaGymGuyText
|
||||||
|
@ -11,7 +11,7 @@ FuchsiaMart_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
ClerkScript_0x195ce8:
|
ClerkScript_0x195ce8:
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_FUCHSIA
|
pokemart MARTTYPE_STANDARD, MART_FUCHSIA
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -28,7 +28,7 @@ CooltrainerFScript_0x19645f:
|
|||||||
|
|
||||||
JanineImpersonatorScript_0x196462:
|
JanineImpersonatorScript_0x196462:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x19652e
|
writetext UnknownText_0x19652e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -36,7 +36,7 @@ JanineImpersonatorScript_0x196462:
|
|||||||
faceplayer
|
faceplayer
|
||||||
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_JANINE
|
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_JANINE
|
||||||
special RunCallback_04
|
special RunCallback_04
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x19654e
|
writetext UnknownText_0x19654e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -13,7 +13,7 @@ UnknownScript_0x5474f:
|
|||||||
|
|
||||||
ClerkScript_0x54750:
|
ClerkScript_0x54750:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_BICYCLE
|
checkevent EVENT_GOT_BICYCLE
|
||||||
iftrue UnknownScript_0x54775
|
iftrue UnknownScript_0x54775
|
||||||
writetext UnknownText_0x54787
|
writetext UnknownText_0x54787
|
||||||
|
@ -12,7 +12,7 @@ GoldenrodBillsHouse_MapScriptHeader:
|
|||||||
|
|
||||||
BillsHouseBill:
|
BillsHouseBill:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_EEVEE
|
checkevent EVENT_GOT_EEVEE
|
||||||
iftrue UnknownScript_0x54c1f
|
iftrue UnknownScript_0x54c1f
|
||||||
writetext UnknownText_0x54c74
|
writetext UnknownText_0x54c74
|
||||||
@ -53,7 +53,7 @@ UnknownScript_0x54c1f:
|
|||||||
|
|
||||||
BillsMom:
|
BillsMom:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_MET_BILL
|
checkevent EVENT_MET_BILL
|
||||||
iffalse UnknownScript_0x54c33
|
iffalse UnknownScript_0x54c33
|
||||||
writetext UnknownText_0x54ea8
|
writetext UnknownText_0x54ea8
|
||||||
@ -69,7 +69,7 @@ UnknownScript_0x54c33:
|
|||||||
|
|
||||||
BillsSister:
|
BillsSister:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkcellnum PHONE_BILL
|
checkcellnum PHONE_BILL
|
||||||
iftrue UnknownScript_0x54c58
|
iftrue UnknownScript_0x54c58
|
||||||
writetext UnknownText_0x54f9e
|
writetext UnknownText_0x54f9e
|
||||||
|
@ -56,7 +56,7 @@ GoldenrodCity_MapScriptHeader:
|
|||||||
|
|
||||||
MoveTutor:
|
MoveTutor:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x199042
|
writetext UnknownText_0x199042
|
||||||
yesorno
|
yesorno
|
||||||
iffalse .Refused
|
iffalse .Refused
|
||||||
@ -170,7 +170,7 @@ YoungsterScript_0x1989e6:
|
|||||||
|
|
||||||
CooltrainerFScript_0x1989e9:
|
CooltrainerFScript_0x1989e9:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||||
iftrue .ClearedRadioTower
|
iftrue .ClearedRadioTower
|
||||||
writetext UnknownText_0x198ae6
|
writetext UnknownText_0x198ae6
|
||||||
@ -186,7 +186,7 @@ CooltrainerFScript_0x1989e9:
|
|||||||
|
|
||||||
CooltrainerFScript_0x1989fd:
|
CooltrainerFScript_0x1989fd:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkflag ENGINE_RADIO_CARD
|
checkflag ENGINE_RADIO_CARD
|
||||||
iftrue .GotRadioCard
|
iftrue .GotRadioCard
|
||||||
writetext UnknownText_0x198b73
|
writetext UnknownText_0x198b73
|
||||||
@ -210,7 +210,7 @@ GrampsScript_0x198a17:
|
|||||||
jumptextfaceplayer UnknownText_0x198ccf
|
jumptextfaceplayer UnknownText_0x198ccf
|
||||||
|
|
||||||
RocketScript_0x198a1a:
|
RocketScript_0x198a1a:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x198d0d
|
writetext UnknownText_0x198d0d
|
||||||
buttonsound
|
buttonsound
|
||||||
faceplayer
|
faceplayer
|
||||||
|
@ -14,14 +14,14 @@ GoldenrodDeptStore2F_MapScriptHeader:
|
|||||||
|
|
||||||
ClerkScript_0x55b5d:
|
ClerkScript_0x55b5d:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_2F_1
|
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_2F_1
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
ClerkScript_0x55b65:
|
ClerkScript_0x55b65:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_2F_2
|
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_2F_2
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -12,7 +12,7 @@ GoldenrodDeptStore3F_MapScriptHeader:
|
|||||||
|
|
||||||
ClerkScript_0x55db8:
|
ClerkScript_0x55db8:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_3F
|
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_3F
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
@ -13,7 +13,7 @@ GoldenrodDeptStore4F_MapScriptHeader:
|
|||||||
|
|
||||||
ClerkScript_0x55ee9:
|
ClerkScript_0x55ee9:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_4F
|
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_4F
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -26,7 +26,7 @@ BugCatcherScript_0x55ef4:
|
|||||||
|
|
||||||
GameboyKidScript_0x55ef7:
|
GameboyKidScript_0x55ef7:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x55f74
|
writetext UnknownText_0x55f74
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -29,7 +29,7 @@ GoldenrodDeptStore5F_MapScriptHeader:
|
|||||||
|
|
||||||
ClerkScript_0x5609c:
|
ClerkScript_0x5609c:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_GOT_TM02_HEADBUTT
|
checkevent EVENT_GOT_TM02_HEADBUTT
|
||||||
iftrue .headbutt
|
iftrue .headbutt
|
||||||
checkevent EVENT_GOT_TM08_ROCK_SMASH
|
checkevent EVENT_GOT_TM08_ROCK_SMASH
|
||||||
@ -63,7 +63,7 @@ ClerkScript_0x5609c:
|
|||||||
|
|
||||||
ReceptionistScript_0x560ce:
|
ReceptionistScript_0x560ce:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
if_not_equal SUNDAY, .EventIsOver
|
if_not_equal SUNDAY, .EventIsOver
|
||||||
checkflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
|
checkflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
|
||||||
@ -108,7 +108,7 @@ ReceptionistScript_0x560ce:
|
|||||||
|
|
||||||
TwinScript_0x56118:
|
TwinScript_0x56118:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
special SpecialGameboyCheck
|
special SpecialGameboyCheck
|
||||||
if_not_equal $2, .NotGBC ; This is a dummy check from Gold and Silver. In normal gameplay, this would not be checked.
|
if_not_equal $2, .NotGBC ; This is a dummy check from Gold and Silver. In normal gameplay, this would not be checked.
|
||||||
writetext UnknownText_0x56241
|
writetext UnknownText_0x56241
|
||||||
@ -128,7 +128,7 @@ LassScript_0x56130:
|
|||||||
|
|
||||||
CooltrainerMScript_0x56133:
|
CooltrainerMScript_0x56133:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
trade $0
|
trade $0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -10,7 +10,7 @@ GoldenrodDeptStore6F_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
GoldenrodVendingMachine:
|
GoldenrodVendingMachine:
|
||||||
loadfont
|
opentext
|
||||||
writetext GoldenrodVendingText
|
writetext GoldenrodVendingText
|
||||||
.Start
|
.Start
|
||||||
special PlaceMoneyTopRightOW
|
special PlaceMoneyTopRightOW
|
||||||
|
@ -60,7 +60,7 @@ BlackBeltScript_0x7d7b6:
|
|||||||
jumptextfaceplayer UnknownText_0x7d875
|
jumptextfaceplayer UnknownText_0x7d875
|
||||||
|
|
||||||
MachopScript_0x7d7b9:
|
MachopScript_0x7d7b9:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x7d8bb
|
writetext UnknownText_0x7d8bb
|
||||||
cry MACHOKE
|
cry MACHOKE
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -8,7 +8,7 @@ GoldenrodDeptStoreElevator_MapScriptHeader:
|
|||||||
db 0
|
db 0
|
||||||
|
|
||||||
MapGoldenrodDeptStoreElevatorSignpost0Script:
|
MapGoldenrodDeptStoreElevatorSignpost0Script:
|
||||||
loadfont
|
opentext
|
||||||
elevator Elevator_0x566e0
|
elevator Elevator_0x566e0
|
||||||
closetext
|
closetext
|
||||||
iffalse .Done
|
iffalse .Done
|
||||||
|
@ -44,7 +44,7 @@ GoldenrodDeptStoreRoof_MapScriptHeader:
|
|||||||
return
|
return
|
||||||
|
|
||||||
ClerkScript_0x5673f:
|
ClerkScript_0x5673f:
|
||||||
loadfont
|
opentext
|
||||||
pokemart MARTTYPE_ROOFTOP, 0
|
pokemart MARTTYPE_ROOFTOP, 0
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -54,7 +54,7 @@ PokefanFScript_0x56746:
|
|||||||
|
|
||||||
FisherScript_0x56749:
|
FisherScript_0x56749:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x567d2
|
writetext UnknownText_0x567d2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -65,12 +65,12 @@ TwinScript_0x56754:
|
|||||||
jumptextfaceplayer UnknownText_0x56839
|
jumptextfaceplayer UnknownText_0x56839
|
||||||
|
|
||||||
SuperNerdScript_0x56757:
|
SuperNerdScript_0x56757:
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x56867
|
writetext UnknownText_0x56867
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
spriteface GOLDENRODDEPTSTOREROOF_SUPER_NERD, UP
|
spriteface GOLDENRODDEPTSTOREROOF_SUPER_NERD, UP
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x56871
|
writetext UnknownText_0x56871
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -21,7 +21,7 @@ FlowerShopTeacherScript:
|
|||||||
checkflag ENGINE_PLAINBADGE
|
checkflag ENGINE_PLAINBADGE
|
||||||
iffalse .NoPlainBadge
|
iffalse .NoPlainBadge
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x554c2
|
writetext UnknownText_0x554c2
|
||||||
buttonsound
|
buttonsound
|
||||||
verbosegiveitem SQUIRTBOTTLE
|
verbosegiveitem SQUIRTBOTTLE
|
||||||
@ -33,7 +33,7 @@ FlowerShopTeacherScript:
|
|||||||
|
|
||||||
.Lalala:
|
.Lalala:
|
||||||
spriteface GOLDENRODFLOWERSHOP_TEACHER, LEFT
|
spriteface GOLDENRODFLOWERSHOP_TEACHER, LEFT
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x5552e
|
writetext UnknownText_0x5552e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -50,7 +50,7 @@ FlowerShopTeacherScript:
|
|||||||
|
|
||||||
FlowerShopFloriaScript:
|
FlowerShopFloriaScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
checkevent EVENT_FOUGHT_SUDOWOODO
|
checkevent EVENT_FOUGHT_SUDOWOODO
|
||||||
iftrue .FoughtSudowoodo
|
iftrue .FoughtSudowoodo
|
||||||
checkevent EVENT_GOT_SQUIRTBOTTLE
|
checkevent EVENT_GOT_SQUIRTBOTTLE
|
||||||
|
@ -44,7 +44,7 @@ UnknownScript_0x56c19: ;0x56c19
|
|||||||
|
|
||||||
PokefanMScript_0x56c1a:
|
PokefanMScript_0x56c1a:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x5718a
|
writetext UnknownText_0x5718a
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -56,7 +56,7 @@ ClerkScript_0x56c25:
|
|||||||
|
|
||||||
ReceptionistScript_0x56c28:
|
ReceptionistScript_0x56c28:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x56e50
|
writetext UnknownText_0x56e50
|
||||||
waitbutton
|
waitbutton
|
||||||
checkitem COIN_CASE
|
checkitem COIN_CASE
|
||||||
@ -160,7 +160,7 @@ MenuData2_0x56cd1:
|
|||||||
|
|
||||||
ReceptionistScript_0x56d01:
|
ReceptionistScript_0x56d01:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x56e50
|
writetext UnknownText_0x56e50
|
||||||
waitbutton
|
waitbutton
|
||||||
checkitem COIN_CASE
|
checkitem COIN_CASE
|
||||||
@ -249,7 +249,7 @@ MenuData2_0x56db8:
|
|||||||
|
|
||||||
PharmacistScript_0x56df1:
|
PharmacistScript_0x56df1:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x56f55
|
writetext UnknownText_0x56f55
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -258,7 +258,7 @@ PharmacistScript_0x56df1:
|
|||||||
|
|
||||||
PokefanMScript_0x56dfc:
|
PokefanMScript_0x56dfc:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x56f9e
|
writetext UnknownText_0x56f9e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -267,7 +267,7 @@ PokefanMScript_0x56dfc:
|
|||||||
|
|
||||||
CooltrainerMScript_0x56e07:
|
CooltrainerMScript_0x56e07:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x56ff4
|
writetext UnknownText_0x56ff4
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -276,7 +276,7 @@ CooltrainerMScript_0x56e07:
|
|||||||
|
|
||||||
PokefanFScript_0x56e12:
|
PokefanFScript_0x56e12:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x5702b
|
writetext UnknownText_0x5702b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -288,7 +288,7 @@ CooltrainerFScript_0x56e1d:
|
|||||||
|
|
||||||
GentlemanScript_0x56e20:
|
GentlemanScript_0x56e20:
|
||||||
faceplayer
|
faceplayer
|
||||||
loadfont
|
opentext
|
||||||
writetext UnknownText_0x570b1
|
writetext UnknownText_0x570b1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user