mirror of https://github.com/pret/pokeemerald.git
Document record_mix.inc and clean surf.inc
This commit is contained in:
parent
ca2c6fa9b1
commit
7d24f2d62c
|
@ -1,21 +1,22 @@
|
||||||
EventScript_271D5E:: @ 8271D5E
|
@ Seems this was superseded by the Record Center, and the below scripts are now unused
|
||||||
|
EventScript_MixRecordsPrompt:: @ 8271D5E
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
msgbox Text_WouldYouLikeToMixRecords, MSGBOX_YESNO
|
msgbox Text_WouldYouLikeToMixRecords, MSGBOX_YESNO
|
||||||
compare VAR_RESULT, 1
|
compare VAR_RESULT, 1
|
||||||
goto_if_eq EventScript_271D83
|
goto_if_eq EventScript_MixRecords
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq EventScript_271D89
|
goto_if_eq EventScript_DeclineMixRecords
|
||||||
goto EventScript_271D89
|
goto EventScript_DeclineMixRecords
|
||||||
|
|
||||||
EventScript_271D83:: @ 8271D83
|
EventScript_MixRecords:: @ 8271D83
|
||||||
special RecordMixingPlayerSpotTriggered
|
special RecordMixingPlayerSpotTriggered
|
||||||
waitstate
|
waitstate
|
||||||
lock
|
lock
|
||||||
faceplayer
|
faceplayer
|
||||||
|
|
||||||
EventScript_271D89:: @ 8271D89
|
EventScript_DeclineMixRecords:: @ 8271D89
|
||||||
message Text_WouldNotLikeToMixRecords
|
message Text_WeHopeToSeeYouAgain
|
||||||
waitmessage
|
waitmessage
|
||||||
waitbuttonpress
|
waitbuttonpress
|
||||||
release
|
release
|
||||||
|
|
|
@ -1,18 +1,16 @@
|
||||||
EventScript_UseSurf:: @ 8271EA0
|
EventScript_UseSurf:: @ 8271EA0
|
||||||
checkpartymove MOVE_SURF
|
checkpartymove MOVE_SURF
|
||||||
compare VAR_RESULT, 6
|
compare VAR_RESULT, PARTY_SIZE
|
||||||
goto_if_eq EventScript_CantSurf
|
goto_if_eq EventScript_EndUseSurf
|
||||||
bufferpartymonnick 0, VAR_RESULT
|
bufferpartymonnick 0, VAR_RESULT
|
||||||
setfieldeffectargument 0, VAR_RESULT
|
setfieldeffectargument 0, VAR_RESULT
|
||||||
lockall
|
lockall
|
||||||
msgbox gText_WantToUseSurf, MSGBOX_YESNO
|
msgbox gText_WantToUseSurf, MSGBOX_YESNO
|
||||||
compare VAR_RESULT, 0
|
compare VAR_RESULT, 0
|
||||||
goto_if_eq EventScript_CancelSurf
|
goto_if_eq EventScript_ReleaseUseSurf
|
||||||
msgbox gText_PlayerUsedSurf, MSGBOX_DEFAULT
|
msgbox gText_PlayerUsedSurf, MSGBOX_DEFAULT
|
||||||
dofieldeffect FLDEFF_USE_SURF
|
dofieldeffect FLDEFF_USE_SURF
|
||||||
|
EventScript_ReleaseUseSurf:: @ 8271ED5
|
||||||
EventScript_CancelSurf:: @ 8271ED5
|
|
||||||
releaseall
|
releaseall
|
||||||
|
EventScript_EndUseSurf:: @ 8271ED6
|
||||||
EventScript_CantSurf:: @ 8271ED6
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,5 +2,5 @@ Text_WouldYouLikeToMixRecords: @ 827260D
|
||||||
.string "Would you like to mix records with\n"
|
.string "Would you like to mix records with\n"
|
||||||
.string "other TRAINERS?$"
|
.string "other TRAINERS?$"
|
||||||
|
|
||||||
Text_WouldNotLikeToMixRecords: @ 8272640
|
Text_WeHopeToSeeYouAgain: @ 8272640
|
||||||
.string "We hope to see you again!$"
|
.string "We hope to see you again!$"
|
||||||
|
|
Loading…
Reference in New Issue