Merge pull request #248 from yenatch/master

Trainer card graphics, Kanto Special stats, unused item constants, mobile adapter lib
This commit is contained in:
Bryan Bishop 2014-05-01 22:43:19 -05:00
commit 6fbb99786f
132 changed files with 10551 additions and 1107 deletions

View File

@ -15,6 +15,7 @@ TEXTQUEUE :=
CRYSTAL_OBJS := \ CRYSTAL_OBJS := \
wram.o \ wram.o \
main.o \ main.o \
lib/mobile/main.o \
home.o \ home.o \
audio.o \ audio.o \
maps_crystal.o \ maps_crystal.o \

View File

@ -201,8 +201,8 @@ _UpdateSound:: ; e805c
ld [CurChannel], a ld [CurChannel], a
cp a, $08 ; are we done? cp a, $08 ; are we done?
jp nz, .loop ; do it all again jp nz, .loop ; do it all again
; writing to hardware registers?
call Functione8307 call PlayDanger
; fade music in/out ; fade music in/out
call FadeMusic call FadeMusic
; write volume to hardware register ; write volume to hardware register
@ -240,7 +240,7 @@ UpdateChannels: ; e8125
dw .Channel8 dw .Channel8
.Channel1 .Channel1
ld a, [$c2a6] ld a, [Danger]
bit 7, a bit 7, a
ret nz ret nz
.Channel5 .Channel5
@ -513,9 +513,8 @@ _CheckSFX: ; e82e7
ret ret
; e8307 ; e8307
Functione8307: ; e8307 PlayDanger: ; e8307
; what is $c2a6? ld a, [Danger]
ld a, [$c2a6]
bit 7, a bit 7, a
ret z ret z
and a, $7f and a, $7f
@ -524,7 +523,7 @@ Functione8307: ; e8307
jr c, .asm_e8335 jr c, .asm_e8335
and a and a
jr z, .asm_e8323 jr z, .asm_e8323
cp a, $10 cp a, 16 ; halfway
jr z, .asm_e831e jr z, .asm_e831e
jr .asm_e8335 jr .asm_e8335
.asm_e831e .asm_e831e
@ -546,12 +545,12 @@ Functione8307: ; e8307
.asm_e8335 .asm_e8335
ld a, d ld a, d
inc a inc a
cp a, $1e cp a, 30
jr c, .asm_e833c jr c, .asm_e833c
xor a xor a
.asm_e833c .asm_e833c
or a, $80 or a, $80
ld [$c2a6], a ld [Danger], a
; is hw ch1 on? ; is hw ch1 on?
ld a, [SoundOutput] ld a, [SoundOutput]
and a, $11 and a, $11

View File

@ -4,6 +4,7 @@ ULTRA_BALL EQU $02
BRIGHTPOWDER EQU $03 BRIGHTPOWDER EQU $03
GREAT_BALL EQU $04 GREAT_BALL EQU $04
POKE_BALL EQU $05 POKE_BALL EQU $05
TOWN_MAP EQU $06
BICYCLE EQU $07 BICYCLE EQU $07
MOON_STONE EQU $08 MOON_STONE EQU $08
ANTIDOTE EQU $09 ANTIDOTE EQU $09
@ -22,6 +23,7 @@ MAX_ELIXER EQU $15
FIRE_STONE EQU $16 FIRE_STONE EQU $16
THUNDERSTONE EQU $17 THUNDERSTONE EQU $17
WATER_STONE EQU $18 WATER_STONE EQU $18
ITEM_19 EQU $19
HP_UP EQU $1A HP_UP EQU $1A
PROTEIN EQU $1B PROTEIN EQU $1B
IRON EQU $1C IRON EQU $1C
@ -41,15 +43,18 @@ GUARD_SPEC EQU $29
SUPER_REPEL EQU $2A SUPER_REPEL EQU $2A
MAX_REPEL EQU $2B MAX_REPEL EQU $2B
DIRE_HIT EQU $2C DIRE_HIT EQU $2C
ITEM_2D EQU $2D
FRESH_WATER EQU $2E FRESH_WATER EQU $2E
SODA_POP EQU $2F SODA_POP EQU $2F
LEMONADE EQU $30 LEMONADE EQU $30
X_ATTACK EQU $31 X_ATTACK EQU $31
ITEM_32 EQU $32
X_DEFEND EQU $33 X_DEFEND EQU $33
X_SPEED EQU $34 X_SPEED EQU $34
X_SPECIAL EQU $35 X_SPECIAL EQU $35
COIN_CASE EQU $36 COIN_CASE EQU $36
ITEMFINDER EQU $37 ITEMFINDER EQU $37
POKE_FLUTE EQU $38
EXP_SHARE EQU $39 EXP_SHARE EQU $39
OLD_ROD EQU $3A OLD_ROD EQU $3A
GOOD_ROD EQU $3B GOOD_ROD EQU $3B
@ -83,6 +88,7 @@ TINYMUSHROOM EQU $56
BIG_MUSHROOM EQU $57 BIG_MUSHROOM EQU $57
SILVERPOWDER EQU $58 SILVERPOWDER EQU $58
BLU_APRICORN EQU $59 BLU_APRICORN EQU $59
ITEM_5A EQU $5A
AMULET_COIN EQU $5B AMULET_COIN EQU $5B
YLW_APRICORN EQU $5C YLW_APRICORN EQU $5C
GRN_APRICORN EQU $5D GRN_APRICORN EQU $5D
@ -92,6 +98,7 @@ TWISTEDSPOON EQU $60
WHT_APRICORN EQU $61 WHT_APRICORN EQU $61
BLACKBELT EQU $62 BLACKBELT EQU $62
BLK_APRICORN EQU $63 BLK_APRICORN EQU $63
ITEM_64 EQU $64
PNK_APRICORN EQU $65 PNK_APRICORN EQU $65
BLACKGLASSES EQU $66 BLACKGLASSES EQU $66
SLOWPOKETAIL EQU $67 SLOWPOKETAIL EQU $67
@ -111,6 +118,7 @@ BLUE_CARD EQU $74
MIRACLE_SEED EQU $75 MIRACLE_SEED EQU $75
THICK_CLUB EQU $76 THICK_CLUB EQU $76
FOCUS_BAND EQU $77 FOCUS_BAND EQU $77
ITEM_78 EQU $78
ENERGYPOWDER EQU $79 ENERGYPOWDER EQU $79
ENERGY_ROOT EQU $7A ENERGY_ROOT EQU $7A
HEAL_POWDER EQU $7B HEAL_POWDER EQU $7B
@ -125,21 +133,34 @@ STARDUST EQU $83
STAR_PIECE EQU $84 STAR_PIECE EQU $84
BASEMENT_KEY EQU $85 BASEMENT_KEY EQU $85
PASS EQU $86 PASS EQU $86
ITEM_87 EQU $87
ITEM_88 EQU $88
ITEM_89 EQU $89
CHARCOAL EQU $8A CHARCOAL EQU $8A
BERRY_JUICE EQU $8B BERRY_JUICE EQU $8B
SCOPE_LENS EQU $8C SCOPE_LENS EQU $8C
ITEM_8D EQU $8D
ITEM_8E EQU $8E
METAL_COAT EQU $8F METAL_COAT EQU $8F
DRAGON_FANG EQU $90 DRAGON_FANG EQU $90
ITEM_91 EQU $91
LEFTOVERS EQU $92 LEFTOVERS EQU $92
ITEM_93 EQU $93
ITEM_94 EQU $94
ITEM_95 EQU $95
MYSTERYBERRY EQU $96 MYSTERYBERRY EQU $96
DRAGON_SCALE EQU $97 DRAGON_SCALE EQU $97
BERSERK_GENE EQU $98 BERSERK_GENE EQU $98
ITEM_99 EQU $99
ITEM_9A EQU $9A
ITEM_9B EQU $9B
SACRED_ASH EQU $9C SACRED_ASH EQU $9C
HEAVY_BALL EQU $9D HEAVY_BALL EQU $9D
FLOWER_MAIL EQU $9E FLOWER_MAIL EQU $9E
LEVEL_BALL EQU $9F LEVEL_BALL EQU $9F
LURE_BALL EQU $A0 LURE_BALL EQU $A0
FAST_BALL EQU $A1 FAST_BALL EQU $A1
ITEM_A2 EQU $A2
LIGHT_BALL EQU $A3 LIGHT_BALL EQU $A3
FRIEND_BALL EQU $A4 FRIEND_BALL EQU $A4
MOON_BALL EQU $A5 MOON_BALL EQU $A5
@ -148,12 +169,15 @@ NORMAL_BOX EQU $A7
GORGEOUS_BOX EQU $A8 GORGEOUS_BOX EQU $A8
SUN_STONE EQU $A9 SUN_STONE EQU $A9
POLKADOT_BOW EQU $AA POLKADOT_BOW EQU $AA
ITEM_AB EQU $AB
UP_GRADE EQU $AC UP_GRADE EQU $AC
BERRY EQU $AD BERRY EQU $AD
GOLD_BERRY EQU $AE GOLD_BERRY EQU $AE
SQUIRTBOTTLE EQU $AF SQUIRTBOTTLE EQU $AF
ITEM_B0 EQU $B0
PARK_BALL EQU $B1 PARK_BALL EQU $B1
RAINBOW_WING EQU $B2 RAINBOW_WING EQU $B2
ITEM_B3 EQU $B3
BRICK_PIECE EQU $B4 BRICK_PIECE EQU $B4
SURF_MAIL EQU $B5 SURF_MAIL EQU $B5
LITEBLUEMAIL EQU $B6 LITEBLUEMAIL EQU $B6
@ -164,10 +188,12 @@ MORPH_MAIL EQU $BA
BLUESKY_MAIL EQU $BB BLUESKY_MAIL EQU $BB
MUSIC_MAIL EQU $BC MUSIC_MAIL EQU $BC
MIRAGE_MAIL EQU $BD MIRAGE_MAIL EQU $BD
ITEM_BE EQU $BE
TM_01 EQU $BF TM_01 EQU $BF
TM_02 EQU $C0 TM_02 EQU $C0
TM_03 EQU $C1 TM_03 EQU $C1
TM_04 EQU $C2 TM_04 EQU $C2
ITEM_C3 EQU $C3
TM_05 EQU $C4 TM_05 EQU $C4
TM_06 EQU $C5 TM_06 EQU $C5
TM_07 EQU $C6 TM_07 EQU $C6
@ -192,6 +218,7 @@ TM_25 EQU $D8
TM_26 EQU $D9 TM_26 EQU $D9
TM_27 EQU $DA TM_27 EQU $DA
TM_28 EQU $DB TM_28 EQU $DB
ITEM_DC EQU $DC
TM_29 EQU $DD TM_29 EQU $DD
TM_30 EQU $DE TM_30 EQU $DE
TM_31 EQU $DF TM_31 EQU $DF
@ -221,6 +248,7 @@ HM_04 EQU $F6
HM_05 EQU $F7 HM_05 EQU $F7
HM_06 EQU $F8 HM_06 EQU $F8
HM_07 EQU $F9 HM_07 EQU $F9
HM_08 EQU $FA
NUM_TMS EQU HM_01 - TM_01 - 2 NUM_TMS EQU HM_01 - TM_01 - 2
@ -231,8 +259,8 @@ BALL EQU 3
TM_HM EQU 4 TM_HM EQU 4
; item actions ; item actions
CANT_SELECT EQU %01000000 CANT_SELECT EQU 1 << 6
CANT_TOSS EQU %10000000 CANT_TOSS EQU 1 << 7
; held item effects ; held item effects
HELD_BERRY EQU $01 HELD_BERRY EQU $01

View File

@ -29,7 +29,8 @@ SPECIAL_HOOHCHAMBER EQU $008d
SPECIAL_CELEBI EQU $008f SPECIAL_CELEBI EQU $008f
SPECIAL_AFTERCELEBI EQU $0090 SPECIAL_AFTERCELEBI EQU $0090
SPECIAL_POKESEER EQU $0091 SPECIAL_POKESEER EQU $0091
SPECIAL_BUENAS_PASSWORD EQU $0092
SPECIAL_BUENA_PRIZE EQU $0093
SPECIAL_DRATINI EQU $0094 SPECIAL_DRATINI EQU $0094
SPECIAL_BEASTSCHECK EQU $0096 SPECIAL_BEASTSCHECK EQU $0096

View File

@ -255,3 +255,40 @@ UndergroundName: db "UNDERGROUND@"
BattleTowerName: db "BATTLE", $1f, "TOWER@" BattleTowerName: db "BATTLE", $1f, "TOWER@"
SpecialMapName: db "SPECIAL@" SpecialMapName: db "SPECIAL@"
RegionCheck: ; 0x1caea1
; Checks if the player is in Kanto or Johto.
; If in Johto, returns 0 in e.
; If in Kanto, returns 1 in e.
ld a, [MapGroup]
ld b, a
ld a, [MapNumber]
ld c, a
call GetWorldMapLocation
cp FAST_SHIP ; S.S. Aqua
jr z, .johto
cp SPECIAL_MAP
jr nz, .checkagain
; In a special map, get the backup map group / map id
ld a, [BackupMapGroup]
ld b, a
ld a, [BackupMapNumber]
ld c, a
call GetWorldMapLocation
.checkagain
cp KANTO_LANDMARK
jr c, .johto
; Victory Road area is considered to be Johto.
cp VICTORY_ROAD
jr c, .kanto
.johto
ld e, 0
ret
.kanto
ld e, 1
ret

BIN
gfx/misc/chris.5x7.2bpp Normal file

Binary file not shown.

BIN
gfx/misc/chris.7x7.2bpp Normal file

Binary file not shown.

BIN
gfx/misc/kris.5x7.2bpp Normal file

Binary file not shown.

BIN
gfx/misc/kris.7x7.2bpp Normal file

Binary file not shown.

BIN
gfx/misc/kris_back.6x6.2bpp Normal file

Binary file not shown.

BIN
gfx/misc/trainer_card.2bpp Normal file

Binary file not shown.

View File

@ -842,10 +842,9 @@ NamesPointers:: ; 33ab
dbw 0, PartyMonOT dbw 0, PartyMonOT
dbw 0, OTPartyMonOT dbw 0, OTPartyMonOT
dbw BANK(TrainerClassNames), TrainerClassNames dbw BANK(TrainerClassNames), TrainerClassNames
dbw $04, $4b52 ; ???? dbw $04, MoveDescriptions ; ????
; 33c3 ; 33c3
GetName:: ; 33c3 GetName:: ; 33c3
; Return name CurSpecies from name list $cf61 in StringBuffer1. ; Return name CurSpecies from name list $cf61 in StringBuffer1.

View File

@ -43,7 +43,7 @@ Item2Attributes:
db $06 ; ball db $06 ; ball
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -195,7 +195,7 @@ Item2Attributes:
db $50 ; party menu db $50 ; party menu
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -355,7 +355,7 @@ Item2Attributes:
db $06 ; ball db $06 ; ball
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -395,7 +395,7 @@ Item2Attributes:
db $06 ; ball db $06 ; ball
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -443,7 +443,7 @@ Item2Attributes:
db $60 ; overworld db $60 ; overworld
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -715,7 +715,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -795,7 +795,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -955,7 +955,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1075,7 +1075,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1083,7 +1083,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1091,7 +1091,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1123,7 +1123,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1131,7 +1131,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1155,7 +1155,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1171,7 +1171,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1179,7 +1179,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1187,7 +1187,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1219,7 +1219,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1227,7 +1227,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1235,7 +1235,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1291,7 +1291,7 @@ Item2Attributes:
db $06 ; ball db $06 ; ball
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1363,7 +1363,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1403,7 +1403,7 @@ Item2Attributes:
db $60 ; overworld db $60 ; overworld
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1427,7 +1427,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1515,7 +1515,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1555,7 +1555,7 @@ Item2Attributes:
db $50 ; party menu db $50 ; party menu
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1755,7 +1755,7 @@ Item2Attributes:
db $50 ; party menu db $50 ; party menu
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -1995,7 +1995,7 @@ Item2Attributes:
db $50 ; party menu db $50 ; party menu
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -2003,7 +2003,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -2011,7 +2011,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -2019,7 +2019,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -2027,7 +2027,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -2035,7 +2035,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; TERU-SAMA ; TERU-SAMA
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss
@ -2043,7 +2043,7 @@ Item2Attributes:
db $00 ; can't use db $00 ; can't use
; ? ; ?
dw 39321 ; price dw $9999 ; price
db NONE ; effect db NONE ; effect
db 0 ; param db 0 ; param
db 0 ; can select + toss db 0 ; can select + toss

View File

@ -19,7 +19,7 @@ ItemEffects: ; e73c
dw Brightpowder dw Brightpowder
dw GreatBall dw GreatBall
dw PokeBall dw PokeBall
dw Item06 dw TownMap
dw Bicycle dw Bicycle
dw MoonStone dw MoonStone
dw Antidote dw Antidote
@ -69,7 +69,7 @@ ItemEffects: ; e73c
dw XSpecial dw XSpecial
dw CoinCase dw CoinCase
dw Itemfinder dw Itemfinder
dw Item38 dw PokeFlute
dw ExpShare dw ExpShare
dw OldRod dw OldRod
dw GoodRod dw GoodRod
@ -1152,7 +1152,7 @@ Functionedfa: ; edfa (3:6dfa)
callba Function2715c callba Function2715c
ret ret
Item06: ; ee01 TownMap: ; ee01
callba Function91ae1 callba Function91ae1
ret ret
; ee08 ; ee08
@ -2374,7 +2374,7 @@ Tablef504: ; f504
; f50c ; f50c
Item38: ; f50c PokeFlute: ; f50c
ld a, [IsInBattle] ld a, [IsInBattle]
and a and a
jr nz, .asm_f512 jr nz, .asm_f512

File diff suppressed because it is too large Load Diff

2726
main.asm

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ BugsyScript_0x18ec1e: ; 0x18ec1e
setevent EVENT_BEAT_BUGSY setevent EVENT_BEAT_BUGSY
loadfont loadfont
2writetext UnknownText_0x18ee14 2writetext UnknownText_0x18ee14
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $001c setflag $001c
checkcode $7 checkcode $7

View File

@ -53,7 +53,7 @@ UnknownScript_0x198034: ; 0x198034
applymovement $b, MovementData_0x19813c applymovement $b, MovementData_0x19813c
spriteface $0, $1 spriteface $0, $1
UnknownScript_0x198049: ; 0x198049 UnknownScript_0x198049: ; 0x198049
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x19814d 2writetext UnknownText_0x19814d
closetext closetext
@ -93,14 +93,14 @@ UnknownScript_0x198081: ; 0x198081
; 0x198091 ; 0x198091
UnknownScript_0x198091: ; 0x198091 UnknownScript_0x198091: ; 0x198091
playmusic $0020 playmusic MUSIC_RIVAL_AFTER
loadfont loadfont
2writetext UnknownText_0x198233 2writetext UnknownText_0x198233
closetext closetext
loadmovesprites loadmovesprites
spriteface $0, $2 spriteface $0, $2
applymovement $b, MovementData_0x198144 applymovement $b, MovementData_0x198144
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $b disappear $b
dotrigger $0 dotrigger $0
waitbutton waitbutton

View File

@ -308,6 +308,7 @@ MovementData_0x9e578: ; 0x9e578
MovementData_0x9e57a: ; 0x9e57a MovementData_0x9e57a: ; 0x9e57a
step_right step_right
step_right step_right
MovementData_0x9e57c: ; 0x9e57c
step_right step_right
step_right step_right
step_up step_up
@ -319,8 +320,10 @@ MovementData_0x9e57a: ; 0x9e57a
MovementData_0x9e582: ; 0x9e582 MovementData_0x9e582: ; 0x9e582
step_left step_left
step_left step_left
MovementData_0x9e584: ; 0x9e584
step_left step_left
step_left step_left
MovementData_0x9e586: ; 0x9e586
step_left step_left
step_left step_left
step_up step_up

View File

@ -48,7 +48,7 @@ UnknownScript_0x9f425: ; 0x9f425
2writetext UnknownText_0x9ee92 2writetext UnknownText_0x9ee92
closetext closetext
loadmovesprites loadmovesprites
playmusic $000d playmusic MUSIC_HEAL
special $002e special $002e
special $00a4 special $00a4
pause 60 pause 60
@ -75,7 +75,7 @@ UnknownScript_0x9f483: ; 0x9f483
special $0086 special $0086
writebyte $3 writebyte $3
special $0086 special $0086
playsound $0025 playsound SFX_SAVE
waitbutton waitbutton
special $002e special $002e
special $007e special $007e

View File

@ -25,7 +25,7 @@ UnknownScript_0x9f568: ; 0x9f568
applymovement $0, MovementData_0x9f592 applymovement $0, MovementData_0x9f592
writebyte $a writebyte $a
special $0086 special $0086
playsound $006e playsound SFX_ELEVATOR
earthquake 60 earthquake 60
waitbutton waitbutton
follow $2, $0 follow $2, $0

View File

@ -55,17 +55,17 @@ UnknownScript_0x9f5dc: ; 0x9f5dc
; 0x9f603 ; 0x9f603
UnknownScript_0x9f603: ; 0x9f603 UnknownScript_0x9f603: ; 0x9f603
applymovement $2, $657c applymovement $2, MovementData_0x9e57c
2jump UnknownScript_0x9f61f 2jump UnknownScript_0x9f61f
; 0x9f60a ; 0x9f60a
UnknownScript_0x9f60a: ; 0x9f60a UnknownScript_0x9f60a: ; 0x9f60a
applymovement $2, $6586 applymovement $2, MovementData_0x9e586
2jump UnknownScript_0x9f61f 2jump UnknownScript_0x9f61f
; 0x9f611 ; 0x9f611
UnknownScript_0x9f611: ; 0x9f611 UnknownScript_0x9f611: ; 0x9f611
applymovement $2, $6584 applymovement $2, MovementData_0x9e584
2jump UnknownScript_0x9f61f 2jump UnknownScript_0x9f61f
; 0x9f618 ; 0x9f618
@ -81,7 +81,7 @@ UnknownScript_0x9f61f: ; 0x9f61f
closetext closetext
loadmovesprites loadmovesprites
stopfollow stopfollow
applymovement $0, $6576 applymovement $0, MovementData_0x9e576
warpcheck warpcheck
end end
; 0x9f62f ; 0x9f62f

View File

@ -72,7 +72,7 @@ UnknownScript_0x194e69: ; 0x194e69
iffalse UnknownScript_0x194e8e iffalse UnknownScript_0x194e8e
itemtotext TM_24, $0 itemtotext TM_24, $0
2writetext UnknownText_0x1951bf 2writetext UnknownText_0x1951bf
playsound $0001 playsound SFX_ITEM
waitbutton waitbutton
itemnotify itemnotify
setevent EVENT_GOT_TM24_DRAGONBREATH setevent EVENT_GOT_TM24_DRAGONBREATH

View File

@ -59,7 +59,7 @@ UnknownScript_0x19574c: ; 0x19574c
; 0x195758 ; 0x195758
UnknownScript_0x195758: ; 0x195758 UnknownScript_0x195758: ; 0x195758
playsound $001b playsound SFX_STRENGTH
earthquake 80 earthquake 80
end end
; 0x19575e ; 0x19575e

View File

@ -33,7 +33,7 @@ UnknownScript_0x19b0de: ; 0x19b0de
closetext closetext
loadmovesprites loadmovesprites
special $002e special $002e
playmusic $000d playmusic MUSIC_HEAL
pause 60 pause 60
special $0031 special $0031
special $003d special $003d

View File

@ -38,7 +38,7 @@ UnknownScript_0x1809ac: ; 0x1809ac
UnknownScript_0x1809ad: ; 0x1809ad UnknownScript_0x1809ad: ; 0x1809ad
applymovement $0, MovementData_0x1809f9 applymovement $0, MovementData_0x1809f9
refreshscreen $86 refreshscreen $86
playsound $001b playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $e, $2a changeblock $4, $e, $2a
reloadmappart reloadmappart
@ -66,7 +66,7 @@ BrunoScript_0x1809c5: ; 0x1809c5
2writetext UnknownText_0x180b3c 2writetext UnknownText_0x180b3c
closetext closetext
loadmovesprites loadmovesprites
playsound $001f playsound SFX_ENTER_DOOR
changeblock $4, $2, $16 changeblock $4, $2, $16
reloadmappart reloadmappart
loadmovesprites loadmovesprites

View File

@ -61,7 +61,7 @@ UnknownScript_0x185c25: ; 0x185c25
pause 15 pause 15
applymovement $0, MovementData_0x185ccd applymovement $0, MovementData_0x185ccd
applymovement $4, MovementData_0x185ccf applymovement $4, MovementData_0x185ccf
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x185cd9 2writetext UnknownText_0x185cd9
closetext closetext
@ -100,7 +100,7 @@ UnknownScript_0x185c70: ; 0x185c70
; 0x185c80 ; 0x185c80
UnknownScript_0x185c80: ; 0x185c80 UnknownScript_0x185c80: ; 0x185c80
playmusic $0020 playmusic MUSIC_RIVAL_AFTER
loadfont loadfont
2writetext UnknownText_0x185de2 2writetext UnknownText_0x185de2
closetext closetext
@ -111,13 +111,13 @@ UnknownScript_0x185c80: ; 0x185c80
pause 15 pause 15
earthquake 50 earthquake 50
showemote $0, $0, 15 showemote $0, $0, 15
playsound $001f playsound SFX_ENTER_DOOR
waitbutton waitbutton
changeblock $a, $8, $25 changeblock $a, $8, $25
reloadmappart reloadmappart
pause 15 pause 15
applymovement $0, MovementData_0x185cd1 applymovement $0, MovementData_0x185cd1
playsound $002f playsound SFX_KINESIS
showemote $0, $4, 20 showemote $0, $4, 20
loadfont loadfont
2writetext UnknownText_0x185e75 2writetext UnknownText_0x185e75

View File

@ -31,7 +31,7 @@ UnknownScript_0x18616a: ; 0x18616a
; 0x18616b ; 0x18616b
UnknownScript_0x18616b: ; 0x18616b UnknownScript_0x18616b: ; 0x18616b
playmusic $0000 playmusic MUSIC_NONE
pause 30 pause 30
appear $3 appear $3
spriteface $0, $1 spriteface $0, $1
@ -52,28 +52,28 @@ UnknownScript_0x18616b: ; 0x18616b
pause 15 pause 15
cry SUICUNE cry SUICUNE
pause 15 pause 15
playsound $0014 playsound SFX_WARP_FROM
spriteface $0, $2 spriteface $0, $2
applymovement $3, MovementData_0x186236 applymovement $3, MovementData_0x186236
disappear $3 disappear $3
waitbutton waitbutton
playsound $0014 playsound SFX_WARP_FROM
spriteface $0, $3 spriteface $0, $3
applymovement $4, MovementData_0x18623b applymovement $4, MovementData_0x18623b
disappear $4 disappear $4
waitbutton waitbutton
pause 15 pause 15
playsound $0014 playsound SFX_WARP_FROM
spriteface $0, $1 spriteface $0, $1
applymovement $5, MovementData_0x186241 applymovement $5, MovementData_0x186241
playsound $0014 playsound SFX_WARP_FROM
spriteface $0, $0 spriteface $0, $0
applymovement $5, MovementData_0x186248 applymovement $5, MovementData_0x186248
spriteface $0, $1 spriteface $0, $1
pause 20 pause 20
cry SUICUNE cry SUICUNE
pause 30 pause 30
playsound $0014 playsound SFX_WARP_FROM
applymovement $5, MovementData_0x186253 applymovement $5, MovementData_0x186253
spriteface $0, $0 spriteface $0, $0
disappear $5 disappear $5
@ -114,7 +114,7 @@ UnknownScript_0x186226: ; 0x186226
applymovement $a, MovementData_0x18625c applymovement $a, MovementData_0x18625c
UnknownScript_0x18622a: ; 0x18622a UnknownScript_0x18622a: ; 0x18622a
disappear $a disappear $a
playsound $0023 playsound SFX_EXIT_BUILDING
waitbutton waitbutton
end end
; 0x186231 ; 0x186231

View File

@ -99,7 +99,7 @@ MapCeladonCafeSignpost1Script: ; 0x730b0
loadfont loadfont
itemtotext LEFTOVERS, $0 itemtotext LEFTOVERS, $0
2writetext UnknownText_0x732e7 2writetext UnknownText_0x732e7
playsound $0001 playsound SFX_ITEM
waitbutton waitbutton
itemnotify itemnotify
loadmovesprites loadmovesprites

View File

@ -70,7 +70,7 @@ UnknownScript_0x711ce: ; 0x711ce
UnknownScript_0x711e8: ; 0x711e8 UnknownScript_0x711e8: ; 0x711e8
pause 10 pause 10
playsound $001f playsound SFX_ENTER_DOOR
2writetext UnknownText_0x71274 2writetext UnknownText_0x71274
keeptextopen keeptextopen
itemnotify itemnotify

View File

@ -12,7 +12,7 @@ MapCeladonDeptStoreElevatorSignpost0Script: ; 0x713ad
loadmovesprites loadmovesprites
iffalse UnknownScript_0x713bd iffalse UnknownScript_0x713bd
pause 5 pause 5
playsound $006e playsound SFX_ELEVATOR
earthquake 60 earthquake 60
waitbutton waitbutton
UnknownScript_0x713bd: ; 0x713bd UnknownScript_0x713bd: ; 0x713bd

View File

@ -77,7 +77,7 @@ UnknownScript_0x72768: ; 0x72768
UnknownScript_0x7276d: ; 0x7276d UnknownScript_0x7276d: ; 0x7276d
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
2writetext UnknownText_0x729ad 2writetext UnknownText_0x729ad
closetext closetext
2jump UnknownScript_0x726fd 2jump UnknownScript_0x726fd
@ -158,7 +158,7 @@ UnknownScript_0x727ed: ; 0x727ed
2call UnknownScript_0x72768 2call UnknownScript_0x72768
iffalse UnknownScript_0x72784 iffalse UnknownScript_0x72784
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
2writetext UnknownText_0x729ad 2writetext UnknownText_0x729ad
closetext closetext
writebyte PIKACHU writebyte PIKACHU
@ -177,7 +177,7 @@ UnknownScript_0x7281b: ; 0x7281b
2call UnknownScript_0x72768 2call UnknownScript_0x72768
iffalse UnknownScript_0x72784 iffalse UnknownScript_0x72784
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
2writetext UnknownText_0x729ad 2writetext UnknownText_0x729ad
closetext closetext
writebyte PORYGON writebyte PORYGON
@ -196,7 +196,7 @@ UnknownScript_0x72849: ; 0x72849
2call UnknownScript_0x72768 2call UnknownScript_0x72768
iffalse UnknownScript_0x72784 iffalse UnknownScript_0x72784
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
2writetext UnknownText_0x729ad 2writetext UnknownText_0x729ad
closetext closetext
writebyte LARVITAR writebyte LARVITAR

View File

@ -25,7 +25,7 @@ ErikaScript_0x72a6a: ; 0x72a6a
setevent EVENT_BEAT_TWINS_JO_AND_ZOE setevent EVENT_BEAT_TWINS_JO_AND_ZOE
loadfont loadfont
2writetext UnknownText_0x72c96 2writetext UnknownText_0x72c96
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $0026 setflag $0026
UnknownScript_0x72a9b: ; 0x72a9b UnknownScript_0x72a9b: ; 0x72a9b

View File

@ -20,7 +20,7 @@ CooltrainerMScript_0x71670: ; 0x71670
UnknownScript_0x7167e: ; 0x7167e UnknownScript_0x7167e: ; 0x7167e
keeptextopen keeptextopen
2writetext UnknownText_0x71725 2writetext UnknownText_0x71725
playsound $00a3 playsound SFX_DEX_FANFARE_230_PLUS
waitbutton waitbutton
2writetext UnknownText_0x71760 2writetext UnknownText_0x71760
keeptextopen keeptextopen

View File

@ -53,7 +53,7 @@ UnknownScript_0x71e5a: ; 0x71e5a
applymovement $6, MovementData_0x71e65 applymovement $6, MovementData_0x71e65
UnknownScript_0x71e5e: ; 0x71e5e UnknownScript_0x71e5e: ; 0x71e5e
disappear $6 disappear $6
playsound $0023 playsound SFX_EXIT_BUILDING
waitbutton waitbutton
end end
; 0x71e65 ; 0x71e65

View File

@ -103,21 +103,21 @@ YoungsterScript_0x184064: ; 0x184064
UnknownScript_0x184072: ; 0x184072 UnknownScript_0x184072: ; 0x184072
waitbutton waitbutton
playsound $0012 playsound SFX_SECOND_PART_OF_ITEMFINDER
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
waitbutton waitbutton
playsound $0012 playsound SFX_SECOND_PART_OF_ITEMFINDER
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
waitbutton waitbutton
playsound $0012 playsound SFX_SECOND_PART_OF_ITEMFINDER
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
waitbutton waitbutton
playsound $0012 playsound SFX_SECOND_PART_OF_ITEMFINDER
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
waitbutton waitbutton
showemote $0, $7, 15 showemote $0, $7, 15
spriteface $7, $2 spriteface $7, $2

View File

@ -21,9 +21,9 @@ UnknownScript_0x1883da: ; 0x1883da
UnknownScript_0x1883de: ; 0x1883de UnknownScript_0x1883de: ; 0x1883de
applymovement $2, MovementData_0x1884e3 applymovement $2, MovementData_0x1884e3
playsound $0041 playsound SFX_TACKLE
applymovement $2, MovementData_0x1884eb applymovement $2, MovementData_0x1884eb
playmusic $0039 playmusic MUSIC_ROCKET_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x1884fb 2writetext UnknownText_0x1884fb
closetext closetext
@ -40,7 +40,7 @@ UnknownScript_0x1883de: ; 0x1883de
closetext closetext
loadmovesprites loadmovesprites
applymovement $2, MovementData_0x1884e8 applymovement $2, MovementData_0x1884e8
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $2 disappear $2
setevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM setevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
clearevent $076c clearevent $076c
@ -74,7 +74,7 @@ MistyScript_0x188432: ; 0x188432
setevent EVENT_BEAT_SWIMMERM_PARKER setevent EVENT_BEAT_SWIMMERM_PARKER
loadfont loadfont
2writetext UnknownText_0x188768 2writetext UnknownText_0x188768
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $0024 setflag $0024
UnknownScript_0x188460: ; 0x188460 UnknownScript_0x188460: ; 0x188460

View File

@ -40,7 +40,7 @@ UnknownScript_0x19c01f: ; 0x19c01f
2writetext UnknownText_0x19c26f 2writetext UnknownText_0x19c26f
closetext closetext
loadmovesprites loadmovesprites
playmusic $0011 playmusic MUSIC_SHOW_ME_AROUND
follow $2, $0 follow $2, $0
applymovement $2, MovementData_0x19c195 applymovement $2, MovementData_0x19c195
loadfont loadfont
@ -85,7 +85,7 @@ UnknownScript_0x19c01f: ; 0x19c01f
special $003d special $003d
spriteface $0, $1 spriteface $0, $1
applymovement $2, MovementData_0x19c1cb applymovement $2, MovementData_0x19c1cb
playsound $001f playsound SFX_ENTER_DOOR
disappear $2 disappear $2
clearevent EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE clearevent EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE
waitbutton waitbutton
@ -118,7 +118,7 @@ UnknownScript_0x19c0ae: ; 0x19c0ae
appear $3 appear $3
applymovement $3, MovementData_0x19c1ce applymovement $3, MovementData_0x19c1ce
spriteface $0, $3 spriteface $0, $3
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x19c4e2 2writetext UnknownText_0x19c4e2
closetext closetext
@ -163,7 +163,7 @@ UnknownScript_0x19c104: ; 0x19c104
; 0x19c11a ; 0x19c11a
UnknownScript_0x19c11a: ; 0x19c11a UnknownScript_0x19c11a: ; 0x19c11a
playmusic $0020 playmusic MUSIC_RIVAL_AFTER
loadfont loadfont
2writetext UnknownText_0x19c608 2writetext UnknownText_0x19c608
closetext closetext
@ -172,13 +172,13 @@ UnknownScript_0x19c11a: ; 0x19c11a
; 0x19c126 ; 0x19c126
UnknownScript_0x19c126: ; 0x19c126 UnknownScript_0x19c126: ; 0x19c126
playmusic $0020 playmusic MUSIC_RIVAL_AFTER
loadfont loadfont
2writetext UnknownText_0x19c59e 2writetext UnknownText_0x19c59e
closetext closetext
loadmovesprites loadmovesprites
UnknownScript_0x19c12f: ; 0x19c12f UnknownScript_0x19c12f: ; 0x19c12f
playsound $0041 playsound SFX_TACKLE
applymovement $0, MovementData_0x19c1d4 applymovement $0, MovementData_0x19c1d4
spriteface $0, $2 spriteface $0, $2
applymovement $3, MovementData_0x19c1da applymovement $3, MovementData_0x19c1da

View File

@ -36,11 +36,11 @@ UnknownScript_0x1a001e: ; 0x1a001e
spriteface $0, $1 spriteface $0, $1
showemote $0, $0, 15 showemote $0, $0, 15
pause 15 pause 15
playsound $0014 playsound SFX_WARP_FROM
applymovement $d, MovementData_0x1a00da applymovement $d, MovementData_0x1a00da
spriteface $0, $0 spriteface $0, $0
pause 15 pause 15
playsound $0014 playsound SFX_WARP_FROM
applymovement $d, MovementData_0x1a00e0 applymovement $d, MovementData_0x1a00e0
disappear $d disappear $d
pause 10 pause 10
@ -50,7 +50,7 @@ UnknownScript_0x1a001e: ; 0x1a001e
checkevent $0333 checkevent $0333
iftrue UnknownScript_0x1a0083 iftrue UnknownScript_0x1a0083
setevent $0333 setevent $0333
playmusic $0061 playmusic MUSIC_MYSTICALMAN_ENCOUNTER
appear $c appear $c
applymovement $c, MovementData_0x1a00e7 applymovement $c, MovementData_0x1a00e7
loadfont loadfont
@ -63,7 +63,7 @@ UnknownScript_0x1a001e: ; 0x1a001e
startbattle startbattle
reloadmapmusic reloadmapmusic
returnafterbattle returnafterbattle
playmusic $0061 playmusic MUSIC_MYSTICALMAN_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x1a05c3 2writetext UnknownText_0x1a05c3
closetext closetext

View File

@ -20,7 +20,7 @@ ChuckScript_0x9d60f: ; 0x9d60f
closetext closetext
loadmovesprites loadmovesprites
applymovement $7, MovementData_0x9d6f3 applymovement $7, MovementData_0x9d6f3
playsound $001b playsound SFX_STRENGTH
earthquake 80 earthquake 80
disappear $7 disappear $7
pause 30 pause 30
@ -36,7 +36,7 @@ ChuckScript_0x9d60f: ; 0x9d60f
setevent EVENT_BEAT_CHUCK setevent EVENT_BEAT_CHUCK
loadfont loadfont
2writetext UnknownText_0x9d835 2writetext UnknownText_0x9d835
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $0020 setflag $0020
checkcode $7 checkcode $7

View File

@ -24,7 +24,7 @@ PharmacistScript_0x9df9e: ; 0x9df9e
keeptextopen keeptextopen
giveitem SECRETPOTION, $1 giveitem SECRETPOTION, $1
2writetext UnknownText_0x9e056 2writetext UnknownText_0x9e056
playsound $0091 playsound SFX_KEY_ITEM
waitbutton waitbutton
itemnotify itemnotify
setevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY setevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY

View File

@ -21,7 +21,7 @@ BlueScript_0x1ac9b0: ; 0x1ac9b0
2writetext UnknownText_0x1ac9d2 2writetext UnknownText_0x1ac9d2
closetext closetext
loadmovesprites loadmovesprites
playsound $0013 playsound SFX_WARP_TO
applymovement $2, MovementData_0x1ac9d0 applymovement $2, MovementData_0x1ac9d0
disappear $2 disappear $2
clearevent $0776 clearevent $0776

View File

@ -37,7 +37,7 @@ GrampsScript_0x62f8f: ; 0x62f8f
special $007d special $007d
loadfont loadfont
2writetext UnknownText_0x631ae 2writetext UnknownText_0x631ae
playsound $0091 playsound SFX_KEY_ITEM
waitbutton waitbutton
2writetext UnknownText_0x631c3 2writetext UnknownText_0x631c3
closetext closetext

View File

@ -119,9 +119,9 @@ UnknownScript_0x18d100: ; 0x18d100
2writetext UnknownText_0x18d47c 2writetext UnknownText_0x18d47c
closetext closetext
loadmovesprites loadmovesprites
playsound $001f playsound SFX_ENTER_DOOR
showemote $0, $0, 15 showemote $0, $0, 15
playmusic $005d playmusic MUSIC_CLAIR
appear $5 appear $5
waitbutton waitbutton
spriteface $0, $0 spriteface $0, $0
@ -161,7 +161,7 @@ UnknownScript_0x18d100: ; 0x18d100
2writetext UnknownText_0x18d9bf 2writetext UnknownText_0x18d9bf
closetext closetext
setflag $0022 setflag $0022
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
special $003d special $003d
specialphonecall $8 specialphonecall $8
@ -185,7 +185,7 @@ UnknownScript_0x18d100: ; 0x18d100
closetext closetext
loadmovesprites loadmovesprites
applymovement $5, MovementData_0x18d2e3 applymovement $5, MovementData_0x18d2e3
playsound $001f playsound SFX_ENTER_DOOR
disappear $5 disappear $5
waitbutton waitbutton
setevent $0000 setevent $0000
@ -215,7 +215,7 @@ UnknownScript_0x18d1c5: ; 0x18d1c5
checkcode $1 checkcode $1
if_equal $6, UnknownScript_0x18d1ed if_equal $6, UnknownScript_0x18d1ed
2writetext UnknownText_0x18d697 2writetext UnknownText_0x18d697
playsound $0002 playsound SFX_CAUGHT_MON
waitbutton waitbutton
givepoke DRATINI, 15, 0, 0 givepoke DRATINI, 15, 0, 0
checkevent $00c1 checkevent $00c1

View File

@ -50,7 +50,7 @@ UnknownScript_0x18c8b8: ; 0x18c8b8
loadmovesprites loadmovesprites
showemote $0, $0, 15 showemote $0, $0, 15
spriteface $0, $2 spriteface $0, $2
playmusic $005d playmusic MUSIC_CLAIR
applymovement $3, MovementData_0x18c9ae applymovement $3, MovementData_0x18c9ae
loadfont loadfont
2writetext UnknownText_0x18c9bf 2writetext UnknownText_0x18c9bf
@ -59,7 +59,7 @@ UnknownScript_0x18c8b8: ; 0x18c8b8
iffalse UnknownScript_0x18c8f4 iffalse UnknownScript_0x18c8f4
itemtotext TM_24, $0 itemtotext TM_24, $0
2writetext UnknownText_0x18c9fb 2writetext UnknownText_0x18c9fb
playsound $0001 playsound SFX_ITEM
waitbutton waitbutton
itemnotify itemnotify
setevent EVENT_GOT_TM24_DRAGONBREATH setevent EVENT_GOT_TM24_DRAGONBREATH
@ -208,7 +208,7 @@ PokeBallScript_0x18c95a: ; 0x18c95a
loadfont loadfont
itemtotext DRAGON_FANG, $0 itemtotext DRAGON_FANG, $0
2writetext UnknownText_0x18cf41 2writetext UnknownText_0x18cf41
playsound $0001 playsound SFX_ITEM
waitbutton waitbutton
itemnotify itemnotify
loadmovesprites loadmovesprites
@ -227,7 +227,7 @@ UnknownScript_0x18c970: ; 0x18c970
; 0x18c97e ; 0x18c97e
SilverScript_0x18c97e: ; 0x18c97e SilverScript_0x18c97e: ; 0x18c97e
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
faceplayer faceplayer
loadfont loadfont
checkevent $0000 checkevent $0000
@ -542,7 +542,7 @@ DragonsDenB1F_MapEventHeader: ; 0x18cf73
person_event SPRITE_SILVER, 27, 24, $2, $22, 255, 255, $0, 0, SilverScript_0x18c97e, $06c6 person_event SPRITE_SILVER, 27, 24, $2, $22, 255, 255, $0, 0, SilverScript_0x18c97e, $06c6
person_event SPRITE_COOLTRAINER_M, 12, 24, $7, $0, 255, 255, $82, 4, TrainerCooltrainermDarin, $ffff person_event SPRITE_COOLTRAINER_M, 12, 24, $7, $0, 255, 255, $82, 4, TrainerCooltrainermDarin, $ffff
person_event SPRITE_COOLTRAINER_F, 12, 12, $6, $0, 255, 255, $82, 3, TrainerCooltrainerfCara, $ffff person_event SPRITE_COOLTRAINER_F, 12, 12, $6, $0, 255, 255, $82, 3, TrainerCooltrainerfCara, $ffff
person_event SPRITE_TWIN, 21, 8, $9, $0, 255, 255, $82, 1, $4932, $ffff person_event SPRITE_TWIN, 21, 8, $9, $0, 255, 255, $82, 1, TrainerTwinsLeaandpia1, $ffff
person_event SPRITE_TWIN, 22, 8, $9, $0, 255, 255, $82, 1, TrainerTwinsLeaandpia2, $ffff person_event SPRITE_TWIN, 22, 8, $9, $0, 255, 255, $82, 1, TrainerTwinsLeaandpia2, $ffff
person_event SPRITE_POKE_BALL, 8, 34, $1, $0, 255, 255, $1, 0, ItemFragment_0x18c9a1, $07bf person_event SPRITE_POKE_BALL, 8, 34, $1, $0, 255, 255, $1, 0, ItemFragment_0x18c9a1, $07bf
person_event SPRITE_POKE_BALL, 24, 9, $1, $0, 255, 255, $1, 0, ItemFragment_0x18c9a3, $07c0 person_event SPRITE_POKE_BALL, 24, 9, $1, $0, 255, 255, $1, 0, ItemFragment_0x18c9a3, $07c0

View File

@ -34,7 +34,7 @@ MortyScript_0x99d58: ; 0x99d58
setevent EVENT_BEAT_MORTY setevent EVENT_BEAT_MORTY
loadfont loadfont
2writetext UnknownText_0x9a043 2writetext UnknownText_0x9a043
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $001e setflag $001e
checkcode $7 checkcode $7
@ -93,7 +93,7 @@ UnknownScript_0x99dc6: ; 0x99dc6
applymovement $0, MovementData_0x99e5f applymovement $0, MovementData_0x99e5f
stopfollow stopfollow
special $002e special $002e
playsound $001f playsound SFX_ENTER_DOOR
waitbutton waitbutton
warp GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY, $6, $1b warp GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY, $6, $1b
end end

View File

@ -21,7 +21,7 @@ UnknownScript_0x98e63: ; 0x98e63
UnknownScript_0x98e64: ; 0x98e64 UnknownScript_0x98e64: ; 0x98e64
pause 30 pause 30
playsound $0023 playsound SFX_EXIT_BUILDING
appear $6 appear $6
waitbutton waitbutton
applymovement $6, MovementData_0x98ec5 applymovement $6, MovementData_0x98ec5
@ -48,7 +48,7 @@ UnknownScript_0x98e95: ; 0x98e95
loadmovesprites loadmovesprites
spriteface $0, $0 spriteface $0, $0
applymovement $6, MovementData_0x98ece applymovement $6, MovementData_0x98ece
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $6 disappear $6
clearevent $0712 clearevent $0712
setflag $0053 setflag $0053

View File

@ -70,7 +70,7 @@ UnknownScript_0x78ba5: ; 0x78ba5
2writetext UnknownText_0x7913a 2writetext UnknownText_0x7913a
closetext closetext
loadmovesprites loadmovesprites
playsound $00bc playsound SFX_GLASS_TING
pause 30 pause 30
showemote $0, $2, 10 showemote $0, $2, 10
spriteface $2, $0 spriteface $2, $0
@ -188,7 +188,7 @@ CyndaquilPokeBallScript: ; 0x78c73
waitbutton waitbutton
pokenamemem CYNDAQUIL, $0 pokenamemem CYNDAQUIL, $0
2writetext ReceivedStarterText 2writetext ReceivedStarterText
playsound $0002 playsound SFX_CAUGHT_MON
waitbutton waitbutton
keeptextopen keeptextopen
givepoke CYNDAQUIL, 5, BERRY, 0 givepoke CYNDAQUIL, 5, BERRY, 0
@ -219,7 +219,7 @@ TotodilePokeBallScript: ; 0x78cb5
waitbutton waitbutton
pokenamemem TOTODILE, $0 pokenamemem TOTODILE, $0
2writetext ReceivedStarterText 2writetext ReceivedStarterText
playsound $0002 playsound SFX_CAUGHT_MON
waitbutton waitbutton
keeptextopen keeptextopen
givepoke TOTODILE, 5, BERRY, 0 givepoke TOTODILE, 5, BERRY, 0
@ -248,7 +248,7 @@ ChikoritaPokeBallScript: ; 0x78cf1
waitbutton waitbutton
pokenamemem CHIKORITA, $0 pokenamemem CHIKORITA, $0
2writetext ReceivedStarterText 2writetext ReceivedStarterText
playsound $0002 playsound SFX_CAUGHT_MON
waitbutton waitbutton
keeptextopen keeptextopen
givepoke CHIKORITA, 5, BERRY, 0 givepoke CHIKORITA, 5, BERRY, 0
@ -273,7 +273,7 @@ ElmDirectionsScript: ; 0x78d33
addcellnum $4 addcellnum $4
loadfont loadfont
2writetext GotElmsNumberText 2writetext GotElmsNumberText
playsound $0093 playsound SFX_REGISTER_PHONE_NUMBER
waitbutton waitbutton
closetext closetext
loadmovesprites loadmovesprites
@ -330,7 +330,7 @@ UnknownScript_0x78d81: ; 0x78d81
UnknownScript_0x78d8a: ; 0x78d8a UnknownScript_0x78d8a: ; 0x78d8a
special $009d special $009d
special $001b special $001b
playmusic $0000 playmusic MUSIC_NONE
writebyte $1 writebyte $1
special $003e special $003e
pause 30 pause 30
@ -599,6 +599,7 @@ UnknownScript_0x78f12: ; 0x78f12
MeetCopScript: ; 0x78f16 MeetCopScript: ; 0x78f16
applymovement $0, MovementData_0x78f74 applymovement $0, MovementData_0x78f74
CopScript: ; 0x78f1a
spriteface $7, $2 spriteface $7, $2
loadfont loadfont
2writetext UnknownText_0x7a0f0 2writetext UnknownText_0x7a0f0
@ -1552,6 +1553,6 @@ ElmsLab_MapEventHeader: ; 0x7a3de
person_event SPRITE_POKE_BALL, 7, 10, $1, $0, 255, 255, $0, 0, CyndaquilPokeBallScript, $0640 person_event SPRITE_POKE_BALL, 7, 10, $1, $0, 255, 255, $0, 0, CyndaquilPokeBallScript, $0640
person_event SPRITE_POKE_BALL, 7, 11, $1, $0, 255, 255, $0, 0, TotodilePokeBallScript, $0641 person_event SPRITE_POKE_BALL, 7, 11, $1, $0, 255, 255, $0, 0, TotodilePokeBallScript, $0641
person_event SPRITE_POKE_BALL, 7, 12, $1, $0, 255, 255, $0, 0, ChikoritaPokeBallScript, $0642 person_event SPRITE_POKE_BALL, 7, 12, $1, $0, 255, 255, $0, 0, ChikoritaPokeBallScript, $0642
person_event SPRITE_OFFICER, 7, 9, $7, $0, 255, 255, $90, 0, $4f1a, $0702 person_event SPRITE_OFFICER, 7, 9, $7, $0, 255, 255, $90, 0, CopScript, $0702
; 0x7a4cc ; 0x7a4cc

View File

@ -29,7 +29,7 @@ UnknownScript_0x7513b: ; 0x7513b
applymovement $0, MovementData_0x75217 applymovement $0, MovementData_0x75217
applymovement $2, MovementData_0x75211 applymovement $2, MovementData_0x75211
pause 30 pause 30
playsound $001c playsound SFX_BOAT
earthquake 30 earthquake 30
blackoutmod GROUP_FAST_SHIP_CABINS_SW_SSW_NW, MAP_FAST_SHIP_CABINS_SW_SSW_NW blackoutmod GROUP_FAST_SHIP_CABINS_SW_SSW_NW, MAP_FAST_SHIP_CABINS_SW_SSW_NW
clearevent $0031 clearevent $0031
@ -71,7 +71,7 @@ UnknownScript_0x7517a: ; 0x7517a
closetext closetext
loadmovesprites loadmovesprites
2call UnknownScript_0x751b8 2call UnknownScript_0x751b8
playsound $0023 playsound SFX_EXIT_BUILDING
special $002e special $002e
waitbutton waitbutton
setevent $072b setevent $072b
@ -85,7 +85,7 @@ UnknownScript_0x7519c: ; 0x7519c
closetext closetext
loadmovesprites loadmovesprites
2call UnknownScript_0x751b8 2call UnknownScript_0x751b8
playsound $0023 playsound SFX_EXIT_BUILDING
special $002e special $002e
waitbutton waitbutton
setevent $072a setevent $072a
@ -137,7 +137,7 @@ UnknownScript_0x751e7: ; 0x751e7
UnknownScript_0x751eb: ; 0x751eb UnknownScript_0x751eb: ; 0x751eb
appear $5 appear $5
applymovement $5, MovementData_0x7521b applymovement $5, MovementData_0x7521b
playsound $0041 playsound SFX_TACKLE
applymovement $0, MovementData_0x7522e applymovement $0, MovementData_0x7522e
applymovement $5, MovementData_0x75220 applymovement $5, MovementData_0x75220
loadfont loadfont

View File

@ -100,7 +100,7 @@ UnknownScript_0x75f37: ; 0x75f37
UnknownScript_0x75f44: ; 0x75f44 UnknownScript_0x75f44: ; 0x75f44
loadmovesprites loadmovesprites
waitbutton waitbutton
playsound $0027 playsound SFX_ELEVATOR_END
pause 30 pause 30
loadfont loadfont
2writetext UnknownText_0x76645 2writetext UnknownText_0x76645

View File

@ -181,7 +181,7 @@ BurglarCoreyScript: ; 0x755e9
; 0x755f1 ; 0x755f1
SailorScript_0x755f1: ; 0x755f1 SailorScript_0x755f1: ; 0x755f1
playmusic $000a playmusic MUSIC_HIKER_ENCOUNTER
faceplayer faceplayer
loadfont loadfont
2writetext UnknownText_0x75812 2writetext UnknownText_0x75812
@ -202,7 +202,7 @@ SailorScript_0x755f1: ; 0x755f1
checkcode $9 checkcode $9
if_equal $3, UnknownScript_0x75629 if_equal $3, UnknownScript_0x75629
applymovement $6, MovementData_0x75637 applymovement $6, MovementData_0x75637
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $6 disappear $6
waitbutton waitbutton
end end
@ -210,7 +210,7 @@ SailorScript_0x755f1: ; 0x755f1
UnknownScript_0x75629: ; 0x75629 UnknownScript_0x75629: ; 0x75629
applymovement $6, MovementData_0x7563c applymovement $6, MovementData_0x7563c
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $6 disappear $6
waitbutton waitbutton
end end

View File

@ -100,7 +100,7 @@ UnknownScript_0x75f37: ; 0x75f37
UnknownScript_0x75f44: ; 0x75f44 UnknownScript_0x75f44: ; 0x75f44
loadmovesprites loadmovesprites
waitbutton waitbutton
playsound $0027 playsound SFX_ELEVATOR_END
pause 30 pause 30
loadfont loadfont
2writetext UnknownText_0x76645 2writetext UnknownText_0x76645

View File

@ -141,7 +141,7 @@ MapFastShipCabins_SW_SSW_NWSignpost1Script: ; 0x75aac
special $0033 special $0033
special $009d special $009d
special $001b special $001b
playmusic $000d playmusic MUSIC_HEAL
pause 60 pause 60
special $003d special $003d
special $0032 special $0032
@ -160,7 +160,7 @@ UnknownScript_0x75ae1: ; 0x75ae1
; 0x75ae2 ; 0x75ae2
UnknownScript_0x75ae2: ; 0x75ae2 UnknownScript_0x75ae2: ; 0x75ae2
playsound $0027 playsound SFX_ELEVATOR_END
pause 30 pause 30
checkevent $002f checkevent $002f
iftrue UnknownScript_0x75af7 iftrue UnknownScript_0x75af7

View File

@ -31,7 +31,7 @@ JanineScript_0x195db9: ; 0x195db9
special $005e special $005e
loadfont loadfont
2writetext UnknownText_0x195feb 2writetext UnknownText_0x195feb
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $0027 setflag $0027
2jump UnknownScript_0x195e02 2jump UnknownScript_0x195e02

View File

@ -23,7 +23,7 @@ ClerkScript_0x54750: ; 0x54750
waitbutton waitbutton
giveitem BICYCLE, $1 giveitem BICYCLE, $1
2writetext UnknownText_0x54848 2writetext UnknownText_0x54848
playsound $0091 playsound SFX_KEY_ITEM
waitbutton waitbutton
itemnotify itemnotify
setflag $0014 setflag $0014

View File

@ -20,7 +20,7 @@ BillScript_0x54be4: ; 0x54be4
checkcode $1 checkcode $1
if_equal $6, UnknownScript_0x54c13 if_equal $6, UnknownScript_0x54c13
2writetext UnknownText_0x54dae 2writetext UnknownText_0x54dae
playsound $0002 playsound SFX_CAUGHT_MON
waitbutton waitbutton
givepoke EEVEE, 20, 0, 0 givepoke EEVEE, 20, 0, 0
setevent EVENT_GOT_EEVEE setevent EVENT_GOT_EEVEE
@ -81,7 +81,7 @@ TwinScript_0x54c39: ; 0x54c39
waitbutton waitbutton
addcellnum $3 addcellnum $3
2writetext UnknownText_0x54fd9 2writetext UnknownText_0x54fd9
playsound $0093 playsound SFX_REGISTER_PHONE_NUMBER
waitbutton waitbutton
keeptextopen keeptextopen
UnknownScript_0x54c58: ;0x54c58 UnknownScript_0x54c58: ;0x54c58

View File

@ -127,7 +127,7 @@ UnknownScript_0x1989a6: ; 0x1989a6
keeptextopen keeptextopen
takecoins 4000 takecoins 4000
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
special $004f special $004f
2writetext UnknownText_0x19918b 2writetext UnknownText_0x19918b
closetext closetext
@ -141,7 +141,7 @@ UnknownScript_0x1989a6: ; 0x1989a6
UnknownScript_0x1989c6: ; 0x1989c6 UnknownScript_0x1989c6: ; 0x1989c6
applymovement $10, MovementData_0x198a63 applymovement $10, MovementData_0x198a63
UnknownScript_0x1989ca: ; 0x1989ca UnknownScript_0x1989ca: ; 0x1989ca
playsound $001f playsound SFX_ENTER_DOOR
disappear $10 disappear $10
clearevent $076b clearevent $076b
setflag $005e setflag $005e

View File

@ -53,7 +53,7 @@ UnknownScript_0x56443: ; 0x56443
UnknownScript_0x5645d: ; 0x5645d UnknownScript_0x5645d: ; 0x5645d
pause 10 pause 10
playsound $001f playsound SFX_ENTER_DOOR
2writetext UnknownText_0x564ef 2writetext UnknownText_0x564ef
keeptextopen keeptextopen
itemnotify itemnotify

View File

@ -12,7 +12,7 @@ MapGoldenrodDeptStoreElevatorSignpost0Script: ; 0x56699
loadmovesprites loadmovesprites
iffalse UnknownScript_0x566df iffalse UnknownScript_0x566df
pause 5 pause 5
playsound $006e playsound SFX_ELEVATOR
earthquake 60 earthquake 60
waitbutton waitbutton
checkevent $0307 checkevent $0307

View File

@ -108,7 +108,7 @@ UnknownScript_0x56ca1: ; 0x56ca1
UnknownScript_0x56ca6: ; 0x56ca6 UnknownScript_0x56ca6: ; 0x56ca6
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
2writetext UnknownText_0x56ebd 2writetext UnknownText_0x56ebd
closetext closetext
2jump UnknownScript_0x56c36 2jump UnknownScript_0x56c36
@ -189,7 +189,7 @@ UnknownScript_0x56d26: ; 0x56d26
2call UnknownScript_0x56ca1 2call UnknownScript_0x56ca1
iffalse UnknownScript_0x56cbd iffalse UnknownScript_0x56cbd
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
2writetext UnknownText_0x56ebd 2writetext UnknownText_0x56ebd
closetext closetext
writebyte ABRA writebyte ABRA
@ -208,7 +208,7 @@ UnknownScript_0x56d54: ; 0x56d54
2call UnknownScript_0x56ca1 2call UnknownScript_0x56ca1
iffalse UnknownScript_0x56cbd iffalse UnknownScript_0x56cbd
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
2writetext UnknownText_0x56ebd 2writetext UnknownText_0x56ebd
closetext closetext
writebyte CUBONE writebyte CUBONE
@ -227,7 +227,7 @@ UnknownScript_0x56d82: ; 0x56d82
2call UnknownScript_0x56ca1 2call UnknownScript_0x56ca1
iffalse UnknownScript_0x56cbd iffalse UnknownScript_0x56cbd
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
2writetext UnknownText_0x56ebd 2writetext UnknownText_0x56ebd
closetext closetext
writebyte WOBBUFFET writebyte WOBBUFFET

View File

@ -56,7 +56,7 @@ UnknownScript_0x54044: ; 0x54044
keeptextopen keeptextopen
waitbutton waitbutton
2writetext UnknownText_0x54273 2writetext UnknownText_0x54273
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $001d setflag $001d
checkcode $7 checkcode $7

View File

@ -20,11 +20,11 @@ UnknownScript_0x60f94: ; 0x60f94
UnknownScript_0x60f9e: ; 0x60f9e UnknownScript_0x60f9e: ; 0x60f9e
checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
iftrue UnknownScript_0x60fd8 iftrue UnknownScript_0x60fd8
playsound $0023 playsound SFX_EXIT_BUILDING
moveperson $3, $0, $7 moveperson $3, $0, $7
disappear $3 disappear $3
appear $3 appear $3
playmusic $0011 playmusic MUSIC_SHOW_ME_AROUND
applymovement $3, MovementData_0x6105a applymovement $3, MovementData_0x6105a
spriteface $0, $1 spriteface $0, $1
loadfont loadfont
@ -39,7 +39,7 @@ UnknownScript_0x60f9e: ; 0x60f9e
applymovement $3, MovementData_0x61060 applymovement $3, MovementData_0x61060
special $003d special $003d
disappear $3 disappear $3
playsound $0023 playsound SFX_EXIT_BUILDING
UnknownScript_0x60fd8: ; 0x60fd8 UnknownScript_0x60fd8: ; 0x60fd8
end end
; 0x60fd9 ; 0x60fd9
@ -54,11 +54,11 @@ UnknownScript_0x60fd9: ; 0x60fd9
UnknownScript_0x60fe3: ; 0x60fe3 UnknownScript_0x60fe3: ; 0x60fe3
checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
iftrue UnknownScript_0x6101d iftrue UnknownScript_0x6101d
playsound $0023 playsound SFX_EXIT_BUILDING
moveperson $3, $0, $7 moveperson $3, $0, $7
disappear $3 disappear $3
appear $3 appear $3
playmusic $0011 playmusic MUSIC_SHOW_ME_AROUND
applymovement $3, MovementData_0x61065 applymovement $3, MovementData_0x61065
spriteface $0, $1 spriteface $0, $1
loadfont loadfont
@ -73,7 +73,7 @@ UnknownScript_0x60fe3: ; 0x60fe3
applymovement $3, MovementData_0x6106c applymovement $3, MovementData_0x6106c
special $003d special $003d
disappear $3 disappear $3
playsound $0023 playsound SFX_EXIT_BUILDING
UnknownScript_0x6101d: ; 0x6101d UnknownScript_0x6101d: ; 0x6101d
end end
; 0x6101e ; 0x6101e

View File

@ -75,7 +75,7 @@ MapGoldenrodPokeComCenter2FMobileSignpost1Script: ; 0x62624
closetext closetext
UnknownScript_0x62629: ; 0x62629 UnknownScript_0x62629: ; 0x62629
reloadmappart reloadmappart
loadmenudata $664c loadmenudata MenuDataHeader_0x6264c
interpretmenu2 interpretmenu2
writebackup writebackup
if_equal $1, UnknownScript_0x6263a if_equal $1, UnknownScript_0x6263a

View File

@ -71,7 +71,7 @@ UnknownScript_0x7e4f8: ; 0x7e4f8
; 0x7e504 ; 0x7e504
UnknownScript_0x7e504: ; 0x7e504 UnknownScript_0x7e504: ; 0x7e504
playsound $001b playsound SFX_STRENGTH
earthquake 80 earthquake 80
end end
; 0x7e50a ; 0x7e50a

View File

@ -61,7 +61,7 @@ UnknownScript_0x180053: ; 0x180053
special $006a special $006a
pause 15 pause 15
applymovement $5, MovementData_0x180164 applymovement $5, MovementData_0x180164
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
spriteface $0, $3 spriteface $0, $3
2jump UnknownScript_0x1800ce 2jump UnknownScript_0x1800ce
; 0x180094 ; 0x180094
@ -83,7 +83,7 @@ UnknownScript_0x180094: ; 0x180094
special $006a special $006a
pause 15 pause 15
applymovement $5, MovementData_0x18016b applymovement $5, MovementData_0x18016b
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
spriteface $0, $2 spriteface $0, $2
UnknownScript_0x1800ce: ; 0x1800ce UnknownScript_0x1800ce: ; 0x1800ce
loadfont loadfont
@ -125,7 +125,7 @@ UnknownScript_0x180103: ; 0x180103
; 0x180113 ; 0x180113
UnknownScript_0x180113: ; 0x180113 UnknownScript_0x180113: ; 0x180113
playmusic $0020 playmusic MUSIC_RIVAL_AFTER
loadfont loadfont
2writetext UnknownText_0x1802a4 2writetext UnknownText_0x1802a4
closetext closetext
@ -164,7 +164,7 @@ GrampsScript_0x180139: ; 0x180139
2writetext UnknownText_0x1803e7 2writetext UnknownText_0x1803e7
closetext closetext
loadmovesprites loadmovesprites
playsound $0013 playsound SFX_WARP_TO
special $002e special $002e
waitbutton waitbutton
warp GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN, $d, $6 warp GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN, $d, $6

View File

@ -38,7 +38,7 @@ UnknownScript_0x180bd5: ; 0x180bd5
UnknownScript_0x180bd6: ; 0x180bd6 UnknownScript_0x180bd6: ; 0x180bd6
applymovement $0, MovementData_0x180c22 applymovement $0, MovementData_0x180c22
refreshscreen $86 refreshscreen $86
playsound $001b playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $e, $2a changeblock $4, $e, $2a
reloadmappart reloadmappart
@ -66,7 +66,7 @@ KarenScript_0x180bee: ; 0x180bee
2writetext UnknownText_0x180d29 2writetext UnknownText_0x180d29
closetext closetext
loadmovesprites loadmovesprites
playsound $001f playsound SFX_ENTER_DOOR
changeblock $4, $2, $16 changeblock $4, $2, $16
reloadmappart reloadmappart
loadmovesprites loadmovesprites

View File

@ -38,7 +38,7 @@ UnknownScript_0x180741: ; 0x180741
UnknownScript_0x180742: ; 0x180742 UnknownScript_0x180742: ; 0x180742
applymovement $0, MovementData_0x18078e applymovement $0, MovementData_0x18078e
refreshscreen $86 refreshscreen $86
playsound $001b playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $e, $2a changeblock $4, $e, $2a
reloadmappart reloadmappart
@ -66,7 +66,7 @@ KogaScript_0x18075a: ; 0x18075a
2writetext UnknownText_0x1808ca 2writetext UnknownText_0x1808ca
closetext closetext
loadmovesprites loadmovesprites
playsound $001f playsound SFX_ENTER_DOOR
changeblock $4, $2, $16 changeblock $4, $2, $16
reloadmappart reloadmappart
loadmovesprites loadmovesprites

View File

@ -23,7 +23,7 @@ UnknownScript_0x7a4d8: ; 0x7a4d8
; 0x7a4db ; 0x7a4db
UnknownScript_0x7a4db: ; 0x7a4db UnknownScript_0x7a4db: ; 0x7a4db
playmusic $004e playmusic MUSIC_MOM
showemote $0, $2, 15 showemote $0, $2, 15
spriteface $0, $2 spriteface $0, $2
checkevent $0000 checkevent $0000
@ -110,7 +110,7 @@ UnknownScript_0x7a56b: ; 0x7a56b
; 0x7a572 ; 0x7a572
UnknownScript_0x7a572: ; 0x7a572 UnknownScript_0x7a572: ; 0x7a572
playmusic $004e playmusic MUSIC_MOM
2jump UnknownScript_0x7a4f6 2jump UnknownScript_0x7a4f6
; 0x7a578 ; 0x7a578

View File

@ -68,7 +68,7 @@ MapKrissHouse2FSignpost2Script: ; 0x7abda
iftrue UnknownScript_0x7ac07 iftrue UnknownScript_0x7ac07
checkevent EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE checkevent EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE
iftrue UnknownScript_0x7ac0a iftrue UnknownScript_0x7ac0a
playmusic $001d playmusic MUSIC_POKEMON_TALK
loadfont loadfont
2writetext UnknownText_0x7ac24 2writetext UnknownText_0x7ac24
pause 45 pause 45

View File

@ -23,7 +23,7 @@ MapKrissNeighborsHouseSignpost2Script: ; 0x7acf7
iftrue UnknownScript_0x7ad24 iftrue UnknownScript_0x7ad24
checkevent EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE checkevent EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE
iftrue UnknownScript_0x7ad27 iftrue UnknownScript_0x7ad27
playmusic $001d playmusic MUSIC_POKEMON_TALK
loadfont loadfont
2writetext UnknownText_0x7ae3b 2writetext UnknownText_0x7ae3b
pause 45 pause 45

View File

@ -48,9 +48,9 @@ KurtScript_0x18e178: ; 0x18e178
checkcode $9 checkcode $9
if_equal $1, UnknownScript_0x18e1ab if_equal $1, UnknownScript_0x18e1ab
spriteface $0, $0 spriteface $0, $0
playsound $0018 playsound SFX_FLY
applymovement $2, MovementData_0x18e466 applymovement $2, MovementData_0x18e466
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $2 disappear $2
waitbutton waitbutton
special $003d special $003d
@ -59,9 +59,9 @@ KurtScript_0x18e178: ; 0x18e178
UnknownScript_0x18e1ab: ; 0x18e1ab UnknownScript_0x18e1ab: ; 0x18e1ab
spriteface $0, $0 spriteface $0, $0
playsound $0018 playsound SFX_FLY
applymovement $2, MovementData_0x18e46c applymovement $2, MovementData_0x18e46c
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $2 disappear $2
waitbutton waitbutton
special $003d special $003d
@ -325,17 +325,17 @@ UnknownScript_0x18e378: ; 0x18e378
checkcode $9 checkcode $9
if_equal $1, UnknownScript_0x18e3a2 if_equal $1, UnknownScript_0x18e3a2
spriteface $0, $0 spriteface $0, $0
playsound $0018 playsound SFX_FLY
applymovement $2, MovementData_0x18e466 applymovement $2, MovementData_0x18e466
2jump UnknownScript_0x18e3ac 2jump UnknownScript_0x18e3ac
; 0x18e3a2 ; 0x18e3a2
UnknownScript_0x18e3a2: ; 0x18e3a2 UnknownScript_0x18e3a2: ; 0x18e3a2
spriteface $0, $0 spriteface $0, $0
playsound $0018 playsound SFX_FLY
applymovement $2, MovementData_0x18e46c applymovement $2, MovementData_0x18e46c
UnknownScript_0x18e3ac: ; 0x18e3ac UnknownScript_0x18e3ac: ; 0x18e3ac
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $2 disappear $2
clearevent $07a4 clearevent $07a4
waitbutton waitbutton

View File

@ -55,7 +55,7 @@ UnknownScript_0x70035: ; 0x70035
2writetext UnknownText_0x702c6 2writetext UnknownText_0x702c6
closetext closetext
loadmovesprites loadmovesprites
playsound $0013 playsound SFX_WARP_TO
applymovement $2, MovementData_0x70155 applymovement $2, MovementData_0x70155
disappear $2 disappear $2
clearevent $06d5 clearevent $06d5
@ -98,7 +98,7 @@ UnknownScript_0x7007a: ; 0x7007a
giveitem RED_SCALE, $1 giveitem RED_SCALE, $1
waitbutton waitbutton
2writetext UnknownText_0x703df 2writetext UnknownText_0x703df
playsound $0001 playsound SFX_ITEM
waitbutton waitbutton
itemnotify itemnotify
loadmovesprites loadmovesprites

View File

@ -38,7 +38,7 @@ UnknownScript_0x180e52: ; 0x180e52
UnknownScript_0x180e53: ; 0x180e53 UnknownScript_0x180e53: ; 0x180e53
applymovement $0, MovementData_0x180f33 applymovement $0, MovementData_0x180f33
refreshscreen $86 refreshscreen $86
playsound $001b playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $16, $34 changeblock $4, $16, $34
reloadmappart reloadmappart
@ -51,13 +51,13 @@ UnknownScript_0x180e53: ; 0x180e53
UnknownScript_0x180e6a: ; 0x180e6a UnknownScript_0x180e6a: ; 0x180e6a
special $006a special $006a
applymovement $0, MovementData_0x180f38 applymovement $0, MovementData_0x180f38
2jump UnknownScript_0x180e7b 2jump LanceScript_0x180e7b
; 0x180e74 ; 0x180e74
UnknownScript_0x180e74: ; 0x180e74 UnknownScript_0x180e74: ; 0x180e74
special $006a special $006a
applymovement $0, MovementData_0x180f3c applymovement $0, MovementData_0x180f3c
UnknownScript_0x180e7b: ; 0x180e7b LanceScript_0x180e7b: ; 0x180e7b
spriteface $2, $2 spriteface $2, $2
loadfont loadfont
2writetext UnknownText_0x180f67 2writetext UnknownText_0x180f67
@ -74,7 +74,7 @@ UnknownScript_0x180e7b: ; 0x180e7b
2writetext UnknownText_0x181132 2writetext UnknownText_0x181132
closetext closetext
loadmovesprites loadmovesprites
playsound $001f playsound SFX_ENTER_DOOR
changeblock $4, $0, $b changeblock $4, $0, $b
reloadmappart reloadmappart
loadmovesprites loadmovesprites
@ -119,10 +119,10 @@ UnknownScript_0x180e7b: ; 0x180e7b
spriteface $4, $1 spriteface $4, $1
applymovement $2, MovementData_0x180f53 applymovement $2, MovementData_0x180f53
stopfollow stopfollow
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $2 disappear $2
applymovement $0, MovementData_0x180f55 applymovement $0, MovementData_0x180f55
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $0 disappear $0
applymovement $3, MovementData_0x180f57 applymovement $3, MovementData_0x180f57
showemote $0, $3, 15 showemote $0, $3, 15
@ -385,7 +385,7 @@ LancesRoom_MapEventHeader: ; 0x1813f4
; people-events ; people-events
db 3 db 3
person_event SPRITE_LANCE, 7, 9, $6, $0, 255, 255, $0, 0, $4e7b, $ffff person_event SPRITE_LANCE, 7, 9, $6, $0, 255, 255, $0, 0, LanceScript_0x180e7b, $ffff
person_event SPRITE_TEACHER, 11, 8, $7, $0, 255, 255, $a0, 0, ObjectEvent, $075f person_event SPRITE_TEACHER, 11, 8, $7, $0, 255, 255, $a0, 0, ObjectEvent, $075f
person_event SPRITE_OAK, 11, 8, $7, $0, 255, 255, $0, 0, ObjectEvent, $075f person_event SPRITE_OAK, 11, 8, $7, $0, 255, 255, $0, 0, ObjectEvent, $075f
; 0x181445 ; 0x181445

View File

@ -21,7 +21,7 @@ PryceScript_0x199a9e: ; 0x199a9e
setevent EVENT_BEAT_PRYCE setevent EVENT_BEAT_PRYCE
loadfont loadfont
2writetext UnknownText_0x199d3b 2writetext UnknownText_0x199d3b
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $0021 setflag $0021
checkcode $7 checkcode $7

View File

@ -75,7 +75,7 @@ UnknownScript_0x6c38f: ; 0x6c38f
2writetext UnknownText_0x6c52a 2writetext UnknownText_0x6c52a
pause 15 pause 15
loadmovesprites loadmovesprites
playsound $0041 playsound SFX_TACKLE
applymovement $5, MovementData_0x6c3f6 applymovement $5, MovementData_0x6c3f6
applymovement $3, MovementData_0x6c3fb applymovement $3, MovementData_0x6c3fb
pause 15 pause 15
@ -95,7 +95,7 @@ UnknownScript_0x6c38f: ; 0x6c38f
2writetext UnknownText_0x6c59e 2writetext UnknownText_0x6c59e
closetext closetext
showemote $0, $2, 10 showemote $0, $2, 10
playsound $002a playsound SFX_UNKNOWN_2A
changeblock $6, $2, $1e changeblock $6, $2, $1e
reloadmappart reloadmappart
loadmovesprites loadmovesprites
@ -106,7 +106,7 @@ UnknownScript_0x6c38f: ; 0x6c38f
closetext closetext
loadmovesprites loadmovesprites
applymovement $4, MovementData_0x6c412 applymovement $4, MovementData_0x6c412
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $4 disappear $4
dotrigger $0 dotrigger $0
waitbutton waitbutton

View File

@ -67,7 +67,7 @@ UnknownScript_0x190040: ; 0x190040
giveitem RAGECANDYBAR, $1 giveitem RAGECANDYBAR, $1
iffalse UnknownScript_0x190078 iffalse UnknownScript_0x190078
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
takemoney $0, 300 takemoney $0, 300
special $0051 special $0051
2writetext UnknownText_0x19014a 2writetext UnknownText_0x19014a

View File

@ -22,7 +22,7 @@ RockerScript_0x9d278: ; 0x9d278
keeptextopen keeptextopen
waitbutton waitbutton
2writetext UnknownText_0x9d41b 2writetext UnknownText_0x9d41b
playsound $0091 playsound SFX_KEY_ITEM
waitbutton waitbutton
loadmovesprites loadmovesprites
setevent EVENT_GOT_SHUCKIE setevent EVENT_GOT_SHUCKIE

View File

@ -41,7 +41,7 @@ UnknownScript_0x1935f4: ; 0x1935f4
pause 20 pause 20
loadmovesprites loadmovesprites
special $002e special $002e
playmusic $000d playmusic MUSIC_HEAL
special $00a4 special $00a4
pause 60 pause 60
special $0031 special $0031

View File

@ -25,7 +25,7 @@ UnknownScript_0x7408e: ; 0x7408e
special $006a special $006a
pause 15 pause 15
applymovement $2, MovementData_0x740f9 applymovement $2, MovementData_0x740f9
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x74105 2writetext UnknownText_0x74105
closetext closetext
@ -64,7 +64,7 @@ UnknownScript_0x740d3: ; 0x740d3
; 0x740e3 ; 0x740e3
UnknownScript_0x740e3: ; 0x740e3 UnknownScript_0x740e3: ; 0x740e3
playmusic $0020 playmusic MUSIC_RIVAL_AFTER
loadfont loadfont
2writetext UnknownText_0x741fa 2writetext UnknownText_0x741fa
closetext closetext

View File

@ -29,7 +29,7 @@ UnknownScript_0x7e217: ; 0x7e217
checkcode $1 checkcode $1
if_equal $6, UnknownScript_0x7e237 if_equal $6, UnknownScript_0x7e237
2writetext UnknownText_0x7e355 2writetext UnknownText_0x7e355
playsound $0002 playsound SFX_CAUGHT_MON
waitbutton waitbutton
givepoke TYROGUE, 10, 0, 0 givepoke TYROGUE, 10, 0, 0
setevent EVENT_GOT_TYROGUE_FROM_KIYO setevent EVENT_GOT_TYROGUE_FROM_KIYO

View File

@ -33,7 +33,7 @@ UnknownScript_0x196e56: ; 0x196e56
waitbutton waitbutton
giveitem MYSTERY_EGG, $1 giveitem MYSTERY_EGG, $1
2writetext UnknownText_0x196fd2 2writetext UnknownText_0x196fd2
playsound $0091 playsound SFX_KEY_ITEM
waitbutton waitbutton
itemnotify itemnotify
setevent EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON setevent EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
@ -90,7 +90,7 @@ UnknownScript_0x196ec7: ; 0x196ec7
; 0x196ec9 ; 0x196ec9
UnknownScript_0x196ec9: ; 0x196ec9 UnknownScript_0x196ec9: ; 0x196ec9
playmusic $001e playmusic MUSIC_PROF_OAK
applymovement $3, MovementData_0x196f5d applymovement $3, MovementData_0x196f5d
spriteface $0, $3 spriteface $0, $3
loadfont loadfont
@ -98,7 +98,7 @@ UnknownScript_0x196ec9: ; 0x196ec9
keeptextopen keeptextopen
waitbutton waitbutton
2writetext UnknownText_0x1973cc 2writetext UnknownText_0x1973cc
playsound $0001 playsound SFX_ITEM
waitbutton waitbutton
setflag $000b setflag $000b
2writetext UnknownText_0x1973de 2writetext UnknownText_0x1973de
@ -106,7 +106,7 @@ UnknownScript_0x196ec9: ; 0x196ec9
loadmovesprites loadmovesprites
spriteface $0, $0 spriteface $0, $0
applymovement $3, MovementData_0x196f61 applymovement $3, MovementData_0x196f61
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $3 disappear $3
waitbutton waitbutton
special $003d special $003d
@ -118,7 +118,7 @@ UnknownScript_0x196ec9: ; 0x196ec9
loadmovesprites loadmovesprites
special $0030 special $0030
special $0033 special $0033
playmusic $000d playmusic MUSIC_HEAL
special $009d special $009d
special $001b special $001b
pause 60 pause 60

View File

@ -29,7 +29,7 @@ UnknownScript_0x1a800f: ; 0x1a800f
; 0x1a8016 ; 0x1a8016
UnknownScript_0x1a8016: ; 0x1a8016 UnknownScript_0x1a8016: ; 0x1a8016
playmusic $004e playmusic MUSIC_MOM
spriteface $2, $2 spriteface $2, $2
loadfont loadfont
2writetext UnknownText_0x1a8134 2writetext UnknownText_0x1a8134
@ -53,7 +53,7 @@ UnknownScript_0x1a8016: ; 0x1a8016
; 0x1a8041 ; 0x1a8041
UnknownScript_0x1a8041: ; 0x1a8041 UnknownScript_0x1a8041: ; 0x1a8041
playmusic $004e playmusic MUSIC_MOM
spriteface $2, $2 spriteface $2, $2
loadfont loadfont
2writetext UnknownText_0x1a8134 2writetext UnknownText_0x1a8134
@ -133,7 +133,7 @@ SilverScript_0x1a809e: ; 0x1a809e
pause 5 pause 5
spriteface $4, $0 spriteface $4, $0
pause 5 pause 5
playsound $0041 playsound SFX_TACKLE
applymovement $0, MovementData_0x1a80f0 applymovement $0, MovementData_0x1a80f0
applymovement $4, MovementData_0x1a80f5 applymovement $4, MovementData_0x1a80f5
end end

View File

@ -32,11 +32,11 @@ UnknownScript_0x1a8833: ; 0x1a8833
showemote $0, $0, 15 showemote $0, $0, 15
special $006a special $006a
pause 15 pause 15
playsound $001f playsound SFX_ENTER_DOOR
appear $5 appear $5
waitbutton waitbutton
applymovement $5, MovementData_0x1a88d2 applymovement $5, MovementData_0x1a88d2
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x1a88fa 2writetext UnknownText_0x1a88fa
closetext closetext
@ -57,11 +57,11 @@ UnknownScript_0x1a886b: ; 0x1a886b
showemote $0, $0, 15 showemote $0, $0, 15
special $006a special $006a
pause 15 pause 15
playsound $001f playsound SFX_ENTER_DOOR
appear $5 appear $5
waitbutton waitbutton
applymovement $5, MovementData_0x1a88d6 applymovement $5, MovementData_0x1a88d6
playmusic $001f playmusic MUSIC_RIVAL_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x1a88fa 2writetext UnknownText_0x1a88fa
closetext closetext

View File

@ -21,7 +21,7 @@ JasmineScript_0x9c12f: ; 0x9c12f
setevent EVENT_BEAT_JASMINE setevent EVENT_BEAT_JASMINE
loadfont loadfont
2writetext UnknownText_0x9c33a 2writetext UnknownText_0x9c33a
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $001f setflag $001f
checkcode $7 checkcode $7

View File

@ -37,7 +37,7 @@ UnknownScript_0x60bab: ; 0x60bab
pause 15 pause 15
spriteface $3, $2 spriteface $3, $2
loadfont loadfont
playmusic $000d playmusic MUSIC_HEAL
2writetext UnknownText_0x60e44 2writetext UnknownText_0x60e44
pause 60 pause 60
keeptextopen keeptextopen

View File

@ -38,11 +38,11 @@ SailorScript_0x748c0: ; 0x748c0
loadmovesprites loadmovesprites
spriteface $2, $0 spriteface $2, $0
pause 10 pause 10
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $2 disappear $2
waitbutton waitbutton
applymovement $0, MovementData_0x74a30 applymovement $0, MovementData_0x74a30
playsound $0023 playsound SFX_EXIT_BUILDING
special $002e special $002e
waitbutton waitbutton
checkevent $0030 checkevent $0030

View File

@ -22,7 +22,7 @@ BrockScript_0x1a2864: ; 0x1a2864
setevent EVENT_BEAT_CAMPER_JERRY setevent EVENT_BEAT_CAMPER_JERRY
loadfont loadfont
2writetext UnknownText_0x1a2a3d 2writetext UnknownText_0x1a2a3d
playsound $009c playsound SFX_GET_BADGE
waitbutton waitbutton
setflag $0023 setflag $0023
2writetext UnknownText_0x1a2a57 2writetext UnknownText_0x1a2a57

View File

@ -480,7 +480,7 @@ UnknownScript_0x192b12: ; 0x192b12
2writetext UnknownText_0x193278 2writetext UnknownText_0x193278
closetext closetext
loadmovesprites loadmovesprites
playsound $00ca playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17 applymovement $0, MovementData_0x192d17
writebyte $80 writebyte $80
special $0098 special $0098
@ -509,7 +509,7 @@ UnknownScript_0x192b63: ; 0x192b63
applymovement $2, MovementData_0x192d04 applymovement $2, MovementData_0x192d04
applymovement $0, MovementData_0x192d28 applymovement $0, MovementData_0x192d28
clearflag $009f clearflag $009f
playsound $00ca playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17 applymovement $0, MovementData_0x192d17
writebyte $90 writebyte $90
special $0098 special $0098
@ -533,7 +533,7 @@ UnknownScript_0x192b9d: ; 0x192b9d
applymovement $3, MovementData_0x192d04 applymovement $3, MovementData_0x192d04
applymovement $0, MovementData_0x192d28 applymovement $0, MovementData_0x192d28
clearflag $009f clearflag $009f
playsound $00ca playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17 applymovement $0, MovementData_0x192d17
writebyte $90 writebyte $90
special $0098 special $0098
@ -598,7 +598,7 @@ UnknownScript_0x192c20: ; 0x192c20
2writetext UnknownText_0x193278 2writetext UnknownText_0x193278
closetext closetext
loadmovesprites loadmovesprites
playsound $00ca playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17 applymovement $0, MovementData_0x192d17
writebyte $80 writebyte $80
special $0098 special $0098
@ -629,7 +629,7 @@ UnknownScript_0x192c66: ; 0x192c66
applymovement $4, MovementData_0x192d08 applymovement $4, MovementData_0x192d08
applymovement $0, MovementData_0x192cfc applymovement $0, MovementData_0x192cfc
clearflag $009f clearflag $009f
playsound $00ca playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17 applymovement $0, MovementData_0x192d17
writebyte $90 writebyte $90
special $0098 special $0098

View File

@ -80,7 +80,7 @@ UnknownScript_0x191844: ; 0x191844
iffalse UnknownScript_0x191865 iffalse UnknownScript_0x191865
disappear $6 disappear $6
2writetext UnknownText_0x191d0a 2writetext UnknownText_0x191d0a
playsound $0091 playsound SFX_KEY_ITEM
waitbutton waitbutton
itemnotify itemnotify
setevent EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB setevent EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB

View File

@ -19,7 +19,7 @@ UnknownScript_0x188dc4: ; 0x188dc4
; 0x188dc5 ; 0x188dc5
UnknownScript_0x188dc5: ; 0x188dc5 UnknownScript_0x188dc5: ; 0x188dc5
playsound $006a playsound SFX_CALL
showemote $0, $2, 15 showemote $0, $2, 15
waitbutton waitbutton
pause 30 pause 30

View File

@ -45,7 +45,7 @@ UnknownScript_0x5cd4c: ; 0x5cd4c
keeptextopen keeptextopen
waitbutton waitbutton
2writetext UnknownText_0x5cf79 2writetext UnknownText_0x5cf79
playsound $0009 playsound SFX_DEX_FANFARE_20_49
waitbutton waitbutton
keeptextopen keeptextopen
special $0052 special $0052
@ -67,7 +67,7 @@ UnknownScript_0x5cd84: ; 0x5cd84
UnknownScript_0x5cd8a: ; 0x5cd8a UnknownScript_0x5cd8a: ; 0x5cd8a
2writetext UnknownText_0x5cfb5 2writetext UnknownText_0x5cfb5
playsound $0099 playsound SFX_1ST_PLACE
waitbutton waitbutton
keeptextopen keeptextopen
giveitem MASTER_BALL, $1 giveitem MASTER_BALL, $1
@ -79,7 +79,7 @@ UnknownScript_0x5cd8a: ; 0x5cd8a
UnknownScript_0x5cd9f: ; 0x5cd9f UnknownScript_0x5cd9f: ; 0x5cd9f
2writetext UnknownText_0x5d023 2writetext UnknownText_0x5d023
playsound $0098 playsound SFX_2ND_PLACE
waitbutton waitbutton
keeptextopen keeptextopen
giveitem EXP_SHARE, $1 giveitem EXP_SHARE, $1
@ -91,7 +91,7 @@ UnknownScript_0x5cd9f: ; 0x5cd9f
UnknownScript_0x5cdb4: ; 0x5cdb4 UnknownScript_0x5cdb4: ; 0x5cdb4
2writetext UnknownText_0x5d076 2writetext UnknownText_0x5d076
playsound $0094 playsound SFX_3RD_PLACE
waitbutton waitbutton
keeptextopen keeptextopen
giveitem PP_UP, $1 giveitem PP_UP, $1
@ -126,27 +126,27 @@ CooltrainerFScript_0x5cdd5: ; 0x5cdd5
2writetext UnknownText_0x5d1f2 2writetext UnknownText_0x5d1f2
yesorno yesorno
iffalse UnknownScript_0x5ce42 iffalse UnknownScript_0x5ce42
playsound $0027 playsound SFX_ELEVATOR_END
waitbutton waitbutton
2writetext UnknownText_0x5d231 2writetext UnknownText_0x5d231
yesorno yesorno
iffalse UnknownScript_0x5ce42 iffalse UnknownScript_0x5ce42
playsound $0027 playsound SFX_ELEVATOR_END
waitbutton waitbutton
2writetext UnknownText_0x5d282 2writetext UnknownText_0x5d282
yesorno yesorno
iftrue UnknownScript_0x5ce42 iftrue UnknownScript_0x5ce42
playsound $0027 playsound SFX_ELEVATOR_END
waitbutton waitbutton
2writetext UnknownText_0x5d2bc 2writetext UnknownText_0x5d2bc
yesorno yesorno
iffalse UnknownScript_0x5ce42 iffalse UnknownScript_0x5ce42
playsound $0027 playsound SFX_ELEVATOR_END
waitbutton waitbutton
2writetext UnknownText_0x5d30e 2writetext UnknownText_0x5d30e
yesorno yesorno
iftrue UnknownScript_0x5ce42 iftrue UnknownScript_0x5ce42
playsound $0027 playsound SFX_ELEVATOR_END
waitbutton waitbutton
2writetext UnknownText_0x5d37b 2writetext UnknownText_0x5d37b
keeptextopen keeptextopen
@ -172,7 +172,7 @@ UnknownScript_0x5ce3e: ; 0x5ce3e
; 0x5ce42 ; 0x5ce42
UnknownScript_0x5ce42: ; 0x5ce42 UnknownScript_0x5ce42: ; 0x5ce42
playsound $0019 playsound SFX_WRONG
2writetext UnknownText_0x5d409 2writetext UnknownText_0x5d409
closetext closetext
loadmovesprites loadmovesprites

View File

@ -182,7 +182,7 @@ BuenaScript_0x5d775: ; 0x5d775
iffalse UnknownScript_0x5d86b iffalse UnknownScript_0x5d86b
checkcode $18 checkcode $18
if_equal $1e, UnknownScript_0x5d87f if_equal $1e, UnknownScript_0x5d87f
playmusic $0060 playmusic MUSIC_BUENAS_PASSWORD
2writetext UnknownText_0x5de35 2writetext UnknownText_0x5de35
special $00a3 special $00a3
iffalse UnknownScript_0x5d81e iffalse UnknownScript_0x5d81e
@ -201,7 +201,7 @@ UnknownScript_0x5d7be: ; 0x5d7be
loadmovesprites loadmovesprites
spriteface $b, $0 spriteface $b, $0
refreshscreen $0 refreshscreen $0
special $0092 special SPECIAL_BUENAS_PASSWORD
loadmovesprites loadmovesprites
iffalse UnknownScript_0x5d845 iffalse UnknownScript_0x5d845
loadfont loadfont
@ -212,7 +212,7 @@ UnknownScript_0x5d7be: ; 0x5d7be
addvar $1 addvar $1
writevarcode $18 writevarcode $18
waitbutton waitbutton
playsound $0022 playsound SFX_TRANSACTION
setflag $0060 setflag $0060
pause 20 pause 20
spriteface $b, $3 spriteface $b, $3
@ -361,7 +361,7 @@ UnknownScript_0x5d8d0: ; 0x5d8d0
if_equal $1, UnknownScript_0x5d8f6 if_equal $1, UnknownScript_0x5d8f6
if_equal $2, UnknownScript_0x5d8ed if_equal $2, UnknownScript_0x5d8ed
2writetext UnknownText_0x5e2f3 2writetext UnknownText_0x5e2f3
playsound $0093 playsound SFX_REGISTER_PHONE_NUMBER
waitbutton waitbutton
keeptextopen keeptextopen
2writetext UnknownText_0x5e310 2writetext UnknownText_0x5e310
@ -396,7 +396,7 @@ ReceptionistScript_0x5d8ff: ; 0x5d8ff
iffalse UnknownScript_0x5d90f iffalse UnknownScript_0x5d90f
2writetext UnknownText_0x5e392 2writetext UnknownText_0x5e392
keeptextopen keeptextopen
special $0093 special SPECIAL_BUENA_PRIZE
loadmovesprites loadmovesprites
end end
; 0x5d90f ; 0x5d90f

View File

@ -219,7 +219,7 @@ UnknownScript_0x5e605: ; 0x5e605
2writetext UnknownText_0x5eabc 2writetext UnknownText_0x5eabc
closetext closetext
setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
playsound $001f playsound SFX_ENTER_DOOR
changeblock $e, $2, $2a changeblock $e, $2, $2a
changeblock $e, $4, $1 changeblock $e, $4, $1
reloadmappart reloadmappart

View File

@ -31,7 +31,7 @@ UnknownScript_0x60011: ; 0x60011
closetext closetext
loadmovesprites loadmovesprites
applymovement $2, MovementData_0x60109 applymovement $2, MovementData_0x60109
playmusic $0039 playmusic MUSIC_ROCKET_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x60147 2writetext UnknownText_0x60147
closetext closetext
@ -100,7 +100,7 @@ Executivef1Script: ; 0x60066
UnknownScript_0x6006e: ; 0x6006e UnknownScript_0x6006e: ; 0x6006e
applymovement $0, MovementData_0x60125 applymovement $0, MovementData_0x60125
playmusic $0039 playmusic MUSIC_ROCKET_ENCOUNTER
spriteface $3, $3 spriteface $3, $3
loadfont loadfont
2writetext UnknownText_0x603d1 2writetext UnknownText_0x603d1
@ -155,7 +155,7 @@ UnknownScript_0x6006e: ; 0x6006e
UnknownScript_0x600f1: ; 0x600f1 UnknownScript_0x600f1: ; 0x600f1
applymovement $2, MovementData_0x6011a applymovement $2, MovementData_0x6011a
playsound $0023 playsound SFX_EXIT_BUILDING
disappear $2 disappear $2
end end
; 0x600fb ; 0x600fb

View File

@ -8,7 +8,7 @@ Route24_MapScriptHeader: ; 0x1adbf8
RocketScript_0x1adbfa: ; 0x1adbfa RocketScript_0x1adbfa: ; 0x1adbfa
faceplayer faceplayer
playmusic $0039 playmusic MUSIC_ROCKET_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x1adc2e 2writetext UnknownText_0x1adc2e
closetext closetext
@ -18,7 +18,7 @@ RocketScript_0x1adbfa: ; 0x1adbfa
startbattle startbattle
reloadmapmusic reloadmapmusic
returnafterbattle returnafterbattle
playmusic $0039 playmusic MUSIC_ROCKET_ENCOUNTER
loadfont loadfont
2writetext UnknownText_0x1addc0 2writetext UnknownText_0x1addc0
keeptextopen keeptextopen

View File

@ -26,7 +26,7 @@ UnknownScript_0x19eea0: ; 0x19eea0
applymovement $3, MovementData_0x19efe8 applymovement $3, MovementData_0x19efe8
disappear $3 disappear $3
pause 15 pause 15
playmusic $0038 playmusic MUSIC_BEAUTY_ENCOUNTER
spriteface $2, $1 spriteface $2, $1
pause 10 pause 10
applymovement $2, MovementData_0x19efed applymovement $2, MovementData_0x19efed
@ -53,7 +53,7 @@ UnknownScript_0x19eee0: ; 0x19eee0
applymovement $3, MovementData_0x19efea applymovement $3, MovementData_0x19efea
disappear $3 disappear $3
pause 15 pause 15
playmusic $0038 playmusic MUSIC_BEAUTY_ENCOUNTER
spriteface $2, $1 spriteface $2, $1
pause 10 pause 10
applymovement $2, MovementData_0x19eff4 applymovement $2, MovementData_0x19eff4

View File

@ -15,7 +15,7 @@ TeacherScript_0x7b125: ; 0x7b125
special $0030 special $0030
special $0033 special $0033
special $009d special $009d
playmusic $000d playmusic MUSIC_HEAL
special $001b special $001b
pause 60 pause 60
special $0032 special $0032

View File

@ -8,12 +8,12 @@ Route30_MapScriptHeader: ; 0x1a1671
YoungsterScript_0x1a1673: ; 0x1a1673 YoungsterScript_0x1a1673: ; 0x1a1673
waitbutton waitbutton
playmusic $002a playmusic MUSIC_JOHTO_TRAINER_BATTLE
loadfont loadfont
2writetext UnknownText_0x1a1806 2writetext UnknownText_0x1a1806
pause 30 pause 30
loadmovesprites loadmovesprites
playsound $0041 playsound SFX_TACKLE
applymovement $8, MovementData_0x1a17fe applymovement $8, MovementData_0x1a17fe
loadfont loadfont
faceplayer faceplayer
@ -21,7 +21,7 @@ YoungsterScript_0x1a1673: ; 0x1a1673
closetext closetext
spriteface $2, $1 spriteface $2, $1
loadmovesprites loadmovesprites
playsound $0041 playsound SFX_TACKLE
applymovement $7, MovementData_0x1a1802 applymovement $7, MovementData_0x1a1802
special $003d special $003d
end end

View File

@ -59,7 +59,7 @@ GrampsScript_0x7803d: ; 0x7803d
checkcode $9 checkcode $9
if_equal $3, UnknownScript_0x7805b if_equal $3, UnknownScript_0x7805b
applymovement $8, MovementData_0x78333 applymovement $8, MovementData_0x78333
playsound $001f playsound SFX_ENTER_DOOR
disappear $8 disappear $8
UnknownScript_0x7805a: ; 0x7805a UnknownScript_0x7805a: ; 0x7805a
end end
@ -67,7 +67,7 @@ UnknownScript_0x7805a: ; 0x7805a
UnknownScript_0x7805b: ; 0x7805b UnknownScript_0x7805b: ; 0x7805b
applymovement $8, MovementData_0x78337 applymovement $8, MovementData_0x78337
playsound $001f playsound SFX_ENTER_DOOR
disappear $8 disappear $8
end end
; 0x78065 ; 0x78065
@ -423,7 +423,7 @@ OfficerScript_0x7824c: ; 0x7824c
iffalse UnknownScript_0x78276 iffalse UnknownScript_0x78276
checkevent $0546 checkevent $0546
iftrue UnknownScript_0x78270 iftrue UnknownScript_0x78270
playmusic $000c playmusic MUSIC_OFFICER_ENCOUNTER
2writetext UnknownText_0x785e4 2writetext UnknownText_0x785e4
closetext closetext
loadmovesprites loadmovesprites

View File

@ -390,7 +390,7 @@ OfficerScript_0x19ca49: ; 0x19ca49
iffalse UnknownScript_0x19ca73 iffalse UnknownScript_0x19ca73
checkevent $0547 checkevent $0547
iftrue UnknownScript_0x19ca6d iftrue UnknownScript_0x19ca6d
playmusic $000c playmusic MUSIC_OFFICER_ENCOUNTER
2writetext UnknownText_0x19ceea 2writetext UnknownText_0x19ceea
closetext closetext
loadmovesprites loadmovesprites

Some files were not shown because too many files have changed in this diff Show More