More enumeration of constants, more annotations of scripts.

This commit is contained in:
PikalaxALT
2015-07-15 15:48:44 -04:00
parent 67e56102ef
commit 39524cdb76
96 changed files with 2634 additions and 2501 deletions

View File

@@ -29,7 +29,7 @@ AzaleaTown_MapScriptHeader:
UnknownScript_0x198018:
moveperson $b, $b, $b
spriteface $0, RIGHT
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
special Functionc48f
pause 15
appear $b
@@ -39,7 +39,7 @@ UnknownScript_0x198018:
UnknownScript_0x198034:
spriteface $0, RIGHT
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
special Functionc48f
pause 15
appear $b

View File

@@ -37,7 +37,7 @@ UnknownScript_0x185bf8:
UnknownScript_0x185c0d:
spriteface $3, DOWN
showemote $0, $3, 15
showemote EMOTE_SHOCK, $3, 15
applymovement $3, MovementData_0x185cd3
loadfont
writetext UnknownText_0x185ecc
@@ -48,7 +48,7 @@ UnknownScript_0x185c0d:
end
UnknownScript_0x185c25:
showemote $0, $4, 15
showemote EMOTE_SHOCK, $4, 15
special Functionc48f
pause 15
spriteface $4, RIGHT
@@ -101,7 +101,7 @@ UnknownScript_0x185c80:
special Functionc48f
pause 15
earthquake 50
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
playsound SFX_ENTER_DOOR
waitbutton
changeblock $a, $8, $25
@@ -109,7 +109,7 @@ UnknownScript_0x185c80:
pause 15
applymovement $0, MovementData_0x185cd1
playsound SFX_KINESIS
showemote $0, $4, 20
showemote EMOTE_SHOCK, $4, 20
loadfont
writetext UnknownText_0x185e75
closetext

View File

@@ -108,7 +108,7 @@ UnknownScript_0x184072:
waitbutton
playsound SFX_TRANSACTION
waitbutton
showemote $0, $7, 15
showemote EMOTE_SHOCK, $7, 15
spriteface $7, LEFT
loadfont
writetext UnknownText_0x1842ee

View File

@@ -25,7 +25,7 @@ UnknownScript_0x1883de:
writetext UnknownText_0x1884fb
closetext
loadmovesprites
showemote $0, $2, 15
showemote EMOTE_SHOCK, $2, 15
applymovement $2, MovementData_0x1884f7
loadfont
writetext UnknownText_0x188574

View File

@@ -102,7 +102,7 @@ UnknownScript_0x19c0aa:
UnknownScript_0x19c0ae:
spriteface $0, RIGHT
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
special Functionc48f
pause 15
appear $3

View File

@@ -29,7 +29,7 @@ UnknownScript_0x1a001d:
UnknownScript_0x1a001e:
spriteface $0, UP
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
pause 15
playsound SFX_WARP_FROM
applymovement $d, MovementData_0x1a00da

View File

@@ -116,7 +116,7 @@ UnknownScript_0x18d100:
closetext
loadmovesprites
playsound SFX_ENTER_DOOR
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
playmusic MUSIC_CLAIR
appear $5
waitbutton
@@ -147,7 +147,7 @@ UnknownScript_0x18d100:
writetext UnknownText_0x18d520
closetext
loadmovesprites
showemote $0, $5, 15
showemote EMOTE_SHOCK, $5, 15
loadfont
writetext UnknownText_0x18d9ae
closetext

View File

@@ -42,7 +42,7 @@ UnknownScript_0x18c8b8:
writetext UnknownText_0x18c9b8
pause 30
loadmovesprites
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
spriteface $0, LEFT
playmusic MUSIC_CLAIR
applymovement $3, MovementData_0x18c9ae

File diff suppressed because it is too large Load Diff

View File

@@ -45,7 +45,7 @@ TwinScript_0x75ebb:
spriteface $4, UP
special Function8c0ab
spriteface $3, DOWN
showemote $0, $3, 15
showemote EMOTE_SHOCK, $3, 15
applymovement $4, MovementData_0x7600c
spriteface $3, RIGHT
checkflag ENGINE_PLAYER_IS_FEMALE

View File

@@ -129,7 +129,7 @@ FastShipBed:
loadmovesprites
special Function8c0b6
special Functiond91
special Function1060a2
special Mobile_HealParty
special HealParty
playmusic MUSIC_HEAL
pause 60

View File

@@ -60,7 +60,7 @@ ReceptionistScript_0x560ce:
if_not_equal SUNDAY, UnknownScript_0x56112
checkflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
iftrue UnknownScript_0x56112
special Function718d
special GetFirstPokemonHappiness
writetext UnknownText_0x56143
keeptextopen
if_greater_than $95, UnknownScript_0x560ee

View File

@@ -114,7 +114,7 @@ LassCarrieScript:
end
WhitneyCriesScript:
showemote $0, $4, 15
showemote EMOTE_SHOCK, $4, 15
applymovement $4, BridgetWalksUpMovement
spriteface $0, DOWN
loadfont

View File

@@ -8,7 +8,7 @@ GoldenrodHappinessRater_MapScriptHeader:
TeacherScript_0x54953:
faceplayer
loadfont
special Function718d
special GetFirstPokemonHappiness
writetext UnknownText_0x549a3
keeptextopen
if_greater_than $f9, UnknownScript_0x54973

View File

@@ -3,50 +3,50 @@ HallOfFame_MapScriptHeader:
db 2
; triggers
dw UnknownScript_0x18144f, $0000
dw UnknownScript_0x181453, $0000
dw .Trigger1, $0000
dw .Trigger2, $0000
; callback count
db 0
UnknownScript_0x18144f:
priorityjump UnknownScript_0x181454
.Trigger1:
priorityjump HallOfFameScript
end
UnknownScript_0x181453:
.Trigger2:
end
UnknownScript_0x181454:
HallOfFameScript:
follow $2, $0
applymovement $2, MovementData_0x181499
applymovement $2, HallOfFame_WalkUpWithLance
stopfollow
spriteface $0, RIGHT
loadfont
writetext UnknownText_0x1814a6
writetext HallOfFame_LanceText
closetext
loadmovesprites
spriteface $2, UP
applymovement $0, MovementData_0x1814a4
applymovement $0, HallOfFame_SlowlyApproachMachine
dotrigger $1
pause 15
writebyte $2
writebyte 2 ; Machine is in the Hall of Fame
special HealMachineAnim
setevent EVENT_BEAT_ELITE_FOUR
setevent EVENT_TELEPORT_GUY
setevent EVENT_RIVAL_SPROUT_TOWER
clearevent EVENT_RED_IN_MT_SILVER
setevent EVENT_737
clearevent EVENT_738
setevent EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
clearevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
domaptrigger GROUP_SPROUT_TOWER_3F, MAP_SPROUT_TOWER_3F, $1
special HealParty
checkevent EVENT_GOT_SS_TICKET_FROM_ELM
iftrue UnknownScript_0x181497
iftrue HallOfFame_SkipPhoneCall
specialphonecall $5
UnknownScript_0x181497:
HallOfFame_SkipPhoneCall:
halloffame
end
MovementData_0x181499:
HallOfFame_WalkUpWithLance:
step_up
step_up
step_up
@@ -59,11 +59,11 @@ MovementData_0x181499:
turn_head_left
step_end
MovementData_0x1814a4:
HallOfFame_SlowlyApproachMachine:
slow_step_up
step_end
UnknownText_0x1814a6:
HallOfFame_LanceText:
text "LANCE: It's been a"
line "long time since I"
cont "last came here."
@@ -126,4 +126,4 @@ HallOfFame_MapEventHeader:
; people-events
db 1
person_event SPRITE_LANCE, 16, 8, $7, $0, 255, 255, $0, 0, ObjectEvent, -1
person_event SPRITE_LANCE, 16, 8, UP << 2 | $3, $0, -1, -1, PAL_OW_RED << 4 | $0, 0, ObjectEvent, -1

View File

@@ -467,7 +467,7 @@ UnknownScript_0x6ee42:
closetext
loadmovesprites
pause 20
showemote $0, $0, 20
showemote EMOTE_SHOCK, $0, 20
special Functionc48f
applymovement $0, MovementData_0x6ef58
pause 30

View File

@@ -54,7 +54,7 @@ UnknownScript_0x180053:
moveperson $5, $11, $9
appear $5
spriteface $0, DOWN
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
special Functionc48f
pause 15
applymovement $5, MovementData_0x180164
@@ -75,7 +75,7 @@ UnknownScript_0x180094:
if_equal SATURDAY, UnknownScript_0x18012b
appear $5
spriteface $0, DOWN
showemote $0, $0, 15
showemote EMOTE_SHOCK, $0, 15
special Functionc48f
pause 15
applymovement $5, MovementData_0x18016b

View File

@@ -20,7 +20,7 @@ UnknownScript_0x7a4d8:
UnknownScript_0x7a4db:
playmusic MUSIC_MOM
showemote $0, $2, 15
showemote EMOTE_SHOCK, $2, 15
spriteface $0, LEFT
checkevent EVENT_000
iffalse UnknownScript_0x7a4f2

View File

@@ -295,7 +295,7 @@ UnknownScript_0x18e378:
clearevent EVENT_GAVE_GS_BALL_TO_KURT
special Functionc48f
pause 20
showemote $0, $2, 30
showemote EMOTE_SHOCK, $2, 30
checkcode VAR_FACING
if_equal $1, UnknownScript_0x18e3a2
spriteface $0, DOWN

View File

@@ -75,7 +75,7 @@ LanceScript_0x180e7b:
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
musicfadeout MUSIC_BEAUTY_ENCOUNTER, $10
pause 30
showemote $0, $2, 15
showemote EMOTE_SHOCK, $2, 15
spriteface $2, DOWN
pause 10
spriteface $0, DOWN
@@ -119,7 +119,7 @@ LanceScript_0x180e7b:
playsound SFX_EXIT_BUILDING
disappear $0
applymovement $3, MovementData_0x180f57
showemote $0, $3, 15
showemote EMOTE_SHOCK, $3, 15
loadfont
writetext UnknownText_0x1813c5
pause 30

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