Document record_mix.inc and clean surf.inc

This commit is contained in:
GriffinR 2019-10-22 18:15:13 -04:00 committed by huderlem
parent ca2c6fa9b1
commit 7d24f2d62c
3 changed files with 14 additions and 15 deletions

View File

@ -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
faceplayer
msgbox Text_WouldYouLikeToMixRecords, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_if_eq EventScript_271D83
goto_if_eq EventScript_MixRecords
compare VAR_RESULT, 0
goto_if_eq EventScript_271D89
goto EventScript_271D89
goto_if_eq EventScript_DeclineMixRecords
goto EventScript_DeclineMixRecords
EventScript_271D83:: @ 8271D83
EventScript_MixRecords:: @ 8271D83
special RecordMixingPlayerSpotTriggered
waitstate
lock
faceplayer
EventScript_271D89:: @ 8271D89
message Text_WouldNotLikeToMixRecords
EventScript_DeclineMixRecords:: @ 8271D89
message Text_WeHopeToSeeYouAgain
waitmessage
waitbuttonpress
release

View File

@ -1,18 +1,16 @@
EventScript_UseSurf:: @ 8271EA0
checkpartymove MOVE_SURF
compare VAR_RESULT, 6
goto_if_eq EventScript_CantSurf
compare VAR_RESULT, PARTY_SIZE
goto_if_eq EventScript_EndUseSurf
bufferpartymonnick 0, VAR_RESULT
setfieldeffectargument 0, VAR_RESULT
lockall
msgbox gText_WantToUseSurf, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_if_eq EventScript_CancelSurf
goto_if_eq EventScript_ReleaseUseSurf
msgbox gText_PlayerUsedSurf, MSGBOX_DEFAULT
dofieldeffect FLDEFF_USE_SURF
EventScript_CancelSurf:: @ 8271ED5
EventScript_ReleaseUseSurf:: @ 8271ED5
releaseall
EventScript_CantSurf:: @ 8271ED6
EventScript_EndUseSurf:: @ 8271ED6
end

View File

@ -2,5 +2,5 @@ Text_WouldYouLikeToMixRecords: @ 827260D
.string "Would you like to mix records with\n"
.string "other TRAINERS?$"
Text_WouldNotLikeToMixRecords: @ 8272640
Text_WeHopeToSeeYouAgain: @ 8272640
.string "We hope to see you again!$"