The motor is also an AMX (motocross) or it just has the internal rotor ignition fitted as this was common for desert sleds , AE (enduro) frame looks like a mix match of a 78 and 79 model parts.
good value at that price. Lots of work and $ required but it would be well worth it when you got to ride it.