Merge branch 'master' into document-eventscripts
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "constants/event_objects.h"
|
||||
#include "constants/event_object_movement_constants.h"
|
||||
#include "constants/field_effects.h"
|
||||
#include "constants/field_specials.h"
|
||||
#include "constants/flags.h"
|
||||
#include "constants/game_stat.h"
|
||||
#include "constants/decorations.h"
|
||||
@@ -1130,7 +1131,7 @@ Std_FindItem:: @ 8271BFD
|
||||
EventScript_PickItemUp:: @ 8271C3A
|
||||
removeobject VAR_LAST_TALKED
|
||||
giveitem VAR_0x8004, VAR_0x8005
|
||||
specialvar VAR_RESULT, sub_81398C0
|
||||
specialvar VAR_RESULT, BufferTMHMMoveName
|
||||
copyvar VAR_0x8008, VAR_RESULT
|
||||
compare VAR_0x8008, 1
|
||||
call_if_eq EventScript_271C8F
|
||||
@@ -1182,7 +1183,7 @@ EventScript_HiddenItemScript:: @ 8271CB7
|
||||
EventScript_271CE8:: @ 8271CE8
|
||||
copyvar VAR_0x8008, VAR_0x8004
|
||||
copyvar VAR_0x8004, VAR_0x8005
|
||||
specialvar VAR_RESULT, sub_81398C0
|
||||
specialvar VAR_RESULT, BufferTMHMMoveName
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq EventScript_271D0E
|
||||
compare VAR_RESULT, 0
|
||||
@@ -2545,34 +2546,34 @@ LittlerootTown_ProfessorBirchsLab_EventScript_2737A0:: @ 82737A0
|
||||
MossdeepCity_StevensHouse_EventScript_2737A0:: @ 82737A0
|
||||
Route119_WeatherInstitute_2F_EventScript_2737A0:: @ 82737A0
|
||||
RustboroCity_DevonCorp_2F_EventScript_2737A0:: @ 82737A0
|
||||
bufferboxname 0, VAR_STORAGE_UNKNOWN
|
||||
bufferboxname 0, VAR_PC_BOX_TO_SEND_MON
|
||||
bufferspeciesname 1, VAR_TEMP_1
|
||||
call_if_unset FLAG_SYS_PC_LANETTE, LittlerootTown_ProfessorBirchsLab_EventScript_2737BB
|
||||
call_if_set FLAG_SYS_PC_LANETTE, LittlerootTown_ProfessorBirchsLab_EventScript_2737E6
|
||||
return
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_2737BB:: @ 82737BB
|
||||
specialvar VAR_RESULT, sub_813B21C
|
||||
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_2737D4
|
||||
msgbox gText_PkmnTransferredSomeonesPC, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_2737D4:: @ 82737D4
|
||||
specialvar VAR_RESULT, get_unknown_box_id
|
||||
specialvar VAR_RESULT, GetPCBoxToSendMon
|
||||
bufferboxname 2, VAR_RESULT
|
||||
msgbox gText_PkmnBoxSomeonesPCFull, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_2737E6:: @ 82737E6
|
||||
specialvar VAR_RESULT, sub_813B21C
|
||||
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq LittlerootTown_ProfessorBirchsLab_EventScript_2737FF
|
||||
msgbox gText_PkmnTransferredLanettesPC, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
LittlerootTown_ProfessorBirchsLab_EventScript_2737FF:: @ 82737FF
|
||||
specialvar VAR_RESULT, get_unknown_box_id
|
||||
specialvar VAR_RESULT, GetPCBoxToSendMon
|
||||
bufferboxname 2, VAR_RESULT
|
||||
msgbox gText_PkmnBoxLanettesPCFull, MSGBOX_DEFAULT
|
||||
return
|
||||
@@ -2591,7 +2592,7 @@ EventScript_Questionnaire:: @ 827381B
|
||||
call Common_ShowEasyChatScreen
|
||||
lock
|
||||
faceplayer
|
||||
specialvar VAR_0x8008, sub_813B490
|
||||
specialvar VAR_0x8008, GetMartEmployeeObjectEventId
|
||||
compare VAR_0x8004, 1
|
||||
goto_if_eq EventScript_27386D
|
||||
compare VAR_0x8004, 2
|
||||
|
||||
Reference in New Issue
Block a user