mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
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
|
||||
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
|
||||
|
@ -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
|
||||
|
@ -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!$"
|
||||
|
Loading…
Reference in New Issue
Block a user