Code:
@> Set Event Location: This Event, Variable [0096][0095]
@> Conditional Branch: Player is facing Up
@> Set Move Route: This Event, Through ON, Turn Up
@>
: Else
@> Conditional Branch: Player is facing Right
@> Set Move Route: This Event, Through ON, Turn Right
@>
: Else
@> Conditional Branch: Player is facing Down
@> Set Move Route: This Event, Through ON, Turn Down
@>
: Else
@> Set Move Route: This Event, Through ON, Turn Left
@>
: Branch End
@>
: Branch End
@>
: Branch End
@> Wait for All Movement
@> Loop
@> Conditional Branch: Variable [0092:Begleiter Blinzeln] == 20
@> Set Move Route: This Event, Change Graphic...
@> Control Switches: [0077:B1 blinzelt] = ON
@>
: Branch End
@> Conditional Branch: Variable [0092:Begleiter Blinzeln] == 21
@> Set Move Route: This Event, Change Graphic...
@> Control Switches: [0077:B1 blinzelt] = OFF
@>
: Branch End
@> Conditional Branch: Variable [0092:Begleiter Blinzeln] == 23
@> Set Move Route: This Event, Change Graphic...
@> Control Switches: [0077:B1 blinzelt] = ON
@>
: Branch End
@> Conditional Branch: Variable [0092:Begleiter Blinzeln] == 24
@> Set Move Route: This Event, Change Graphic...
@> Control Switches: [0077:B1 blinzelt] = OFF
@>
: Branch End
@> Conditional Branch: Variable [0092:Begleiter Blinzeln] == 36
@> Set Move Route: This Event, Change Graphic...
@> Control Switches: [0077:B1 blinzelt] = ON
@>
: Branch End
@> Conditional Branch: Variable [0092:Begleiter Blinzeln] == 37
@> Set Move Route: This Event, Change Graphic...
@> Control Switches: [0077:B1 blinzelt] = OFF
@>
: Branch End
@> Conditional Branch: Variable [0092:Begleiter Blinzeln] == 49
@> Set Move Route: This Event, Change Graphic...
@> Control Switches: [0077:B1 blinzelt] = ON
@>
: Branch End
@> Conditional Branch: Variable [0092:Begleiter Blinzeln] == 50
@> Set Move Route: This Event, Change Graphic...
@> Control Switches: [0077:B1 blinzelt] = OFF
@>
: Branch End
@> Control Variables: [0094:B1 Koord X] = This Event's X Coordinate
@> Control Variables: [0093:B1 Koord Y] = This Event's Y Coordinate
@> Control Variables: [0094:B1 Koord X] -= Player's X Coordinate
@> Control Variables: [0093:B1 Koord Y] -= Player's Y Coordinate
@> Conditional Branch: Variable [0094:B1 Koord X] == 1
@> Conditional Branch: Variable [0093:B1 Koord Y] == -1
@> Conditional Branch: Player is facing Down
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Left
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Left
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Player is facing Left
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Down
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Down
@>
: Branch End
@>
: Branch End
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Variable [0094:B1 Koord X] == 1
@> Conditional Branch: Variable [0093:B1 Koord Y] == 1
@> Conditional Branch: Player is facing Up
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Left
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Left
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Player is facing Left
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Up
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Up
@>
: Branch End
@>
: Branch End
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Variable [0094:B1 Koord X] == -1
@> Conditional Branch: Variable [0093:B1 Koord Y] == 1
@> Conditional Branch: Player is facing Up
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Right
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Right
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Player is facing Right
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Up
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Up
@>
: Branch End
@>
: Branch End
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Variable [0094:B1 Koord X] == -1
@> Conditional Branch: Variable [0093:B1 Koord Y] == -1
@> Conditional Branch: Player is facing Down
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Right
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Right
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Player is facing Right
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Down
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Down
@>
: Branch End
@>
: Branch End
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Variable [0094:B1 Koord X] == 2
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Left
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Left
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Variable [0094:B1 Koord X] == -2
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Right
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Right
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Variable [0093:B1 Koord Y] == 2
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Up
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Up
@>
: Branch End
@>
: Branch End
@> Conditional Branch: Variable [0093:B1 Koord Y] == -2
@> Conditional Branch: Switch [0077:B1 blinzelt] is ON
@> Set Move Route: This Event, Change Graphic..., Move Down
@>
: Else
@> Set Move Route: This Event, Change Graphic..., Move Down
@>
: Branch End
@>
: Branch End
@> Wait: 0.0 seconds
@>
: Repeat Above
Danke nochmals!